Approximately Equal in LaTeX
Write approximately equal as \approx in math mode: $\pi \approx 3.14$ gives π ≈ 3.14. Related relations have their own commands: \sim ∼ (asymptotic, similar), \simeq ≃, \cong ≅ (congruent, isomorphic) and \equiv ≡ (identical, congruent modulo n).
Approximation and equivalence symbols
\approxApproximately equal (numerical approximation).
\simSimilar / asymptotically equivalent / distributed as.
\simeqAsymptotically equal, or isomorphic / homotopy equivalent.
\congCongruent (geometry) or isomorphic (algebra).
\equivIdentical to, defined as, or congruent modulo n (the three-line equal sign).
\not\equivNot congruent / not identical.
\approxeqApproximately equal or equal ≊ (amssymb).
\doteqApproaches the limit; also used for "defined as" by some authors.
\proptoProportional to (not the same as approximately).
Try it live
Change the formula and the preview redraws as you type. Copy the LaTeX, download a PNG or SVG, copy it for Word, or use Edit here on any example below to load it.
Approximately equal ≈ examples
Each result below is drawn from the LaTeX under it. Copy the code, edit it on this page, or open it in the full editor.
Numerical value
LaTeX\pi \approx 3.14159Small-angle approximation
LaTeX\sin x \approx x \quad \text{for small } xAsymptotic equivalence
LaTeXn! \sim \sqrt{2 \pi n} \left( \frac{n}{e} \right)^{n}Stirling's formula: the ratio of the two sides tends to 1, which is what ∼ means here.
Congruent triangles
LaTeX\triangle ABC \cong \triangle DEFCongruence modulo n
LaTeX17 \equiv 2 \pmod{5}Isomorphic groups
LaTeX\mathbb{Z} / 2\mathbb{Z} \cong C_2Taylor approximation
LaTeXe^{x} \approx 1 + x + \frac{x^2}{2}
Which symbol means what
≈ (\approx) is the everyday "approximately equal": a rounded number or an approximation you can quantify. ∼ (\sim) is used for asymptotic equivalence (the ratio tends to 1), for "of the same order", for similar figures and for "is distributed as" in probability.
≃ (\simeq) and ≅ (\cong) are mostly structural: isomorphism, homotopy equivalence, congruent shapes. ≡ (\equiv) means identically equal, "defined as", or congruence in modular arithmetic. Fields use these differently, so say in the text which meaning you intend.
Congruence modulo n
Write the modulus with \pmod{n}, which adds the parentheses and spacing: a \equiv b \pmod{n}. \bmod is the binary operator for an inline remainder (a \bmod n), and amsmath adds \mod (no parentheses) and \pod.
Approximately in running text
For "about 10 ms" in a sentence, $\approx 10$~ms is the clearest. Some fields write $\sim$10 instead; if you do, use $\mathord{\sim}10$ so no relation space appears before the number.
Common mistakes
~ is a non-breaking space in LaTeX, and
=alone is plain equals.Instead ofx ~= 3Writex \approx 3Typed "mod" comes out as italic m·o·d.
\pmodsets it upright with the parentheses spaced correctly.Instead of17 \equiv 2 (mod 5)Write17 \equiv 2 \pmod{5}\approxeqand\thickapproxlive in amssymb;\approxitself needs no package.Instead of\approxeq (without amssymb)Write\usepackage{amssymb}Relation symbols only work in math mode; outside it LaTeX reports "Missing $ inserted".
Instead ofabout \approx 3 msWriteabout $\approx 3$~ms
In Overleaf, MathJax and Word
Overleaf and pdfLaTeX
\approx,\sim,\simeq,\cong,\equiv,\doteqand\pmodare built in;\approxeqand\thickapproxneed amssymb.MathJax and KaTeX
MathJax and KaTeX render all of these, including the amssymb ones, without extra configuration.
Microsoft Word
In a Word equation,
\approxand\equivtyped with a trailing space are usually converted by Math AutoCorrect. For a complete formula, write it here and use Copy for Word.
Approximately equal ≈ in LaTeX: questions
- How do I write ≈ in LaTeX?
- Use
\approxin math mode, for example$x \approx 2.5$. - What is the difference between ≈ and ∼?
- ≈ (
\approx) says two values are numerically close. ∼ (\sim) usually says two functions behave the same asymptotically, or two objects are similar, or a variable follows a distribution (X ∼ N(0, 1)). - How do I write the three-line equal sign?
- Use
\equivfor ≡, and\not\equivfor its negation. With a modulus:a \equiv b \pmod{n}. - How do I write the congruent symbol?
- Use
\congfor ≅, as in\triangle ABC \cong \triangle DEF.
Related LaTeX reference
- Not Equal in LaTeXThe ≠ sign with \neq or \ne, and other negated relations: not equivalent, not an element of, not a subset.
- Tilde (~) in LaTeXWhy ~ prints a space, how to get a visible tilde in text, the \tilde and \widetilde accents, and \sim in math.
- Proportional Symbol in LaTeXThe ∝ sign with \propto, the thinner \varpropto, "approximately proportional", and when authors use \sim instead.
- LaTeX equation editorSymbol panel, live preview, and PNG, SVG, MathML or Word export.
- All LaTeX reference pagesSymbols, math structures and text formatting in one list.
Have the formula as a picture?
Paste a screenshot or photo of the equation and get its LaTeX, ready to copy or open in the editor.
Convert an image to LaTeX