How to Type Powers and Exponents on a Keyboard

Learn how to type powers on a keyboard with the caret symbol, copyable superscript digits, and shortcuts for Word, Google Docs, Windows, and Mac.

Contents

Don't Miss the Good Stuff

Get tech news that matters delivered to your inbox.

To type powers on a keyboard, type the base, press Shift + 6 on a US keyboard to insert ^, then type the exponent, as in 2^3. For raised digits such as 2³, paste a superscript character or select the exponent and apply your app’s superscript formatting. To calculate the result, enter a power formula in a spreadsheet.

Choose the method for the result you need: ordinary text, raised characters, or a calculation. The Windows steps below use Windows 11 menus.

The short version

  • Ordinary text: Type 2^3, using Shift + 6 for the caret on a US keyboard.
  • Raised digits: Copy and paste superscript characters such as ² and ³ into a field that accepts them.
  • Word: Select the exponent and press Ctrl + Shift + + on Windows or Command + Shift + + on Mac.
  • Google Docs: Select the exponent and press Ctrl + . on Windows or ChromeOS, or Command + . on Mac.
  • Calculations: Enter =POWER(2,3) in Excel or Google Sheets to calculate 8.

MethodWhere to use itWhat to use
Caret notationOrdinary text fields2^3
Copy and pasteUnicode-capable fieldsCharacters such as ² and ³
Word keyboard formattingDesktop Word on Windows or MacCtrl + Shift + + or Command + Shift + +
Word ribbon formattingDesktop Word and Word for the webHome > Superscript
Word equation entryWord for Microsoft 365 on WindowsUnicodeMath or LaTeX
Google Docs keyboard formattingDesktop browserCtrl + . or Command + .
Google Slides keyboard formattingDesktop browser text boxesCtrl + . or Command + .
Google special-character pickerDocs and Slides desktop web appsInsert > Symbols > Special characters
Numeric keypad codesCompatible Windows 11 appsAlt with keypad digits
Character MapWindows 11Superscript characters to copy
Character ViewerCompatible Mac appsEdit > Emoji & Symbols
Symbol picker key settingMac with a compatible keyboardShow Emoji & Symbols
Pages formattingPages for MacBaseline > Superscript
iPhone text replacementApps supporting keyboard replacementsA saved abbreviation and superscript text
Mac text replacementSupporting Mac appsA saved trigger such as ;sq
Google Docs mobile shortcutMobile apps with an external keyboardCtrl + . or Command + .
Pages mobile formattingPages on iPhone and iPadMore Text Options
Excel power formulasExcel on Windows and Mac=2^3 or =POWER(2,3)
Google Sheets power formulaGoogle Sheets=POWER(2,3)
Excel text formattingExcel text cells on WindowsSuperscript in the font dialog

Type a power in ordinary text

You can use caret notation in text fields on Windows, Mac, Linux, ChromeOS, iPhone, and Android. Type the base, insert ^, then enter the exponent. For a longer exponent, use parentheses, as in x^(n+1).

On a US keyboard, hold Shift and press 6 to produce the caret. The key that produces it varies by keyboard layout. In ordinary text, this notation expresses a power without automatically raising the exponent or calculating a result.

Copy and paste raised numbers

For a raised exponent in a message, email subject, browser field, or spreadsheet label, copy the characters you need from this set: ⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ⁺ ⁻ ⁼ ⁽ ⁾ ⁿ. Paste them immediately after the base. Combine characters to write expressions such as x¹² or 10⁻³.

Select the required characters, then press Ctrl + C to copy and Ctrl + V to paste on Windows. On Mac, use Command + C and Command + V; on a phone, choose Copy and Paste. The destination must accept Unicode characters, and its font can affect how they appear.

These are separate characters that already represent superscripts. If a field rejects a character or its font does not display it correctly, use caret notation for ordinary text. In an editor with superscript controls, you can instead format the exponent using the app’s controls.

Format exponents in Microsoft Word

In Word for Microsoft 365 or Word 2024, type the base and exponent, then select only the exponent characters. Press Ctrl + Shift + + on Windows, or Command + Shift + + on Mac. Keyboard layouts can change the physical keys needed for this combination.

The ribbon provides another way to format exponents in Word: select the exponent, then choose Home > Superscript, identified by x². This route also works in Word for the web. Use it when the keyboard combination does not match your layout.

For an equation in Word for Microsoft 365 on Windows, press Alt + = and select UnicodeMath in the equation controls. Type x^2, then press Space to build the equation. Alternatively, select LaTeX, enter x^{12}, and convert it to Professional format. The braces group the multi-character exponent.

Apply superscript in Google Docs and Slides

In Google Docs in a desktop browser, select the exponent and press Ctrl + . on Windows or ChromeOS. On Mac, press Command + .. Google Slides uses the same shortcuts after you select the exponent inside a text box.

To insert a superscript character instead, open Insert > Symbols > Special characters in Docs or Slides. Browse the categories, enter the character’s Unicode value, or draw it in the right-hand box, then click the character. For Google Sheets, copy the inserted character and paste it into a cell, since Sheets does not provide this picker directly.

Insert superscript characters on Windows

On Windows 11, apps supporting Windows Alt-code entry can accept numeric-keypad codes for common powers. Enable Num Lock if needed, hold Alt, type 0, 1, 7, 8 on the numeric keypad, then release Alt to insert ². Keep the leading zero.

For ³, hold Alt, type 0, 1, 7, 9, then release Alt. For ¹, repeat with 0, 1, 8, 5. These codes require the applicable Western Windows character mapping and a numeric keypad; the top number row does not substitute for it. If your keyboard or app cannot use this method, copy and paste the characters or use Character Map.

To open Character Map, press the Windows key, type Character Map, and press Enter. Choose a font containing the superscript character, select the character, choose Copy, and paste it into your destination. The destination still needs to accept that Unicode character.

For a code-based lookup, select Advanced view and set Character set to Unicode. Enter 00B2 in Go to Unicode to find ², then copy and paste the character.

Use the Mac symbol picker or Pages formatting

On Mac, choose Edit > Emoji & Symbols, or press Fn + E using the Globe key on keyboards with that label. Search for superscript two or 00B2. Click the character to insert it, or double-click it when Character Viewer is expanded. For repeat use, expand Character Viewer if it is collapsed, then select the character and click Add to Favorites.

To configure the symbol picker key, open Apple menu > System Settings > Keyboard. Open Press fn key to, or the corresponding Globe key menu, and choose Show Emoji & Symbols. Press that key to open the picker, then select the superscript character.

In Pages for Mac, select the exponent and open Format > Style; for text in a text box, shape, or table, choose Text first. Under Font, open Advanced Options > Baseline > Superscript. To resume ordinary text, place the cursor after the exponent and choose Baseline > Default.

Type powers on your phone and save shortcuts

On a phone, copy and paste the superscript digits above into a field that accepts them. For repeated use on iPhone, open Settings > General > Keyboard > Text Replacement, then tap Add. Paste ², ³, or a complete expression into Phrase, enter a distinctive abbreviation in Shortcut, then tap Save. While typing, you can also hold the Emoji or Switch Keyboard key and choose Keyboard Settings > Text Replacement.

On Mac, open Apple menu > System Settings > Keyboard > Text Replacements, click Add, and enter a trigger such as ;sq with ² as its replacement. Click Add, then Done. In a supporting app, choose Edit > Substitutions > Text Replacement to enable it. These replacements work only in supporting applications.

With an external keyboard connected, Google Docs on Android supports Ctrl + . after you select the exponent. In the iPhone and iPad apps, use Command + .. Some keyboard layouts differ, so copy and paste is another way to insert superscript characters.

In Pages on iPhone or iPad, select the exponent and tap Format. If the text controls are hidden, tap Text or Cell first. Under Font, tap More Text Options, then choose the superscript baseline option.

Calculate powers in a spreadsheet

To calculate a power in Excel for Microsoft 365 or Excel 2024 on Windows or Mac, enter the following formula in a cell. Press Enter to get 8.

=2^3

You can also enter the following formula in those Excel editions or in Google Sheets, then press Enter. It calculates the same result.

=POWER(2,3)

For Excel calculations using cell values, enter =A1^B1. Superscript text displays an exponent without calculating the power. In Excel for Microsoft 365 or Excel 2024 on Windows, select the exponent characters within a text cell and press Ctrl + 1. Under Effects, check Superscript, then click OK.

Frequently Asked Questions

How can you type a superscript number on Linux?

In compatible GNOME/GTK text-entry environments, press Ctrl + Shift + U, type 00B2, then press Space or Enter to insert ². Use 00B3 for ³ or 2074 for ⁴. This shortcut is not universal across Linux applications. On a GNOME desktop with Characters available, you can instead open Activities, launch Characters, and search for the superscript character.

Can Word turn a Unicode code into an exponent character?

In Word for Microsoft 365 or Word 2024 on Windows, type 00B2, select those four characters, and press Alt + X to insert ². Selecting the code prevents adjacent characters that look like hexadecimal digits from being included. Use 00B9 for ¹, 00B3 for ³, or 2074 for ⁴. This conversion is a Word feature, not a universal Windows shortcut.

Why are some superscript digits in a different group in Word’s symbol picker?

The characters ¹, ², and ³ belong to the Latin-1 Unicode block rather than the Superscripts and Subscripts block. In Word for Microsoft 365 or Word 2024 on Windows, open Insert > Symbol > More Symbols and set Font to (normal text). Under Subset, choose Superscripts and Subscripts for other superscript characters, or locate ¹, ², and ³ in the Latin-1 block. Select the character, click Insert, then Close.

Can a spreadsheet generate superscript characters with a formula?

In Excel editions supporting UNICHAR, including Microsoft 365 and Excel 2024, =UNICHAR(178) returns ², =UNICHAR(179) returns ³, and =UNICHAR(8308) returns ⁴. In Google Sheets, use =CHAR(178), =CHAR(179), or =CHAR(8308) for those characters. These formulas return text characters rather than calculating a power.

Share