HTML Entity for Fraction 1 By 7 (⅐)

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

What Is Fraction 1 By 7?

Fraction 1 by 7 (⅐) is the Unicode character at U+2150 in Number Forms. Official name: VULGAR FRACTION ONE SEVENTH. It is one precomposed fraction glyph — not the three characters 1/7.

Remember
Character     ⅐
Unicode       U+2150
Hex entity    ⅐
Decimal       ⅐
CSS escape    \2150
Named entity  (none)
Meaning       vulgar fraction one seventh (1/7)
Not the same  1/7 (three chars) · ⅙ (1/6) · ⅛ (1/8)

Prefer ⅐ or ⅐ in HTML (no named form). You can also type ⅐ in a UTF-8 document.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entityNone—
Hex entity⅐HTML markup (preferred)
Decimal entity⅐HTML markup
Direct character⅐HTML text (UTF-8)
CSS escape\2150Stylesheet content

When to Use Which

SituationUse
Precomposed one seventh⅐ or type ⅐
Plain ASCII / maximum compatibilityType 1/7 as three characters
One sixthFraction 1 by 6 — ⅙ (⅙)
One eighthFraction 1 by 8 (⅛)
Generated text via ::before / ::aftercontent: "\2150"

Live Preview

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

Glyph ⅐
Large glyph ⅐
Sample Share: ⅐ of total
Compared ⅐   1/7   ⅙   ⅛
With entities Hex: ⅐ | Decimal: ⅐

Complete HTML Example

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

Hex + Decimal + CSS + Typed

Four ways to display ⅐ in HTML and CSS.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Fraction 1 By 7 (U+2150) in HTML</title>
  <style>
    #point::after {
      content: "\2150";
    }
  </style>
</head>
<body>
  <p>Built with Hex: &#x2150;</p>
  <p>Built with Decimal: &#8528;</p>
  <p id="point">Built with CSS: </p>
  <p>Typed: ⅐</p>
  <p>Share: <span aria-label="one seventh">&#x2150;</span> of total</p>
  <p>Math: 7 &#x2150; = 1</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: &#x2150; inserts code point U+2150 → ⅐.

2. Decimal: same code point as 8528 → &#8528;. Same visual as hex.

3. CSS: use \2150 in content (not an HTML entity). #point::after appends ⅐.

4. Typed: paste ⅐ in a UTF-8 document when you need the one-seventh glyph as one character.

Pitfalls & Tips

Common mistakes when working with fraction 1 by 7.

Name

No named entity

There is no HTML5 named entity for U+2150. Use &#x2150; or &#8528;. Do not invent &frac17;.

1/7

Not three characters

Typing 1/7 creates three code points. ⅐ is one Number Forms character.

Neighbors

Not 1/6 or 1/8

One sixth is ⅙ (&frac16;). One eighth is ⅛. Match the code point your source requires.

Font

Font coverage

Some fonts omit rare vulgar fractions. If ⅐ is missing, fall back to 1/7 or a font with Number Forms coverage.

CSS vs HTML

Do not mix escapes

\2150 belongs in CSS strings. &#x2150; / &#8528; belong in HTML.

a11y

Add accessible text

Screen readers may not announce ⅐ clearly. Prefer aria-label="one seventh" or nearby prose when the fraction carries meaning.

Semicolon

End references

Always finish entities with ; — write &#x2150;, not &#x2150.

Browser Support

Fraction 1 by 7 (U+2150) and its entity forms (&#x2150;, &#8528;, CSS \\2150) are supported in all mainstream browsers. Visible glyphs depend on Number Forms font coverage.

✓ Universal support

Fraction 1 By 7 (⅐)

Encode with 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+2150 Full support

Bottom line: Prefer &#x2150; in HTML (no named form). Use &#8528; when decimal form is required, and \\2150 only inside CSS content.

Key Takeaways

  • Unicode: fraction 1 by 7 is U+2150 (decimal 8528) — glyph ⅐.
  • HTML: no named entity — use &#x2150; / &#8528; / type ⅐.
  • CSS: use \2150 inside content for generated text.
  • Meaning: ⅐ ≠ 1/7 (three chars) ≠ ⅙ ≠ ⅛.

One line: U+2150 → &#x2150; / &#8528; / CSS \2150 (no named form).

Frequently Asked Questions

Use &#x2150; (hex), &#8528; (decimal), type ⅐ directly in UTF-8, or the CSS escape \2150 in content. There is no named HTML entity for U+2150.
U+2150 (VULGAR FRACTION ONE SEVENTH). Hex 2150, decimal 8528. It belongs to the Number Forms block (U+2150–U+218F).
No. HTML5 does not define a named entity for U+2150. Prefer &#x2150; or &#8528;. Some other fractions (like 1/6) do have named forms such as &frac16;.
Use it when you need the single precomposed one-seventh glyph. Prefer typing 1/7 as three characters when your font lacks Number Forms coverage or when plain ASCII is required.
HTML numeric entities (&#8528; or &#x2150;) go in markup. The CSS escape \2150 goes in stylesheet strings (usually content on ::before/::after).
No. U+2150 is one character (⅐). Typing 1/7 creates three characters: digit one, solidus, and digit seven.

Did you know?

Fraction 1 by 7 is Unicode U+2150 (decimal 8528) — glyph ⅐ (VULGAR FRACTION ONE SEVENTH) in Number Forms. There is no HTML5 named entity; use &#x2150; or &#8528;. It is one precomposed character, not 1/7 as three characters. Related fractions include one sixth (⅙) and one eighth (⅛).

Next: Fraction 1 By 8

Learn the HTML entity for fraction 1 by 8 (U+215B).

Fraction 1 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