TechBuzzPro

How to Type the Squared Symbol on Any Keyboard

· 6 min read · Windows & PC

In this article
  1. Step-by-Step
  2. Common Mistakes
  3. Tips
  4. Troubleshooting
  5. Frequently Asked Questions

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

  1. Windows 10, 11 (Desktop)
    • Place the cursor where you want the squared symbol.
    • Hold the Alt key.
    • On the numeric keypad, type 0178 (the leading zero is required on modern Windows). Release Alt and 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, 9 keys) while holding Alt.
  2. Windows – Using the Character Map
    • Open the Start menu, type character map, and press Enter.
    • In the Character Map window, select the Advanced view checkbox.
    • Search for “superscript two” or scroll to the Unicode block “Latin‑1 Supplement”.
    • Click the ² character, press Select, then Copy. Paste it where needed with Ctrl + V.
  3. macOS (Desktop & Laptop)
    • Click where you want the symbol.
    • Press Option (⌥) + 00B2 on the keyboard. On most Apple keyboards the Option key combined with the 2 key produces ² directly.
    • If the direct shortcut does not work, open System Settings > Keyboard > Input Sources and ensure “U.S.” or your preferred layout is active, because some international layouts map the superscript two to a different key combination.
  4. Linux (GNOME, KDE, Xorg)
    • Most modern distributions support Unicode entry via Ctrl + Shift + U followed by the code point.
    • Place the cursor, press Ctrl + Shift + U, release, then type 00b2 and press Enter or Space. The squared symbol appears.
    • Alternatively, enable the “Compose key” (often left Alt or Right Ctrl) in your keyboard settings, then type Compose + ^ + 2 to produce ².
  5. 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 press Ctrl + Shift + U, type 00b2, and hit Enter.
  6. 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.
  7. 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.
  8. 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.

Common Mistakes

  • Using Alt + 178 instead of Alt + 0178 on newer Windows versions. The missing leading zero can produce a different character (º) or nothing at all.
  • Attempting the Ctrl + Shift + U method on Windows – it only works on Linux and Chrome OS.
  • Long‑pressing the number 2 on 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 + 2 to a different symbol).

Tips

  • Bookmark the Unicode code point U+00B2 in 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 by 2 produces ² after you press Space.
  • 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 \u00B2 to 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.

  1. Restart the application. A simple restart often clears a stuck input method.
  2. Check your keyboard layout. Verify that the active layout matches the shortcut you are using (e.g., U.S. English for Alt + 0178 on Windows).
  3. Confirm Num Lock status. On laptops, ensure Num Lock is on before using the embedded numeric keypad.
  4. Update your OS. Some older versions of macOS or Windows may lack certain Unicode shortcuts; installing the latest updates restores full functionality.
  5. 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.
  6. Reset keyboard preferences. On macOS, go to System Settings > Keyboard > Input Sources and remove then re‑add your preferred layout. On Linux, restart the iBus or fcitx daemon.
  7. Reinstall the keyboard driver. In Windows Device Manager, locate “Keyboard”, right‑click, and choose “Uninstall device”. Reboot; Windows will reinstall the driver automatically.
  8. 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 ².