How to Type Subscript on Keyboard (Windows, Mac, Word, Excel, Docs & Copy-Paste)
Looking for how to type subscript on your keyboard for chemical formulas (like H₂O, CO₂), mathematical indices (like x₁, aₙ), or physics variables? Use our 1-click instant copy board below or master verified subscript keyboard shortcuts for Microsoft Word (Ctrl + =), Google Docs (Ctrl + ,), Mac (Cmd + ,), Excel, Windows Alt codes, HTML, and mobile devices.
CLICK TO COPY SUBSCRIPT NUMBERS & SYMBOLS INSTANTLY
Subscript characters are typographic glyphs set slightly below the baseline of regular text and scaled to approximately 65%–75% of the primary font size. Indispensable for chemical formulas (such as water H₂O, glucose C₆H₁₂O₆, carbon dioxide CO₂), algebraic sequences (such as x₁, x₂, aₙ), logarithmic bases (log₂ x), and atomic physics notation, typing subscript efficiently depends heavily on the software application you are using.
Below is your comprehensive master cheat sheet for typing subscript across every major word processor, spreadsheet application, operating system, and web stack:
Application / Operating System
Subscript Keyboard Shortcut
How to Toggle Off / Return to Normal
Supported Formatting Type
Microsoft Word (Windows)
Ctrl + =
Press Ctrl + = again
Rich Text / Font Baseline Shift
Microsoft Word (Mac)
Command ⌘ + =
Press Cmd ⌘ + = again
Rich Text / Font Baseline Shift
Google Docs (Windows & Chromebook)
Ctrl + , (Control + Comma)
Press Ctrl + , again
Rich Text Subscript Style
Google Docs (Mac)
Command ⌘ + , (Cmd + Comma)
Press Cmd ⌘ + , again
Rich Text Subscript Style
Google Slides
Ctrl + , (Mac: Cmd ⌘ + ,)
Press shortcut combination again
Rich Text Subscript Style
Microsoft Excel (Formula Bar)
Select char → Ctrl + 1 → Alt + B
Uncheck Subscript in dialog
Rich Text (Text cells only)
Microsoft PowerPoint
Ctrl + =
Press Ctrl + = again
Rich Text Subscript Style
Apple Pages & Keynote (macOS)
Control ⌃ + Command ⌘ + -
Press Ctrl + Cmd + - again
Rich Text Baseline Subscript
Windows Universal (Alt Code)
Hold Alt + type 8320–8329 (Numpad)
Release Alt key
True Unicode (Works Everywhere)
Google Chromebook (Hex Code)
Ctrl + Shift + U → 2082 → Enter
Instant character insertion
True Unicode Character (₂)
HTML / Web Documents
<sub>text</sub>
Close with </sub>
Semantic HTML Markup
LaTeX / MathJax Equations
x_1 or H_2O or a_{n+1}
Leave underscore scope
Mathematical Typesetting
Android (Gboard)
Tap ?123 → Long-press any digit
Tap popup variant
True Unicode Subscript
iPhone / iPad (iOS)
1-Click Copy on WayToType or Text Replacement
Resume standard keyboard
True Unicode Subscript
MICROSOFT OFFICE
How to Type Subscript in Microsoft Word (Windows & Mac)
Microsoft Word provides four distinct methods for generating subscript text. Depending on whether you are writing continuous technical prose, creating mathematical equations, or inserting individual chemical indexes, you can choose the method that best fits your writing workflow:
Method 1: The Fast Keyboard Shortcut (Ctrl + =)
The quickest and most efficient way to type subscript in Word is using the universal toggle shortcut:
1
For existing text: Highlight the character, letter, or number you want to lower (e.g. highlight the "2" in H2O).
2
Press the shortcut: On Windows, press Ctrl + = (Hold the Control key and press the Equal sign key). On Mac, press Command ⌘ + =.
3
For typing new text in subscript: Press Ctrl + =, type your subscript characters (e.g. 2), and press Ctrl + = again to return to normal baseline text.
Method 2: Word Ribbon Toolbar Subscript Button (x₂)
Select the target text with your mouse.
Navigate to the Home tab in the Microsoft Word top ribbon.
In the Font group, locate and click the Subscript icon (represented by an x₂ symbol).
To disable subscript, click the x₂ icon again.
Method 3: Font Dialog Box (Ctrl + D)
If you need advanced control over subscript scaling and baseline positioning:
Select your text and press Ctrl + D (or Cmd ⌘ + D on Mac) to open the Font settings dialog box.
Under the Effects section, check the box labeled Subscript (or press Alt + B).
For precise baseline offset adjustments, click the Advanced tab, choose Position → Lowered, and enter the exact point size (e.g., 3 pt).
Click OK to apply your custom subscript formatting.
Method 4: Microsoft Word Equation Editor (Alt + =)
When drafting scientific papers and mathematical proofs, Word's Equation Editor automatically formats underscores (_) as subscript indices:
Press Alt + = to insert a new Equation block.
Type your variable followed by an underscore and the subscript index (for example: x_1 or H_2O or a_(n+1)).
Press the Spacebar. Word will instantly convert the underscore notation into beautifully formatted typographic subscript!
MICROSOFT EXCEL
How to Type Subscript in Microsoft Excel (Cells, Headers & Formulas)
Unlike Microsoft Word, Microsoft Excel does not provide a direct single-key toggle shortcut for subscript because the spreadsheet engine treats cell contents as mathematical data, text strings, or formulas. Here is how to handle subscript across all Excel scenarios:
Method 1: Subscript in Excel Text Labels & Table Headers
1
Enter Edit Mode: Double-click the cell containing your text, or select the cell and press F2.
2
Highlight the Subscript Character: Using your cursor in the Formula Bar or directly inside the cell, highlight only the specific number or letter you wish to subscript (e.g. highlight the "2" in H2O).
3
Open Format Cells: Press Ctrl + 1 (or right-click and select Format Cells).
4
Check Subscript: Under the Effects section, check the Subscript box (Alt + B) and click OK. Press Enter to confirm.
⚠️ Crucial Excel Rule: Formulas vs. Plain Text Unicode
Excel's rich-text subscript formatting only works on static text cells. It cannot be applied inside active formulas (like =CONCATENATE("H", "2", "O")) or numeric calculations. If you need subscript characters inside dynamic formulas, chart axis titles, or pivot tables, copy and paste the true Unicode subscript characters (like H₂O) from the top copy board of this guide!
Method 2: Using the Excel Quick Access Toolbar (QAT)
If you frequently format chemical and engineering spreadsheets in Excel, add a dedicated 1-click Subscript button to your top toolbar:
Click the tiny downward arrow at the very top of Excel to open the Customize Quick Access Toolbar menu.
Click More Commands...
In the Choose commands from dropdown, select Commands Not in the Ribbon.
Scroll down, click Subscript, and click the Add >> button. Click OK.
Now whenever you highlight a character in edit mode, simply click the QAT icon or press Alt + (assigned QAT number)!
GOOGLE WORKSPACE
How to Type Subscript in Google Docs and Google Slides
Google Docs and Google Slides feature native, seamless subscript shortcuts that work consistently across Windows, macOS, and ChromeOS:
Toggle Behavior: Highlight existing text and press the shortcut to apply subscript, or press the shortcut before typing to start subscript mode and press it again to return to regular text.
Google Docs Menu Navigation
If you prefer clicking through the top menu:
Highlight the text you wish to format.
Click Format in the top navigation bar.
Hover over Text and select Subscript.
Google Docs Insert Special Characters Palette
To insert true Unicode subscript characters directly in Google Docs:
Go to Insert → Special Characters.
In the search box on the right, type subscript.
Click any subscript number (₀₁₂₃₄₅₆₇₈₉) or symbol in the results box to insert it into your document.
💡 Productivity Tip: Google Docs Automatic Chemical Substitutions
Save hours of repetitive typing by creating custom auto-substitutions! Go to Tools → Preferences → Substitutions. In the Replace box, type H2O and in the With box paste H₂O. Do the same for CO2 → CO₂ and CH4 → CH₄. Now Google Docs will auto-format chemical formulas automatically as you write!
APPLE MACOS
How to Type Subscript on Apple Mac (Pages, Keynote & System-Wide)
Apple macOS provides robust typographical baseline controls across native applications including Pages, Keynote, Mail, and TextEdit:
Alternative Shortcut: In newer versions of Pages and Microsoft Office for Mac, press Command ⌘ + , (Cmd + Comma).
Menu Workflow: Highlight text → Click Format in the top menu → Font → Baseline → Subscript.
System-Wide macOS Character Viewer (Ctrl + Cmd + Space)
To insert true Unicode subscript characters anywhere on your Mac (including Safari, Notes, Slack, Xcode, or Terminal):
1
Press Control ⌃ + Command ⌘ + Spacebar to open the macOS Character Viewer palette.
2
Type subscript into the search bar in the top right corner.
3
Double-click any subscript number or letter (like ₂ or ₐ) to insert it directly into your active cursor position.
ALT CODES & UNICODE
Windows Alt Codes & Complete Unicode Subscript Reference Table
The Unicode Consortium defines dedicated character code points for subscript digits, mathematical operators, and Latin index letters in the Superscripts and Subscripts block (U+2070 to U+209F) and the Latin Extended-C block (U+2C60 to U+2C7F).
Using Windows Alt codes or direct Unicode characters ensures your subscript appears properly in plain text applications (like social media posts, file names, email subject lines, and programming source files) where rich text formatting is stripped:
Subscript Character
Description / Name
Windows Alt Code (Numpad)
Unicode Code Point
HTML Named / Hex Entity
Fast 1-Click Copy
₀
Subscript Digit Zero
Alt + 8320
U+2080
₀ / ₀
₁
Subscript Digit One
Alt + 8321
U+2081
₁ / ₁
₂
Subscript Digit Two
Alt + 8322
U+2082
₂ / ₂
₃
Subscript Digit Three
Alt + 8323
U+2083
₃ / ₃
₄
Subscript Digit Four
Alt + 8324
U+2084
₄ / ₄
₅
Subscript Digit Five
Alt + 8325
U+2085
₅ / ₅
₆
Subscript Digit Six
Alt + 8326
U+2086
₆ / ₆
₇
Subscript Digit Seven
Alt + 8327
U+2087
₇ / ₇
₈
Subscript Digit Eight
Alt + 8328
U+2088
₈ / ₈
₉
Subscript Digit Nine
Alt + 8329
U+2089
₉ / ₉
₊
Subscript Plus Sign
Alt + 8330
U+208A
₊ / ₊
₋
Subscript Minus Sign
Alt + 8331
U+208B
₋ / ₋
₌
Subscript Equals Sign
Alt + 8332
U+208C
₌ / ₌
₍
Subscript Left Parenthesis
Alt + 8333
U+208D
₍ / ₍
₎
Subscript Right Parenthesis
Alt + 8334
U+208E
₎ / ₎
ₐ
Subscript Small Letter a
Alt + 8336
U+2090
ₐ / ₐ
ₑ
Subscript Small Letter e
Alt + 8337
U+2091
ₑ / ₑ
ₒ
Subscript Small Letter o
Alt + 8338
U+2092
ₒ / ₒ
ₓ
Subscript Small Letter x
Alt + 8339
U+2093
ₓ / ₓ
ₙ
Subscript Small Letter n
Alt + 8345
U+2099
ₙ / ₙ
ᵢ
Subscript Small Letter i
Alt + 7522
U+1D62
ᵢ / ᵢ
ⱼ
Subscript Small Letter j
Alt + 7523
U+1D63
ᵣ / ᵣ
ₖ
Subscript Small Letter k
Alt + 7524
U+1D64
ᵤ / ᵤ
ₘ
Subscript Small Letter m
Alt + 7526
U+1D66
ᵦ / ᵦ
ₚ
Subscript Small Letter p
Alt + 7527
U+1D67
ᵧ / ᵧ
ₛ
Subscript Small Letter s
Alt + 7528
U+1D68
ᵨ / ᵨ
ₜ
Subscript Small Letter t
Alt + 7529
U+1D69
ᵩ / ᵩ
CHEMISTRY & SCIENCE
Subscripts in Chemical Formulas & Scientific Notation
In chemistry and molecular biology, subscripts denote stoichiometry—the exact number of atoms of each chemical element present in a molecular compound or crystalline lattice. According to standard IUPAC nomenclature rules:
Atomic Counts: Subscripts immediately follow the elemental symbol. If only one atom is present, no subscript is written (e.g. H₂O contains 2 hydrogen atoms and 1 oxygen atom; CO₂ contains 1 carbon atom and 2 oxygen atoms).
Polyatomic Groups: When multiple units of a polyatomic ion appear in a formula, parentheses enclose the group followed by a subscript: Ca(OH)₂ (Calcium Hydroxide) or Al₂(SO₄)₃ (Aluminium Sulfate).
Phase Designations: State of matter symbols appear in subscript parentheses following the compound: NaCl(s) (solid), H₂O(l) (liquid), CO₂(g) (gas), and HCl(aq) (aqueous solution).
Popular Chemical Formulas (Instant Copy List)
Chemical Compound Name
Formula with Subscripts
Molecular Breakdown
Copy Formula
Water
H₂O
2 Hydrogen, 1 Oxygen
Carbon Dioxide
CO₂
1 Carbon, 2 Oxygen
Glucose (Sugar)
C₆H₁₂O₆
6 Carbon, 12 Hydrogen, 6 Oxygen
Sulfuric Acid
H₂SO₄
2 Hydrogen, 1 Sulfur, 4 Oxygen
Methane
CH₄
1 Carbon, 4 Hydrogen
Ammonia
NH₃
1 Nitrogen, 3 Hydrogen
Ozone
O₃
3 Oxygen
Ethanol
C₂H₅OH
2 Carbon, 6 Hydrogen, 1 Oxygen
MATHEMATICS & PHYSICS
Subscripts in Mathematics, Statistics & Physics Equations
In advanced mathematics, engineering mechanics, computer science, and statistical analysis, subscripts differentiate related variables, designate matrix tensor coordinates, specify base systems, and indicate sequential terms:
Mathematical Domain
Mathematical Notation
Meaning & Practical Application
Coordinate Points
(x₁, y₁), (x₂, y₂)
Specifies initial and terminal coordinate pairs in Cartesian slope formulas: m = (y₂ - y₁) / (x₂ - x₁).
Sequences & Series
a₁, a₂, a₃, ..., aₙ
Indexes specific terms in arithmetic, geometric, and Fibonacci progressions.
Logarithm Bases
log₂ x, log₁₀ N, logₑ y
Designates the numerical or algebraic base of logarithmic calculations (Binary, Decimal, Natural).
Kinematics & Physics
v₀, v_f, t_init, F_net
Denotes boundary states: Initial velocity (v₀), final velocity (v_f), elapsed time (Δt), net force (F_net).
Matrix Elements
a₁₁, a₁₂, a₂₁, aᵢⱼ
Denotes specific element at row i and column j in linear algebra matrix arrays.
Explicitly states the radix/base of numerical strings (Binary base 2, Octal base 8, Decimal base 10, Hex base 16).
WEB DEVELOPMENT
Subscripts for Web Developers (HTML, CSS, Markdown & LaTeX)
HTML5 Semantic <sub> Tag
In web standards and HTML5 documents, the <sub> element represents subscript text for typographical or mathematical reasons:
1
Standard HTML Example: <p>Water is H<sub>2</sub>O and Carbon Dioxide is CO<sub>2</sub>.</p>
2
Mathematical Series Example: <p>The sequence formula is a<sub>n</sub> = a<sub>1</sub> + (n-1)d.</p>
CSS Styling & Baseline Shift Control
By default, standard browser user-agent stylesheets apply vertical-align: sub; font-size: smaller; to <sub> tags. To avoid disrupting line-height and spacing across paragraphs, use this optimized CSS rule:
Simultaneous Subscript & Superscript:$X_{i,j}^{2}$ or ${}^{14}_{6}\text{C}$ (Carbon-14 isotope)
MOBILE KEYBOARDS
How to Type Subscript on Mobile Devices (iPhone, iPad & Android)
Android (Google Gboard & Samsung Keyboard)
Gboard Long-Press Technique: Open any app on Android and tap a text field. Tap the ?123 key to switch to the numbers layout. Long-press (press and hold) any number key (like 2 or 3). A popup bubble will display both superscript and subscript options (like ₂ and ²). Slide your thumb to select ₂!
Special Character Layer: Tap =\< for additional math operators.
iPhone & iPad (iOS)
Apple's default iOS keyboard does not include long-press subscript popups by default. Use one of these two proven workflows:
Fast 1-Click Copy Board: Bookmark this WayToType guide on Safari. Tap any subscript chip at the top to copy ₀₁₂₃₄₅₆₇₈₉ directly to your iOS clipboard.
iOS Text Replacement Shortcut: Go to Settings → General → Keyboard → Text Replacement. Tap the + icon. In the Phrase field, paste ₂. In the Shortcut field, type sub2. Now whenever you type sub2 in iMessage, Notes, or Instagram, your iPhone automatically replaces it with ₂!
COMPARISON CHEAT SHEET
Subscript vs. Superscript: Key Differences & Comparison
While both subscripts and superscripts are scaled-down typographic glyphs offset from the standard text baseline, their placement and semantic applications are opposites:
Typographical Attribute
Subscript (e.g. H₂O, x₁)
Superscript (e.g. x², E=mc², 1ˢᵗ)
Baseline Position
Lowered below text baseline
Raised above text mean line / cap height
Word Shortcut (Windows)
Ctrl + =
Ctrl + Shift + +
Word Shortcut (Mac)
Cmd ⌘ + =
Cmd ⌘ + Shift + +
Google Docs Shortcut
Ctrl + , (Cmd + ,)
Ctrl + . (Cmd + .)
HTML Element Tag
<sub>text</sub>
<sup>text</sup>
LaTeX Math Trigger
Underscore _ (e.g. x_2)
Caret / Hat ^ (e.g. x^2)
Primary Use Cases
Chemical formulas, sequences, log bases, coordinate indices
⚠️ Problem: Subscript formatting stays stuck on when typing the next word
Root Cause: In word processors like Word and Google Docs, subscript is an active formatting state toggle. Solution: Press the subscript toggle shortcut again (Ctrl + = in Word, Ctrl + , in Docs) or press the right-arrow key to exit the formatted character range.
⚠️ Problem: Subscript loses formatting when pasted into Social Media or Emails
Root Cause: Copying formatted rich text from Word or Docs only carries CSS/styling tags. Plain text input boxes (like X/Twitter, Instagram bios, Discord, coding IDEs) strip styling, turning H2O into plain H2O. Solution: Use true Unicode subscript characters (like H₂O) from the top copy board of this guide. True Unicode characters retain their subscript appearance on all devices and platforms permanently!
⚠️ Problem: Windows Alt codes fail on laptop keyboards
Root Cause: Alt codes strictly require hardware keystrokes from a physical 10-key numeric keypad; numbers typed on the top row above the QWERTY letters will not generate characters. Solution: Enable Num Lock on an external USB numpad, use the Word shortcut Ctrl + =, or copy the subscript symbol directly with 1 click from WayToType.
FREQUENTLY ASKED QUESTIONS
Frequently Asked Questions About Typing Subscript
In Microsoft Word for Windows, press Ctrl + = (Control + Equal sign). In Word for Mac, press Command ⌘ + =. Pressing the shortcut combination again returns your cursor to normal text size and baseline.
In Google Docs on Windows and Chromebook, press Ctrl + , (Control + Comma). On Mac, press Command ⌘ + ,. You can also activate subscript via the top navigation by selecting Format → Text → Subscript.
In Excel, double-click the cell and highlight only the specific character you want to subscript in the formula bar. Press Ctrl + 1 to open the Format Cells dialog, check the Subscript box under Effects, and press Enter. Note: Excel only applies rich-text subscript formatting to static text strings, not active numerical formulas.
The Windows Alt codes for subscript numbers using the numeric keypad are: ₀ (Alt + 8320), ₁ (Alt + 8321), ₂ (Alt + 8322), ₃ (Alt + 8323), ₄ (Alt + 8324), ₅ (Alt + 8325), ₆ (Alt + 8326), ₇ (Alt + 8327), ₈ (Alt + 8328), and ₉ (Alt + 8329).
In Apple Pages, Keynote, and TextEdit, press Control ⌃ + Command ⌘ + - (Minus) or go to Format → Font → Baseline → Subscript. For system-wide plain text apps, press Control ⌃ + Command ⌘ + Spacebar to open the Character Viewer, search "subscript", and double-click the desired glyph.
On Android using Gboard, switch to the numeric layout (?123) and long-press any number key (such as 2) to reveal a popup containing ₂. On iPhone, you can copy Unicode subscript numbers directly from WayToType, or configure Text Replacements under Settings → General → Keyboard → Text Replacement (e.g. shortcut 'h2o' → phrase 'H₂O').
Rich-text formatting (like Word's Ctrl+= or HTML's <sub>) visually shrinks and lowers standard characters, but the styling is lost when pasted into plain text environments like social media, code editors, or email subjects. Unicode subscripts (like ₂ U+2082) are standalone individual characters that maintain their lowered subscript appearance everywhere, including Twitter/X, Instagram, Discord, and file names.
In HTML, wrap the character in the <sub> tag: H<sub>2</sub>O. In CSS, you can create custom subscript styling using vertical-align: sub; font-size: 0.75em;.
Explore More Typing Tools & Symbol Directories
Discover over 5,000+ copy-paste characters, comprehensive keyboard shortcuts, alt codes, mathematical operators, and chemical symbols on WayToType.