Comparison symbol
Equal Symbol (=)
= says that both sides represent the same value. Do not use it for a rounded or estimated result.
=Equals Sign
U+003D2 + 2 = 4Code reference
Copy = in the format you need
Unicode
U+003DHTML decimal
=HTML hexadecimal
=HTML named
=CSS
\003DJavaScript
\u003DLaTeX
=Character names and code points checked against The Unicode Consortium. Last verified 2026-08-12.
01
Exact equality
The equation 2 + 2 = 4 is exact. When a decimal is rounded, use ≈ instead: π ≈ 3.14.
02
Math versus assignment
Some programming languages use = for assignment rather than a mathematical equality test. Follow the operator rules of the language you are using.
Keep exploring