This guide shows you the fastest ways to type the squared symbol (²) on Windows, iPhone, and Android. You’ll learn keyboard shortcuts, hidden menus, and copy-paste tricks so you can add the symbol to math notes, chat messages, or documents in seconds. No special apps or technical knowledge are required.
What You’ll Need
- A Windows PC, iPhone, or Android device
- A text field or app where you can type (Notes, Messages, Word, etc.)
- For Windows: a keyboard with a numeric keypad (for the quickest method) or an on-screen keyboard as a fallback
Step-by-Step
On Windows (Desktop and Laptop)
- Use the Alt code (fastest with a numeric keypad): Place your cursor where you want the ² symbol. Hold down the Alt key and type 0178 on the numeric keypad (the number pad on the right side of your keyboard). Release the Alt key and the ² appears. If you’re on a laptop without a number pad, you can often enable “Num Lock” and use the embedded number keys (usually marked in a different color on the 7, 8, 9, U, I, O, J, K, L, and M keys).
- Use the Character Map (works on any PC): Press the Windows key, type Character Map, and press Enter. In the window that opens, check the box for Advanced view if it’s not already checked. In the Search for box, type superscript two and click Search. Double-click the ² character in the results, then click Copy. Paste it into your document with Ctrl+V.
- Use the On-Screen Keyboard (if you have no number pad): Press Windows key + Ctrl + O to open the On-Screen Keyboard. Click the Options key (bottom right), then check Turn on numeric key pad. Click OK. Now click the Num Lock key on the on-screen keyboard, then hold down the Alt key on your physical keyboard and click 0178 on the on-screen number pad. Release Alt.
- Use Word’s superscript button (in Microsoft Office): Type a regular 2 where you want the symbol. Highlight the 2, then press Ctrl + Shift + + (the plus key). This turns it into a superscript, which looks exactly like ².
On iPhone (iOS)
- Use the text replacement shortcut (fastest): Go to Settings > General > Keyboard > Text Replacement. Tap the + in the top right corner. In the Phrase field, paste or type the ² symbol (you can copy it from this article: ²). In the Shortcut field, type something easy like sq2. Tap Save. Now, whenever you type “sq2” on your iPhone, it will automatically replace it with ².
- Copy and paste from this article: Select the ² symbol here (²), tap Copy, then go to your app and tap Paste. This works once; for repeated use, the text replacement method above is better.
- Use the emoji keyboard trick (if you have it): Some iOS versions include the ² symbol in the emoji keyboard. Tap the globe or smiley icon to switch to the emoji keyboard, then search for “squared” or “superscript” in the search bar. If you see it, tap it. This is not universal across all iOS versions, so the text replacement method is more reliable.
On Android (Samsung, Pixel, etc.)
- Use the long-press method (fastest on most keyboards): Open any app where you can type. Switch to the number and symbols keyboard by tapping the ?123 key (or similar). On the first symbols page, find the 2 key. Press and hold it down for about one second. A small pop-up menu will appear above the key showing superscript options, including ². Slide your finger up to the ² and release. It will be inserted into your text.
- Use Gboard’s symbol menu (if you have Gboard): If you use Gboard (the Google keyboard), tap the ?123 key, then tap the =\< key. Look for the ² symbol on this page. If you don’t see it, tap the ÷ key (or the “more” icon) to see additional symbols. Tap ² to insert it.
- Use a text replacement (Samsung Keyboard, Gboard): Open Gboard Settings (long-press the comma key, then the gear icon) > Dictionary > Personal dictionary. Tap + to add a new word. In the Word field, paste ². In the Shortcut field, type sq2. Tap the checkmark to save. For Samsung Keyboard, go to Settings > General management > Samsung Keyboard settings > Text shortcuts and add the same pairing.
- Copy and paste: As a last resort, copy the ² symbol from this article and paste it wherever you need it.
Common Mistakes
- Using the wrong Alt code: Typing Alt+2 or Alt+253 will not work. The correct code is Alt+0178. Make sure Num Lock is on and you use the numeric keypad, not the number row above the letters.
- Typing “^2” instead of ²: The caret symbol (^) is not the same as a superscript. It’s a programming notation or a way to indicate exponentiation in plain text, but it looks unprofessional in a finished document.
- Forgetting to enable Num Lock: On laptops, the numeric keypad is often disabled by default. Press the Num Lock key (often labeled NumLk or with a lock icon) before trying the Alt code.
- Long-pressing the wrong key: On Android, you must long-press the 2 key, not the @ or # key. The superscript options only appear on the number key itself.
Tips
- Set up a text replacement on your phone: Whether you use iPhone or Android, a text replacement shortcut like “sq2” is the single most efficient way to type ² repeatedly. It takes 30 seconds to set up and saves you countless taps.
- Use Word’s superscript button for formatting: If you’re writing a formal document in Microsoft Word, Google Docs, or Pages, it’s better to type a regular 2 and format it as superscript (Ctrl+Shift+Plus on Windows, Cmd+Shift+Plus on Mac). This ensures the symbol scales correctly with your font and looks crisp when printed.
- Memorize the Alt code: If you use a Windows desktop with a full keyboard, memorizing 0178 is faster than opening the Character Map every time. It becomes muscle memory after a few uses.
- Copy it once, keep it in a note: Save the ² symbol in a dedicated note on your phone or a sticky note on your PC. Then you can copy it from there instead of searching the internet each time.
Troubleshooting
- The Alt code doesn’t work: First, check that Num Lock is on. If it is, make sure you’re using the numeric keypad on the right side of the keyboard, not the number row above the letters. If you’re on a laptop without a dedicated keypad, use the Character Map method or the on-screen keyboard instead.
- The ² symbol appears as a small box or question mark: This means the font you’re using doesn’t support the superscript two character. Switch to a standard font like Arial, Calibri, Times New Roman, or Segoe UI. This is rare on modern devices but can happen in very old or unusual fonts.
- The long-press on Android doesn’t show ²: Some third-party keyboards (like SwiftKey) have different long-press menus. If you don’t see ² when long-pressing 2, switch to the Gboard keyboard (download it from the Play Store if needed) or use the text replacement method.
- Text replacement isn’t working on iPhone: Make sure you saved the shortcut correctly. Go to Settings > General > Keyboard > Text Replacement and confirm the entry is there. Also, text replacement only works in the default iOS keyboard, not in third-party keyboards unless they support it.
- The symbol pastes with extra spaces or formatting: If you copy ² from a website, it might bring along hidden formatting. Paste it into a plain text editor first (like Notepad on Windows or the Notes app on your phone), then copy it from there to your final destination.
Frequently Asked Questions
Q: Is there a universal keyboard shortcut for ² on all devices?
A: No. Windows uses Alt+0178, iPhone and Android use long-press or text replacement. There is no single cross-platform shortcut.
Q: Can I type ² in Google Docs or Microsoft Word the same way?
A: Yes. The Alt code works in Word on Windows. In both Word and Google Docs, you can also type a regular 2 and use the superscript formatting button (Ctrl+Shift+Plus on Windows, Cmd+Shift+Plus on Mac) to achieve the same visual result.
Q: Why does my Android keyboard not show ² when I long-press the 2?
A: The long-press menu is keyboard-specific. The default Samsung keyboard and Gboard both show it, but some third-party keyboards may not. Try installing Gboard or use a text replacement shortcut instead.
Q: What’s the difference between ² and ^2?
A: ² is the superscript two character, used in formal writing and math. ^2 is a caret followed by a 2, used in plain text or programming to indicate “to the power of 2.” They are not interchangeable in formal documents.
Q: Can I use the squared symbol in Excel or Google Sheets?
A: Yes. You can type it using the same Alt code (Windows) or copy-paste it. However, if you want Excel to calculate a square, you should use the formula =A1^2 instead of typing ², since Excel treats ² as text, not a mathematical operator.
Q: Does the squared symbol work in HTML or web forms?
A: Yes. You can type ² directly, or use the HTML entity ² in your code. It will display correctly in all modern browsers.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Google Photos Backup Stuck? Fixes That Work
- Record Your Own Alarm Sound on Android
- Transfer Music from ZTE to iPhone: Full Guide
- Convert Live Photos to Still Photos on iPhone
- Angel Investor vs Venture Capitalist: Key Differences
- Sync Apps Between Android Devices Using Google Play