Search
Search for a symbol or emoji...
−
−
Minus Sign Symbol −
Minus Sign Symbol Information
| Symbol Name | Minus Sign |
| Unicode Version | 1.1 (June 1993) |
| Unicode | U+2212 |
| CSS Code | \2212 |
| HTML Entity | − |
| Hex Code | − |
| HTML Code | − |
| Latex | - |
| Symbol | − |
Minus Sign Symbol Encoding
| UTF-8 | 0xE2 0x88 0x92 |
| UTF-16 | 0x2212 |
| UTF-32 | 0x00002212 |
Minus Sign Symbol in Latex
Minus Sign
1\documentclass{article}
2\begin{document}
3-
4\end{document}How to add minus sign symbol via keyboard on different Operating systems
You can type the minus sign symbol on most modern devices with the help of following methods:
How to type minus sign symbol on Microsoft Word
You can type the minus sign in Microsoft Word using steps mentioned below:
- Place your cursor in the text area where you need to insert the symbol and type 2212
- Without moving the cursor press keys Alt + x together
- The original 2212 is now transformed into −
How to type minus sign symbol on Microsoft Windows
You can type the minus sign on Microsoft windows using following steps:
- Hold Alt and press to type minus sign on your windows machine.
How to type minus sign symbol on Mac OS
You can type the minus sign on Mac OS using following steps:
- Place your cursor in the text area where you need to insert the symbol
- Press Ctrl + ⌘ Command + ⎵ Space to bring up the Character Viewer. Alternatively, choose Edit ⇒ Emoji & Symbols
- Type "Minus Sign" in the search field at the top and press Enter
- The symbol should appear. Click on it to insert it into your text


How to type minus sign symbol on Linux
You can type the minus sign on Linux using following steps:
- Place your cursor in the text area where you need to insert the symbol
- Hold ⇧ Shift + Ctrl and press the letter + U
- Press keys 2212 consecutively
- And then press ↵ Enter , the desired symbol will be added to your document
How to type minus sign symbol on IOS and Android
The easiest way to type the minus sign symbol on ios and android is to copy and paste it wherever you need it.
How to use minus sign in CSS
//CSS Example
1span {
2 content: \2212;
3 }How to use minus sign in HTML
//HTML Example
1<span>−</span>Minus Sign symbol representation in programming languages
Minus Signsymbol's representation in different programming languages can be found in table below:
| Language | Representation |
|---|---|
| Rust | \u{2212} |
| Ruby | \u{2212} |
| Python | \u2212 |
| PHP | \u{2212} |
| Perl | \x{2212} |
| Java | \u2212 |
| Modern JavaScript - Since ES6 | \u{2212} |
| JavaScript | \u2212 |
| Go | \u2212 |
| C# | \u2212 |
| C and C++ | \u2212 |
| Bash and Zsh - inside echo -e | \u2212 |
| RFC 5137 | \u'2212' |
