HTML Entity for Approximately Equal To ()

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

What You'll Learn

How to display APPROXIMATELY EQUAL TO (, U+2245) in HTML. Unicode gives this code point that official name; many curricula also read the glyph as congruent to (especially in triangle congruence). Always match the symbol to the definition in your textbook or style guide—it is not the same as “almost equal” (U+2248, ≈) or “identical to” (U+2261, ≡).

In HTML you can write ≅ (named), ≅, ≅, or \2245 in CSS content. The character lives in the Mathematical Operators block; use a math-friendly font stack for clear tilde and double-bar alignment.

⚡ Quick Reference — Approximately Equal To

Unicode U+2245

Mathematical Operators

Hex Code ≅

Hexadecimal reference

HTML Code ≅

Decimal reference

Named Entity ≅

HTML lists as “congruent”

CSS Code \2245

Use in CSS content

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2245
Hex code       ≅
HTML code      ≅
Named entity   ≅
CSS code       \2245
1

Complete HTML Example

This example shows U+2245 using hexadecimal code, decimal code, the cong named reference, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2245";
  }
 </style>
</head>
<body>

<p>Approximately Equal To using Hexa Decimal: &#x2245;</p>
<p>Approximately Equal To using HTML Code: &#8773;</p>
<p>Approximately Equal To using HTML Entity: &cong;</p>
<p id="point">Approximately Equal To using CSS Entity: </p>

</body>
</html>

The named entity is written as &cong; so it displays as copyable &cong; in this listing without being parsed by the surrounding page.

Try It Yourself

🌐 Browser Support

The cong named reference and numeric forms for U+2245 are supported in all modern browsers. Use fonts with good Mathematical Operators coverage for equations:

Chrome 1+
Firefox 1+
Safari 1+
Edge 12+
Opera 4+
Android 4.4+
iOS Safari 1+

👀 Live Preview

Short comparisons (notation is illustrative; use MathML or TeX for publication layout):

Isolated glyph
Geometry-style read ΔABC ΔDEF (only if your course uses ≅ for congruent figures).
Named ref Same character as &cong; in UTF-8 HTML.
Contrast U+2248 Almost equal ≈ is a different operator from U+2245 ≅.
Contrast U+2261 Identical to ≡ (triple bar) is not the same code point as ≅.
Monospace U+2245 APPROXIMATELY EQUAL TO

🧠 How It Works

1

Named entity

&cong; (ampersand + cong + semicolon) resolves to U+2245 in HTML5 named character references (often glossed “congruent to” in entity lists).

HTML markup
2

Hexadecimal code

&#x2245; uses the Unicode hexadecimal value 2245.

HTML markup
3

Decimal HTML code

&#8773; is the decimal equivalent (877310 = 224516).

HTML markup
4

CSS escape

\2245 in content emits U+2245 from a stylesheet.

CSS stylesheet
=

Same visual result

All paths expose U+2245APPROXIMATELY EQUAL TO. Prefer &cong; in hand-written markup when readability matters.

Use Cases

Use U+2245 when your notation standard explicitly calls for this relation (define in words for non-expert readers):

Algebra & analysis

Approximate equality or isomorphism-flavored relations in line with your text’s conventions.

📚 Geometry

Congruent-triangle notation when your curriculum maps that meaning to U+2245.

🔬 Courseware

HTML quizzes and glossaries that contrast ≅, ≈, and ≡.

📝 Equation exports

Toolbars that emit &cong; for portable congruence-style glyphs.

📐 STEM documentation

README or spec prose that stays in Unicode HTML without a full math stack.

🧮 Notation legends

Tables that map each operator to its spoken description.

♿ Accessibility

Add text like “approximately equal to” or “congruent to” per context.

💡 Best Practices

Do

  • Prefer &cong; or one numeric style consistently within a document
  • Use math fonts or stacks known for Mathematical Operators coverage
  • Pair the glyph with plain-language explanation on first use
  • Use \2245 only inside CSS content, not HTML text
  • For serious equations, add MathML or KaTeX/MathJax alongside entities

Don’t

  • Confuse U+2245 with U+2248 (almost equal) or U+2261 (identical to)
  • Assume every region’s school geometry uses ≅ for the same relation as your source
  • Use HTML entities inside JavaScript strings (use \u2245 there instead)
  • Rely on the bare symbol alone in assessments without a verbal definition

Key Takeaways

1

Named + numeric ways to write U+2245

&cong; &#8773; &#x2245;
2

CSS content escape

\2245
3

Unicode U+2245 — APPROXIMATELY EQUAL TO

4

HTML named reference &cong; maps to this code point

5

Mathematical Operators — not the same as ≈ or ≡

❓ Frequently Asked Questions

Use &cong; (named), &#x2245; (hex), &#8773; (decimal), or \2245 in CSS content. All render .
APPROXIMATELY EQUAL TO at U+2245 (decimal 8773). HTML’s entity list labels the same character &cong; (“congruent to”).
Yes. &cong;, &#8773;, and &#x2245; are alternative spellings of the same code point in modern browsers.
U+2248 is ALMOST EQUAL TO (≈), common for informal “about equal.” U+2245 is a distinct operator; follow your style guide.
Markup uses &cong;, &#8773;, or &#x2245; in HTML. CSS uses backslash hex escapes inside content rules. Same glyph, different syntax layer.

Explore More HTML Entities!

Discover 1500+ HTML character references — currency symbols, arrows, math operators, emojis, 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