GreaterThanSymbol

Not Equal Sign ≠

Copy ≠ in one click and find the not-equal operator for Excel, SQL, Python, JavaScript and more.

Not equal symbols

SymbolNameUnicodeHTMLLaTeXWindows Alt codeWord (type, then Alt+X)
=Equals signU+003D=
=
=Alt+61003D
≠Not equal toU+2260≠
≠
\neq or \ne–2260
≉Not almost equal toU+2249≉
≉
\not\approx–2249
≢Not identical toU+2262≢
≢
\not\equiv–2262

What does ≠ mean?

The not equal sign (≠) says two values are different: 3 ≠ 4. It does not say which one is bigger – use > or < for that.

“Not equal” in software

WhereNot equal operator
Excel, Google Sheets, SQL, VBA<> e.g. =IF(A1<>"",…), WHERE status <> 'paid'
Python, C, C++, Java, PHP, SQL!=
JavaScript / TypeScript!== (strict) or !=
Bash-ne for numbers, != for strings
R, Rust, Go, Swift, Kotlin!=
Lua / MATLAB~=

How to type ≠

  • Mac: Option+=
  • Word / Outlook: 2260 then Alt+X
  • Windows (any app): Win+. → Symbols → Math, or copy it above (≠ has no classic Alt code)
  • Google Docs: Insert → Special characters → search “not equal”; to convert != as you type, add it under Tools → Preferences → Substitutions
  • Chromebook / Linux: Ctrl+Shift+U, 2260, Space
  • LaTeX: \neq or \ne
  • HTML: &ne; or &#8800;

Frequently asked questions

How do I type the not equal sign?

Mac: Option+=. Word: 2260 then Alt+X. Google Docs: Insert → Special characters and search “not equal”. Windows: Win+. opens the symbol panel. Or copy ≠ from this page.

What is not equal to in Excel?

Excel uses <> as the not-equal operator, for example =COUNTIF(A:A,"<>0") or =IF(B2<>"Done","Open","").

Is there an Alt code for ≠?

Not in the classic Windows Alt code set. Use 2260 + Alt+X in Word or the Win+. symbol panel instead.

What is the Unicode for not equal?

≠ is U+2260, decimal 8800, HTML &ne;.