what does this symbol mean?
A horizontal arrow with a head at each end

If and only if symbol (↔)

↔ means “if and only if” in logic. p ↔ q is a biconditional: it is true when p and q are both true or both false, and false when one is true and the other false.

Easily confused with

How to read it

OpenStax’s Contemporary Mathematics calls the biconditional a two-way contract and shows that p ↔ q is the same as (p → q) ∧ (q → p): an implication in each direction. Oscar Levin’s Discrete Mathematics puts it as two parts, an implication and its converse, the “if” and the “only if”. The words are often shortened to “iff”: forall x: Calgary calls it the snappier word, and NIST’s Digital Library of Mathematical Functions lists “iff” for “if and only if” beside ⟺ for “is equivalent to”.

Also searched as: ↔, ⇔, biconditional symbol, double arrow in logic, equivalence symbol, iff.

↔, ⇔ or ≡

forall x: Calgary notes that books which write the conditional with an arrow use ↔ for the biconditional, and books which use the horseshoe ⊃ use the triple bar ≡. Mathematics texts also write ⇔ or the long ⟺. The triple bar has other jobs too: NIST’s Digital Library of Mathematical Functions lists ≡ both for “equals by definition” and for equivalence in modular arithmetic, so the context decides.

More logic symbols

The same shape elsewhere

Sources

Researched, edited and approved by Rory Hansen before publishing. Last reviewed October 9, 2026. How we research

Added .

Report a problem

Please don’t include personal details.