HTML Entity for Fraction 4 By 5 (⅘)

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

What Is Fraction 4 By 5?

Fraction 4 by 5 (⅘) is the Unicode character at U+2158 in Number Forms. Official name: VULGAR FRACTION FOUR FIFTHS. It is one precomposed fraction glyph — not the three characters 4/5.

Remember
Character     ⅘
Unicode       U+2158
Named entity  ⅘
Hex entity    ⅘
Decimal       ⅘
CSS escape    \2158
Meaning       vulgar fraction four fifths (4/5)
Not the same  4/5 (three chars) · ⅗ (3/5) · ⅕ (1/5)

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\2158Stylesheet content

When to Use Which

SituationUse
Precomposed four fifths⅘ or type ⅘
Plain ASCII / maximum compatibilityType 4/5 as three characters
Three fifthsFraction 3 by 5 — ⅗ (⅗)
One fifthFraction 1 by 5 — ⅕ (⅕)
Generated text via ::before / ::aftercontent: "\2158"

Live Preview

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

Glyph ⅘
Large glyph ⅘
Sample Share: ⅘ of total
Compared ⅘   4/5   ⅗   ⅕
With entities Named: ⅘ | Hex: ⅘ | Decimal: ⅘

Complete HTML Example

One page that shows four fifths 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 4 By 5 (U+2158) in HTML</title>
  <style>
    #point::after {
      content: "\2158";
    }
  </style>
</head>
<body>
  <p>Built with Named: &frac45;</p>
  <p>Built with Hex: &#x2158;</p>
  <p>Built with Decimal: &#8536;</p>
  <p id="point">Built with CSS: </p>
  <p>Typed: ⅘</p>
  <p>Share: <span aria-label="four fifths">&frac45;</span> of total</p>
  <p>Math: 5 &times; &frac45; = 4</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &frac45; is the HTML5 name for U+2158 → ⅘.

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

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

4. CSS: use \2158 in content (not an HTML entity). #point::after appends ⅘.

5. Typed: paste ⅘ in a UTF-8 document when you need the four-fifths glyph as one character.

Pitfalls & Tips

Common mistakes when working with fraction 4 by 5.

Name

Prefer &frac45;

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

4/5

Not three characters

Typing 4/5 creates three code points. ⅘ is one Number Forms character.

⅗

Not three fifths

Three fifths is ⅗ (U+2157, &frac35;). Use it when you mean 3/5, not 4/5.

Font

Font coverage

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

CSS vs HTML

Do not mix escapes

\2158 belongs in CSS strings. &frac45; / &#x2158; / &#8536; belong in HTML.

a11y

Add accessible text

Screen readers may not announce ⅘ clearly. Prefer aria-label="four fifths" or nearby prose when the fraction carries meaning.

Semicolon

End references

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

Browser Support

Fraction 4 by 5 (U+2158) and its entity forms (&frac45;, &#x2158;, &#8536;, CSS \\2158) are supported in all mainstream browsers. Visible glyphs depend on Number Forms font coverage.

✓ Universal support

Fraction 4 By 5 (⅘)

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+2158 Full support

Bottom line: Prefer &frac45; in HTML. Use &#x2158; / &#8536; when numeric form is required, and \\2158 only inside CSS content.

Key Takeaways

  • Unicode: fraction 4 by 5 is U+2158 (decimal 8536) — glyph ⅘.
  • HTML: prefer &frac45; — also &#x2158; / &#8536; / type ⅘.
  • CSS: use \2158 inside content for generated text.
  • Meaning: ⅘ ≠ 4/5 (three chars) ≠ ⅗.

One line: U+2158 → &frac45; / &#x2158; / &#8536; / CSS \2158.

Frequently Asked Questions

Use &frac45; (named), &#x2158; (hex), &#8536; (decimal), type ⅘ directly in UTF-8, or the CSS escape \2158 in content.
U+2158 (VULGAR FRACTION FOUR FIFTHS). Hex 2158, decimal 8536. It belongs to the Number Forms block (U+2150–U+218F).
Yes. HTML5 defines &frac45; for U+2158. Prefer it for readable markup.
Use it in math, education, and everyday text when you want the single four-fifths glyph. Prefer typing 4/5 as three characters when plain ASCII is required.
HTML entities (&frac45;, &#8536;, or &#x2158;) go in markup. The CSS escape \2158 goes in stylesheet strings (usually content on ::before/::after).
No. U+2158 is one character (⅘). Typing 4/5 creates three characters. Three fifths is U+2157 (⅗).

Did you know?

Fraction 4 by 5 is Unicode U+2158 (decimal 8536) — glyph ⅘ (VULGAR FRACTION FOUR FIFTHS) in Number Forms. HTML5 named entity: &frac45;. Prefer the named form when you want readable markup. It is one precomposed character, not 4/5 as three characters. Related fractions include three fifths (⅗) and one fifth (⅕).

Next: Fraction 5 By 6

Learn the HTML entity for fraction 5 by 6 (U+215A).

Fraction 5 by 6 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