Unicode has subscripted and superscripted versions of a number of characters including a full set of Arabic numerals.^{[1]} These characters allow any polynomial, chemical and certain other equations to be represented in plain text without using any form of markup like HTML or TeX.
The World Wide Web Consortium and the Unicode Consortium have made recommendations on the choice between using markup and using superscript and subscript characters: "When used in mathematical context (MathML) it is recommended to consistently use style markup for superscripts and subscripts.... However, when super and subscripts are to reflect semantic distinctions, it is easier to work with these meanings encoded in text rather than markup, for example, in phonetic or phonemic transcription."^{[2]}
The intended use^{[2]} when these characters were added to Unicode was to allow chemical and algebra formulas and phonetics to be written without markup, but produce true superscripts and subscripts. Thus "H₂O" (using a subscript character) is supposed to be identical to "H_{2}O" (with subscript markup).
In reality most fonts that include these characters ignore the Unicode definition, and design the digits for mathematical numerator and denominator glyphs,^{[citation needed]} which are smaller than normal characters but are aligned with the cap line and the baseline, respectively. When used with the solidus, these glyphs are useful for making arbitrary diagonal fractions (similar to the ½ glyph). Trying to make fractions using existing software super/subscripts look messier (example: ^{1}/_{2}), so font designers provided this alternative. This also makes the superscript letters useful for ordinal indicators, more closely matching the ª and º characters. However it makes them incorrect for normal super and subscripts, and generally formulas look better using markup than these characters.
Unicode intended to produce diagonal fractions through a different mechanism but it is very poorly supported. The fraction slash U+2044 is visually similar to the solidus, but when used with the ordinary digits (not the superscripts and subscripts) is intended to tell a layout system that a fraction such as ¾ should be rendered^{[3]} using automatic glyph substitution^{[4]} for the digits. Some browsers support this^{[5]} but not in all fonts, a selection of fonts is shown in the below table.
Characters  Font  Result 

U+00BD ½ VULGAR FRACTION ONE HALF  Default  ½ 
U+00B9 ¹ SUPERSCRIPT ONE, U+002F / SOLIDUS, U+2082 ₂ SUBSCRIPT TWO  ¹/₂  
U+00B9 ¹ SUPERSCRIPT ONE, U+2044 ⁄ FRACTION SLASH, U+2082 ₂ SUBSCRIPT TWO  ¹⁄₂  
U+0031 1 DIGIT ONE, U+2044 ⁄ FRACTION SLASH, U+0032 2 DIGIT TWO  1⁄2  
Arial  1⁄2  
Cambria  1⁄2  
Consolas  1⁄2  
Times New Roman  1⁄2 
The most common superscript digits (1, 2, and 3) were in ISO88591 and were therefore carried over into those positions in the Latin1 range of Unicode. The rest were placed in a dedicated section of Unicode at U+2070 to U+209F. The two tables below show these characters. Each superscript or subscript character is preceded by a normal x to show the subscripting/superscripting. The table on the left contains the actual Unicode characters; the one on the right contains the equivalents using HTML markup for the subscript or superscript.


Unicode version 11.0 also includes subscript and superscript characters that are intended for semantic usage, in the following blocks:^{[1]}^{[6]}
Consolidated, the Unicode standard contains superscript and subscript versions of a subset of Latin and Greek letters. Here they are arranged in order for comparison (or for copy and paste convenience). Since these characters come from different ranges, they may not be of the same size and position, depending on the typeface:
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  

Superscript capital  ᴬ  ᴮ  ᴰ  ᴱ  ᴳ  ᴴ  ᴵ  ᴶ  ᴷ  ᴸ  ᴹ  ᴺ  ᴼ  ᴾ  ᴿ  ᵀ  ᵁ  ⱽ  ᵂ  
Superscript small cap  ᶦ  ᶫ  ᶰ  ᶸ  
Superscript minuscule  ᵃ  ᵇ  ᶜ  ᵈ  ᵉ  ᶠ  ᵍ  ʰ  ⁱ  ʲ  ᵏ  ˡ  ᵐ  ⁿ  ᵒ  ᵖ  ʳ  ˢ  ᵗ  ᵘ  ᵛ  ʷ  ˣ  ʸ  ᶻ  
Overscript small cap  ◌ᷛ  ◌ᷞ  ◌ᷟ  ◌ᷡ  ◌ᷢ  
Overscript minuscule  ◌ͣ  ◌ᷨ  ◌ͨ  ◌ͩ  ◌ͤ  ◌ᷫ  ◌ᷚ  ◌ͪ  ◌ͥ  ◌ᷜ  ◌ᷝ  ◌ͫ  ◌ᷠ  ◌ͦ  ◌ᷮ  ◌ͬ  ◌ᷤ  ◌ͭ  ◌ͧ  ◌ͮ  ◌ᷱ  ◌ͯ  ◌ᷦ  
Subscript minuscule  ₐ  ₑ  ₕ  ᵢ  ⱼ  ₖ  ₗ  ₘ  ₙ  ₒ  ₚ  ᵣ  ₛ  ₜ  ᵤ  ᵥ  ₓ  
Underscript minuscule  ◌᷊  ◌ᪿ 
Α  Β  Γ  Δ  Ε  Ζ  Η  Θ  Ι  Κ  Λ  Μ  Ν  Ξ  Ο  Π  Ρ  Σ  Τ  Υ  Φ  Χ  Ψ  Ω  

Superscript minuscule  ᵝ  ᵞ  ᵟ  ᶿ  ᵠ  ᵡ  
Overscript minuscule  ◌ᷩ  
Subscript minuscule  ᵦ  ᵧ  ᵨ  ᵩ  ᵪ 
ɐ  ɑ  ɒ  æ  ç  ɔ  ɕ  ð  ə  ɜ  ɛ  ɟ  ɡ  ɦ  ɥ  ɨ  ɩ  ᵻ  ʝ  ɭ  ᶅ  ɱ  ɯ  ɰ  ŋ  ɲ  ɳ  ɵ  œ  ɹ  ɻ  ʁ  ʂ  ʃ  ƫ  ʉ  ʊ  ʋ  ʌ  ɣ  ʍ  ʐ  ʑ  ʒ  ɸ  ʔ  ʕ  

Superscript  ᵄ  ᵅ  ᶛ  (ᶜ̧)  ᵓ  ᶝ  ᶞ  ᵊ  ᶟ  ᵋ  ᶡ  ᶢ  ʱ  ᶣ  ᶤ  ᶥ  ᶧ  ᶨ  ᶩ  ᶪ  ᶬ  ᵚ  ᶭ  ᵑ  ᶮ  ᶯ  ᶱ  ꟹ  ʴ  ʵ  ʶ  ᶳ  ᶴ  ᶵ  ᶶ  ᶷ  ᶹ  ᶺ  ˠ  ꭩ  ᶼ  ᶽ  ᶾ  ᶲ  ˀ  ˁ,ˤ  
Overscript  ◌ᷧ  ◌ᷔ  ◌ᷗ  ◌ᷙ  ◌ᷪ  ◌ᷯ  ◌̉  
Underscript  ◌ᫀ 
See also small caps in Unicode.
Primarily for compatibility with earlier character sets, Unicode contains a number of characters that compose super and subscripts with other symbols.^{[1]} In most fonts these render much better than attempts to construct these symbols from the above characters or by using markup.