HTML Entity for Superscript Three (³)

Beginner
6 min read
Updated: Sep 2026
1 example
Unicode U+00B3

What Is the Superscript Three Entity?

Superscript Three (³) is the Unicode character at U+00B3 in the Latin-1 Supplement block. It looks like a small raised 3 and is common for cubes such as x³, m³, and exponents.

Remember
Character     ³
Unicode       U+00B3
Hex entity    ³
Decimal       ³
Named entity  ³
CSS escape    \00B3

All of these produce the same glyph: ³. Prefer &sup3; when you want readable markup; use <sup>3</sup> when you want semantic superscript formatting instead.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character³HTML text (UTF-8)
Named entity&sup3;HTML markup (preferred readable form)
Hex entity&#x00B3;HTML markup
Decimal entity&#179;HTML markup
CSS escape\00B3Stylesheet content
Semantic tag<sup>3</sup>HTML (formatting, not the ³ glyph)

When to use which

SituationUse
Need the Unicode glyph ³&sup3;, or &#x00B3; / &#179;
Generated text via ::before / ::aftercontent: "\00B3"
Semantic superscript for any text<sup>3</sup>
Plain digit three (not superscript)Type 3 (U+0033)
Readable HTML sourcePrefer &sup3;

Live Preview

Superscript Three rendered in common writing contexts.

Inline text Volume = 8 m³
Large glyph ³
In a power x³ = x × x × x   2³ = 8
Monospace n³ → cube
With entities Named: ³ | Hex: ³ | Decimal: ³
Semantic <sup> x3 (tag styles digit 3)

Complete HTML Example

One page that shows Superscript Three with hex, decimal, named entity, CSS escape, and the semantic <sup> option. Use View Output or open the live editor.

Hex + Decimal + Named + CSS + <sup>

Five ways to show a raised three in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Superscript Three (³) in HTML</title>
  <style>
    #point::after {
      content: "\00B3";
    }
  </style>
</head>
<body>
  <p>Superscript Three using Hex Code: &#x00B3;</p>
  <p>Superscript Three using HTML Code: &#179;</p>
  <p>Superscript Three using Named Entity: &sup3;</p>
  <p id="point">Superscript Three using CSS Entity: </p>
  <p>Semantic alternative: x<sup>3</sup></p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+00B3 → &#x00B3; in HTML. The browser turns it into ³.

2. Decimal: same code point as 179 → &#179;. Same result as hex.

3. Named: &sup3; is the standard HTML named entity for ³ — easier to read in source.

4. CSS: use \00B3 in content (not an HTML entity). #point::after appends that ³ after the paragraph text.

5. Semantic <sup>: x<sup>3</sup> styles digit three as a superscript. Prefer this when you need meaning, not a specific Unicode glyph.

Pitfalls & Tips

Common mistakes when working with Superscript Three entities.

Named

Use &sup3;

HTML5 defines &sup3; for ³. Prefer it for readable source; numeric forms still work.

CSS vs HTML

Do not mix escapes

\00B3 belongs in CSS. &sup3; / &#x00B3; / &#179; belong in HTML.

³ vs 3 vs ₃

Different characters

³ is U+00B3; digit 3 is U+0033; subscript ₃ is U+2083.

Glyph vs tag

Choose intentionally

Use the Unicode glyph for exact look (great for m³); use <sup> for semantic superscript on any text.

Semicolon

End references

Always finish with ; — write &sup3; and &#179;, not without the semicolon.

Units

Cubed units

For volume units, m&sup3; (m³) is clearer than styling a plain 3 with CSS alone.

Browser Support

Superscript Three (U+00B3) and its entity forms (&sup3;, &#x00B3;, &#179;, CSS \\00B3) are supported in all mainstream browsers. Glyph shape depends on the font.

✓ Universal support

Superscript Three (³)

Use &sup3;, hex, decimal, or CSS escape — or use <sup> for semantic formatting.

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+00B3 / entities Full support

Bottom line: Prefer &sup3; (or &#x00B3; / &#179;) for the Unicode glyph, \\00B3 only inside CSS content, and <sup>3</sup> when you want semantic superscript.

Key Takeaways

  • Unicode: Superscript Three is U+00B3 (decimal 179).
  • HTML: prefer &sup3;, or use &#x00B3; / &#179;.
  • CSS: use \00B3 inside content for generated text.
  • Alternative: use <sup>3</sup> for semantic superscript formatting.

One line: U+00B3 → &sup3; / &#x00B3; / &#179; / CSS \00B3, or semantic <sup>3</sup>.

Frequently Asked Questions

Use &#x00B3; (hex), &#179; (decimal), &sup3; (named), or the CSS escape \00B3 in the content property. All render ³. You can also paste ³ directly when your file is UTF-8.
U+00B3 (hex 00B3, decimal 179). It belongs to the Latin-1 Supplement Unicode block.
Yes. HTML5 defines &sup3; for superscript three. You can also use numeric references &#x00B3; or &#179;.
Use ³ (or its entities) when you need the exact Unicode superscript glyph — common for cubed units like m³. Use <sup>3</sup> when you want semantic superscript formatting for arbitrary text.
No. Digit three is U+0033. Subscript three is U+2083 (₃). Superscript Three is U+00B3 (³) — a different character.
HTML entities (&#179;, &#x00B3;, or &sup3;) go in markup. The CSS escape \00B3 is used in stylesheets (usually in the content property of ::before/::after). Both render ³.

Did you know?

Superscript three is Unicode U+00B3 (decimal 179) in the Latin-1 Supplement block. Unlike most superscript digits, HTML5 defines a named entity: &sup3;. It is a different character from digit three (U+0033) and from subscript three ₃ (U+2083).

Next: 3d Bottom Lighted Right Arrowhead

Continue the entity series with the HTML reference for the 3d bottom-lighted right arrowhead character.

3d Arrowhead 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