Not Equal Sign



The not equal sign is used to indicate inequality, when two things are not equal to one another. For example, 0 is not equal to 1, which we express as 1 ≠ 0. The not equal sign takes the form of the equal sign with a slash through it. If you can't find the not equal sign on your keyboard, you can copy it using the button above.

Alt code:
Alt + 8800
Unicode code:
U + 2260
HTML code:
≠
≠

Not Equal Sign on Windows

To type the not equal sign on a Windows computer, hold down the Alt key and type 8800 on your number pad (ensure that the Numlock is turned on). If you don't have a number pad you can copy the sign at the top of this page, or use the character map in Windows.

Alt + 8 8 0 0

Not Equal Sign on Mac

On a Mac, you can type the not equal sign by holding down the option key (⌥) and pressing the equal key (=).

⌥ + =

Not Equal Sign in Latex

To display the not equal sign in Latex, use the code \neq.

\ n e q

Not Equal Sign in Programming

In programming, the not equal sign is usually expressed as != or <> or ~=, which are the inverse of the equality operator (==). For instance, a != true will test whether the variable a is not equal to true. A great overview of different inequality operators used in programming is provided here.

! = or < > or ~ =

Inequalities With the Not Equal Sign

The not equal sign (also called the inequality sign) is part of a family of symbols used to indicate inequality between values. The most common of these are less than (<) and greater than (>) symbol, which indicate that the value before the sign is less than or greater than the value after the sign, respectively.

The not-equal sign specifically indicates that two values are not equal to one another. For instance, the following statement shows that x cannot be equal to 5. It can also be seen as x is equal to everything but 5:

x ≠ 5

Images of Not Equal Sign

Here you can download images of the not equal sign in PNG and SVG form: