Symbol Hub

Not Equal Sign

The not-equal sign (≠) states that two values are not equal to each other.

Also known as: does not equal sign, not equal to symbol, inequality sign.

Codes

Symbol
UnicodeU+2260
HTML entity (named)≠
HTML entity (decimal)≠
HTML entity (hex)≠
CSS\2260
LaTeX\neq
Windows Alt codeAlt + 8800

How to type (Not Equal Sign)

WindowsAlt + 8800

Hold Alt and type 8800 on the numeric keypad, then release Alt.

Mac⌥ + =

Press Option + = (the equals key).

Microsoft Word2260, Alt + X

Type 2260, then press Alt + X to convert it to ≠.

Google Docs

Insert → Special characters, then search “not equal” — or inside an Equation type \neq.

LaTeX\neq

Use \neq (or \ne) in math mode.

Usage

  • In algebra, x ≠ 0 states that x is not equal to zero.
  • In programming, the not-equal operator is written != or !== (JavaScript, Python, C, Java).
  • In set theory and logic, a ≠ b means the two values are distinct.

Related symbols