How to Type the Degree Symbol (°) on Any Keyboard
Mac: Option + Shift + 8. Windows: Alt + 0176. Plus iPhone, Android, Linux, Excel and the shortcuts that type º or ˚ instead.

On a Mac with a U.S., British or ABC keyboard layout, press Option + Shift + 8. On Windows, hold Alt and type 0176 on the numeric keypad. On iPhone and Android, Apple and Google do not document which key holds the degree symbol, so the way that always works is to copy this one, °, and paste it. Two common Mac shortcuts give you a character that looks almost the same but is not a degree sign: Option + 0 types º and Option + K types ˚. On Windows, Alt + 176 without the zero types ░, a shade block that is easy to spot because it looks nothing like °.
FontVibe, the site that publishes this guide, is an AI design platform built around text effects: you type your words, pick a style or describe the job, and get a finished image. If you only need one ° right now, tap it in the row of buttons under this paragraph or use the degree symbol copy and paste page. In the quick answer table, the "You get" column says which character each method produces, and the "Source" column says how we know. The Mac shortcuts come from the keyboard layout data that ships with macOS 26.5, which we read on 24 November 2026. The Windows Alt codes come from Microsoft's help pages and the Windows code page tables published by Unicode. We decoded the HTML codes and rendered the CSS code in a browser ourselves. For symbol panels, phones, Chromebook and Linux we followed each vendor's help page, checked on 24 November 2026; where a page only shows how to open a panel, the table says "not checked", and where a page says nothing at all, we say so.
Quick answer: degree symbol shortcuts by device
| Device | How | You get | Source |
|---|---|---|---|
| Mac (U.S., British, ABC layout) | Option + Shift + 8 | ° U+00B0 | macOS 26.5 layout data |
| Mac (U.S., British, ABC layout) | Option + 0 | º U+00BA, looks like ° but is not | macOS 26.5 layout data |
| Mac (U.S., British, ABC layout) | Option + K | ˚ U+02DA, looks like ° but is not | macOS 26.5 layout data |
| Mac (German layout) | Shift + ^ | ° U+00B0 | macOS 26.5 layout data |
| Mac (any layout) | Globe key + E opens the Character Viewer; search "degree" | not checked | Apple docs, for opening the viewer only |
| Windows (numeric keypad) | Alt + 0176 | ° U+00B0 on English and European-language Windows | Microsoft docs, Windows code page tables |
| Windows (numeric keypad, U.S. and European Windows) | Alt + 248 | ° U+00B0 | DOS code page tables |
| Windows (numeric keypad, U.S. English) | Alt + 176 | ░ U+2591, a shade block, not a degree sign | code page 437 table |
| Windows, Outlook | Alt + 0186 | º U+00BA, looks like ° but is not | Microsoft docs, which mislabel it "degree symbol" |
| Windows 10 / 11 (any keyboard, no keypad needed) | Windows key + . opens the emoji keyboard; look under symbols | not checked | Microsoft docs, for opening the panel only |
| Microsoft Office apps (not PowerPoint) | type 00B0, then Alt + X | ° U+00B0 where the app supports it | Microsoft docs, which do not list the apps |
| Excel, Google Sheets | =UNICHAR(176) | ° U+00B0 | Microsoft and Google docs |
| Google Docs | Insert › Symbols › Special characters, enter 00B0 | not checked | Google docs |
| iPhone, Android | not documented by Apple or Google | — | see the iPhone and Android sections |
| Linux (GNOME) | Ctrl + Shift + U, 00b0, Space | ° U+00B0 | GNOME docs |
| HTML, CSS | °, °, "\00B0" | ° U+00B0 | decoded, and rendered in Chrome |
"Looks like ° but is not" marks the º and ˚ rows: different characters that pass for a degree sign at normal text size. The section Did you type the right character? explains why that matters. "Not checked" means the source only shows how to open a panel or menu; after you pick the ° there, check it with the method in How to check which one you have.
How to type the degree symbol on a Mac
On a U.S., British or ABC keyboard layout, Option + Shift + 8 types the degree symbol °. Option + 0 does not, even though what it types looks almost the same. We read every key of the layouts that ship with macOS 26.5, with and without Shift and Option, and on these three layouts only one combination produces U+00B0:
| Keys (U.S., British, ABC layouts) | Character | Unicode name |
|---|---|---|
| Option + Shift + 8 | ° | DEGREE SIGN, U+00B0 |
| Option + 0 | º | MASCULINE ORDINAL INDICATOR, U+00BA |
| Option + K | ˚ | RING ABOVE, U+02DA |
The three characters in this table look like a small circle in most fonts. Only Option + Shift + 8 gives a degree sign.
Other Mac keyboard layouts
The shortcut moves when the layout changes. These are the combinations that type ° on the layouts we read, with key names as printed on that layout's keyboard:
| Mac layout | Types ° | Looks like °, but is not |
|---|---|---|
| U.S., British, ABC, Brazilian, Brazilian – Legacy | Option + Shift + 8 | Option + 0 → º |
| German, Austrian, ABC – QWERTZ | Shift + ^ (left of 1) | Option + J → º |
| Swiss German | Shift + § (left of 1) | Option + J → º |
| French | Shift + ) | Option + U → º |
| Italian | Shift + à | Option + K → º |
| Spanish | Option + Shift + º (left of 1) | the º key on its own → º |
| Spanish – Legacy | Option + 8 | Shift + ´ → º |
| Latin American | Shift + the key left of 1 | Option + 0 → º |
| Brazilian – ABNT2 | Option + Shift + 0 | Option + 0 → º |
| Portuguese | Option + º | the º key on its own → º |
macOS has three Brazilian layouts, and ABNT2 puts ° on a different key from the other two. You can see which one you use in System Settings › Keyboard, under Text Input.
The Spanish and Portuguese rows are where most mix-ups start. Both Mac keyboards have a key printed with º, and pressing it types the ordinal indicator, which is correct for writing ordinals such as 2.º and wrong for 25°.
Japanese input on a Mac follows the U.S. rule: in Romaji mode, Option + Shift + 8 types ° (Apple Support: Enter symbols with Japanese input).
Character Viewer: when you do not know the layout
To open the Character Viewer, press the Globe key and E (Apple writes it Fn/Globe-E), or choose Edit › Emoji & Symbols in most apps (Apple Support: Use emoji and symbols on Mac). On a keyboard without a Globe key, use the Edit menu, or turn on "Show Input menu in menu bar" under System Settings › Keyboard › Text Input and open the viewer from that menu (same Apple page). Search "degree" and double-click the °. The viewer works with any keyboard layout, and the same search also finds the single-character ℃ and ℉.
Text replacement: type "deg", get °
If you type degrees every day, set up a replacement once: System Settings › Keyboard › Text Replacements, click +, type "deg" (or any string you never type otherwise) under Replace and ° under With (Apple Support: Replace text and punctuation on Mac). Copy this one so you paste the right character: °. If your Mac, iPhone and iPad have iCloud Drive set up and are signed in to the same Apple Account, the replacement also works on the other devices (Apple Support: Back up and share text replacements).
How to type the degree symbol on Windows
Hold Alt, type 0176 on the numeric keypad with Num Lock on, then let go of Alt. Microsoft documents this, and notes that it only works on keyboards with a numeric keypad (Microsoft Support: Insert degree symbol). The number keys above the letters do not work for Alt codes.
Alt + 0176 looks the number up in the Windows code page of your system. Position 176 is the degree sign in all nine Windows code pages from 1250 to 1258, which cover English, Western and Central European languages, Russian, Greek, Turkish, Hebrew, Arabic, Baltic languages and Vietnamese. On Thai, Japanese, Chinese and Korean Windows it is something else: a Thai letter in code page 874, the half-width katakana ー in code page 932, and the first half of a two-byte character in code pages 936, 949 and 950 (Unicode: Microsoft Windows code page tables). On those systems, use the Windows key + period panel instead.
Alt + 176 and Alt + 0186 give the wrong character
The leading zero matters. Without it, Windows looks the number up in the old DOS character set instead of the Windows one, so that codes people learned in the DOS days keep working (Raymond Chen, Microsoft: The Old New Thing, 2 July 2024). On U.S. English Windows that DOS set is code page 437, where 176 is the shade block ░ and the degree sign is at 248 (Unicode: CP437 to Unicode mapping). The DOS code pages for Western Europe (850), Central Europe (852) and Russian (866) have the same two positions (Unicode: CP850, CP852, CP866). So on those systems Alt + 248 is the other way to get °, and Alt + 176 never is.
Alt + 0186 is a trap with an official label on it. Microsoft's list of international character shortcuts for Outlook calls it "Masculine ordinal indicator or degree symbol (º)" (Microsoft Support: Keyboard shortcuts for international characters). The character it types is º, U+00BA, the Spanish ordinal. It is not a degree symbol. Another Microsoft page makes the same slip in its example: it says to type 0176 for "the degree (º) symbol", but the character in the parentheses is the ordinal º. The code itself is right: 0176 does give ° (Microsoft Support: Insert ASCII or Unicode Latin-based symbols and characters).
No numeric keypad: Windows key + period
On Windows 10 or 11, press the Windows key and the period key together while typing; Microsoft calls the panel that appears the emoji keyboard (Microsoft Support: Windows keyboard tips and tricks). Go to its symbols section and look for ° there. Microsoft's page shows how to open the panel but not where ° sits in it, so check the character once you have it. Character Map has it too; to open it, search for Character Map in Start.
Office apps: 00B0, then Alt + X
Type 00B0 and press Alt + X straight after it, and the code turns into the character. Microsoft documents this for its Office programs but does not list which ones support it; it only names PowerPoint and InfoPath as programs that cannot convert codes this way (Microsoft Support: Insert ASCII or Unicode Latin-based symbols and characters). If the code stays as plain text, use Insert › Symbol instead.
German, Spanish and other Windows layouts
The German Windows layout has the degree sign on the key left of 1: Shift + ^ (Microsoft Learn: German keyboard layout). The Spanish layout has no degree sign on any key. Its key left of 1 types º and ª (Microsoft Learn: Spanish keyboard layout), so on a Spanish keyboard use Alt + 0176 or the Windows key + period panel. As of 24 November 2026, Microsoft's help pages for its Japanese IME and Simplified Chinese IME do not document a way to type °. A 2017 post on Microsoft's Windows Japan blog lists ° among the symbols the Japanese IME offers when you convert the reading ど (Windows Blogs Japan, 13 March 2017). The Windows key + period panel works with both IMEs.
How to type the degree symbol on iPhone
The way that always works on an iPhone is a text replacement. Copy this one first: °. Then go to Settings › General › Keyboard › Text Replacement, tap +, paste ° as the phrase and type "deg" as the shortcut (Apple Support: Use shorthand for frequently used text on iPhone). If you already set one up on your Mac, and both devices have iCloud Drive and the same Apple Account, it is already on your iPhone.
As of 24 November 2026, Apple's iPhone keyboard guide does not say which key holds °. It only says that touching and holding a letter, number or symbol key shows related characters (Apple Support: Type with the onscreen keyboard on iPhone). If you find a ° that way, check it once with the method in How to check which one you have before you use it in anything that gets searched or sorted.
How to type the degree symbol on Android
On Android, the way that always works is copy and paste: take this one, °, or get it from the degree symbol page. As of 24 November 2026, Google's help does not say where the degree symbol sits on Gboard. Its Pixel Tablet help page explains how to reach the second symbol page: tap ?123, then =\<, then the symbol you want (Google: Pixel Tablet Help, use the on-screen keyboard); we found no Pixel phone page with the same steps. Gboard Help also says touching and holding a key shows more options (Gboard Help: Use your keyboard). For Samsung Keyboard, Samsung's help only says to switch to the symbols keyboard and tap 1/2 for more symbols (Samsung UK: How do I use the keyboard on my phone?); it does not say where ° is. Whichever keyboard you use, check any ° you find there once by pasting it into a spreadsheet and running =UNICODE() (see How to check which one you have).
How to type the degree symbol on Chromebook and Linux
On a Chromebook, press Search + Shift + Space, or right-click in a text field and choose Emoji, to open the emoji and symbol picker (Chromebook Help: Find emojis, symbols, emoticons and GIFs); Google's keyboard shortcut list also gives it as Launcher + Shift + Space (Chromebook Help: Chromebook keyboard shortcuts). The picker has a Symbols tab with six categories: Arrows, Bullet/Stars, Currency, Letterlike, Math and Miscellaneous. Google's page does not say which one holds °, so look through them and check what you pick. As of 24 November 2026, Google's keyboard shortcut list has no shortcut for typing a Unicode code on ChromeOS.
On GNOME and other Linux desktops that support it, press Ctrl + Shift + U, type the four-character code 00b0, then press Space or Enter (GNOME Help: Enter special characters). With a Compose key set up, Compose, o, o also gives °; that sequence comes from the X.Org compose table, <Multi_key> <o> <o> : "°" degree (libX11 Compose file for en_US.UTF-8).
Degree symbol in Excel, Google Sheets and Google Docs
In Excel and Google Sheets, =UNICHAR(176) returns the degree sign. Both functions return the Unicode character for a number, and 176 is the number of U+00B0 (Microsoft Support: UNICHAR function, Google: UNICHAR function). =CHAR(176) also gives ° in Google Sheets and in Excel on English and European-language Windows, but not in Excel for Mac or on Japanese, Chinese, Korean or Thai Windows. Excel's CHAR uses the computer's character set: on Windows that is the code page described in the Windows section, and on a Mac it is the Macintosh character set (Microsoft Support: CHAR function). In the Macintosh set, 176 is ∞ and the degree sign is 161 (Unicode: Mac OS Roman mapping). Use UNICHAR and the result is the same everywhere.
In Google Docs, choose Insert › Symbols › Special characters, then enter the Unicode value 00B0, draw the symbol in the box on the right, or pick it from the categories (Google Docs Editors Help: Insert emojis and special characters). The same page says Google Sheets has no special characters menu, which is why the formula above is the way to go there.
Did you type the right character?
Four characters pass for a degree sign at normal text size, and only one of them is. Two of the other three sit on real keys, so you can type them by accident without copying anything from the web. The third, ⁰, usually comes from superscript keyboards and text converters.
| Character | Unicode | What it is | Where it usually comes from |
|---|---|---|---|
| ° | U+00B0 DEGREE SIGN | the degree symbol | Option + Shift + 8 (Mac), Alt + 0176 (Windows) |
| º | U+00BA MASCULINE ORDINAL INDICATOR | ordinals: Spanish 1.º, Portuguese 1.º (Portugal) or 1º (Brazil) | Option + 0 on a U.S. Mac, the º key on Spanish and Portuguese keyboards |
| ˚ | U+02DA RING ABOVE | a spacing accent mark | Option + K on a U.S. Mac |
| ⁰ | U+2070 SUPERSCRIPT ZERO | a raised zero, as in x⁰ | superscript keyboards and text converters |
Typing º, ˚ or ⁰ where you meant ° causes trouble you only notice later. Search and find-and-replace treat them as different characters, so searching a document that mixes ° and º will miss some of its temperatures. Spreadsheet formulas that look for "°C" miss cells typed with ˚. At poster size the shapes also differ: in some fonts º is underlined, and ⁰ is a narrow oval rather than a round ring.

How often people type ° when they mean º
Of the 111,803 images people made on FontVibe between 11 February and 23 November 2026, 76 (0.07%) had a degree sign in the text typed in, and 20 of those 76 (26%) used it as a Spanish ordinal, such as "12° ANIVERSARIO", "Grado: 2°" or "5°A". In the same period, only 6 images used the correct º for an ordinal after a number, so of the 26 ordinals, 20 (77%) used the degree sign.
We read all 76 by hand. We counted a ° as an ordinal when it came right after a number and the text used it to mean first, second and so on: school grades and groups ("5°A", "2° A"), anniversaries, and a fan club's "12° jugador". A space between the ° and the next letter did not matter. Angles such as "BEARING: 270°" or "55° slant", temperatures, map coordinates, "N°" for número, and decorative uses were left out, and so were four we could not classify. All 20 are in Spanish; some were generated more than once, so they come from 16 different texts. The 6 ordinals with º were counted the same way: 3 in Spanish, 2 in Portuguese and 1 that could be either.
The Real Academia Española writes Spanish ordinals with a period and a raised o: 1.º, 12.º (RAE, Diccionario panhispánico de dudas: ordinales). FundéuRAE adds that this raised o is a different sign from the degree sign used in 27 °C (FundéuRAE via Infobae: Números ordinales, claves de escritura). Portuguese uses º too: 1.º in Portugal (Ciberdúvidas da Língua Portuguesa) and usually 1º in Brazil (Brazilian Senate style manual: ordinal numbers). So if you write Spanish or Portuguese, the key you need for 2.º is the one that is wrong for 25°.
Italian is different. The Accademia della Crusca describes the Italian ordinal mark as a small raised letter, and its own page types it with the degree sign itself, as in "il 1° ottobre" (Accademia della Crusca: scrivere i numeri). In Italian text, 1° is the usual form, not a mistake. None of the 76 texts used ° as an Italian ordinal.
How to check which one you have
Paste the character into cell A1 of Excel or Google Sheets and type =UNICODE(A1) in another cell. The function returns the code of the first character in the cell (Microsoft Support: UNICODE function, Google: UNICODE function). The degree sign gives 176. The ordinal º gives 186, the ring above ˚ gives 730, and the superscript zero ⁰ gives 8304.
If you actually wanted a raised zero or other small raised characters, the superscript generator turns plain text into ⁰¹²³ and the rest of the set.
25 °C or 25°C: where the space goes
The SI rule is short: a space before °C, no space before the degree of an angle. So 25 °C, but 90° and 270°. The SI Brochure lists the angle units °, ′ and ″ as the only exceptions to putting a space between a number and its unit (BIPM, The International System of Units, 9th edition, section 5.4.3), and NIST's guide to the SI gives the same rule with the example 30.2 °C, "but not: t = 30.2°C" (NIST SP 811, chapter 7). Everyday writing, weather apps and most packaging close the gap and write 25°C; that is common and readable, but it is not the SI form.
The degree Fahrenheit is not an SI unit, so neither guide has a rule for °F. If you follow the SI style for °C, writing 77 °F the same way keeps one rule for the whole text.


The single characters ℃ (U+2103) and ℉ (U+2109) are compatibility characters. Unicode defines each as equivalent to the two-character sequence, ° followed by C or F, and NFKC normalization turns ℃ into °C (Unicode Character Database, UnicodeData.txt). Use °C unless a layout really needs one character.
Degree symbol codes for HTML, CSS and Office
| Where | Code | Result |
|---|---|---|
| HTML, named | ° | ° |
| HTML, number | ° or ° | ° |
| CSS content | "\00B0" | ° |
| Office apps (not PowerPoint) | 00B0 then Alt + X | ° |
| Excel, Google Sheets | =UNICHAR(176) | ° |
| Unicode | U+00B0 | ° |
We decoded the three HTML forms with Python 3.14's HTML parser, which uses the HTML standard's table of named characters (WHATWG HTML: named character references); all three return U+00B0. Watch out for º: it is a real entity too, and it returns º. The CSS form follows the CSS rule that a backslash and hex digits stand for that code point (W3C: CSS Syntax, escaping). We also rendered content: "\00B0" in Chrome 158 on 24 November 2026, and the browser produced U+00B0.
Typing other symbols runs into the same problems: Alt codes that need a keypad, phone keyboards that hide the character. Our guide on how to type a heart on any keyboard covers ♥ the same way.
Frequently asked questions
How do you type the degree symbol on a keyboard?
On a Mac with a U.S., British or ABC layout, press Option + Shift + 8. On Windows, hold Alt and type 0176 on the numeric keypad. On iPhone and Android, Apple and Google do not document which key holds the degree symbol (checked 24 November 2026), so copy this one, °, and paste it, or save it as a text replacement on iPhone. Then check what you have with =UNICODE() in a spreadsheet: the degree sign gives 176.
Why does Option + 0 on a Mac give me º instead of °?
Option + 0 types º, the masculine ordinal indicator used for ordinals in Spanish (1.º, 2.º) and Portuguese (1.º in Portugal, 1º in Brazil). It looks like a degree sign but is a different character, U+00BA. On U.S., British and ABC layouts the degree sign is Option + Shift + 8.
Why does Alt + 176 type ░ instead of °?
Without the leading zero, Windows looks the number up in the old DOS character set. On U.S. English Windows that is code page 437, where 176 is the shade block ░ (a gray square, nothing like a degree sign) and the degree sign is 248. With the zero, Alt + 0176 uses the Windows character set, where 176 is ° on English and European-language Windows.
How do I type the degree symbol on a laptop without a number pad?
On Windows 10 or 11, press the Windows key and the period key to open the emoji keyboard, go to its symbols section and look for ° there, then check it once with =UNICODE() in a spreadsheet. Alt codes need a real numeric keypad; the number keys above the letters do not work for them.
Ready to try it yourself?
Put these prompt techniques into practice — no account needed to start.
Try the tool →Add FontVibe as a preferred source on Google
Put these prompt techniques into practice — no account needed to start.
Start creating
Comments