How to Put Squared on Excel: Formatting and Formulas
In this article
To put "squared" in Excel, you must first decide if you want a visual label (like m²) or a mathematical calculation (like 5² = 25). For a visual superscript 2, highlight the number 2 in the formula bar, right-click, select Format Cells, and check the Superscript box. For a calculation, use the caret symbol (^) or the POWER function, such as =A1^2.
Depending on your goal, you will either be changing the way a cell looks (formatting) or telling Excel to perform a math operation (formula). These two processes are entirely different: formatting only changes the appearance and does not change the value of the cell, while formulas change the resulting number.
What You'll Need
- A computer with Microsoft Excel installed (Windows or macOS).
- Data entered into a cell that you wish to square or label.
Step-by-Step
Since there are different ways to achieve a "squared" effect, follow the section that matches your specific goal. Note that menu labels may differ slightly depending on your version of Excel or operating system.
Method 1: Creating a Visual Superscript (For Labels)
Use this method when you want to write units of measurement, such as square feet (ft²) or square meters (m²). This does not perform any math.
- Click on the cell where you want the squared symbol.
- Type your text and the number 2 (for example, type "m2").
- Highlight only the number 2 using your mouse cursor in the formula bar at the top of the screen.
- Right-click the highlighted number 2 and select Format Cells from the context menu.
- In the dialog box that appears, look under the "Effects" section and check the box labeled Superscript.
- Click OK. The number 2 will now appear as a small raised exponent.
Method 2: Calculating a Square (Using the Caret Symbol)
Use this method when you need Excel to actually multiply a number by itself.
- Click on the cell where you want the result to appear.
- Type the equals sign (=) to start the formula.
- Type the cell reference you want to square (e.g., A1) or a specific number (e.g., 5).
- Type the caret symbol (^). On most keyboards, this is Shift + 6.
- Type the number 2.
- Press Enter. Your formula should look like
=A1^2or=5^2.
Method 3: Calculating a Square (Using the POWER Function)
This is an alternative to the caret symbol and is often preferred for complex nested formulas.
- Click on the cell where you want the result.
- Type
=POWER(. - Click the cell you want to square or type the number.
- Type a comma (,).
- Type the number 2.
- Close the parenthesis
)and press Enter. Your formula should look like=POWER(A1, 2).
Method 4: Inserting a Squared Symbol (Quick Shortcut)
If you only need the symbol ² and don't want to deal with formatting menus, you can insert the character directly.
- Double-click the cell to enter edit mode.
- On Windows, hold the Alt key and type 0178 on the numeric keypad, then release Alt.
- On macOS, there is no direct Alt code for this; it is recommended to use the Superscript method or copy-paste the symbol ² from another source.
Common Mistakes
- Applying Superscript to the Whole Cell: If you select the entire cell instead of just the "2" before clicking Superscript, the entire word (e.g., "m2") will become small and raised. Always highlight only the exponent.
- Forgetting the Equals Sign: If you type
A1^2without the=at the beginning, Excel treats it as plain text and will not perform the calculation. - Using the Wrong Symbol: Some users try to use the asterisk (*) for exponents. The asterisk is for multiplication (e.g.,
=A1*2doubles the number); the caret (^) is required for squaring. - Mixing Labels and Numbers: If you type "10m²" into a cell using the superscript method, Excel treats that cell as Text. You cannot use that cell in further mathematical calculations because it is no longer a pure number.
Tips
- Consistency: If you have a long column of units (like ft²), format the first cell, then use the Format Painter (the paintbrush icon on the Home tab) to quickly apply the superscript formatting to other cells.
- Absolute References: If you are squaring a value based on a constant in one specific cell (e.g., cell B1), use an absolute reference like
=A1^$B$1so the formula doesn't shift when you drag it down. - Keyboard Efficiency: For those doing heavy data entry, the Alt+0178 shortcut is the fastest way to add a squared symbol without opening menus.
Troubleshooting
If the squared effect is not working as expected, try these steps:
- The number 2 won't go up: Ensure you are highlighting the number in the Formula Bar at the top, not just clicking the cell. Some versions of Excel struggle to apply partial formatting if the cell is not in "Edit Mode."
- The formula shows as text: If you see
=A1^2in the cell instead of the result, the cell is likely formatted as "Text." Change the cell format to "General" via the Home tab dropdown, then double-click the cell and press Enter again. - #VALUE! Error: This happens if you try to square a cell that contains text. Ensure the cell you are referencing contains only a number and no letters or symbols.
- Caret symbol isn't working: Ensure your keyboard language is set correctly. If the ^ key produces a different character, check your keyboard layout settings in your OS.
Frequently Asked Questions
Can I square a whole column of numbers at once?
Yes. Enter the formula =A1^2 in the first cell of the adjacent column, then click and drag the small green square (fill handle) at the bottom-right corner of the cell down to the end of your data set.
How do I do a cubed symbol (³) in Excel?
The process is identical to the squared symbol. For formatting, use the Superscript option on the number 3. For calculations, use =A1^3. For the Windows shortcut, use Alt+0179.
Does the superscript 2 change the value of my data?
No. Superscript is a visual format. If you have the number 25 in a cell and format it to look like a superscript, Excel still sees the value as 25 for all calculations.
Is there a difference between =A1^2 and =A1*A1?
Mathematically, there is no difference; both will give you the square of the number. However, using ^2 is generally considered cleaner and is easier to update if you later decide you need to cube the number (^3).
Why can't I find the Superscript option on my mobile app?
The Excel mobile app for iOS and Android has limited formatting options compared to the desktop version. You may not find a dedicated "Superscript" toggle; in this case, using the Alt-code symbol (copy-pasting ² from a website) is the best workaround.