Not Equal Sign ≠ Copy and Paste

Tap ≠ to copy the slashed equals sign. It says two things differ, from a ≠ b in a proof to "busy ≠ productive" in a bio. The table covers every keyboard, and the notes explain how ≠ relates to !=, <> and ≢.

≠

NOT EQUAL TO

U+2260 · tap the symbol to copy

How to Type the Not Equal Sign

UnicodeU+2260 NOT EQUAL TO
HTML&ne; or &#8800;
WindowsWin + . (emoji panel) → Symbols, or type 2260 then Alt + X in Word
MacOption + =
iPhoneOpen the #+= keyboard and hold the = key; ≠ is in the pop-up next to ≈
AndroidGboard: switch to ?123 and hold the = key, then slide to ≠
LaTeX\neq or \ne

Not Equal Sign Variants and Lookalikes

Using the Not Equal Sign

The not equal sign is an equals sign with a slash through it, and it makes the negative claim: whatever sits on the left is not the same as whatever sits on the right. In algebra it states a constraint (x ≠ 0 before dividing by x), in set theory it separates distinct elements, and in logic it is the negation of the identity relation. The slash leans the same way as a forward slash, rising from bottom-left to top-right.

Spacing and layout

Like =, the sign takes a space on each side: 2 + 2 ≠ 5. It shares the maths axis with + and = so the bars line up across an equation. Never assemble it from = and / typed together; the result looks like two separate characters and confuses screen readers, which announce the real symbol as "not equal to".

Programming equivalents

Almost no language accepts ≠ in source code. C, Java, JavaScript, Python, Go and Rust write != ; SQL, Excel, Pascal and older BASIC dialects use <> ; APL and some Lisp variants are the rare exceptions that read the Unicode character directly. Many editors and fonts with ligatures, such as Fira Code or JetBrains Mono, draw != as ≠ on screen while keeping the two-character sequence in the file, which is where a lot of people first see the glyph. In comments, documentation and Markdown it is safe to write the real ≠ because nothing has to parse it.

Related relations

≠ is the strongest form of "different". ≈ (the approximately equal sign) says two values are close, ≢ negates the triple-bar identity ≡, and ≟ flags an equality you still need to check. The ordering relations ≤ and ≥ (see the less than or equal sign) each imply "≠ or =", and a strict < already implies ≠.

Typing it

macOS has the easiest route: Option + =. Windows offers no Latin-1 Alt code, so use the emoji panel's Symbols tab or, in Word, type 2260 and press Alt + X. Both the iPhone keyboard and Gboard hide ≠ under a long-press of the = key on the symbols page, which makes it one of the few maths signs you can type on a phone without a text replacement.

In captions and bios

Outside maths the glyph has become a compact rhetorical device: "quiet ≠ shy", "rest ≠ lazy", "expensive ≠ good". It reads as confident and slightly nerdy, and it works in Instagram captions, Twitter display names and Discord statuses because it is plain text, not an emoji, so it never changes appearance between devices. Pair it with the strikethrough fonts generator when you want the whole word crossed out rather than a single sign, or with the infinity symbol for a maths-themed handle.

Not Equal Sign FAQ

How do I type the not equal sign on Windows?

There is no reliable 4-digit Alt code for ≠. Press Win + . to open the emoji panel, choose the Symbols tab and look under Math Symbols, or in Word type 2260 and immediately press Alt + X. Copying from this page is quicker for a one-off.

What is the Mac shortcut for ≠?

Option + = produces ≠ on the US and UK layouts. It is one of a cluster of maths shortcuts on the same row: Option + Shift + = gives ± and Option + , and Option + . give ≤ and ≥.

Does ≠ work in Excel or Google Sheets formulas?

No. Both spreadsheets use <> for "not equal", as in =IF(A1<>B1,"differs","same"). The ≠ character is fine in a text cell or a chart label but will break a formula.

Why does my code editor show != as ≠?

Fonts such as Fira Code, JetBrains Mono and Cascadia Code include ligatures that merge != into a single ≠ glyph for readability. The file still contains the two ASCII characters; only the display changes, so it compiles normally.

What is the difference between ≠ and ≢?

≠ negates the ordinary equals sign and says two values differ. ≢ negates ≡, the identity or congruence relation, so it says two expressions are not identically equal or not congruent modulo some number. In everyday writing, ≠ is the one you want.

Can I put ≠ in a username?

Usernames on Instagram, TikTok and Twitter allow only letters, numbers, underscores and full stops, so it will be rejected there. Display names, bios and Discord nicknames accept it, and it renders the same on iPhone and Android.