fsymbols
Loading symbols…
››
≔

colon equals

Colon equals

85/256

≔ defines the left-hand name using the right-hand expression. In programming, : assigns a value to a variable.

Text symbol

What ≔ means

It defines a term or assigns a value. In mathematics, A ≔ B defines A as B; it isn't an equality claim.

In programming, : assigns the right-side value to the left-side variable. Thus x : x 1 updates x, while x x 1 is false.

Algol, a programming language, chose colon-equals for assignment in 1958.

Part of the collection

Don't confuse it with

3

: Two characters; ≔ is one symbol.

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 or find ≔

Also called
coloneq
Search it as
:= · definition symbol · assignment operator
Shows up in
Anything that takes text · its shape is whatever your font draws
Windows (Word)
⎇Alt+XType 2254, then AltX 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 “colon equals”.
Linux
⎈Ctrl+⇧Shift+UType 2254, then Enter or Space.
HTML
≔
CSS
\2254
Windows Word
Type 2254, then press AltX.
macOS
Enable Unicode Hex Input, hold Option, and enter 2254.
Linux GTK
Press CtrlShiftU, enter 2254, then Space or Enter.
Plain text
If ≔ shows as a box, the font may lack it; : is a fallback.
Codes and encoding1 code points
HTML decimal
≔
HTML hex
≔
CSS content
content: "\2254";
Each escape is closed by the next backslash; a trailing space is needed before a literal hex digit.
URL encoded
%E2%89%94
1
On screen
1
Code points
1
JS .length
3
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