Copy ≠, the does not equal sign, or a typed stand-in, =/= or !=; every row carries its codes.
Not Equal Sign Copy Paste
≠Not equal toU+2260Ready to copy
36 not-equal signs. Tap any value to copy it.
36 not-equal signs. A character and its name both copy the character. A code copies the code.
Character
Name
Code point
Option keys
HTML
LaTeX
U+2260. An equals sign with a slash through it: is not equal to. Option+= on the U.S. layout, ≠ in HTML, \ne in LaTeX. Neither Alt code table holds it.
Equals, slash, equals, typed one after another where the single sign is out of reach.
Exclamation mark, then equals: how many programming languages write the test for inequality, since they keep to typeable characters.
Less-than and greater-than side by side, a second spelling of the same operator in program code.
U+2262. The triple bar ≡ with a stroke: Unicode composes it from U+2261 and the combining slash. ≢ in HTML.
U+2249. The double tilde ≈ crossed out. ≉ in HTML.
The equals key followed by U+0338, the combining long solidus overlay: the two code points Unicode gives as the make-up of U+2260.
U+003D. The sign that gets negated, invented in 1557 by Robert Recorde. Alt+61 types it, its number in ASCII.
Tilde and equals, a third spelling of the operator in program code.
Slash before equals: the fourth spelling that programming languages use.
U+226D. Negates ≍, equivalent to, which LaTeX calls \asymp. ≭ in HTML.
U+236F. One of the quad signs of APL: U+2260 framed by a rectangle.
U+2244. A tilde over one bar, ≃, with the slash added. ≄ in HTML.
U+2246. A tilde over an equals sign whose two bars are struck through, while the tilde is left whole. ≆ in HTML.
U+2AB9. The curved precedes sign set over a struck-out ≈. ⪹ in HTML, \precnapprox in LaTeX with amssymb.
U+2ABA. Its mirror image, opening the other way. ⪺ in HTML, \succnapprox in LaTeX with amssymb.
U+2268. Less-than resting on a struck equals sign: smaller, and equality ruled out. ≨ in HTML, \lneqq in LaTeX with amssymb.
U+2269. The greater-than twin of U+2268. ≩ in HTML, \gneqq in LaTeX with amssymb.
U+2A87. One bar under the angle in place of two, with a short stroke across it. ⪇ in HTML, \lneq in LaTeX with amssymb.
U+2A88. Greater-than over a single crossed bar. ⪈ in HTML, \gneq in LaTeX with amssymb.
U+2AB1. Precedes, the curved less-than of order theory, over one struck bar. It has no HTML name.
U+2AB2. Succeeds over one struck bar. No HTML name either.
U+2AB5. Precedes over the full two-bar sign. ⪵ in HTML, \precneqq in LaTeX with amssymb.
U+2AB6. Succeeds over the two-bar sign. ⪶ in HTML, \succneqq in LaTeX with amssymb.
U+22E0. U+227C, precedes or equal to, with the slash through the whole sign. ⋠ in HTML.
U+22E1. The slashed form of U+227D. ⋡ in HTML.
U+228A. The subset sign over a struck bar: inside the other set, and not all of it. ⊊ in HTML, \subsetneq in LaTeX with amssymb.
U+228B. Mirror of the row above: the larger set comes first, and the two cannot be the same one. ⊋ in HTML, \supsetneq in LaTeX with amssymb.
U+2ACB. The same statement drawn with both bars of the equals sign. ⫋ in HTML, \subsetneqq in LaTeX with amssymb.
U+2ACC. Opens to the left and rests on a full equals sign cut by a stroke. ⫌ in HTML, \supsetneqq in LaTeX with amssymb.
U+22E4. Corners in place of curves, and a short stroke through the line below.
U+22E5. The square-cornered superset form.
U+22E2. Here the slash negates all of U+2291, square image of or equal to. ⋢ in HTML.
U+22E3. Negates U+2292 the same way, for the sign that opens to the left. ⋣ in HTML.
U+22EC. A slashed triangle over a bar, from group theory. ⋬ in HTML, \ntrianglelefteq in LaTeX with amssymb.
U+22ED. The triangle turned to face left to right. ⋭ in HTML, \ntrianglerighteq in LaTeX with amssymb.
The not equal sign is ≠, U+2260 in Unicode: an equals sign with a slash through it. People also call it the unequal sign or the does not equal symbol, and math reads it as "is not equal to".
Read the full guide
How to type the unequal sign
On the U.S. keyboard layout, Option and the equals key type ≠. Neither Alt code table has it. Programs that read numbers above 255 as Unicode take Alt+8800; programs that keep the old behavior return a grave accent. In HTML the code is ≠, in LaTeX \ne.
Where the character cannot be used
Plain text shows the same idea with three keys, =/=. Program code has four spellings of its own, !=, <>, ~= and /=, and which one is right depends on the language.
Unicode has no does not equal emoji: ≠ is a math symbol with no emoji style.
As a special character in a web page, ≠ is ≠ or ≠.
The equals sign dates from 1557; ≠ is that sign plus a stroke.
Questions and answers
How do I type the not equal sign on a keyboard?
No key carries it. On the U.S. layout, hold Option and press the equals key. With a number pad, Alt+8800 works in programs that read large numbers as Unicode. Where neither works, people copy and paste the symbol.
What is the Alt code for the unequal sign?
It has none that works everywhere: neither table of Alt codes holds ≠. Alt+8800 is its Unicode number in decimal, and a program that doesn't read such numbers as Unicode returns a grave accent, character 96, in its place.
What is the Unicode for not equal?
U+2260, named Not equal to, in the Mathematical Operators block since version 1.1 of 1993. Unicode gives its make-up as the equals sign, U+003D, followed by the combining long solidus overlay, U+0338.
What does the not equal sign mean in math?
That two things do not have the same value: 2 + 2 ≠ 5. The slash negates the equals sign, and the same stroke turns ≡ into ≢, not identical to, and ≈ into ≉, not almost equal to.
All 36 not-equal signs
Start here 8
=Equals signU+003D. The sign that gets negated, invented in 1557 by Robert Recorde. Alt+61 types it, its number in ASCII.
≠Equals sign with a combining slashThe equals key followed by U+0338, the combining long solidus overlay: the two code points Unicode gives as the make-up of U+2260.
=/=Equals, slash, equalsEquals, slash, equals, typed one after another where the single sign is out of reach.
!=Exclamation mark and equalsExclamation mark, then equals: how many programming languages write the test for inequality, since they keep to typeable characters.
<>Less-than and greater-thanLess-than and greater-than side by side, a second spelling of the same operator in program code.
≉Not almost equal toU+2249. The double tilde ≈ crossed out. ≉ in HTML.
≠Not equal toU+2260. An equals sign with a slash through it: is not equal to. Option+= on the U.S. layout, ≠ in HTML, \ne in LaTeX. Neither Alt code table holds it.
≢Not identical toU+2262. The triple bar ≡ with a stroke: Unicode composes it from U+2261 and the combining slash. ≢ in HTML.
Show all 36 not-equal signs (28 more)
Not equal 4
⍯APL functional symbol quad not equalU+236F. One of the quad signs of APL: U+2260 framed by a rectangle.
≭Not equivalent toU+226D. Negates ≍, equivalent to, which LaTeX calls \asymp. ≭ in HTML.
/=Slash and equalsSlash before equals: the fourth spelling that programming languages use.
~=Tilde and equalsTilde and equals, a third spelling of the operator in program code.
Not almost equal 4
≆Approximately but not actually equal toU+2246. A tilde over an equals sign whose two bars are struck through, while the tilde is left whole. ≆ in HTML.
≄Not asymptotically equal toU+2244. A tilde over one bar, ≃, with the slash added. ≄ in HTML.
⪹Precedes above not almost equal toU+2AB9. The curved precedes sign set over a struck-out ≈. ⪹ in HTML, \precnapprox in LaTeX with amssymb.
⪺Succeeds above not almost equal toU+2ABA. Its mirror image, opening the other way. ⪺ in HTML, \succnapprox in LaTeX with amssymb.
Less, greater or before, and not equal 10
⋠Does not precede or equalU+22E0. U+227C, precedes or equal to, with the slash through the whole sign. ⋠ in HTML.
⋡Does not succeed or equalU+22E1. The slashed form of U+227D. ⋡ in HTML.
⪈Greater-than and single-line not equal toU+2A88. Greater-than over a single crossed bar. ⪈ in HTML, \gneq in LaTeX with amssymb.
≩Greater-than but not equal toU+2269. The greater-than twin of U+2268. ≩ in HTML, \gneqq in LaTeX with amssymb.
⪇Less-than and single-line not equal toU+2A87. One bar under the angle in place of two, with a short stroke across it. ⪇ in HTML, \lneq in LaTeX with amssymb.
≨Less-than but not equal toU+2268. Less-than resting on a struck equals sign: smaller, and equality ruled out. ≨ in HTML, \lneqq in LaTeX with amssymb.
⪵Precedes above not equal toU+2AB5. Precedes over the full two-bar sign. ⪵ in HTML, \precneqq in LaTeX with amssymb.
⪱Precedes above single-line not equal toU+2AB1. Precedes, the curved less-than of order theory, over one struck bar. It has no HTML name.
⪶Succeeds above not equal toU+2AB6. Succeeds over the two-bar sign. ⪶ in HTML, \succneqq in LaTeX with amssymb.
⪲Succeeds above single-line not equal toU+2AB2. Succeeds over one struck bar. No HTML name either.
Subsets and groups, and not equal 10
⋭Does not contain as normal subgroup or equalU+22ED. The triangle turned to face left to right. ⋭ in HTML, \ntrianglerighteq in LaTeX with amssymb.
⋬Not normal subgroup of or equal toU+22EC. A slashed triangle over a bar, from group theory. ⋬ in HTML, \ntrianglelefteq in LaTeX with amssymb.
⋢Not square image of or equal toU+22E2. Here the slash negates all of U+2291, square image of or equal to. ⋢ in HTML.
⋣Not square original of or equal toU+22E3. Negates U+2292 the same way, for the sign that opens to the left. ⋣ in HTML.
⋤Square image of or not equal toU+22E4. Corners in place of curves, and a short stroke through the line below.
⋥Square original of or not equal toU+22E5. The square-cornered superset form.
⫋Subset of above not equal toU+2ACB. The same statement drawn with both bars of the equals sign. ⫋ in HTML, \subsetneqq in LaTeX with amssymb.
⊊Subset of with not equal toU+228A. The subset sign over a struck bar: inside the other set, and not all of it. ⊊ in HTML, \subsetneq in LaTeX with amssymb.
⫌Superset of above not equal toU+2ACC. Opens to the left and rests on a full equals sign cut by a stroke. ⫌ in HTML, \supsetneqq in LaTeX with amssymb.
⊋Superset of with not equal toU+228B. Mirror of the row above: the larger set comes first, and the two cannot be the same one. ⊋ in HTML, \supsetneq in LaTeX with amssymb.