≠

Not Equal Symbol (≠)

Copy and paste the not equal symbol ≠ — click the button or any variant below

Not Equal Symbol Copy and Paste

Click any symbol below to copy it to your clipboard instantly.

≠ Not Equal Copied!
≢ Not Identical Copied!
≉ Not Almost Equal Copied!
≇ Not Congruent Copied!
Unicode Character
≠
Unicode Hex
U+2260
HTML Entity
≠
Decimal Code
8800

About the Not Equal Symbol

Last reviewed on October 31, 2026

The Not Equal symbol (≠) is a standard Unicode character. It comes from one of the Unicode Mathematical Operators blocks (U+2200–U+22FF or U+2A00–U+2AFF), which collect the operators, relations, and quantifiers used in mathematics. These characters are designed to align visually with each other and with the rest of math text.

What it means and where it is used

≠ is an equals sign with a slash through it, as in x ≠ 0. It says two values differ. Programmers type it as != or /= depending on the language, and spreadsheets use <> for the same test.

Related characters

If Not Equal isn’t quite what you need, the Mathematical Symbols page lists every related character on the site — including Plus Sign and Integral. The related-symbols grid below also surfaces the closest sibling characters.

How to Write “Not Equal” Everywhere

The ≠ sign is for written math. Software usually needs a different spelling of “not equal”:

CharNameUnicodeUse it for
≠Not equal toU+2260Math, documents and slides: x ≠ 0.
!=C, Java, JavaScript, Python—if (x != 0)
!==JavaScript (strict)—Compares without type coercion.
<>Excel, SQL, BASIC—=IF(A1<>0, …), WHERE x <> 0
~=Lua, MATLAB—if x ~= 0
/=Haskell, Fortran, Ada—x /= 0
≢Not identical toU+2262Logic and congruence.
≉Not almost equal toU+2249Approximation statements.

Some programming fonts (Fira Code, JetBrains Mono) display != as a ≠ ligature. The file still contains the two characters !=, so the code keeps working.

How to Type the Not Equal Symbol on a Keyboard

Windows (Alt code): Type 2260 then press Alt+X in Word, or in WordPad hold Alt and type 8800 on the numeric keypad (decimal Alt codes above 255 do not work in most other apps)
Mac: Press Option+=
Microsoft Word: Type 2260 then press Alt+X to convert it into ≠
HTML: Use the entity &ne; or the numeric code &#8800;
Phone & tablet: Copying ≠ from this page is fastest — see our mobile typing guide for keyboard tricks

Not Equal Symbol Code for HTML, CSS & JavaScript

HTML: &ne;
CSS: content: '\2260';
JavaScript: '\u2260'
Unicode: U+2260

Frequently Asked Questions

How do I type the not equal symbol ≠ on Windows?

Type 2260 then press Alt+X in Word, or in WordPad hold Alt and type 8800 on the numeric keypad (decimal Alt codes above 255 do not work in most other apps). You can also copy ≠ straight from this page — it pastes into any app.

How do I type ≠ on a Mac?

Press Option+=.

What is the Unicode and HTML code for the not equal symbol?

The not equal symbol is Unicode code point U+2260. In HTML, use the entity &ne; or the numeric reference &#8800;.