HTML Number Entities

Beginner
⏱️ 7 min read
📚 Updated: May 2026
🎯 1 Code Example
Digits, fractions, Roman numerals

What You'll Learn

HTML number entities (used here in the sense of number-shaped characters) cover ASCII digits, superscripts like ², subscripts, circled and dingbat-style numerals, vulgar fractions such as ½, and Roman numeral code points in the Number Forms block. Most rows use numeric references ❶ / ❶; a few common forms also have short named entities.

Use the Quick Reference to copy exact codes. For operators and relations, see HTML math entities; for quotes, dashes, and ellipsis, see HTML punctuation entities; for copyright, stars, and general symbols, see HTML symbol entities; for currency marks, see HTML currency entities; browse the full HTML entities index for every character page.

⚡ Quick Reference — HTML Number Entities

Filter by symbol, Unicode (e.g. U+00BD), hex, decimal, or entity name.

SymbolUnicodeHex codeHTML codeHTML entity
0U+003000-
1U+003111-
2U+003222-
3U+003333-
4U+003444-
5U+003555-
6U+003666-
7U+003777-
8U+003888-
9U+003999-
U+2070⁰⁰-
¹U+00B9¹¹¹
²U+00B2²²²
³U+00B3³³³
U+2074⁴⁴-
U+2075⁵⁵-
U+2076⁶⁶-
U+2077⁷⁷-
U+2078⁸⁸-
U+2079⁹⁹-
U+2080₀₀-
U+2081₁₁-
U+2082₂₂-
U+2083₃₃-
U+2084₄₄-
U+2085₅₅-
U+2086₆₆-
U+2087₇₇-
U+2088₈₈-
U+2089₉₉-
U+2776❶❶-
U+2777❷❷-
U+2778❸❸-
U+2779❹❹-
U+277A❺❺-
U+277B❻❻-
U+277C❼❼-
U+277D❽❽-
U+277E❾❾-
U+277F❿❿-
U+2780➀➀-
U+2781➁➁-
U+2782➂➂-
U+2783➃➃-
U+2784➄➄-
U+2785➅➅-
U+2786➆➆-
U+2787➇➇-
U+2788➈➈-
U+2789➉➉-
U+278A➊➊-
U+278B➋➋-
U+278C➌➌-
U+278D➍➍-
U+278E➎➎-
U+278F➏➏-
U+2790➐➐-
U+2791➑➑-
U+2792➒➒-
U+2793➓➓-
U+2189↉↉-
¼U+00BC¼¼¼
½U+00BD½½½
¾U+00BE¾¾¾
U+2150⅐⅐-
U+2151⅑⅑-
U+2152⅒⅒-
U+2153⅓⅓⅓
U+2154⅔⅔⅔
U+2155⅕⅕⅕
U+2156⅖⅖-
U+2157⅗⅗⅗
U+2158⅘⅘⅘
U+2159⅙⅙⅙
U+215A⅚⅚⅚
U+215B⅛⅛⅛
U+215C⅜⅜⅜
U+215D⅝⅝⅝
U+215E⅞⅞⅞
U+215F⅟⅟-
U+2160ⅠⅠ-
U+2161ⅡⅡ-
U+2162ⅢⅢ-
U+2163ⅣⅣ-
U+2164ⅤⅤ-
U+2165ⅥⅥ-
U+2166ⅦⅦ-
U+2167ⅧⅧ-
U+2168ⅨⅨ-
U+2169ⅩⅩ-
U+216AⅪⅪ-
U+216BⅫⅫ-
U+216CⅬⅬ-
U+216DⅭⅭ-
U+216EⅮⅮ-
U+216FⅯⅯ-
U+2170ⅰⅰ-
U+2171ⅱⅱ-
U+2172ⅲⅲ-
U+2173ⅳⅳ-
U+2174ⅴⅴ-
U+2175ⅵⅵ-
U+2176ⅶⅶ-
U+2177ⅷⅷ-
U+2178ⅸⅸ-
U+2179ⅹⅹ-
U+217Aⅺⅺ-
U+217Bⅻⅻ-
U+217Cⅼⅼ-
U+217Dⅽⅽ-
U+217Eⅾⅾ-
U+217Fⅿⅿ-
U+2180ↀↀ-
U+2181ↁↁ-
U+2182ↂↂ-
U+2183ↃↃ-
U+2184ↄↄ-
U+2185ↅↅ-
U+2186ↆↆ-
1

Complete HTML Example

Decimal digit references, named vulgar fractions and superscripts, and a circled numeral via CSS content:

html
<!DOCTYPE html>
<html>
<head>
 <meta charset="utf-8">
 <style>
  .circled-one::after {
   content: "\2776";
  }
 </style>
</head>
<body>

<p>Digits (decimal refs): &#48;&#49;&#50;</p>
<p>Fractions: &frac12; &frac14; &frac34;</p>
<p>Powers: 10&sup2; m&sup3;</p>
<p>Circled via CSS: <span class="circled-one"></span></p>

</body>
</html>
Try It Yourself

🌐 Browser Support

Named and numeric character references for these code points work in all modern browsers with UTF-8 documents and fonts that cover Number Forms and Dingbats where needed:

Chrome 1+
Firefox 1+
Safari 1+
Edge 12+
Opera 4+
Android 4.4+
iOS Safari 1+

👀 Live Preview

Glyphs from character references in this hub:

Digits and superscripts 0–9 · 10² m³ · x₁ x₂
Vulgar fractions ½ ¼ ¾ ⅓ ⅔
Dingbat circled ❶ ❷ ❸ ❹ ❺
Roman (Unicode) Ⅹ Ⅺ Ⅻ ⅰ ⅱ ⅲ
Large type ½ ❶ Ⅰ

🧠 How It Works

1

ASCII digits

Digits U+0030–U+0039 are usually typed directly. When you need explicit references (ASCII-only pipelines, teaching markup), use &#48; through &#57; or the matching &#x30;&#x39; forms.

HTML markup
2

Named fractions and superscripts

HTML5 defines readable names for common fractions (&frac12;, &frac14;, …) and for &sup1;, &sup2;, &sup3;. Other superscripts and all subscripts typically use numeric references from the table.

HTML markup
3

CSS content

Decorative dingbat numbers can be injected with escapes such as \2776 (U+2776) inside content on a pseudo-element, matching the same scalar value as &#x2776; in HTML.

CSS stylesheet
=

Same code points

Valid named and numeric references for one character render identically. Pick names for readability when they exist; otherwise copy hex or decimal from the Quick Reference.

Use Cases

Number-related entities often appear in:

📚 Technical writing

Footnote markers, exponents, and unit notation (m³, cm²) in articles and specs.

🎓 Education

Fractions and circled step numbers in worksheets and online lessons.

📈 Data labels

Unicode Roman numerals or dingbat lists in dashboards when design calls for fixed glyphs.

♻ Legacy ASCII

Decimal references for digits when templates must stay in a restricted character set.

🎨 Typography

Proper vulgar fractions and superscripts instead of scaled ASCII substitutes.

📄 Print and PDF

Explicit references in HTML-to-PDF pipelines for predictable glyph selection.

💡 Best Practices

Do

  • Use UTF-8 and <meta charset="utf-8">
  • Prefer &frac12;, &sup2;, and other names when the table lists them
  • Store numeric amounts as numbers; use entities only for displayed glyphs
  • Test fonts for dingbat circled numbers on target devices
  • Use MathML or a math engine for full equations, not entities alone

Don’t

  • Confuse this topic with numeric character references syntax (&#…;) in general—here we mean number-shaped characters
  • Rely on circled dingbats for semantic “step 1” without accessible text
  • Fake superscripts by shrinking regular digits unless you accept inferior typography
  • Assume every circled digit has a short named entity
  • Encode entire spreadsheets as HTML entity strings

Key Takeaways

1

Digits, fractions, superscripts, and Roman forms each have defined Unicode code points

&frac12; &sup2;
2

Circled and dingbat numerals usually need hex or decimal from the table

&#x2776;
3

CSS content can use the same code points with backslash hex escapes

\2776
4

Choose real math layout (MathML, KaTeX, MathJax) for complex formulas

5

Browse the full entity index for arrows, math, and more

❓ Frequently Asked Questions

Here we mean character references for number-shaped glyphs: digits, superscripts and subscripts, fractions, circled numerals, Roman numerals, and related symbols. They use the same HTML entity mechanisms as any other character (&name;, &#…;, &#x…;).
Use &sup2; and &sup3;, or &#x00B2; / &#178; and &#x00B3; / &#179;. For ⁴–⁹ see the superscript rows in the Quick Reference.
Named entities include &frac12;, &frac14;, &frac34;, &frac13;, &frac23;, and more listed in the table. Otherwise use the numeric codes from the same row.
Each circled dingbat is a single Unicode character (for example U+2776). Reference it with &#x2776; or the decimal value from the table, or inject it via CSS content with a matching escape.
Yes. Unicode includes Roman numeral code points in the Number Forms block. Use this page’s table for hex and decimal references, or type them in UTF-8 when your editor and headers support Unicode.

Explore More HTML Entities!

Discover 1500+ HTML character references — math operators, arrows, emojis, and more.

All HTML Entities →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

7 people found this page helpful