In algebra, “to square” is to multiply a number by itself. For example, the square of 5 is 25 because 5 multiplied by 5 equals 25. The square is one of the most common mathematical operations, but how do you write the squared symbol on your computer or mobile phone? Like many mathematical symbols, it’s hard to find in most keyboards.
In this article, we will teach you how to type the squared symbol on your computer or smartphone, be it on a word processor like Microsoft Word or in your emails and online conversations. You will be amazed at how easy it is to type the squared sign or symbol.
Table of Contents
- Copy and Paste the Squared Symbol
- How to Type the Squared Symbol on the Windows Keyboard
- How to Type the Squared Symbol on the Mac Keyboard
- How to Type the Squared Symbol in Microsoft Word
- How to Type the Squared Symbol in Google Docs
- How to Type the Squared Symbol on Android
- How to Type the Squared Symbol on the iPhone or iPad
- How to Insert the Squared Sign Using the Character Map
- How to Type the Squared Symbol as HTML
- Wrapping Up
Copy and Paste the Squared Symbol
If you can’t be bothered to type the squared symbol manually, you can just copy it from this page. All you have to do is to click the box below and the squared sign will be instantly copied to your clipboard, ready for pasting into your document.
Paste your copied symbol into your document or application by right-clicking and selecting Paste. You can also tap Ctrl + V to paste it. If you’re on mobile, just long-press and select Paste.
How to Type the Squared Symbol on the Windows Keyboard
The easiest way to type the squared symbol is by holding the Alt key while typing 0178 on the number pad. Make sure that Num Lock is turned on for this keyboard shortcut to work. Typing the keyboard shortcut using the number keys above the letters (outside the number pad) will not work – you must use the number pad on the right side of the keyboard.
So the keyboard shortcut for the squared symbol is Alt + 0178. The result is like this: ².
Here’s the step-by-step procedure on how to type the squared symbol using a Windows keyboard:
- Place the cursor or insertion point where you want the squared symbol to appear in your document or application.
- Activate the numeric keypad or number pad by tapping the Num Lock key.
- Press and hold the Alt key.
- While pressing the Alt key, type the 0178 keys on the numeric keypad.
- Check the correct symbol has been inserted into your document.

The beauty of this method is that it works for almost any application including Notepad, Google Chrome and Microsoft Word. As long as your keyboard has a numeric keypad or number pad, you can type the squared sign via the keyboard shortcut. But if your keyboard doesn’t have a numeric keypad, you can insert the squared symbol by copying the symbol from this page or by using the Character Map.
How to Type the Squared Symbol on the Mac Keyboard
Unlike Windows, there’s no universal shortcut for typing the squared symbol on Mac computers. However, you can use the Character Viewer in macOS to insert symbols, emojis and special characters.
Follow these steps to insert the squared symbol in Mac:
- In your application, open the Character Viewer by selecting Edit > Emoji & Symbols.
- Enter “superscript” in the search field and tap Enter.
- Click the superscript 2 to insert the squared symbol.
How to Type the Squared Symbol in Microsoft Word
Many of us use Microsoft Word and other word processing software to draft our documents and correspondences. These word processors have support for special characters like the superscript symbol (x²).
To type the squared symbol on Microsoft Word, click the superscript button (x²) in the Font group under the Home tab, and then type the number 2. You can also type 2 first and then select or highlight it before clicking the x² button.

Alternatively, you can use the keyboard shortcut Ctrl + Shift + + (hold the Ctrl and Shift keys and then press the + key) to get the same result as clicking x². Take note that this keyboard shortcut only works on Word. Using it on the Chrome browser will zoom the window instead, so be careful with this.
How to Type the Squared Symbol in Google Docs
Google Docs is a free web-based alternative to Microsoft Word. Just like Word, Google Docs offers a quick and convenient way to type superscript characters.
To type the squared symbol in Google Docs using a keyboard shortcut, just press Ctrl + . (dot or period key), and then type the number 2. The superscript ² will then appear in your document.

You can also insert the squared symbol in Google Docs by following these steps:
- Click Insert on the menu bar.
- Select Special characters on the dropdown menu.
- On the “Insert special characters” dialog, click the Symbol field and choose “Number.” Make sure that the second dropdown field is set to “Decimal.”
- Find the “superscript two” symbol and click it.
- Check that the correct symbol has been inserted into your document.

If you have trouble locating the squared sign, you can search for it by typing “superscript two” in the “Search by keyword” field on the right.
How to Type the Squared Symbol on Android
Inserting the squared symbol on your Android smartphone is relatively easy and straightforward. To insert the squared sign, just long-press the number 2 and it will insert the superscript ².

How to Type the Squared Symbol on the iPhone or iPad
Unfortunately, the iPhone keyboard doesn’t have the option to insert the squared symbol. You can use the dictation feature on your iPhone instead. Tap the dictation microphone on the iOS keyboard and then say the words “superscript two.” Press “Done” or tap the keyboard icon when you get the correct symbol.

How to Insert the Squared Sign Using the Character Map
The Character Map application is a great tool for copying and inserting numerous characters and symbols. You can use this Windows tool if your keyboard doesn’t have a number pad or if you just want a quick and convenient way to insert the squared symbol.
To start, click the Windows icon on the bottom left corner of the screen, go to Windows Accessories, and then click Character Map. Choose the superscript 2 button, click Select and then Copy. You can now paste the symbol into any application.

How to Type the Squared Symbol as HTML
Perhaps you want to include the superscript 2 in your webpages or software applications that require HTML code. You can do it by typing the following HTML code:
²
Wrapping Up
If everything fails, you can simply copy the squared symbol from this page and paste it anywhere you want. Highlight this symbol: ² and then press Ctrl and C simultaneously to copy it. Go back to your document or application, and then paste the symbol by pressing Ctrl and V at the same time. You can also right-click using your mouse and select Copy and Paste.
That’s it! It’s super easy to type the squared sign for use in mathematical equations. Remember, you can always copy and paste this symbol if you’re having difficulties.