PDF download Download Article
Simple steps to writing x² on your Chromebook, Android, iOS, Windows, or Mac keyboard
PDF download Download Article

This wikiHow article teaches you how to type a squared symbol, or superscript two (²), on a keyboard using an Android, iPhone, iPad, Chromebook, Windows PC, or Mac. Since the iPhone/iPad keyboard cannot type exponents, you'll need to install a third-party keyboard like Gboard to get the job done.

Things You Should Know

  • On a phone or tablet, use the Gboard app to easily type squared numbers by holding the "2" key.
  • On a Chromebook in Google Docs, press the Ctrl key and the period (.) at the same time, then press 2 on the keyboard.
  • If you don't know the alt code, open the character map on Windows or Mac to insert a squared number.
Method 1
Method 1 of 4:

Using Gboard on a Phone or Tablet

PDF download Download Article
  1. Download Gboard from the Google Play Store or App Store. This free keyboard (developed by Google) is available for Android and Apple phones and tablets. Since the iPhone/iPad keyboard does not allow you to enter the squared symbol, you'll need Gboard (or another keyboard app).[1]
    • Gboard might be a system default keyboard for some Android phones and tablets.
  2. Make Gboard your default keyboard.
    • If you're using an iPhone or iPad, go to Settings > General > Keyboard > Edit and add Gboard to the list of keyboards.[2]
    • If you're using Android, go to Settings > System > Language and Input > Manage Keyboards and tap the switch next to Gboard to enable it.[3]
    Advertisement
  3. You can open any app that allows typing, such as Google Docs, Notes, or your text messaging app.
  4. When you press and hold, you'll see the superscript or squared 2 pop out above your finger.[4]
  5. The squared number appears in the text field where your cursor is.
  6. Advertisement
Method 2
Method 2 of 4:

Using a Chromebook

PDF download Download Article
  1. Open Google Docs. Using Google's software is the easiest way to type exponents using a Chromebook.
  2. The 2 will be written with superscript formatting, which means it'll appear smaller and near the top of the line. Press Ctrl + . again to turn off superscript.[5]
    • If you have already written text that you need to make look like an exponent, highlight the text and go to Format > Text > Superscript.
    • If you're writing a lot in Google Docs, you can easily make different number exponents using the math operation toolbar. To get that to show, go to Insert > Equation > Math operations (it looks like a complex math equation), and select "xb." Enter the larger number, press Enter, then enter the smaller number (the exponent or superscript character).
  3. Advertisement
Method 3
Method 3 of 4:

Using a Windows PC

PDF download Download Article
  1. You can use any word-processing program like Word, Notepad, or Google Docs.
  2. Most laptop keyboards don't have a built-in 10-key numerical keypad like desktop keyboards. If your keyboard doesn't have dedicated keys for 0-9, look for small blue numbers hiding on the keys on the right side of the keyboard (usually on the U, I, O, J, K, L, and M keys). To activate these numbered keys, you'll need to enable Number Lock, which is typically done by pressing the "NumLk" key once (not holding it down). Sometimes, you must press the "FN" key to tap "NumLk." Once active, the above-mentioned letter keys will act as the numbers printed on their top corners.
  3. When typing the numbers, type them one after another. You won't see any text appear even though you just pressed some keys.
    • Make sure you use the numerical keypad to enter these numbers, as the number row above the letters will not produce the same results.
  4. When you let go of the Alt key, you will see the "squared" symbol appear.[6]
    • If nothing appears, make sure your number lock is activated and try again.
    • You can also try Alt+0178 or Fn+Alt+0178.
    • If you're having trouble, you can also pull up the character map and choose the squared symbol. To find the character map, type "charmap" in the Windows search bar and click the application in the search results. Double-click the little 2 and copy and paste it into your document.
    • Press the "NumLk" key again to turn off the Number Lock.
  5. Advertisement
Method 4
Method 4 of 4:

Using MacOS

PDF download Download Article
  1. You can use any word-processing program like Word, TextEdit, or Google Docs.
  2. This will open the Character Menu, where you can search for and find the squared symbol.[7]
  3. If you do not see this in the menu on the left side of the page, click the gear icon above the menu to enable this section.
  4. You should find this in the top row with the description that it is a superscripted 2.
    • You might have to select the superscript 2 from the "Related Characters" box on the right side of the window.
    • You'll see the squared symbol inserted where your cursor is located.
  5. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

You Might Also Like

Change Keyboard Color the Change the Keyboard Color on a PC: Shortcuts & More
Use a Keyboard to Click Instead of a Mouse5 Ways to Use a Keyboard to Click & Move a Mouse on PC & Mac
Turn Off Keyboard SoundMute Keyboard Sounds on Your Android, iPhone, iPad, or Laptop
Fix a Keyboard That Has the Wrong CharactersFix a Keyboard That Has the Wrong Characters
Connect Wireless Keyboard to PCConnecting a Wireless or Bluetooth Keyboard to a Windows PC
Disable the Function KeyDisable the Function Key
Take Keys Off a Keyboard Take Keys Off a Mechanical Keyboard at Home
Reattach a Keyboard KeyReattach a Keyboard Key
Fix a Spacebar Fix a Spacebar: Quick & Easy Guide for Windows & Mac
Fix a Jammed Keyboard Key5 Ways to Unstick a Keyboard Key on Computer or Laptop
Fix Sticky Keyboard Keys Fix Sticky Keyboard Keys: PC, Mac, & Chromebook
Reset a Keyboard7 Effective Ways to Reset Your Keyboard
Keyboard Typing Backwards9 Easy Ways to Fix a Keyboard Typing Backwards on Windows
Type Roman Numerals Type Roman Numerals on Any Keyboard
Advertisement

About This Article

Darlene Antonelli, MA
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Darlene Antonelli, MA. Darlene Antonelli is a Technology Writer and Editor for wikiHow. Darlene has experience teaching college courses, writing technology-related articles, and working hands-on in the technology field. She earned an MA in Writing from Rowan University in 2012 and wrote her thesis on online communities and the personalities curated in such communities. This article has been viewed 304,719 times.
How helpful is this?
Co-authors: 7
Updated: April 29, 2024
Views: 304,719
Categories: Computer Keyboards
Thanks to all authors for creating a page that has been read 304,719 times.

Is this article up to date?

Advertisement