HTML Entity for Fraction 3 By 8 (⅜)

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

What Is Fraction 3 By 8?

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

Remember
Character     ⅜
Unicode       U+215C
Named entity  ⅜
Hex entity    ⅜
Decimal       ⅜
CSS escape    \215C
Meaning       vulgar fraction three eighths (3/8)
Not the same  3/8 (three chars) · ⅛ (1/8) · ⅝ (5/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\215CStylesheet content

When to Use Which

SituationUse
Precomposed three eighths⅜ or type ⅜
Plain ASCII / maximum compatibilityType 3/8 as three characters
One eighthFraction 1 by 8 — ⅛ (⅛)
Five eighthsFraction 5 by 8 — ⅝ (⅝)
Generated text via ::before / ::aftercontent: "\215C"

Live Preview

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

Glyph ⅜
Large glyph ⅜
Sample Measure: ⅜ teaspoon
Compared ⅜   3/8   ⅛   ⅝
With entities Named: ⅜ | Hex: ⅜ | Decimal: ⅜

Complete HTML Example

One page that shows three 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 3 By 8 (U+215C) in HTML</title>
  <style>
    #point::after {
      content: "\215C";
    }
  </style>
</head>
<body>
  <p>Built with Named: &frac38;</p>
  <p>Built with Hex: &#x215C;</p>
  <p>Built with Decimal: &#8540;</p>
  <p id="point">Built with CSS: </p>
  <p>Typed: ⅜</p>
  <p>Measure: <span aria-label="three eighths">&frac38;</span> teaspoon</p>
  <p>Math: 8 &times; &frac38; = 3</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &frac38; is the HTML5 name for U+215C → ⅜.

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

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

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

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

Pitfalls & Tips

Common mistakes when working with fraction 3 by 8.

Name

Prefer &frac38;

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

3/8

Not three characters

Typing 3/8 creates three code points. ⅜ is one Number Forms character.

⅛

Not one eighth

One eighth is ⅛ (U+215B, &frac18;). Use it when you mean 1/8, not 3/8.

Font

Font coverage

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

CSS vs HTML

Do not mix escapes

\215C belongs in CSS strings. &frac38; / &#x215C; / &#8540; belong in HTML.

a11y

Add accessible text

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

Semicolon

End references

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

Browser Support

Fraction 3 by 8 (U+215C) and its entity forms (&frac38;, &#x215C;, &#8540;, CSS \\215C) are supported in all mainstream browsers. Visible glyphs depend on Number Forms font coverage.

✓ Universal support

Fraction 3 By 8 (&#x215C;)

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+215C Full support

Bottom line: Prefer &frac38; in HTML. Use &#x215C; / &#8540; when numeric form is required, and \\215C only inside CSS content.

Key Takeaways

  • Unicode: fraction 3 by 8 is U+215C (decimal 8540) — glyph ⅜.
  • HTML: prefer &frac38; — also &#x215C; / &#8540; / type ⅜.
  • CSS: use \215C inside content for generated text.
  • Meaning: ⅜ ≠ 3/8 (three chars) ≠ ⅛.

One line: U+215C → &frac38; / &#x215C; / &#8540; / CSS \215C.

Frequently Asked Questions

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

Did you know?

Fraction 3 by 8 is Unicode U+215C (decimal 8540) — glyph ⅜ (VULGAR FRACTION THREE EIGHTHS) in Number Forms. HTML5 named entity: &frac38;. Prefer the named form when you want readable markup. It is one precomposed character, not 3/8 as three characters. Related fractions include one eighth (⅛) and five eighths (⅝).

Next: Fraction 4 By 5

Learn the HTML entity for fraction 4 by 5 (U+2158).

Fraction 4 by 5 tutorial →

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