Degree Symbol (°)

The degree symbol ° is Unicode U+00B0, used for temperatures, angles and map coordinates. Press Copy to put it on your clipboard, or type it with Alt + 0176 on Windows or Option + Shift + 8 on a Mac.

Unicode
U+00B0
HTML
°
Windows
Alt + 0176
Mac
Option + Shift + 8

How to type the degree symbol (°)

The quickest way is to press Copy above and paste. To type ° yourself, use the method for your device below. On Windows the alt code is Alt + 0176. On a Mac it is Option + Shift + 8.

Windows

  1. Hold Alt and type 0176 on the numeric keypad, then release Alt. Num Lock must be on. This uses the Windows-1252 code page, so it works in almost every Windows app.
  2. Hold Alt and type 248 on the numeric keypad. This older code (from code page 437) works in Notepad, Word and most desktop apps.
  3. In Word or Outlook, type 00B0 and press Alt + X. Alt + X converts the hex code before the cursor into the character, and back again.
  4. Press Win + R, type charmap and press Enter. Tick “Advanced view”, search for Degree Sign, then Select and Copy. Character Map is built into every version of Windows.

Degree symbol on Windows

Mac

  1. Press Option+Shift+8. On the standard US and US-International layouts.
  2. Press Control + Command + Space to open the Character Viewer, search for degree and double-click it.

Degree symbol on Mac

Linux & ChromeOS

  1. Press Ctrl + Shift + U, type b0, then press Enter or Space. Works in GTK and IBus apps (GNOME, Firefox, Chrome, LibreOffice) and on ChromeOS.
  2. Press your Compose key, then o o. Needs a Compose key set in your keyboard settings.

Degree symbol on Linux

iPhone & iPad

  1. Tap 123, then touch and hold 0 (zero) and slide to °.
  2. Copy ° from this page, then go to Settings → General → Keyboard → Text Replacement and add it with a shortcut such as ;degr. The shortcut then turns into the symbol as you type, in every app.

Degree symbol on iPhone

Android

  1. In Gboard, tap ?123, then =\<. The degree sign ° is on that page.
  2. Copy ° here, then open Gboard settings → Dictionary → Personal dictionary and add it with a shortcut.

Degree symbol on Android

Microsoft Word

  1. Type 00B0, then press Alt + X.
  2. Insert → Symbol → More Symbols. Set “from” to Unicode (hex), type 00B0 in “Character code” and click Insert.
  3. On a Mac, Option+Shift+8 works in Word too.

Degree symbol in Word

Google Docs

  1. Insert → Special characters, then search for “degree” or draw it in the box.

Degree symbol in Google Docs

Excel & Google Sheets

  1. Enter =UNICHAR(176) in a cell. It works in Excel 2013 and later and in Google Sheets.

Degree symbol in Excel

HTML

  1. Write &deg; or &#176; in your HTML.

What does ° mean?

The degree sign ° marks degrees of arc and degrees of temperature. In angles a full turn is 360°, a right angle 90°. In temperatures it sits between the number and the scale letter: 25 °C or 77 °F. In geographic coordinates it gives latitude and longitude, such as 51.5° N, 0.1° W, often with minutes (′) and seconds (″): 51° 30′ 26″ N.

Style guides differ on the space. The SI brochure and most scientific journals write 25 °C with a space, while newspapers and US usage often write 25°C or 25°. Angles never take a space: 45°. Kelvin never uses the degree sign at all: 300 K, not 300 °K.

Common uses

  • Temperatures: 21 °C, 70 °F
  • Angles in geometry and design: a 45° slope, rotate 90°
  • Map coordinates: 40° 42′ 46″ N, 74° 0′ 22″ W
  • Alcohol strength in some countries: 40° (degrees proof)
  • Academic degrees of relationship in law and genealogy: 1° and 2° relatives

Degree Symbol codes for HTML, CSS and programming

Every code below produces °. Use the HTML entity in web pages, the CSS escape in content, and the escape sequence in source code.

Codes for °
Unicode code pointU+00B0
HTML entity (named)&deg;
HTML decimal&#176;
HTML hex&#xB0;
CSS contentcontent: "\B0";
JavaScript"\u00B0"
Python"\u00B0"
Python (by name)"\N{DEGREE SIGN}"
Java / C#"\u00B0"
LaTeX^\circ
UTF-8 bytesC2 B0
UTF-1600B0
URL encoded%C2%B0
Windows Alt codeAlt + 0176
Alt code (CP437)Alt + 248
Mac shortcutOption + Shift + 8

° vs look-alike characters

These characters look similar to ° but have a different meaning and code. Pasting the wrong one can break search, sorting and screen readers.

CharNameWhen to use it
Masculine Ordinal Indicator
U+00BA
Masculine ordinal indicator, used in Spanish and Portuguese (1º = primero). It is raised and often underlined, but it is a letter, not a degree sign.
Ring Above
U+02DA
Ring above, a spacing accent from phonetics. It looks like a small degree sign but is not read as “degrees”.
Superscript Zero
U+2070
Superscript zero, for exponents such as 10⁰. Too wide and too low to be a degree sign.
Ring Operator
U+2218
Ring operator, the maths symbol for function composition (f ∘ g).
Degree Celsius
U+2103
Degree Celsius as one character. It exists for compatibility with East Asian fonts; the Unicode Standard recommends typing ° followed by C instead.

Symbols similar to °

Click to copy, or open a symbol for its codes. See the full text dividers collection.

  • Degree Celsius Details
  • Degree Fahrenheit Details
  • White Star Details
  • Four Pointed Star Details

° character properties

Official Unicode name
DEGREE SIGN
Also known as
degree sign, degrees, deg
Code point
U+00B0
Unicode block
Latin-1 Supplement (U+0080–U+00FF)
General category
Other symbol (So)
Added in
Unicode 1.1 (1993)
Plane
Basic Multilingual Plane (0)
Emoji
No, it is a text symbol

Frequently asked questions

Should there be a space between the number and °C?

In scientific and SI style, yes: 25 °C. Many newspapers and US style guides close it up: 25°C. Whichever you choose, keep °C together and never add a space between a number and a degree sign for angles (90°).

How do I type the degree symbol on a laptop without a number pad?

On Windows, press Win + . to open the emoji panel, choose the Ω Symbols tab and pick °. In Word, type 00B0 then press Alt + X. On a Mac use Option + Shift + 8, which does not need a keypad.

What is the alt code for the degree symbol?

On Windows, hold Alt and type 0176 on the numeric keypad to get °. The shorter code Alt + 248 also works in most desktop apps. On a laptop without a keypad, copy it from this page or use 00B0 then Alt + X in Word.

How do I type the degree symbol on a Mac?

Press Option + Shift + 8. It works in every app on the US keyboard layout. You can also open the Character Viewer with Control + Command + Space and search for it.

What is the HTML code for the degree symbol?

Use the named entity ° or the numeric reference ° (hex °). All three display ° in every browser.

What is the Unicode for the degree symbol?

° is U+00B0, officially named DEGREE SIGN, in the Latin-1 Supplement block. It has been part of Unicode since version 1.1 (1993).