Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Square a Number in Excel: Formulas That Work

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Squaring a number in Excel takes one formula. The most common way is the POWER function — =POWER(A1,2) — but you can also use the caret operator (=A1^2) or plain multiplication (=A1*A1). All three give the same result; below is how to use each, including squaring an entire column at once.

What You'll Need

  • A copy of Excel on desktop (Windows or Mac), or Excel for the web
  • A cell containing the number you want to square
  • No add-ins, special settings or formulas beyond the built-in ones

Step-by-Step

The steps below use Excel on desktop. The formulas are identical in Excel for the web and in the mobile Excel app; only the on-screen layout differs slightly.

Method 1: The POWER function

  1. Enter your number in cell A1 (for example, 7).
  2. Click the cell where you want the result, such as B1.
  3. Type =POWER(A1,2) and press Enter.
  4. The cell now shows 49. To square a different number, just change the value in A1 — the result updates automatically.

Method 2: The caret (^) operator

  1. Click an empty cell.
  2. Type =A1^2 and press Enter.
  3. The caret means "raised to the power of", so this squares A1 the same way POWER does, with less typing.

Method 3: Simple multiplication

  1. Click an empty cell.
  2. Type =A1*A1 and press Enter.
  3. This multiplies the cell by itself. It only works cleanly for small powers like squaring, but it is the most transparent option.

Squaring a whole column at once

  1. Put your list of numbers in column A, starting at A1.
  2. In B1, type =A1^2 and press Enter.
  3. Click B1 again, then hover over the small square at the bottom-right corner of the cell (the fill handle) until the cursor turns into a plus sign.
  4. Double-click the fill handle to fill the formula down alongside your data, or drag it down manually.
  5. Each cell in column B now shows the square of the number next to it in column A.

Alternatively, if your data is formatted as a table, typing the formula once usually fills the entire column automatically.

Squaring a number inside a larger formula

  1. Combine the caret with other maths directly, for example =A1^2+B1 or =SUM(A1:A10)^2.
  2. Use parentheses when mixing operations, for example =(A1+B1)^2, because Excel applies exponents before addition — without the brackets, A1+B1^2 squares only B1.

Common Mistakes

  • Forgetting the equals sign. Typing A1^2 without the = at the start makes Excel treat it as text, not a formula.
  • Wrong cell reference. If the result looks wrong, click the formula cell and check which cell it points to in the formula bar.
  • Squaring text or empty cells. If A1 contains text, POWER returns a #VALUE! error. Empty cells are treated as 0 and return 0.
  • Not using parentheses in mixed formulas. =A1+B1^2 does not square the sum; =(A1+B1^2) is also different again. Check operator order.
  • Typing the number inside the formula. =7^2 works, but hardcoding the value means the formula will not update if your data changes. Reference the cell instead.

Tips

  • The caret method (=A1^2) is the quickest to type; POWER is the clearest to read when someone else opens your file.
  • To square every cell in a range without a helper column, you can use an array-style formula such as =A1:A5^2 in Excel versions that support dynamic arrays; it spills the results into adjacent cells.
  • To apply squaring as a one-time transformation without formulas, copy the column, then use Paste Special with the Multiply operation: enter your original values, multiply the range by itself using a temporary column, then paste the results back as values.
  • Use absolute references ($A$1) if you are copying a formula across rows but always want it to square one fixed cell.
  • Format the result cells if you are working with large squares — Excel displays very big results in scientific notation by default, which you can change via the Number format options on the Home tab.

Troubleshooting

  • The formula shows as text in the cell. The cell is probably formatted as Text. Select the cell, set the format to General (Home tab, number format dropdown), then re-enter the formula.
  • #VALUE! error. The referenced cell contains text or a space. Clear it or point the formula at a cell with a number.
  • #NAME? error. You likely misspelled POWER or typed a formula Excel does not recognise. Retype it carefully.
  • #REF! error. The referenced cell was deleted. Fix the reference in the formula.
  • The result does not update when the source changes. Automatic calculation may be switched off. Go to Formulas > Calculation Options and make sure Automatic is selected, then press F9 to recalculate.
  • Results show as 0 for the whole column. Check that you are referencing the correct column — a common slip when data was pasted starting in a different column than expected.

Frequently Asked Questions

Is there a dedicated "square" function in Excel?

No. Excel has no SQUARE function. Use POWER(number,2), the caret operator (number^2), or multiply the value by itself.

Which method is best?

All three produce identical results. The caret is fastest to type; POWER is the most readable in shared workbooks. Pick whichever suits your workflow.

Can I square a negative number?

Yes. Squaring a negative number returns a positive result — (-4)^2 is 16. Just wrap the negative value or reference in parentheses if it is part of a longer formula.

Does this work in Google Sheets too?

Yes. POWER, the caret operator, and self-multiplication all work the same way in Google Sheets and most other spreadsheet apps.

How do I square a range and get a single total?

Use =SUMPRODUCT(A1:A10,A1:A10), which multiplies each value by itself and adds the results, giving the sum of squares in one cell.

Why does my result look wrong for a fraction?

Squaring a number between 0 and 1 makes it smaller, not larger — 0.5 squared is 0.25. That is correct maths, not an Excel error.