HTML Entity for Subscript Five (₅)

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

What Is the Subscript Five Entity?

Subscript Five (₅) is the Unicode character at U+2085 in the Subscripts and Superscripts block. It looks like a small lowered 5 and is common in math and science text such as x₅ or C₅.

Remember
Character     ₅
Unicode       U+2085
Hex entity    ₅
Decimal       ₅
CSS escape    \2085
Named entity  (none)

All of these produce the same glyph: ₅. Prefer the Unicode character (or its entities) when you need that exact glyph; use <sub>5</sub> when you want semantic subscript formatting instead.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character₅HTML text (UTF-8)
Hex entity&#x2085;HTML markup
Decimal entity&#8325;HTML markup
CSS escape\2085Stylesheet content
Named entity—Not defined in HTML5
Semantic tag<sub>5</sub>HTML (formatting, not the ₅ glyph)

When to use which

SituationUse
Need the Unicode glyph ₅Type ₅, or &#x2085; / &#8325;
Generated text via ::before / ::aftercontent: "\2085"
Semantic subscript for any text<sub>5</sub>
Plain digit five (not subscript)Type 5 (U+0035)
Looking for &sub5; or similarDoes not exist — use numeric form

Live Preview

Subscript Five rendered in common writing contexts.

Inline text Fifth term: x₅ = 5
Large glyph ₅
In a formula C₅   P₄O₁₀   a₁ + a₂ + a₃ + a₄ + a₅
Monospace x₅ → fifth element
With entities Hex: ₅ | Decimal: ₅
Semantic <sub> x5 (tag styles digit 5)

Complete HTML Example

One page that shows Subscript Five with the hex entity, decimal entity, CSS escape, and the semantic <sub> option. Use View Output or open the live editor.

Hex + Decimal + CSS + <sub>

Four ways to show a lowered five in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Subscript Five (₅) in HTML</title>
  <style>
    #point::after {
      content: "\2085";
    }
  </style>
</head>
<body>
  <p>Subscript Five using Hex Code: &#x2085;</p>
  <p>Subscript Five using HTML Code: &#8325;</p>
  <p id="point">Subscript Five using CSS Entity: </p>
  <p>Semantic alternative: x<sub>5</sub></p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+2085 → &#x2085; in HTML. The browser turns it into ₅.

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

3. CSS: use \2085 in content (not an HTML entity). #point::after appends that ₅ after the paragraph text.

4. Semantic <sub>: x<sub>5</sub> styles digit five as a subscript. Prefer this when you need meaning, not a specific Unicode glyph.

Pitfalls & Tips

Common mistakes when working with Subscript Five entities.

Named?

No named entity

HTML5 does not define &sub5; or similar. Use numeric forms.

CSS vs HTML

Do not mix escapes

\2085 belongs in CSS. &#x2085; / &#8325; belong in HTML.

₅ vs 5 vs ⁵

Different characters

₅ is U+2085; digit 5 is U+0035; superscript ⁵ is U+2075.

Glyph vs tag

Choose intentionally

Use the Unicode glyph for exact look; use <sub> for semantic subscript on any text.

Semicolon

End references

Always finish with ; — write &#8325;, not &#8325.

Fonts

Check the glyph

Some fonts draw ₅ weakly. If appearance matters, test the font or prefer <sub>.

Browser Support

Subscript Five (U+2085) and its numeric entity forms (&#x2085;, &#8325;, CSS \\2085) are supported in all mainstream browsers. Glyph shape depends on the font.

✓ Universal support

Subscript Five (₅)

Encode with hex, decimal, or CSS escape — or use <sub> 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+2085 / entities Full support

Bottom line: Use &#x2085; or &#8325; for the Unicode glyph, \\2085 only inside CSS content, and <sub>5</sub> when you want semantic subscript.

Key Takeaways

  • Unicode: Subscript Five is U+2085 (decimal 8325).
  • HTML: use &#x2085; or &#8325; when you need an entity.
  • CSS: use \2085 inside content for generated text.
  • Alternative: use <sub>5</sub> for semantic subscript formatting.

One line: U+2085 → &#x2085; / &#8325; / CSS \2085, or semantic <sub>5</sub>.

Frequently Asked Questions

Use &#x2085; (hex), &#8325; (decimal), or the CSS escape \2085 in the content property. All render ₅. You can also paste the character ₅ directly when your file is UTF-8.
U+2085 (hex 2085, decimal 8325). It belongs to the Subscripts and Superscripts Unicode block.
No. HTML5 does not define a named entity for ₅. Use numeric references like &#x2085; or &#8325;.
Use ₅ (or its entities) when you need the exact Unicode subscript glyph. Use <sub>5</sub> when you want semantic subscript formatting for arbitrary text.
No. Digit five is U+0035. Superscript five is U+2075 (⁵). Subscript Five is U+2085 (₅) — a different character.
HTML entities (&#8325; or &#x2085;) go in markup. The CSS escape \2085 is used in stylesheets (usually in the content property of ::before/::after). Both render ₅.

Did you know?

Subscript five is Unicode U+2085 (decimal 8325). HTML5 has no named entity for it — use &#x2085; or &#8325;. It is a different character from digit five (U+0035) and from superscript five ⁵ (U+2075).

Next: 5 Superscript

Learn the HTML entity for superscript five (⁵) — a different Unicode character from ₅.

5 Superscript 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