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 SIGN

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

WhereShortcut
MacOption + Shift + 8 (U.S. keyboard layout)
WindowsHold Alt and type 0176 on the numeric keypad (or the shorter Alt + 248). Without a keypad: Windows key + . (period), then Symbols
Microsoft WordType 00B0, then press Alt + X
Linux (GTK apps)Ctrl + Shift + U, then b0, then Enter
PhonesTouch 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

WriteNotWhy
20 °C20°C, 20 ° CThe 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 K300 °KKelvin 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:

MethodWriteNotes
CharacterBake at 180 °CWorks everywhere, including code blocks
HTML entityBake at 180 °CCommonMark 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

SymbolUnicode nameCode pointHTMLCSSWindows Alt code
Degree and temperature
°degree signU+00B0° or °\00B0Alt+0176 or Alt+248
℃degree celsiusU+2103℃\2103
℉degree fahrenheitU+2109℉\2109
Kkelvin signU+212AK\212A
Angles and coordinates
′primeU+2032′ or ′\2032
″double primeU+2033″ or ″\2033
‴triple primeU+2034‴ or ‴\2034
∠angleU+2220∠ or ∠\2220
∡measured angleU+2221∡ or ∡\2221
∢spherical angleU+2222∢ or ∢\2222
Lookalikes that are not the degree sign
ºmasculine ordinal indicatorU+00BAº or º\00BAAlt+0186 or Alt+167
˚ring aboveU+02DA˚ or ˚\02DA
∘ring operatorU+2218∘ or ∘\2218
⁰superscript zeroU+2070⁰\2070
ᵒmodifier letter small oU+1D52ᵒ\1D52
◦white bulletU+25E6◦\25E6
゚halfwidth katakana semi-voiced sound markU+FF9F゚\FF9F

More symbols to copy