HTML Entity for Fraction 5 By 8 (⅝)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+215D

What Is Fraction 5 By 8?

Fraction 5 by 8 (⅝) is the Unicode character at U+215D in Number Forms. Official name: VULGAR FRACTION FIVE EIGHTHS. It is one precomposed fraction glyph — not the three characters 5/8.

Remember
Character     ⅝
Unicode       U+215D
Named entity  ⅝
Hex entity    ⅝
Decimal       ⅝
CSS escape    \215D
Meaning       vulgar fraction five eighths (5/8)
Not the same  5/8 (three chars) · ⅜ (3/8) · ⅞ (7/8)

Prefer ⅝ in HTML for readable markup. You can also use ⅝, ⅝, or type ⅝ in a UTF-8 document.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entity⅝HTML markup (preferred)
Hex entity⅝HTML markup
Decimal entity⅝HTML markup
Direct character⅝HTML text (UTF-8)
CSS escape\215DStylesheet content

When to Use Which

SituationUse
Precomposed five eighths⅝ or type ⅝
Plain ASCII / maximum compatibilityType 5/8 as three characters
Three eighthsFraction 3 by 8 — ⅜ (⅜)
Seven eighthsFraction 7 by 8 — ⅞ (⅞)
Generated text via ::before / ::aftercontent: "\215D"

Live Preview

Fraction alone, in a sample label, and next to related fractions.

Glyph ⅝
Large glyph ⅝
Sample Measure: ⅝ cup
Compared ⅝   5/8   ⅜   ⅞
With entities Named: ⅝ | Hex: ⅝ | Decimal: ⅝

Complete HTML Example

One page that shows five eighths with named, hex, decimal, CSS escape, and a typed character. Use View Output or open the live editor.

Named + Hex + Decimal + CSS + Typed

Five ways to display ⅝ in HTML and CSS.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Fraction 5 By 8 (U+215D) in HTML</title>
  <style>
    #point::after {
      content: "\215D";
    }
  </style>
</head>
<body>
  <p>Built with Named: &frac58;</p>
  <p>Built with Hex: &#x215D;</p>
  <p>Built with Decimal: &#8541;</p>
  <p id="point">Built with CSS: </p>
  <p>Typed: ⅝</p>
  <p>Measure: <span aria-label="five eighths">&frac58;</span> cup</p>
  <p>Math: 8 &times; &frac58; = 5</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &frac58; is the HTML5 name for U+215D → ⅝.

2. Hex: &#x215D; inserts the same code point by hexadecimal value.

3. Decimal: same code point as 8541 → &#8541;. Same visual as named/hex.

4. CSS: use \215D in content (not an HTML entity). #point::after appends ⅝.

5. Typed: paste ⅝ in a UTF-8 document when you need the five-eighths glyph as one character.

Pitfalls & Tips

Common mistakes when working with fraction 5 by 8.

Name

Prefer &frac58;

The named entity is clear and standard. Avoid inventing names like &fiveeighths;.

5/8

Not three characters

Typing 5/8 creates three code points. ⅝ is one Number Forms character.

⅜

Not three eighths

Three eighths is ⅜ (U+215C, &frac38;). Use it when you mean 3/8, not 5/8.

Font

Font coverage

Some fonts omit Number Forms fractions. If ⅝ is missing, fall back to 5/8 or a font with Number Forms coverage.

CSS vs HTML

Do not mix escapes

\215D belongs in CSS strings. &frac58; / &#x215D; / &#8541; belong in HTML.

a11y

Add accessible text

Screen readers may not announce ⅝ clearly. Prefer aria-label="five eighths" or nearby prose when the fraction carries meaning.

Semicolon

End references

Always finish entities with ; — write &frac58;, not &frac58.

Browser Support

Fraction 5 by 8 (U+215D) and its entity forms (&frac58;, &#x215D;, &#8541;, CSS \\215D) are supported in all mainstream browsers. Visible glyphs depend on Number Forms font coverage.

✓ Universal support

Fraction 5 By 8 (⅝)

Encode with named, hex, decimal, CSS escape, or type the character — same code point everywhere encoding is supported.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+215D Full support

Bottom line: Prefer &frac58; in HTML. Use &#x215D; / &#8541; when numeric form is required, and \\215D only inside CSS content.

Key Takeaways

  • Unicode: fraction 5 by 8 is U+215D (decimal 8541) — glyph ⅝.
  • HTML: prefer &frac58; — also &#x215D; / &#8541; / type ⅝.
  • CSS: use \215D inside content for generated text.
  • Meaning: ⅝ ≠ 5/8 (three chars) ≠ ⅜.

One line: U+215D → &frac58; / &#x215D; / &#8541; / CSS \215D.

Frequently Asked Questions

Use &frac58; (named), &#x215D; (hex), &#8541; (decimal), type ⅝ directly in UTF-8, or the CSS escape \215D in content.
U+215D (VULGAR FRACTION FIVE EIGHTHS). Hex 215D, decimal 8541. It belongs to the Number Forms block (U+2150–U+218F).
Yes. HTML5 defines &frac58; for U+215D. Prefer it for readable markup.
Use it in recipes, measurements, math, and everyday text when you want the single five-eighths glyph. Prefer typing 5/8 as three characters when plain ASCII is required.
HTML entities (&frac58;, &#8541;, or &#x215D;) go in markup. The CSS escape \215D goes in stylesheet strings (usually content on ::before/::after).
No. U+215D is one character (⅝). Typing 5/8 creates three characters. Three eighths is U+215C (⅜).

Did you know?

Fraction 5 by 8 is Unicode U+215D (decimal 8541) — glyph ⅝ (VULGAR FRACTION FIVE EIGHTHS) in Number Forms. HTML5 named entity: &frac58;. Prefer the named form when you want readable markup. It is one precomposed character, not 5/8 as three characters. Related fractions include three eighths (⅜) and seven eighths (⅞).

Next: Fraction 7 By 8

Learn the HTML entity for fraction 7 by 8 (U+215E).

Fraction 7 by 8 tutorial →

CODETOFUN NEWS

Stay Ahead in Tech

Get the latest IT news, programming updates, and technology trends directly on your phone.

Your daily dose of tech, straight to your feed.

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