Omni Calculator logo

How to Insert Subscript

Subscript is a formatting style that makes the text appear lower than the rest of the text baseline. It is useful in many cases, such as writing chemical formulas with numbers (e.g., H₂O), scientific notation, footnote references, and even math variables.

Different apps and systems handle subscripts differently, so they usually require different implementation styles. In this guide, you will learn how to create subscripts in various environments. Note that in some cases, you may want to use a subscript generator to convert text to subscript characters, for a quick copy-paste solution or when shortcuts don’t work.

If you want to dive deeper into the topic, make sure to check out “what is a subscript in science”.

For a quick solution, keyboard shortcuts are usually the fastest way to apply subscript formatting. But subscript shortcuts can vary slightly depending on whether you use Windows or macOS.

You can use the following shortcuts to toggle subscript on and off by simply highlighting the text you want to convert to subscript, then pressing the shortcut keys:

On Windows

  • Subscript in PowerPoint & Microsoft Word
    Ctrl + =
  • Subscript in Google Docs
    Ctrl + ,

Windows also supports Alt codes for specific Unicode subscript numbers and works across most Microsoft Office applications.

By holding the Alt key and typing specific numeric codes on the number pad (for example, 8322 for ), you can insert certain Unicode subscript characters. However, this method only works for one character at a time and does not format entire words.

On macOS

  • Subscript in PowerPoint & Microsoft Word
    Command + =
  • Google Docs
    Command + ,

macOS also provides a Character Viewer where you can search for Unicode subscript numbers, and it is supported in Word, PowerPoint, and some text editors.

💡 If a subscript does not display correctly, you can manually copy Unicode subscript characters or use online generators. This method ensures compatibility.

Here’s a quick way of how to insert subscripts inside Microsoft Office programs like Word, Excel, and PowerPoint.

  • Subscript in Word & PowerPoint

    Highlight the text and use the following keyboard shortcuts:

    • Use Ctrl + = on Windows; or
    • Use Command + = on Mac.

    You can also use Home → Font → Subscript.

  • Subscript in Excel

    Excel supports subscript formatting in text, but not inside formulas. To apply it:

    1. Double-click the cell or press F2.
    2. Highlight the character.
    3. Right-click and choose Format Cells.
    4. Enable Subscript.

    Because Excel handles formatting differently, some subscript shortcuts may not always apply correctly. Make sure you’re actively editing text inside the respective cell.

  • Subscript in Google Docs

    And here is how to do subscripts in Google Docs:

    • Use Ctrl + , on Windows;
    • Use Command + , on Mac; or
    • Go to Format → Text → Subscript.

    Google Docs makes toggling subscript formatting simple, as it is widely used for academic writing.

Try out our subscript generator and convert easily and efficiently to subscripts.

LaTeX is widely used for formatting equations in technical and academic writing, as well as on the web. Let's explore how to insert subscripts in LaTeX equations.

In LaTeX, a subscript is created using the underscore symbol as a prefix:

  • Single character: H_2
    This input will show as H2H_2

  • Multiple characters: x_{ij}
    This will show as xijx_{ij}

    Curly brackets are necessary when applying a subscript to more than one character.

Markdown, however, does not natively support subscript formatting in its basic version. Some extended Markdown platforms allow inline HTML depending on the system. If Markdown formatting fails, online tools such as Unicode subscript character generators can be a good workaround.

You might want to give a read to our subscript font guide and understand more about a subscript font.

Subscript on websites is achieved using HTML tags.

  • The correct opening tag is:
    < sub >

  • And the correct closing tag is:
    </ sub >

Example:

  • H < sub > 2 </ sub > O
    This will show as H2O\rm H_2O

Browsers automatically display the subscript characters below the baseline.

The HTML subscript tag is primarily used for blogs, calculators, educational tools, and scientific web content, and is consistent across web browsers.

The app or system you use determines how you'll insert subscripts. Remember, there is usually a built-in keyboard shortcut to create subscript text, but it works differently across platforms. If it fails, try a subscript generator, as it is useful in systems that do not support creating subscripts. Lastly, it is important to verify that the subscript is editable, in a uniform style, and not an image. This ensures everything reads and displays correctly.

Inserting or converting a number from regular format to subscript in PowerPoint is fairly easy and exactly like you’d do a subscript in Word.

Here is how to insert a subscript 2 in CO2:

  1. Type CO2;
  2. Highlight the 2;
  3. Press:
    • Ctrl + = (for Windows); or
    • Command + = (for Mac).

Yes, you can use subscript on mobile devices, but the options are limited compared to desktop.

In apps like Google Docs or Microsoft Word, you can use their formatting bar and easily change text based on your needs. Some mobile keywords have numeric subscripts by default. If they don't, simply use our subscript generator to save time and hassle.

This article was written by Komal Rafay and reviewed by Steven Wooding.