Comparison symbol

Equal Symbol (=)

= says that both sides represent the same value. Do not use it for a rounded or estimated result.

=Equals SignU+003D2 + 2 = 4
Code reference

Copy = in the format you need

UnicodeU+003D
HTML decimal=
HTML hexadecimal=
HTML named=
CSS\003D
JavaScript\u003D
LaTeX=

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

Related symbol guides