- Home
- Math
- Conversion
- HTML
- Numbers in HTML, Hex & UTF-8 Unicode
Number Entity Codes: HTML Codes for Numbers
The following table shows the ASCII codes for a broad array of numbers. Quickly find the codes you need to include just about any kind of number in your web documents.
We also offer a table of HTML math codes.
Select Your Number Codes
Description | Symbol | Unicode | Hex Code | HTML Code | HTML Entity | CSS Code |
---|---|---|---|---|---|---|
Zero | 0 | U+00030 | 0 | 0 | \0030 | |
One | 1 | U+00031 | 1 | 1 | \0031 | |
Two | 2 | U+00032 | 2 | 2 | \0032 | |
Three | 3 | U+00033 | 3 | 3 | \0033 | |
Four | 4 | U+00034 | 4 | 4 | \0034 | |
Five | 5 | U+00035 | 5 | 5 | \0035 | |
Six | 6 | U+00036 | 6 | 6 | \0036 | |
Seven | 7 | U+00037 | 7 | 7 | \0037 | |
Eight | 8 | U+00038 | 8 | 8 | \0038 | |
Nine | 9 | U+00039 | 9 | 9 | \0039 | |
Fraction One Quarter | ¼ | U+000BC | ¼ | ¼ | ¼ | \00BC |
Fraction One Half | ½ | U+000BD | ½ | ½ | ½ | \00BD |
Fraction Three Quarters | ¾ | U+000BE | ¾ | ¾ | ¾ | \00BE |
Vulgar Fraction One Seventh | ⅐ | U+02150 | ⅐ | ⅐ | \2150 | |
Vulgar Fraction One Ninth | ⅑ | U+02151 | ⅑ | ⅑ | \2151 | |
Vulgar Fraction One Tenth | ⅒ | U+02152 | ⅒ | ⅒ | \2152 | |
Vulgar Fraction One Third | ⅓ | U+02153 | ⅓ | ⅓ | ⅓ | \2153 |
Vulgar Fraction Two Thirds | ⅔ | U+02154 | ⅔ | ⅔ | ⅔ | \2154 |
Vulgar Fraction One Fifth | ⅕ | U+02155 | ⅕ | ⅕ | ⅕ | \2155 |
Vulgar Fraction Two Fifths | ⅖ | U+02156 | ⅖ | ⅖ | ⅖ | \2156 |
Vulgar Fraction Three Fifths | ⅗ | U+02157 | ⅗ | ⅗ | ⅗ | \2157 |
Vulgar Fraction Four Fifths | ⅘ | U+02158 | ⅘ | ⅘ | ⅘ | \2158 |
Vulgar Fraction One Sixth | ⅙ | U+02159 | ⅙ | ⅙ | ⅙ | \2159 |
Vulgar Fraction Five Sixths | ⅚ | U+0215A | ⅚ | ⅚ | ⅚ | \215A |
Vulgar Fraction One Eighth | ⅛ | U+0215B | ⅛ | ⅛ | ⅛ | \215B |
Vulgar Fraction Three Eighths | ⅜ | U+0215C | ⅜ | ⅜ | ⅜ | \215C |
Vulgar Fraction Five Eighths | ⅝ | U+0215D | ⅝ | ⅝ | ⅝ | \215D |
Vulgar Fraction Seven Eighths | ⅞ | U+0215E | ⅞ | ⅞ | ⅞ | \215E |
Fraction Numerator One | ⅟ | U+0215F | ⅟ | ⅟ | \215F | |
Roman Numeral One | Ⅰ | U+02160 | Ⅰ | Ⅰ | \2160 | |
Roman Numeral Two | Ⅱ | U+02161 | Ⅱ | Ⅱ | \2161 | |
Roman Numeral Three | Ⅲ | U+02162 | Ⅲ | Ⅲ | \2162 | |
Roman Numeral Four | Ⅳ | U+02163 | Ⅳ | Ⅳ | \2163 | |
Roman Numeral Five | Ⅴ | U+02164 | Ⅴ | Ⅴ | \2164 | |
Roman Numeral Six | Ⅵ | U+02165 | Ⅵ | Ⅵ | \2165 | |
Roman Numeral Seven | Ⅶ | U+02166 | Ⅶ | Ⅶ | \2166 | |
Roman Numeral Eight | Ⅷ | U+02167 | Ⅷ | Ⅷ | \2167 | |
Roman Numeral Nine | Ⅸ | U+02168 | Ⅸ | Ⅸ | \2168 | |
Roman Numeral Ten | Ⅹ | U+02169 | Ⅹ | Ⅹ | \2169 | |
Roman Numeral Eleven | Ⅺ | U+0216A | Ⅺ | Ⅺ | \216A | |
Roman Numeral Twelve | Ⅻ | U+0216B | Ⅻ | Ⅻ | \216B | |
Roman Numeral Fifty | Ⅼ | U+0216C | Ⅼ | Ⅼ | \216C | |
Roman Numeral One Hundred | Ⅽ | U+0216D | Ⅽ | Ⅽ | \216D | |
Roman Numeral Five Hundred | Ⅾ | U+0216E | Ⅾ | Ⅾ | \216E | |
Roman Numeral One Thousand | Ⅿ | U+0216F | Ⅿ | Ⅿ | \216F | |
Small Roman Numeral One | ⅰ | U+02170 | ⅰ | ⅰ | \2170 | |
Small Roman Numeral Two | ⅱ | U+02171 | ⅱ | ⅱ | \2171 | |
Small Roman Numeral Three | ⅲ | U+02172 | ⅲ | ⅲ | \2172 | |
Small Roman Numeral Four | ⅳ | U+02173 | ⅳ | ⅳ | \2173 | |
Small Roman Numeral Five | ⅴ | U+02174 | ⅴ | ⅴ | \2174 | |
Small Roman Numeral Six | ⅵ | U+02175 | ⅵ | ⅵ | \2175 | |
Small Roman Numeral Seven | ⅶ | U+02176 | ⅶ | ⅶ | \2176 | |
Small Roman Numeral Eight | ⅷ | U+02177 | ⅷ | ⅷ | \2177 | |
Small Roman Numeral Nine | ⅸ | U+02178 | ⅸ | ⅸ | \2178 | |
Small Roman Numeral Ten | ⅹ | U+02179 | ⅹ | ⅹ | \2179 | |
Small Roman Numeral Eleven | ⅺ | U+0217A | ⅺ | ⅺ | \217A | |
Small Roman Numeral Twelve | ⅻ | U+0217B | ⅻ | ⅻ | \217B | |
Small Roman Numeral Fifty | ⅼ | U+0217C | ⅼ | ⅼ | \217C | |
Small Roman Numeral One Hundred | ⅽ | U+0217D | ⅽ | ⅽ | \217D | |
Small Roman Numeral Five Hundred | ⅾ | U+0217E | ⅾ | ⅾ | \217E | |
Small Roman Numeral One Thousand | ⅿ | U+0217F | ⅿ | ⅿ | \217F | |
Roman Numeral One Thousand C D | ↀ | U+02180 | ↀ | ↀ | \2180 | |
Roman Numeral Five Thousand | ↁ | U+02181 | ↁ | ↁ | \2181 | |
Roman Numeral Ten Thousand | ↂ | U+02182 | ↂ | ↂ | \2182 | |
Roman Numeral Reversed One Hundred | Ↄ | U+02183 | Ↄ | Ↄ | \2183 | |
Latin Small Letter Reversed C | ↄ | U+02184 | ↄ | ↄ | \2184 | |
Roman Numeral Six Late Form | ↅ | U+02185 | ↅ | ↅ | \2185 | |
Roman Numeral Fifty Early Form | ↆ | U+02186 | ↆ | ↆ | \2186 | |
Vulgar Fraction Zero Thirds | ↉ | U+02189 | ↉ | ↉ | \2189 |