Negation Symbol

Copy ¬, its keys or its LaTeX, or the same statement in the sign your book uses.

¬Not, U+00ACReady to copy

106 signs and lines. Tap any value to copy it.

106 signs and lines. A character and its name both copy the character. A code copies the code; keys are for typing.
CharacterNameWindows keysLaTeX
Windows: Alt+170 or Alt+0172

Everything to copy

Start here

  • Not, U+00AC Not sign. Negation. Logic and discrete math. ¬p is true exactly when p is false. ¬ in HTML. Option+L on the U.S. layout.
  • Not, tilde operator, U+223C Tilde operator. Russell’s sign of 1908; the one LaTeX draws with \sim. Unicode lists not among its names. ∼ in HTML.
  • Not, keyboard tilde, U+007E Tilde. Typed where ∼ has no key; NOT in MATLAB and APL, and bit by bit in C.
  • Not, in code, U+0021 Exclamation mark. Read bang or not. NOT in C, C++, Java, JavaScript and PHP, written before what it negates. ! in HTML.
  • Not, prime, U+2032 Prime. Written after the letter: p′ is read p prime or p complement. ′ in HTML.
  • p bar Made of the letter p and U+0305, the combining overline. The bar stands over what it negates. Circuits.
  • N, Polish notation The capital letter, before the statement and with no brackets: Np.

Not p, each way

  • Not p
  • Not p, tilde operator
  • Not p, keyboard tilde
  • Not p, as in code
  • p prime, or p complement
  • p prime, with the apostrophe key
  • Not p, Polish notation
  • Not p, minus sign
  • A 7 for ¬, a makeshift of typed papers
  • Not p, as in BASIC, ALGOL 60 and Pascal
  • Not p, in full words
  • A bar Made of A and U+0305. Not A.
  • B bar Made of B and U+0305. Not B.
  • Q bar Made of Q and U+0305. Not Q.
  • Small q bar Made of q and U+0305. Not q.
  • A B, one bar One bar over both: not A and B together.
  • A or B, one bar U+0305 after each character makes one bar over the whole.
  • RESET bar A bar over the name marks an active low signal.
  • A prime, or A complement
  • A or B, primed: the prime after brackets

Truth table lines

  • The whole truth table of not
  • Truth table with 1 and 0
  • Truth table with bars
  • Not true is false
  • Not false is true
  • Not true, with the signs
  • Not false, with the signs

Double negation, De Morgan and other laws

  • Double negation, in classical logic
  • Double negation, with tildes
  • Double negation, with primes
  • Triple negation; this one holds in intuitionistic logic too
  • De Morgan: not both
  • De Morgan: neither
  • Not an implication: p holds and q fails
  • An implication, written with not and or
  • The contrapositive
  • Not an equivalence
  • Not an equivalence is exclusive or
  • Excluded middle: always true
  • A contradiction: always false
  • Not, as an implication
  • Not, made from nand
  • Not, made from nor
  • Not, made from exclusive or
  • ¬ binds first: without brackets it takes only p

Not with ∀, ∃ and ◇

  • Not every: at least one fails
  • There is none: all fail
  • Every, without ∀
  • There is one, without ∃
  • The struck sign for the same
  • Two quantifiers: each turns over as ¬ passes it
  • Two quantifiers, the other order
  • With a set named: the set stays
  • Not every P is a Q: some P is not
  • Modal logic: possible is not necessarily not \Diamond and \Box come with amssymb.

Signs with a stroke

  • Not equal to, U+2260 = with a stroke. ≠ in HTML. Option+= on the U.S. layout.
  • Not an element of, U+2209 ∈ with a stroke. ∉ in HTML.
  • Does not contain as member, U+220C ∋ with a stroke. ∌ in HTML.
  • Not a subset of, U+2284 ⊂ with a stroke. ⊄ in HTML.
  • Not a superset of, U+2285 ⊃ with a stroke. ⊅ in HTML.
  • Neither a subset of nor equal to, U+2288 ⊆ with a stroke. ⊈ in HTML. The LaTeX macro is in amssymb.
  • There does not exist, U+2204 ∃ with a stroke. ∄ in HTML. The LaTeX macro is in amssymb.
  • Does not divide, U+2224 ∣ with a stroke. ∤ in HTML. The LaTeX macro is in amssymb.
  • Not parallel to, U+2226 ∥ with a stroke. ∦ in HTML. The LaTeX macro is in amssymb.
  • Not less-than, U+226E < with a stroke. &nlt; in HTML. The LaTeX macro is in amssymb.
  • Not greater-than, U+226F > with a stroke. &ngt; in HTML. The LaTeX macro is in amssymb.
  • Not identical to, U+2262 ≡ with a stroke. &nequiv; in HTML.
  • Not tilde, U+2241 ∼ with a stroke: not similar. &nsim; in HTML. The LaTeX macro is in amssymb.
  • Does not prove, U+22AC ⊢ with a stroke. &nvdash; in HTML. The LaTeX macro is in amssymb.
  • Not true, U+22AD ⊨ with a stroke: does not entail. &nvDash; in HTML. The LaTeX macro is in amssymb.
  • Rightwards double arrow with stroke, U+21CF ⇒ with a stroke: does not imply. &nrArr; in HTML. The LaTeX macro is in amssymb.
  • Left right double arrow with stroke, U+21CE ⇔ with a stroke: not if and only if. &nhArr; in HTML. The LaTeX macro is in amssymb.
  • Not proportional to Made of ∝ and U+0338, typed after it: no single character has this one.
  • Not much less-than Made of ≪ and U+0338. &NotLessLess; in HTML.
  • Not a square subset Made of ⊏ and U+0338. &NotSquareSubset; in HTML.

In code

  • Not equal, in C and its followers
  • Not equal, in BASIC, Pascal and SQL
  • Not equal, in MATLAB and Lua
  • Not equal, in Haskell and Fortran 90
  • Not equal, in REXX
  • Not equal, in Erlang
  • Logical not, in C
  • Twice: in C it turns any number into 0 or 1
  • Bitwise not, in C: each 1 becomes 0 and each 0 becomes 1
  • Logical not, in BASIC
  • Logical not, in PL/I

Forms of ¬

  • Reversed not, U+2310 Reversed not sign. Also called beginning of line. &bnot; in HTML.
  • Turned not, U+2319 Turned not sign. Also called line marker.
  • Wide not, U+FFE2 Fullwidth not sign. ¬ as wide as an East Asian character.
  • Double not, U+2AEC Double stroke not sign. Two strokes. &Not; in HTML.
  • Double not, reversed, U+2AED Reversed double stroke not sign. The same, reversed. &bNot; in HTML.

Look-alikes

  • Hyphen, U+002D Hyphen-minus. The hyphen key. -p is one more way to write not p.
  • Minus, U+2212 Minus sign. Longer than the hyphen, and for numbers. &minus; in HTML.
  • Box corner, U+2510 Box drawings light down and left. Part of a box, taller than ¬. &boxdl; in HTML.
  • Top right corner, U+231D A quotation corner of logic, with ⌜. &urcorn; in HTML.
  • Top right half bracket, U+2E23 Half of a bracket.
  • Korean letter, U+3131 Hangul letter kiyeok. A letter of the Korean alphabet.
  • Chinese character, U+4E5B A character of Chinese writing, a single stroke.
  • Seven, U+0037 Digit seven. Typed for ¬ where a typewriter had none.

How this list was compiled: Code points and the Unicode names in the notes are checked against UnicodeData.txt, version 18.0.0 (unicode.org) and printed in sentence case; the short names before them are this page’s own; the other names of ⌐, ⌙ and ∼ are from NamesList.txt of the same version (unicode.org). HTML names: html.spec.whatwg.org. LaTeX macros are those that fontdef.dtx (github.com) or amssymb (mirrors.ctan.org) defines; \text is from amsmath, and \Box and \Diamond are from amsfonts (mirrors.ctan.org), which amssymb loads. Alt codes: unicode.org and unicode.org; Option keys are those of the U.S. layout, github.com. The ways to write not, ¬ in PL/I, ! in C and languages after it, the 7 of typewriters, the order of operators, double and triple negation and the negated quantifiers: en.wikipedia.org. Who used which sign and when: en.wikipedia.org. That a code and then Alt and X gives the character in Word: support.microsoft.com. The overline in circuits and for active low signals: en.wikipedia.org. The tilde in MATLAB, APL and C: en.wikipedia.org. Not equal in each language: en.wikipedia.org. The diamond and the box, and the quotation corners: en.wikipedia.org. Read on December 1, 2026. The laws are worked out over every value and the quantifier lines over every case of a set of three; the grouping and the order are this page’s own. License: own work (facts from the Unicode Character Database, Unicode License v3, and from Wikipedia, CC BY-SA 4.0, restated in this site's own words; names marked as Unicode's are quoted from NamesList.txt, Copyright © 1991-2026 Unicode, Inc., unicode.org)

How it works

The negation symbol is ¬, also called the not sign or logical not symbol: ¬p is true when p is false, and false when p is true. ∼, !, ′, N and a bar say the same in other books.

Read the full guide

Which sign does your course use?

¬ and ∼ come from logic: ∼ is in a paper of Russell’s of 1908, ¬ in one of Heyting’s of 1930. A bar, p̅, is written in circuits and for sets. p′ is read p prime or p complement. ! is code, and Np Polish notation. Keep to the one in your book.

How far ¬ reaches

It binds first: ¬p ∧ q negates only p. With brackets, ¬(p ∧ q), it takes both, and De Morgan’s law gives ¬p ∨ ¬q. Passing a quantifier it turns ∀ into ∃ and ∃ into ∀. Two in a row cancel: ¬¬p ≡ p.

  • A bar over several characters takes U+0305 after each of them, as in A̅+̅B̅.

Questions and answers

How do you type the not sign?

Windows: hold Alt, type 170 or 0172 on the number pad. Mac, U.S. layout: Option+L. Word: type 00AC, then Alt+X. HTML: &not;. LaTeX: \neg or \lnot.

Is ~ the same as ¬?

In logic, yes. The key types U+007E; the sign made for mathematics is ∼, U+223C, \sim in LaTeX. In C they part: ! is not, and ~ turns over every bit of a number.

What is the negation of an implication in discrete mathematics?

¬(p → q) is p ∧ ¬q: p holds and q fails. It is not ¬p → ¬q. The struck arrow ⇏ says does not imply.

How do you strike out a sign to negate it?

≠, ∉, ⊄ and ∄ are characters of their own. For another sign, type U+0338 after it, as in ∝̸. In LaTeX, write \not before it: \not\propto.

Is ⌐ a negation symbol too?

No. It is the reversed not sign, Alt+169, which Unicode also calls beginning of line. 乛 is no ¬ either: it is a Chinese character.