Plus-Minus Sign in Unicode: How to Identify, Type and Verify ±

Identify the plus-minus sign (±) in Unicode: its code point U+00B1, encodings, HTML entities and input methods, and how to tell it apart from ∓ and ASCII +-.

The plus-minus sign (±) looks simple, but text that appears to contain it may actually hold something else: an ASCII plus followed by a hyphen, the related minus-or-plus sign, or a garbled sequence left behind by an encoding mismatch. This guide shows which Unicode character the real plus-minus sign is, how to inspect a piece of text to confirm what it contains, and how to insert the correct character without changing anything else.

What Unicode inspection does for your text

A Unicode inspector, sometimes called a character identifier or code point viewer, takes a string of text as input and reports what each character actually is. A code point is the unique number Unicode assigns to a character, written in the form U+ followed by hexadecimal digits. For each character, an inspector typically shows the code point, the official character name, and often the byte sequence used to store it in encodings such as UTF-8 or UTF-16.

Inspection is read-only: it describes your text without altering it. That makes it the right first step when you need to confirm whether a symbol is the genuine plus-minus sign before searching, replacing, validating or publishing content. Features vary between tools, and no specific inspection tool was evaluated for this guide, so check which details a given tool displays before relying on it.

The plus-minus sign at a glance

The plus-minus sign is defined in the Unicode Standard in the Latin-1 Supplement block. Its core identifying values are listed below.

Property | Value
Character | ±
Code point | U+00B1
Official name | PLUS-MINUS SIGN
Unicode block | Latin-1 Supplement
General category | Sm (Math Symbol)
Decimal value | 177
UTF-8 bytes | C2 B1
UTF-16 code unit | 00B1
Byte in ISO-8859-1 and Windows-1252 | B1
HTML named entity | ±
HTML numeric references | ± or ±
CSS escape | \00B1
LaTeX command | \pm

The plus-minus sign has no decomposition mapping, so Unicode normalization (NFC, NFD, NFKC or NFKD) leaves it unchanged. Normalizing text will not convert it into a plus and a hyphen, or the other way around.

Characters commonly confused with ±

What you see | Code point(s) | Name | How it differs
± | U+00B1 | PLUS-MINUS SIGN | The standard single character for "plus or minus"
∓ | U+2213 | MINUS-OR-PLUS SIGN | Minus is on top; used in formulas paired with ±, such as a ± b ∓ c
+- | U+002B U+002D | PLUS SIGN, HYPHEN-MINUS | Two separate ASCII characters, often used as a plain-text substitute
± | U+00C2 U+00B1 | LATIN CAPITAL LETTER A WITH CIRCUMFLEX, PLUS-MINUS SIGN | Mojibake: UTF-8 bytes C2 B1 wrongly decoded as Windows-1252 or ISO-8859-1

The minus-or-plus sign belongs to the Mathematical Operators block. Its HTML named entities are ∓ and ∓, its numeric reference is ∓, its UTF-8 bytes are E2 88 93, and its LaTeX command is \mp. Because ± and ∓ carry opposite meanings in an expression, swapping them changes the content, not just the appearance.

How to identify the plus-minus sign step by step

  • 1. Copy the exact symbol from the source text, including the characters immediately around it, so you can see whether it is one character or two.
  • 2. Paste it into a Unicode inspector or run one of the code snippets below.
  • 3. Count the characters reported. A genuine plus-minus sign is exactly one code point.
  • 4. Check the code point. U+00B1 confirms the plus-minus sign; U+2213 means minus-or-plus; U+002B followed by U+002D means an ASCII substitute.
  • 5. Confirm the name. The inspector should report PLUS-MINUS SIGN.
  • 6. If you see two characters such as ±, treat it as an encoding problem rather than a symbol choice and fix the encoding at its source.

Inspecting the character in code

If you have a programming environment available, a few lines are enough to identify the character. The comments show the results expected from the Unicode data for U+00B1; they are illustrative and were not executed for this article.

# Python example
import unicodedata

ch = "±"
print(len(ch))                  # expected: 1
print(f"U+{ord(ch):04X}")       # expected: U+00B1
print(unicodedata.name(ch))     # expected: PLUS-MINUS SIGN
print(ch.encode("utf-8"))       # expected: b'\xc2\xb1'
// JavaScript example
const ch = "±";
console.log(ch.length);                                  // expected: 1
console.log(ch.codePointAt(0).toString(16).toUpperCase()); // expected: B1
console.log(ch === "\u00B1");                            // expected: true
# Shell example: show the stored bytes of the character
printf '±' | od -An -tx1
# expected bytes in a UTF-8 terminal: c2 b1

The shell example depends on your terminal and files using UTF-8. In a different encoding, the bytes reported will differ, which is itself a useful clue when tracking down garbled text.

Typing or inserting the correct character

Once you know you need U+00B1, these common input methods produce it. Exact behavior depends on your operating system, keyboard layout and application settings.

Environment | Method
Windows (numeric keypad) | Hold Alt and type 0177
Microsoft Word | Type 00B1, then press Alt+X
macOS (US layout) | Option+Shift+=
Linux (GTK or IBus input) | Ctrl+Shift+U, type b1, then press Enter or Space
Linux with a Compose key | Compose, then + and -
HTML | ± or ±
CSS content | "\00B1"
Python or JavaScript string | "\u00B1"
LaTeX (math mode) | \pm

Searching and replacing without unintended changes

When you clean up text, target the exact code points instead of the visual appearance. For example, if you want to replace ASCII +- substitutes with the real sign, search for the two-character sequence U+002B U+002D only where it means "plus or minus". A blanket replacement could also alter unrelated content, such as command-line flags, diff markers or code where +- has a different meaning.

Example: in the measurement string "5 +- 0.2 mm", replacing "+-" with "±" gives "5 ± 0.2 mm". The spaces around the symbol are part of the original text and remain unchanged unless you deliberately remove them. Afterward, inspect the result again to confirm the new symbol is a single U+00B1 character.

Gaps in this guide

No specific Unicode inspection tool, version or test result was supplied, so this guide does not recommend or compare particular tools, and the code outputs shown are expected results rather than verified runs. The character properties listed come from the Unicode Standard and widely documented encodings. Keyboard shortcuts can differ by layout, locale and software version, so confirm them in your own environment.