Degree symbol (°) and temperature signs
The degree sign ° (U+00B0) writes temperatures (25 °C), angles (90°) and coordinates (23° 33′ 01″ S). It is not the letter o, nor the masculine ordinal indicator º (1º), which look alike in many fonts but are different characters and break searches, sorting and text-to-speech.
The tool above opens on the search "degree". Below, 8 characters of this category. The degree sign first, then its look-alikes (ordinal indicator, ring above), the Celsius and Fahrenheit characters, the Kelvin sign and the prime marks for minutes and seconds of arc.
Table with codes
| Symbol | Unicode name | Code point | HTML | Windows Alt | Mac (US) |
|---|---|---|---|---|---|
| ° | degree sign | U+00B0 | ° ° | Alt+0176 | Option+Shift+8 |
| º | masculine ordinal indicator | U+00BA | º º | Alt+0186 | Option+0 |
| ˚ | ring above | U+02DA | ˚ | - | - |
| ℃ | degree celsius | U+2103 | ℃ | - | - |
| ℉ | degree fahrenheit | U+2109 | ℉ | - | - |
| K | kelvin sign | U+212A | K | - | - |
| ′ | prime | U+2032 | ′ ′ | - | - |
| ″ | double prime | U+2033 | ″ ″ | - | - |
The Alt column uses the numeric keypad with Num Lock on: a code with a leading zero (0169) is Windows-1252 and works on any Windows, a code without it comes from the OEM code page of the system (437 on a US one) and may differ elsewhere. The Mac column is the Option shortcut on a US keyboard; "-" means there is none. Names are the official Unicode names, in English.
How to type them
The examples use ° (U+00B0); the same methods work for every character in the table with its own code.
| Where | How |
|---|---|
| Any app | Copy ° from the table above and paste it. |
| Windows Alt | Hold Alt and type the number on the numeric keypad (Num Lock on): Alt+0176 gives °. |
| Word | Type B0 and press Alt+X: Word turns the hex code U+00B0 into °. |
| macOS | With the US keyboard press Option+Shift+8. Any character: enable Unicode Hex Input, hold Option and type B0. |
| Linux | Press Ctrl+Shift+U, type B0 and press Enter (GTK and many desktop apps). |
| HTML / CSS / JS | ° or ° in HTML, \B0 in a CSS content value, \u00B0 in a JavaScript string. |
Good to know
- The best way to write a temperature is the degree sign followed by the letter, with a space before it: 25 °C, as the SI recommends. The one-character ℃ (U+2103) exists for East Asian typography but renders narrower and is not needed in Western text.
- Alt+0176 types ° on every Windows, Option+Shift+8 on a US Mac keyboard, and Alt+248 on a US system with the OEM code page. On a phone, hold the zero key on the numeric keyboard to get the degree sign.
- For angles, minutes and seconds use the primes ′ (U+2032) and ″ (U+2033), not the apostrophe and the quotation mark: 23° 33′ 01″ is a true coordinate; with ASCII quotes it looks right but is typed with different characters.
Using the tool
- Read the table or search another word in the tool above (try "snowman").
- Click a character to see its code in several formats and copy the one you need.
- Paste it where you need it, and check the result in the app that will show it: fonts and platforms draw characters differently.
Frequently asked questions
How do I type the degree symbol?
Hold Alt and type 0176 on the numeric keypad (Windows), press Option+Shift+8 (Mac, US layout) or copy ° from this page. In HTML it is ° or °.
What is the difference between ° and º?
° (U+00B0) is the degree sign, a round ring; º (U+00BA) is the masculine ordinal indicator, a small raised o underlined in some fonts, used for 1º or Nº. Using one for the other breaks search and screen readers.
What is the code point of °?
° is U+00B0 (176 in decimal), named degree sign in Unicode. In HTML write °, in CSS \B0 and in JavaScript \u00B0.