Degree Symbol °
Click to copy the degree sign. Below: the shortcut for every system, the HTML and LaTeX codes, how to write temperatures correctly, and a checker for the characters that look like ° but are not.
Degree and temperature
Angles and coordinates
Lookalikes that are not the degree sign
Each click copies that symbol to your clipboard and adds it to this box.
How to type the degree symbol
| Where | Shortcut |
|---|---|
| Mac | Option + Shift + 8 (U.S. keyboard layout) |
| Windows | Hold Alt and type 0176 on the numeric keypad (or the shorter Alt + 248). Without a keypad: Windows key + . (period), then Symbols |
| Microsoft Word | Type 00B0, then press Alt + X |
| Linux (GTK apps) | Ctrl + Shift + U, then b0, then Enter |
| Phones | Touch and hold keys on the number and symbol keyboard to see extra characters, or paste it from this page |
| HTML | ° or ° or ° |
CSS content | "\00B0" |
| JavaScript / JSON | "°" |
| Python | "°" or "\N{DEGREE SIGN}" |
| LaTeX | $90^\circ$ in math, \textdegree in text, \qty{20}{\degreeCelsius} with siunitx |
The Mac shortcut is from the macOS U.S. layout in the Unicode CLDR keyboard data. The Windows Alt+0176 code is the degree sign's position in the Windows-1252 character set and Alt+248 its position in the old DOS code page 437; both need Num Lock on. Word's Alt+X is documented in Microsoft's Word shortcuts.
Is this really a degree sign?
Several characters look almost the same as ° at normal text size. They break search, spreadsheets that parse 20°, and screen readers, which read the masculine ordinal º as "o". On a Mac the wrong ones are one key away: on the U.S. layout Option + 0 types º and Option + K types ˚, while the real degree sign needs Shift too (Option + Shift + 8). Paste a value here to see what it contains.
Writing temperatures and angles
| Write | Not | Why |
|---|---|---|
| 20 °C | 20°C, 20 ° C | The SI Brochure puts a space between the number and the unit, and °C is one unit symbol |
| 30° 22′ 8″ | 30 ° 22 ′ | Plane angles are the SI exception: no space before °, ′ and ″ |
| 300 K | 300 °K | Kelvin has no degree sign |
| °C (two characters) | ℃ (U+2103) | ℃ and ℉ exist for compatibility with old East Asian character sets; Unicode normalization (NFKC) turns them back into ° + C |
Spacing rules: BIPM SI Brochure, 9th edition, section 5.4.3: "a space is always used to separate the unit from the number ... The only exceptions to this rule are for the unit symbols for degree, minute and second for plane angle." Some house styles (AP, for example) write 20°C or 20 degrees; follow yours if it says otherwise.
For minutes and seconds of arc, use the prime ′ (U+2032) and double prime ″ (U+2033), not the apostrophe and quotation mark. A word processor's "smart quotes" will turn ' and " into curly quotes, which are wrong in coordinates such as 51° 30′ 26″ N.
The degree symbol in Markdown
Markdown has no special syntax for it, and none is needed: a Markdown file is Unicode text, so paste ° directly. The other options:
| Method | Write | Notes |
|---|---|---|
| Character | Bake at 180 °C | Works everywhere, including code blocks |
| HTML entity | Bake at 180 °C | CommonMark and GitHub render it as °. Inside backticks it shows literally |
| Math | $90^\circ$ | Only where math is enabled (GitHub, Obsidian, Pandoc, our math editor) |
All degree and angle symbols with codes
| Symbol | Unicode name | Code point | HTML | CSS | Windows Alt code |
|---|---|---|---|---|---|
| Degree and temperature | |||||
| ° | degree sign | U+00B0 | ° or ° | \00B0 | Alt+0176 or Alt+248 |
| ℃ | degree celsius | U+2103 | ℃ | \2103 | |
| ℉ | degree fahrenheit | U+2109 | ℉ | \2109 | |
| K | kelvin sign | U+212A | K | \212A | |
| Angles and coordinates | |||||
| ′ | prime | U+2032 | ′ or ′ | \2032 | |
| ″ | double prime | U+2033 | ″ or ″ | \2033 | |
| ‴ | triple prime | U+2034 | ‴ or ‴ | \2034 | |
| ∠ | angle | U+2220 | ∠ or ∠ | \2220 | |
| ∡ | measured angle | U+2221 | ∡ or ∡ | \2221 | |
| ∢ | spherical angle | U+2222 | ∢ or ∢ | \2222 | |
| Lookalikes that are not the degree sign | |||||
| º | masculine ordinal indicator | U+00BA | º or º | \00BA | Alt+0186 or Alt+167 |
| ˚ | ring above | U+02DA | ˚ or ˚ | \02DA | |
| ∘ | ring operator | U+2218 | ∘ or ∘ | \2218 | |
| ⁰ | superscript zero | U+2070 | ⁰ | \2070 | |
| ᵒ | modifier letter small o | U+1D52 | ᵒ | \1D52 | |
| ◦ | white bullet | U+25E6 | ◦ | \25E6 | |
| ゚ | halfwidth katakana semi-voiced sound mark | U+FF9F | ゚ | \FF9F | |
More symbols to copy
- Special Characters: every symbol group on one page
- Infinity Symbol: ∞ and ♾ with codes
- Pi Symbol: π Π ϖ and math forms
- Math Symbols: × ÷ ± ≠ ≤ ≥ √ and more
- Section and Paragraph Symbols: § ¶ © ® ™
- Currency Symbols: € £ ¥ ₹ ₿ and 30 more
- Em Dash: dashes and a dash replacer
- Bullet Point Symbols: bullets and a list converter
- Arrow Symbols: arrows with LaTeX commands
- Check Mark Symbols: checks, crosses and boxes
- Invisible Character: blank characters and a hidden character finder