How to write ≠ (not equal) in LaTeX
Use \neq in math mode — between $…$ in a document, or directly in the editor above.
| LaTeX command | \neq |
|---|---|
| Symbol | ≠ |
| Unicode | U+2260 |
| HTML entity | ≠ |
| Notes | Also \ne |
Example
a \neq b
The editor above is pre-filled with this example — tweak it and export it as PNG, SVG or a Word equation.
More relations
| Symbol | Command |
|---|---|
| ≈ | \approx |
| ≤ | \leq |
| ≥ | \geq |
| ≪ | \ll |
| ≡ | \equiv |
| ∝ | \propto |
| ∼ | \sim |


