HTML Entity for Cent Sign (¢)

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

What Is the Cent Sign Entity?

Cent Sign (¢) is the Unicode character at U+00A2 in the Latin-1 Supplement block (official name: CENT SIGN). It commonly marks amounts in cents — one hundredth of a dollar or similar currency unit.

Remember
Character     ¢
Unicode       U+00A2
Hex entity    ¢
Decimal       ¢
Named entity  ¢
CSS escape    \00A2

All of these produce the same glyph: ¢. Prefer ¢ or a typed ¢ in hand-written HTML; use numeric forms when generating markup.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character¢HTML text (UTF-8)
Named entity¢HTML markup
Hex entity¢HTML markup
Decimal entity¢HTML markup
CSS escape\00A2Stylesheet content

When to use which

SituationUse
Hand-written HTML¢ or type ¢
Generated / numeric-only markup¢ or ¢
Generated text via ::before / ::aftercontent: "\00A2"
Ghanaian cedi (look-alike)Use ₵ (U+20B5), not ¢
Full dollar amountsUse $ (or a locale currency format)

Live Preview

Cent Sign rendered in common writing contexts.

Inline text Only ¢99 today
Large glyph ¢
Compared ¢   $   ₵
Monospace price ¢ → cents
With entities Named: ¢ | Hex: ¢ | Decimal: ¢

Complete HTML Example

One page that shows Cent Sign with the named entity, hex entity, decimal entity, CSS escape, and a typed character. Use View Output or open the live editor.

Named + Hex + Decimal + CSS + Typed

Five ways to produce ¢ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Cent Sign (¢) in HTML</title>
  <style>
    #point::after {
      content: "\00A2";
    }
  </style>
</head>
<body>
  <p>Cent Sign using Named Entity: &cent;</p>
  <p>Cent Sign using Hex Code: &#x00A2;</p>
  <p>Cent Sign using HTML Code: &#162;</p>
  <p id="point">Cent Sign using CSS Entity: </p>
  <p>Typed directly: ¢</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &cent; is the HTML5 named reference for U+00A2 → ¢.

2. Hex: U+00A2 → &#x00A2; in HTML. Same glyph as the named form.

3. Decimal: same code point as 162 → &#162;. Same result as hex.

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

5. Typed ¢: fine in UTF-8 pages. All five lines show the same glyph.

Pitfalls & Tips

Common mistakes when working with Cent Sign entities.

Named

Use &cent;

The HTML5 name is &cent;. Always end with ;.

CSS vs HTML

Do not mix escapes

\00A2 belongs in CSS. &cent; / &#x00A2; / &#162; belong in HTML.

¢ vs ₵

Different characters

¢ is U+00A2 (cent). Cedi ₵ is U+20B5.

Meaning

Cents, not dollars

Use ¢ for fractional amounts. Use $ (or another main currency symbol) for whole-unit prices.

Semicolon

End references

Always finish with ; — write &cent; and &#162;, not bare forms.

Locale

Placement varies

Some locales put ¢ after the number (99¢). Keep spacing and order consistent with your audience.

Browser Support

Cent Sign (U+00A2) and its entity forms (&cent;, &#x00A2;, &#162;, CSS \\00A2) are supported in all mainstream browsers.

✓ Universal support

Cent Sign (¢)

Type ¢, or encode with named, hex, decimal, or CSS escape — same glyph 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+00A2 / entities Full support

Bottom line: Prefer &cent; or a typed ¢ for prices in cents. Use decimal when generating markup, and \\00A2 only inside CSS content.

Key Takeaways

  • Unicode: cent sign is U+00A2 (decimal 162).
  • HTML: prefer &cent; (also &#x00A2;, &#162;).
  • CSS: use \00A2 inside content for generated text.
  • Watch out: ¢ ≠ ₵ (cent ≠ cedi).

One line: U+00A2 → &cent; / &#x00A2; / &#162; / CSS \00A2.

Frequently Asked Questions

Use &#x00A2; (hex), &#162; (decimal), &cent; (named), or the CSS escape \00A2 in the content property. All render ¢. You can also paste ¢ directly when your file is UTF-8.
U+00A2 (hex 00A2, decimal 162). Unicode names it CENT SIGN. It belongs to the Latin-1 Supplement block.
Yes. &cent; maps to U+00A2. Prefer &cent; in hand-written HTML; numeric forms are useful in generated markup.
¢ (U+00A2) is the cent sign (1/100 of a dollar or similar). ₵ (U+20B5) is the Ghanaian cedi — a different currency symbol.
HTML entities (&#162;, &#x00A2;, or &cent;) go in markup. The CSS escape \00A2 is used in stylesheets (usually in the content property of ::before/::after). Both render ¢.
Use it for prices in cents, coupon values, and fractional currency display. Prefer $ or full currency codes when the unit is dollars or another main currency.

Did you know?

Cent sign is Unicode U+00A2 (decimal 162) — official name CENT SIGN in the Latin-1 Supplement block. HTML’s named reference is &cent;. It is not the Ghanaian cedi (U+20B5 ₵).

Next: Centre Line Symbol

Learn the HTML entity for centre line symbol (℄).

Centre Line Symbol 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