HTML Entity for Fraction 2 By 3 (⅔)

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

What You'll Learn

How to display the Fraction 2 By 3 symbol (⅔) in HTML using named, hexadecimal, decimal, and CSS escape methods. This character is U+2154 (VULGAR FRACTION TWO THIRDS) in the Number Forms block (U+2150–U+218F)—a vulgar fraction representing 2⁄3 (two thirds).

Render it with the named entity ⅔, ⅔, ⅔, or CSS escape \2154. Do not confuse ⅔ with one third (⅓, U+2153, ⅓), one half (½, U+00BD, ½), or plain text 2/3.

⚡ Quick Reference — Fraction 2 By 3

Unicode U+2154

Number Forms

Hex Code ⅔

Hexadecimal reference

HTML Code ⅔

Decimal reference

Named Entity ⅔

Two thirds (most readable)

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2154
Hex code       ⅔
HTML code      ⅔
Named entity   ⅔
CSS code       \2154
Meaning        Vulgar fraction two thirds (2/3)
Related        U+2153 = One third (⅓); U+00BD = One half (½)
1

Complete HTML Example

This example demonstrates the Fraction 2 By 3 symbol (⅔) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2154";
  }
 </style>
</head>
<body>
<p>Fraction 2 By 3 using Hexadecimal: &#x2154;</p>
<p>Fraction 2 By 3 using HTML Code: &#8532;</p>
<p>Fraction 2 By 3 using HTML Entity: &frac23;</p>
<p id="point">Fraction 2 By 3 using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Fraction 2 By 3 (⅔) 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 two thirds (⅔) in recipes, math, and compared with related glyphs:

Recipe ⅔ cup flour   ⅔ tsp vanilla
Math 3 × ⅔ = 2   ⅔ = 66.67%
Large glyph
Vulgar fractions ⅓ third   ⅔ two-thirds   ½ half
Entity refs &frac23; &#x2154; &#8532; \2154

🧠 How It Works

1

Named Entity

&frac23; is the HTML named entity for two thirds—often preferred in readable recipe and math markup.

HTML markup
2

Hexadecimal Code

&#x2154; uses the Unicode hexadecimal value 2154. The x prefix indicates hexadecimal format.

HTML markup
3

Decimal HTML Code

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

HTML markup
4

CSS Entity

\2154 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+2154 in Number Forms. For one third, see Fraction 1 By 3 (⅓).

Use Cases

The Fraction 2 By 3 symbol (⅔) is commonly used in:

🍳 Recipes

Cooking sites and measurements (e.g. ⅔ cup, ⅔ teaspoon).

∑ Math

Equations, fractions, and math content using two thirds.

📚 Education

Textbooks, tutorials, and lessons on fractions and ratios.

📊 Data

Statistics, scores, and displays showing two-thirds or proportional shares.

📄 Documents

Legal, academic, or technical documents with vulgar fractions.

🌐 Symbol guides

HTML entity lists, Unicode charts, and character references.

💡 Best Practices

Do

  • Use &frac23; 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. “two thirds”) for accessibility
  • Serve pages with UTF-8 (<meta charset="utf-8">)

Don’t

  • Confuse ⅔ (two thirds) with ⅓ (one third, U+2153)
  • Confuse ⅔ (2⁄3) with ½ (one half, U+00BD)
  • Put CSS escape \2154 in HTML text nodes
  • Mix entity styles randomly in one file
  • Use 2/3 when typographic ⅔ is required for consistency

Key Takeaways

1

Three HTML references plus CSS all render ⅔

&#x2154; &#8532; &frac23;
2

For CSS stylesheets, use the escape in the content property

\2154
3

Unicode U+2154 — vulgar fraction two thirds

4

&frac23; is the standard named entity

5

Next: Fraction 2 By 5 (continues the sequence)

❓ Frequently Asked Questions

Use &frac23; (named), &#x2154; (hex), &#8532; (decimal), or \2154 in CSS content. All produce ⅔.
U+2154 (VULGAR FRACTION TWO THIRDS). Number Forms block (U+2150–U+218F). Hex 2154, decimal 8532. Represents the vulgar fraction two thirds (⅔).
In mathematical notation and fractions, recipes and measurements, educational content, data display, and any content that requires the two-thirds (⅔) symbol in typographic form.
Yes. &frac23; is the named HTML entity for U+2154 (⅔). You can also use &#8532; (decimal) or &#x2154; (hexadecimal). All render the same symbol.
HTML entities (&#8532;, &#x2154;, or &frac23;) go directly in markup. The CSS escape \2154 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