How to Square a Number in Google Docs: A Step-by-Step Guide


Matthew Burleigh

Squaring a number in Google Docs is a simple process that involves using the superscript function. With a few clicks, you can easily raise any number to the power of two, which is what squaring a number means. It’s useful for math homework, financial calculations, or any instance where you need to show a number multiplied by itself.

Step by Step Tutorial: How to Square a Number in Google Docs

Before we jump into the steps, let’s understand what we are trying to achieve. Squaring a number in Google Docs means that we are going to use the superscript function to raise a number to the power of two.

Step 1: Highlight the Number You Want to Square

Select the number you want to square by clicking and dragging your cursor over it.

Highlighting the number is the first step to squaring it. It tells Google Docs which number you want to apply the superscript function to.

Step 2: Click on the Format Menu

Once the number is highlighted, click on ‘Format’ in the menu bar at the top of the page.

The Format menu contains various text editing options, including the one we need for squaring numbers – superscript.

Step 3: Choose Text and then Click on Superscript

In the Format menu, hover over ‘Text’ and then click on ‘Superscript’.

Superscript is the function that allows you to raise a number or letter above the regular text line, which is how you indicate that a number is squared.

Step 4: Type the Number 2

With the number still highlighted and the superscript function activated, type the number 2.

Typing the number 2 while in superscript mode will place it as a small number above your highlighted number, indicating that it is squared.

After completing these steps, your number will appear squared in your Google Docs document. It’s a simple yet effective way to represent numbers raised to the power of two.

Tips: Squaring Numbers in Google Docs

  • Make sure the number you want to square is not already part of a larger number or formula, as this may affect the formatting.
  • If you need to square multiple numbers in a row, you can keep the superscript function on and just move your cursor to each new number.
  • Remember that you can also use keyboard shortcuts to activate superscript mode – try Ctrl + . (Cmd + . on Mac) for a quicker way.
  • If you make a mistake, you can always undo the superscript by highlighting the number and clicking on superscript again to deactivate it.
  • Use this function for any exponent, not just squaring – simply type the appropriate number after activating superscript.

Frequently Asked Questions

Can I square a number in Google Slides as well?

Yes, the process for squaring a number in Google Slides is the same as in Google Docs.

What if I want to cube a number instead of squaring it?

To cube a number, you would follow the same steps but type the number 3 instead of 2 after activating superscript.

Is there a keyboard shortcut for superscript in Google Docs?

Yes, you can use Ctrl + . (Cmd + . on Mac) to toggle superscript on and off.

Can I square a number in the Google Docs app on my phone?

The process is slightly different on mobile devices. Look for the ‘A’ symbol with the pen, which will open the text formatting options, and then you can choose superscript.

Will the squared number be correctly formatted when I print the document?

Yes, as long as it appears correct on the screen, it will print exactly as shown.


  1. Highlight the number you want to square.
  2. Click on the Format menu.
  3. Choose Text and then click on Superscript.
  4. Type the number 2.


In conclusion, squaring a number in Google Docs is a breeze with the superscript function. Whether you’re working on a math assignment, preparing a financial report, or any task requiring numerical exponents, knowing how to square a number is incredibly handy. The steps are straightforward, and with a few tips and tricks up your sleeve, you’ll be squaring numbers like a pro. Remember that practice makes perfect, so don’t hesitate to experiment with this feature. Keep in mind that this function isn’t limited to just squaring numbers—you can use it for any exponent. So, go ahead and give it a try, and see how it can improve your Google Docs experience.

Matthew Burleigh

Matthew Burleigh has been writing tech content online for more than ten years. He enjoys writing about Google Docs in addition to many other applications and devices and has cumulatively covered Google’s word-processing application in hundreds of different articles.

He has been published on dozens of popular websites, and his works have accumulated millions of pageviews.
While focused primarily on tutorials and guides for popular electronics like the iPhone and iPad, as well as common applications like Microsoft Word, Powerpoint, and Excel, he covers topics across the entire technology spectrum.

You can read his bio here.

Join Our Free Newsletter

Featured guides and deals

You may opt out at any time. Read our Privacy Policy