U+2212

Minus sign

Minus sign is a monochrome text character from the Unicode Mathematical Operators block, listed here under Math. Copy it with one click, or use the hex, octal, decimal and HTML entity codes below to embed it in web pages, code, and documents. It is often searched for as "subtract".

Quick facts

Unicode
U+2212
Decimal
8722
Hex
0x2212
Octal
0o21022

Unicode identity

FormatValueCopy
Code pointOfficial Unicode notationU+2212
Official nameUnicodeData.txt, Unicode 18.0.0MINUS SIGN
DecimalBase 108722
HexadecimalBase 160x2212
OctalBase 80o21022
BinaryBase 20010001000010010
General categorySymbol, mathSm
Unicode blockU+2200–U+22FFMathematical Operators
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)−
HTML entity (hex)−
HTML entity (named)−
CSS content escapeUse inside content: "…"\2212
URL encodedPercent-encoded UTF-8%E2%88%92

Programming languages

FormatValueCopy
JavaScript / TypeScript\u2212
JSONUTF-16 surrogate pairs\u2212
Python\u2212
Java / C# / Kotlin\u2212

Byte encodings

FormatValueCopy
UTF-83 bytesE2 88 92
UTF-16 (BE)2212
UTF-32 (BE)00002212

How to type Minus sign

  • Windows

    Hold Alt and type +2212 with the hex numeric keypad option enabled, or type 2212 then press Alt+X in Word and most Office apps.

  • macOS

    Enable the Unicode Hex Input keyboard, hold Option, and type 2212. Or open Character Viewer (Control+Command+Space) and search "Minus sign".

  • Linux

    Press Ctrl+Shift+U, type 2212, then press Space or Enter in GTK apps. IBus and most terminals support the same sequence.

  • HTML, CSS & code

    Paste the character directly, or use the escapes above: − in HTML, \2212 in CSS, and \u2212 in JavaScript.

Official Unicode reference

Character name
MINUS SIGN
Block
Mathematical Operators (U+2200–U+22FF)
General category
Sm — Symbol, math

Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Mathematical Operators block: U2200.pdf (PDF, unicode.org).

Frequently asked questions

How do I copy the Minus sign symbol?

Click the Copy button at the top of this page, or select − and press Ctrl+C (Cmd+C on Mac). It is plain Unicode text, so it pastes into documents, chats, code, and design tools.

What is the Unicode code point for Minus sign?

Minus sign is U+2212 (decimal 8722, hexadecimal 0x2212, octal 0o21022). It lives in the Mathematical Operators block (U+2200–U+22FF) of the Basic Multilingual Plane (BMP, Plane 0).

What is the official Unicode name of Minus sign?

The Unicode Standard (version 18.0.0) names this character "MINUS SIGN". Its General_Category is Sm (Symbol, math).

What is the HTML code for Minus sign?

Use − or −, or the named entity −. In CSS, use content: "\2212".

How do I type Minus sign in code?

JavaScript: "\u2212". Python: "\u2212". JSON and Java: "\u2212". The UTF-8 byte sequence is E2 88 92.

Is Minus sign an emoji?

No. Minus sign is a text symbol and renders as a monochrome glyph in the current font. Some platforms may offer an emoji variant when U+FE0F is appended.

View all math