How to Type the Squared Symbol on Any Keyboard
Yes, you can type the squared symbol (²) using built‑in shortcuts on most keyboards, whether you’re on Windows, macOS, Linux, or a mobile device.
The squared sign is commonly used in mathematics, physics, engineering, and everyday notation (e.g., m² for square meters). Knowing the correct keystrokes saves time and avoids the need to copy‑paste from character maps or the web. Below are detailed methods for every major platform, followed by common pitfalls, helpful tips, troubleshooting advice, and answers to frequently asked questions.
Step-by-Step
-
Windows 10, 11 (Desktop)
- Place the cursor where you want the squared symbol.
- Hold the
Altkey. - On the numeric keypad, type
0178(the leading zero is required on modern Windows). ReleaseAltand the character ² appears. - If your keyboard lacks a numeric keypad (e.g., many laptops), enable Num Lock and use the embedded numeric keypad (usually
Fn + 7, 8, 9keys) while holdingAlt.
-
Windows – Using the Character Map
- Open the Start menu, type
character map, and pressEnter. - In the Character Map window, select the
Advanced viewcheckbox. - Search for “superscript two” or scroll to the Unicode block “Latin‑1 Supplement”.
- Click the ² character, press
Select, thenCopy. Paste it where needed withCtrl + V.
- Open the Start menu, type
-
macOS (Desktop & Laptop)
- Click where you want the symbol.
- Press
Option (⌥) + 00B2on the keyboard. On most Apple keyboards theOptionkey combined with the2key produces ² directly. - If the direct shortcut does not work, open
System Settings > Keyboard > Input Sourcesand ensure “U.S.” or your preferred layout is active, because some international layouts map the superscript two to a different key combination.
-
Linux (GNOME, KDE, Xorg)
- Most modern distributions support Unicode entry via
Ctrl + Shift + Ufollowed by the code point. - Place the cursor, press
Ctrl + Shift + U, release, then type00b2and pressEnterorSpace. The squared symbol appears. - Alternatively, enable the “Compose key” (often left
AltorRight Ctrl) in your keyboard settings, then typeCompose + ^ + 2to produce ².
- Most modern distributions support Unicode entry via
-
Chrome OS (Chromebooks)
- Press
Search (or Launcher) + =to open the emoji and symbol picker. - Navigate to the “Symbols” tab, then “Superscripts”. Click the ² character to insert it.
- For a faster shortcut, enable “Unicode input” in
Settings > Advanced > Languages & input > Input methods. Then pressCtrl + Shift + U, type00b2, and hitEnter.
- Press
-
iPhone & iPad (iOS / iPadOS)
- Open any app with a text field (Notes, Mail, Messages, etc.).
- Tap the globe 🌐 or smiley emoji key to switch to the numeric/symbol keyboard.
- Long‑press the number
2. A pop‑up will show “²”. Slide your finger to select it, then release. - If the long‑press does not show the superscript, install a third‑party keyboard that includes mathematical symbols (e.g., Gboard) and enable it in
Settings > General > Keyboard > Keyboards.
-
Android Phones & Tablets
- Open a text field and bring up the on‑screen keyboard.Tap the “?123” key to switch to the numeric layout.
- Press and hold the number
2. A small menu appears with the superscript ²; slide your finger to it and release. - On some keyboards (e.g., Samsung Keyboard), the superscript may be under a separate “Symbols” page. Look for a “⁰‑⁹” or “Math” section.
-
Copy‑Paste Shortcut (All Platforms)
- Copy the character from here:
². - Paste it anywhere with
Ctrl + V(Windows/Linux),⌘ + V(macOS), or the standard paste gesture on mobile devices.
- Copy the character from here:
Common Mistakes
- Using
Alt + 178instead ofAlt + 0178on newer Windows versions. The missing leading zero can produce a different character (º) or nothing at all. - Attempting the
Ctrl + Shift + Umethod on Windows – it only works on Linux and Chrome OS. - Long‑pressing the number
2on iOS without switching to the numeric keyboard first; the pop‑up only appears on the numeric layout. - Relying on the numeric keypad on a laptop that has disabled
Num Lock. The keys will act as regular letters instead of numbers. - Choosing the wrong input source on macOS (e.g., an international layout that maps
Option + 2to a different symbol).
Tips
- Bookmark the Unicode code point
U+00B2in a note for quick reference. - Create a custom text replacement on macOS (System Settings > Keyboard > Text) that expands a short string like "sq2" into ².
- On Windows, enable the "US International" keyboard layout; typing
^followed by2produces ² after you pressSpace. - For frequent use in Microsoft Word, add ² to your "Quick Access Toolbar" or define an AutoCorrect entry (e.g., type "^2" and Word changes it to ² automatically).
- When writing code or markup, use the HTML entity
²or the Unicode escape\u00B2to ensure the symbol renders correctly across browsers.
Troubleshooting
If the squared symbol does not appear as expected, follow these steps in order of increasing complexity.
- Restart the application. A simple restart often clears a stuck input method.
- Check your keyboard layout. Verify that the active layout matches the shortcut you are using (e.g., U.S. English for
Alt + 0178on Windows). - Confirm Num Lock status. On laptops, ensure Num Lock is on before using the embedded numeric keypad.
- Update your OS. Some older versions of macOS or Windows may lack certain Unicode shortcuts; installing the latest updates restores full functionality.
- Test another application. Try typing ² in Notepad (Windows), TextEdit (macOS), or a simple web form. If it works there but not in your target app, the app may have its own input filtering.
- Reset keyboard preferences. On macOS, go to
System Settings > Keyboard > Input Sourcesand remove then re‑add your preferred layout. On Linux, restart theiBusorfcitxdaemon. - Reinstall the keyboard driver. In Windows Device Manager, locate “Keyboard”, right‑click, and choose “Uninstall device”. Reboot; Windows will reinstall the driver automatically.
- Use an alternative method. If all shortcuts fail, fall back to copying the character from a reliable source (e.g., this page) and paste it.
Never perform a full system reset solely to fix this issue, as it will erase personal data and settings.
Frequently Asked Questions
Can I type the squared symbol without using the numeric keypad?
Yes. On Windows you can enable the "US International" layout and type ^ followed by 2, then press Space. macOS users can press Option + 2. Linux users can use the Compose key sequence Compose + ^ + 2.
Why does Alt + 0178 produce a different character on my laptop?
The laptop may be using the standard alphanumeric keys instead of the numeric keypad because Num Lock is off or the embedded keypad is not activated. Turn on Num Lock or use an external USB keypad.
Is there a way to type superscript numbers other than 2?
Yes. Most platforms support full superscript blocks (¹, ³, ⁴, …). For example, on Windows Alt + 0185 yields ¹, and Alt + 0179 yields ³. macOS uses Option + 00B9 for ¹ and Option + 00B3 for ³. Linux follows the same Ctrl + Shift + U method with the appropriate Unicode code points.
Can I use the squared symbol in programming languages?
Most languages treat ² as a regular Unicode character, so you can include it in strings, comments, or UI text. However, it is not a mathematical operator; use ** or pow() for exponentiation in code.
Why does the symbol appear as a box or question mark in some documents?
The document’s font may not contain the superscript two glyph. Switch to a font that supports Unicode Latin‑1 Supplement (e.g., Arial, Times New Roman, Calibri) or embed the character as an image if the target format is limited.
Is there a shortcut for the squared symbol on Android keyboards that don’t show it on long‑press?
Install a keyboard that supports extended symbols, such as Gboard or SwiftKey. In Gboard, open the symbols panel, tap the “=\<” key to access superscripts, then select ².