HTML Entity for Fraction 1 By 8 (⅛)

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+215B

What You'll Learn

How to display the Fraction 1 By 8 symbol (⅛) in HTML using named, hexadecimal, decimal, and CSS escape methods. This character is U+215B (VULGAR FRACTION ONE EIGHTH) in the Number Forms block (U+2150–U+218F)—a vulgar fraction representing 1⁄8 (one eighth).

Render it with the named entity ⅛, ⅛, ⅛, or CSS escape \215B. Do not confuse ⅛ with one seventh (⅐, U+2150), three quarters (¾, U+00BE, ¾), or plain text 1/8.

⚡ Quick Reference — Fraction 1 By 8

Unicode U+215B

Number Forms

Hex Code ⅛

Hexadecimal reference

HTML Code ⅛

Decimal reference

Named Entity ⅛

One eighth (most readable)

Reference Table
Name           Value
────────────   ──────────
Unicode        U+215B
Hex code       ⅛
HTML code      ⅛
Named entity   ⅛
CSS code       \215B
Meaning        Vulgar fraction one eighth (1/8)
Related        U+2150 = One seventh (⅐); U+00BE = Three quarters (¾)
1

Complete HTML Example

This example demonstrates the Fraction 1 By 8 symbol (⅛) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\215B";
  }
 </style>
</head>
<body>
<p>Fraction 1 By 8 using Hexadecimal: &#x215B;</p>
<p>Fraction 1 By 8 using HTML Code: &#8539;</p>
<p>Fraction 1 By 8 using HTML Entity: &frac18;</p>
<p id="point">Fraction 1 By 8 using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Fraction 1 By 8 (⅛) is widely supported in modern browsers with a suitable font:

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

👀 Live Preview

See the vulgar fraction one eighth (⅛) in recipes, math, and compared with related glyphs:

Recipe ⅛ cup butter   ⅛ tsp vanilla
Math 8 × ⅛ = 1
Large glyph
Vulgar fractions ⅐ seventh   ⅛ eighth   ¾ three quarters
Entity refs &frac18; &#x215B; &#8539; \215B

🧠 How It Works

1

Named Entity

&frac18; is the HTML named entity for one eighth—often preferred in readable recipe and math markup.

HTML markup
2

Hexadecimal Code

&#x215B; uses the Unicode hexadecimal value 215B. The x prefix indicates hexadecimal format.

HTML markup
3

Decimal HTML Code

&#8539; uses the decimal Unicode value 8539 to display the same character.

HTML markup
4

CSS Entity

\215B is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All four methods produce: . Unicode U+215B in Number Forms. For one seventh, see Fraction 1 By 7 (⅐).

Use Cases

The Fraction 1 By 8 symbol (⅛) is commonly used in:

🍳 Recipes

Cooking and measurements (e.g. ⅛ cup, ⅛ teaspoon).

∑ Math

Equations, fractions, and math content using one eighth.

📚 Education

Textbooks, tutorials, and lessons on fractions and ratios.

📊 Data

Statistics, scores, and displays showing eighths or 12.5% shares.

📄 Documents

Legal, academic, or technical documents with vulgar fractions.

🌐 Symbol guides

HTML entity lists, Unicode charts, and character references.

💡 Best Practices

Do

  • Use &frac18; for readable HTML in recipes and math
  • Pair with units (e.g. ⅛ cup) for clear measurements
  • Use math-friendly fonts (Cambria Math, STIX Two Math) for clear fractions
  • Add aria-label (e.g. “one eighth”) for accessibility
  • Serve pages with UTF-8 (<meta charset="utf-8">)

Don’t

  • Confuse ⅛ (one eighth) with ⅐ (one seventh, U+2150)
  • Confuse ⅛ (1⁄8) with ¾ (three quarters, U+00BE)
  • Put CSS escape \215B in HTML text nodes
  • Mix entity styles randomly in one file
  • Use 1/8 when typographic ⅛ is required for consistency

Key Takeaways

1

Three HTML references plus CSS all render ⅛

&#x215B; &#8539; &frac18;
2

For CSS stylesheets, use the escape in the content property

\215B
3

Unicode U+215B — vulgar fraction one eighth

4

&frac18; is the standard named entity

5

Next: Fraction 1 By 9 (⅑, U+2151)

❓ Frequently Asked Questions

Use &frac18; (named), &#x215B; (hex), &#8539; (decimal), or \215B in CSS content. All produce ⅛.
U+215B (VULGAR FRACTION ONE EIGHTH). Number Forms block (U+2150–U+218F). Hex 215B, decimal 8539. Represents the vulgar fraction one eighth (⅛).
In recipes and measurements, mathematical notation and fractions, educational content, technical documents, and any content that requires the one-eighth (⅛) symbol in typographic form.
Yes. &frac18; is the named HTML entity for U+215B (⅛). You can also use &#8539; (decimal) or &#x215B; (hexadecimal). All render the same symbol.
HTML entities (&#8539;, &#x215B;, or &frac18;) go directly in markup. The CSS escape \215B is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.

Explore More HTML Entities!

Discover 1500+ HTML character references — fractions, symbols, 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.

8 people found this page helpful