fsymbols
Loading symbols…
››
⋄

diamond operator

Diamond Operator

197/256

In a formula, ⋄ marks an operation between two expressions, and the notation supplies its rule. Modal logic, the study of necessity and possibility, usually uses the distinct character for possibility.

Text symbol

What ⋄ means

The notation defines the operation. A binary operator sits between two inputs, as in p ⋄ q. LaTeX's \diamond command provides this operator. MathML, a format for computer-written mathematics, treats ⋄ as an infix operator: it sits between its inputs.

The possibility sign has a separate history: the logician C. I. Lewis developed modal logic across 1918, 1920, and 1932. Those milestones belong to modal notation, not to ⋄.

Technical notation, with meaning set by the mathematical system.

Check the definition before reading ⋄ as possibility.

Part of the collection

Don't confuse it with

3

Combination ideas

4
A generic binary operation, defined by the author.
APL: two statements separated on one line.
Small diamond bullet starting a list item.
Small diamond divider between sections.

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.

Collections with ⋄

2

How to type or find ⋄

Search it as
math diamond symbol · diamond in formulas · LaTeX diamond · binary operator · modal diamond
Shows up in
Anything that takes text · its shape is whatever your font draws
Windows (Word)
⎇Alt+XType 22C4, 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 “diamond operator”.
Linux
⎈Ctrl+⇧Shift+UType 22c4, then Enter or Space.
HTML
⋄
CSS
\22C4
LaTeX
In LaTeX math mode, enter \diamond to produce this binary operator.
Codes and encoding1 code points
HTML decimal
⋄
HTML hex
⋄
CSS content
content: "\22C4";
Each escape is closed by the next backslash; a trailing space is needed before a literal hex digit.
URL encoded
%E2%8B%84
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

2

Maths & numbers1,835 symbols

Shapes & colours597 symbols