How to type the degree symbol (°) on any device
How to type the degree symbol on Windows, Mac, Linux, Chromebook, iPhone and Android, plus Word, Google Docs, HTML and the Unicode code point U+00B0.
To type the degree symbol (°) on Windows, hold Alt and type 0176 on the numeric keypad. On a Mac with the US English layout, press Option, Shift and 8 together.
Those two cover most keyboards. The rest of this article covers how to type the degree symbol without a number pad, on other keyboard layouts, on Linux, Chromebooks and phones, and in Word, Google Docs and HTML.
Degree symbol shortcuts at a glance
| Where | Method |
|---|---|
| Windows, with a numeric keypad | Hold Alt, type 0176 on the keypad, release Alt |
| Windows, any keyboard | Windows key + period, then Symbols |
| Mac, US English layout | Option + Shift + 8 |
| Mac, any layout | Fn/Globe + E, then search "degree" |
| Linux (GNOME) | Ctrl + Shift + U, type 00b0, press Space or Enter |
| Linux, with a Compose key | Compose, o, o |
| Chromebook | Search + Shift + Space, then Symbols |
| iPhone | Number keyboard, touch and hold 0 |
| Word for Windows | Type 00B0, then press Alt + X |
| Google Docs | Insert, Special characters, search "degree" |
| HTML | ° or ° |
How to type the degree symbol on Windows
The Alt code: Alt+0176
- Click where you want the symbol.
- Turn on Num Lock if your keyboard needs it.
- Hold down the Alt key.
- Type 0176 on the numeric keypad.
- Release Alt. The ° appears.
Microsoft's own page for this shortcut says it "only works for keyboards that include a 10-key numeric pad." The number keys above the letters do not work for Alt codes. If nothing happens, check that Num Lock is on, and use the keypad digits.
You may also see Alt+248 recommended. It works too, but for a different reason: codes without a leading zero come from the old DOS code page, where the degree sign is number 248 in both code page 437 (US) and code page 850 (Western Europe). The leading zero in 0176 picks the Windows code page instead. If one code gives the wrong character on your system, try the other. The Alt codes article explains the difference.
The emoji and symbol panel (no number pad needed)
On a laptop with no numeric keypad, use the panel built into Windows:
- Press the Windows key and the period key (.) together while typing.
- In the panel that opens, choose Symbols.
- Find the degree sign in the list and click it.
Microsoft describes this route for Windows 11. Windows 10 has the same Windows key + period shortcut for its emoji panel.
Character Map
Character Map is a small Windows program that shows every character in a font. Search for it from the Start menu, find the degree sign, select it, and copy it. Then paste it where you need it.
How to type the degree symbol on a Mac
On the US English layout, press Option + Shift + 8. The same shortcut works in Word, Pages, browsers and most other Mac apps.
Two near misses are worth knowing, because they look almost the same on screen:
| Keys (US layout) | Character | Name |
|---|---|---|
| Option + Shift + 8 | ° | Degree sign, U+00B0 |
| Option + 0 | º | Masculine ordinal indicator, U+00BA |
| Option + K | ˚ | Ring above, U+02DA |
On other keyboard layouts the shortcut is often different. To find it on yours, open the Keyboard Viewer from the Input menu in the menu bar and hold Option, then Option and Shift. Apple's guide says the viewer then shows the special characters those keys type.
If you cannot find it, use the Character Viewer: press Fn/Globe + E, or choose Edit, Emoji & Symbols, then type "degree" in the search field and click the symbol.
How to type the degree symbol on Linux
Linux has two common methods. Both work in most GNOME and GTK apps, and other desktops have similar features.
- Unicode entry: press Ctrl + Shift + U, type
00b0(the code point of the degree sign), then press Space or Enter. GNOME's help documents this method, and the Characters app shows a character's code after "U+". - Compose key: turn on a Compose key in Settings, Keyboard, under Type Special Characters. Then press Compose, then o, then o. The standard compose table also accepts Compose, asterisk, 0.
The Characters app itself is a third option: open it, search for "degree", and copy the sign.
How to type the degree symbol on a Chromebook
- Press Search + Shift + Space (or Launcher + Shift + Space), or right-click a text field and choose Emoji.
- Select Symbols, to the right of the search bar.
- Type "degree" in the search bar, or look in the Math or Miscellaneous groups.
- Click the degree sign.
How to type the degree symbol on iPhone and Android
iPhone and iPad
- Tap the 123 key to switch to the number keyboard.
- Touch and hold the 0 key.
- Slide your finger onto ° and lift it.
Apple's guide describes the general method: touch and hold the letter, number or symbol related to the character you want, then slide to choose it. The degree sign under 0 is the placement Apple Community answers give for the standard keyboard.
Android
Android phones use different keyboard apps, so the place of the degree sign depends on yours. In many keyboards it is under a long press of the 0 key on the number view, or on the second symbols page (often reached with ?123 and then a key marked =< or 1/2). If you cannot find it, search for "degree" in the keyboard's emoji or symbol search if it has one, or copy it from a page and paste it.
Degree symbol in Word and Google Docs
Microsoft Word
- Alt code: Alt+0176 on the numeric keypad, as above.
- Alt+X: type
00B0and then press Alt and X. Word turns the code into °. This works without a number pad. Microsoft notes that if Word converts the wrong digits, select just the code first. - Symbol menu: choose Insert, Symbol, More Symbols, pick your font, set Subset to Latin-1 Supplement, then select the degree sign and Insert. After the first use it appears in the recently used list.
- Word for Mac: the Mac shortcut and the Character Viewer both work inside Word.
Google Docs
- Click Insert, Special characters.
- Type "degree" in the search box, or draw the symbol in the drawing box and pick from the matches.
- Click the degree sign to insert it.
The keyboard methods for your system also work in Google Docs, as they do in any web app.
Degree symbol in HTML and Unicode
The degree sign is Unicode code point U+00B0, named DEGREE SIGN.
| Format | Code |
|---|---|
| Unicode code point | U+00B0 |
| HTML named entity | ° |
| HTML decimal reference | ° |
| HTML hexadecimal reference | ° |
| CSS content | "\00B0" |
| Windows Alt code | Alt+0176 |
In a web page saved as UTF-8 you can also type ° directly, and it will display correctly.
Unicode also has single characters for degree Celsius (℃, U+2103) and degree Fahrenheit (℉, U+2109). The Unicode Standard lists both as compatibility characters that break down into the degree sign followed by C or F, which is how most style guides write temperatures. Use ° followed by the letter, as in 21 °C or 70 °F, unless you have a reason to use the single characters.
Look-alike characters to avoid
A superscript o, the ordinal º, and the ring above ˚ can all pass for a degree sign at a glance. They are different characters to a computer, so a search for "21°" will not find "21º", and a screen reader may read them aloud as something else. If you copy a degree sign from elsewhere, paste it into the word counter or a search box to make sure it is the one you meant.
If a shortcut does nothing at all, the key itself may be the problem. The keyboard tester shows whether Alt, Option, Shift and the keypad digits register, and keyboard not working walks through the usual causes. Once the shortcut works, try it on the online typewriter.
Sources
- Insert degree symbol, Microsoft Support
- Insert ASCII or Unicode Latin-based symbols and characters, Microsoft Support
- Windows keyboard tips and tricks, Microsoft Support
- Use emoji and symbols on Mac, Apple Support
- Use the Keyboard Viewer on Mac, Apple Support
- Type with the onscreen keyboard on iPhone, Apple Support
- Typing degree symbol on iPhone, Apple Community
- Unable to type the degree symbol on Mac mini keyboard, Apple Community
- Insert special characters, GNOME Help
- Compose sequences for en_US.UTF-8, X.Org libX11
- Find emojis, symbols, emoticons and GIFs, Chromebook Help
- Quickly find and insert special characters, Google Workspace Updates
- Unicode Names List
- Code page 437 and Windows 1252 mapping tables, Unicode Consortium
- Named character references, HTML Standard
Questions people ask
- What is the Alt code for the degree symbol?
- Hold Alt and type 0176 on the numeric keypad, then release Alt. Microsoft documents Alt+0176 and notes that it only works on keyboards with a numeric keypad. Alt+248 gives the same sign on systems that use the common DOS code pages 437 and 850.
- How do I type the degree symbol on a Mac?
- On the US English keyboard layout, press Option, Shift and 8 together. On other layouts the key can differ, so open the Keyboard Viewer and hold Option and Shift to see where it is, or press Fn/Globe and E to open the Character Viewer and search for degree.
- How do I type the degree symbol on a laptop without a number pad?
- On Windows, press the Windows key and the period key, choose Symbols, and pick the degree sign. In Word you can also type 00B0 and then press Alt and X. Alt codes need a numeric keypad, so they will not work from the number row.
- How do I type the degree symbol on a phone?
- On an iPhone, switch to the number keyboard, touch and hold 0 and slide to the degree sign. On Android the method depends on the keyboard app; in many keyboards it sits on a symbols page or under a long press of 0.
- Is the degree symbol the same as a superscript o?
- No. The degree sign is U+00B0. The masculine ordinal indicator º (U+00BA) and the ring above ˚ (U+02DA) look similar but are different characters, and they can confuse search, screen readers and data that expects a real degree sign.