How to type Subscript Two
To type Subscript Two (₂), press Alt + 8322 on Windows, holding Alt while typing the digits on the numeric keypad, or write ₂ in HTML. On any system you can copy it from this page, or enter its codepoint U+2082 directly: Ctrl+Shift+U then 2082 on Linux, or 2082 then Alt+X in Microsoft Word.
Subscript Two
- Copy it
- Unicode
- U+2082
- Windows
- Alt + 8322 needs regedit
| Where | Shortcut | How |
|---|---|---|
| Windows | Alt + 8322 | Above 255, so Windows will not accept it as typed. Copy the character instead. |
| Mac | N/A | Press the keys together. |
| HTML | ₂ | Paste this into HTML source. |
| Unicode | U+2082 | SUBSCRIPT TWO |
Other math symbols
₂ lives in the Superscripts and Subscripts block (U+2070-U+209F), raised and lowered digits and letters. Within Unicode it is classified as No, a number that is not a digit. Fractions and superscript digits sit here. Its bidirectional class makes it a European number.
What happens to ₂ in a search box
₂ is a subscript form: Unicode says it can be rewritten as 2, one character. Anything that normalises text to NFKC before comparing it does exactly that, which is why ₂ pasted into a search field, a URL slug or a username can come back as 2 and match text that never contained ₂ at all. NFC, the form this site uses, leaves it alone. Unicode also records its numeric value as 2, so software that asks a character what number it is gets 2 rather than an error.
How Subscript Two behaves in software
₂ is East Asian Ambiguous: one column in a Western locale and two in a CJK one. That is why a table that lines up on your machine can break on somebody else's, with no change to the text at all.
Every way to write Subscript Two
| Form | Value |
|---|---|
| Codepoint | U+2082 |
| Decimal | 8322 |
| UTF-8 bytes | E2 82 82 |
| UTF-16 bytes | 20 82 |
| HTML entity | ₂ |
| HTML numeric | ₂ or ₂ |
| CSS | \2082 |
| JavaScript | \u2082 |
| Python | \u2082 |
| URL-encoded | %E2%82%82 |
| SVG | 2082.svg · (SIL Open Font License) |
If ₂ arrives as â‚‚
Its three UTF-8 bytes E2 82 82 are being read one at a time as Windows-1252. The text is undamaged; the reader has to be told it is UTF-8.