fsymbols
Loading symbols…
››
=

equals sign

Equals sign

The equals sign = means “is equal to”: the expressions on both sides have the same value, as in 2 + 2 = 4. In maths and plain-text sums it states a fact. In programming, the same equal sign often assigns a value instead of checking one, so count the signs and check the language.

Text symbol
Also called
equal sign · equality sign
Search it as
is equal to · equals
Shows up in
Anything that takes text · its shape is whatever your font draws

What = means

Both sides have the same value. It isn't just “the answer comes next”: 3 + 1 = 2 + 2 is a correct use.

In JavaScript, a single = assigns a value (x = 5 stores 5 in x), == compares after converting types, and === compares without converting. Other programming languages set their own rules.

Neutral mathematical notation; in code, the number of signs can change the operation.

In JavaScript, one = assigns; == and === compare.

Don't confuse it with

4

Worth knowing

  • Robert Recorde, a Welsh mathematician, introduced the sign in an algebra textbook printed in 1557, choosing two parallel lines because he considered nothing more equal.

Questions people ask

1

Why does = show as a box on some devices?

Because that device's fonts have no glyph for it. The character is still correct and still copies correctly — the box is a missing glyph, not a broken character.

How to type =

Windows (Word)
Alt+XType 003D, then Alt+X to get =.
Windows
Win+Rrun charmap for the full table, or use the emoji picker's Ω symbols tab (Win + .).
macOS
Control+Command+SpaceOpen the character viewer and search “equals sign”.
Linux
Ctrl+Shift+UType 003d, then Enter or Space.
HTML
=
CSS
\003D
Keyboard
Find the key marked =; its position and whether it needs Shift depend on your keyboard layout.
Codes and encoding1 code points
HTML decimal
=
HTML hex
=
CSS content
content: "\003D";
Each escape is closed by the next backslash; a trailing space is needed before a literal hex digit.
URL encoded
%3D
1
On screen
1
Code points
1
JS .length
1
UTF-8 bytes

A visible symbol can contain several code points. JS .length counts UTF-16 units; UTF-8 counts bytes.

Families this belongs to

1

Maths & numbers1,835 symbols