Four lookalikes side by side
| Degree | Masc. ordinal | Fem. ordinal | Ring above | |
|---|---|---|---|---|
| Character | ° | º | ª | ˚ |
| Unicode name | DEGREE SIGN | MASCULINE ORDINAL INDICATOR | FEMININE ORDINAL INDICATOR | RING ABOVE |
| Codepoint | U+00B0 | U+00BA | U+00AA | U+02DA |
| HTML | ° | º | ª | ˚ |
| Windows Alt code | Alt 0176 | Alt 0186 | Alt 0170 | None (Word: 02DA, Alt+X) |
| Mac (US layout) | Option + Shift + 8 | Option + 0 | Option + 9 | Option + K |
| Used for | Temperature, angles, coordinates | 1º, 2º, nº (Spanish, Portuguese, Italian) | 1ª, 2ª (feminine forms) | Diacritic; rarely correct on its own |
How to tell them apart
In most fonts the degree sign is a perfect, evenly weighted circle sitting at the top of the line. The masculine ordinal º is a small letter o: often slightly oval, with thick and thin strokes like the font's lowercase o, and in many typefaces underlined. The feminine ordinal ª is a small raised a. The ring above ˚ is usually smaller and thinner than the degree sign, because it's designed to sit over a letter like the ring in å.
At normal reading sizes you often cannot see the difference, which is why the wrong one spreads through copy-and-paste. The reliable check is to paste the character into our Unicode inspector and read the codepoint: U+00B0 is the one you want for temperatures.
Why people end up with the wrong one
- Spanish and Portuguese keyboards. The Spanish layout has a dedicated º/ª key (left of the 1 key), and Portuguese layouts also have one. It's the most visible round symbol on the keyboard, so people reach for it when writing “25º”. The real degree sign on a Spanish Windows keyboard is not on a key at all; use Alt 0176.
- Mac Option-key guessing. On a US Mac, Option + 0 gives º and Option + K gives ˚; both look plausible. The degree sign is Option + Shift + 8.
- Old Alt codes. Alt 248 (without the leading zero) produces ° from the old DOS code page, while Alt 167 produces º. Mixing up lists of codes is an easy way to land on the ordinal.
- Copying from documents written by someone who made one of the mistakes above.
The wrong character has practical costs. A search for “25°C” may not match “25ºC”; a spreadsheet formula that strips ° from a column won't touch º; and screen readers may announce º as “masculine ordinal” or “o” rather than “degrees” (see our screen reader guide).
How to write temperatures and angles
SI style (the International System of Units, used in science and by many standards bodies) puts a space between the number and the unit, and treats °C as one unit symbol: 25 °C, −40 °C. Use a non-breaking space if you can so the unit doesn't wrap onto the next line on its own.
Common and journalistic style often closes it up: 25°C. That's widely used and readable; just keep it consistent. Some styles drop the C or F when context makes the scale obvious (it hit 30° today).
Angles take no space even in SI style: a 90° angle, 51°30′ N (the ′ there is a prime, U+2032, not an apostrophe).
Kelvin takes no degree sign at all: 300 K.
There is also a single-character ℃ (U+2103) and ℉ (U+2109). They exist for compatibility with East Asian character sets; in ordinary text, the two-character sequence °C is preferred, since it searches and sorts more predictably.
How to type each one
Windows: hold Alt and type on the number pad: 0176 for °, 0186 for º, 0170 for ª. In Word, you can type 00B0 then Alt + X. On a German keyboard, ° is Shift + ^ (the key left of 1); on French AZERTY it's Shift on the ) key next to 0.
Mac (US and UK layouts): Option + Shift + 8 for °, Option + 0 for º, Option + 9 for ª, Option + K for ˚.
iPhone and iPad: on the 123 page, press and hold 0 and slide to °.
Android (Gboard): tap ?123, then =\<; the degree sign is on that page.
Linux: Ctrl + Shift + U, then b0, then Enter.
Other characters that pass for a degree sign
- Superscript zero ⁰ (U+2070). Looks like a small raised zero, and some phone keyboards offer it near the degree sign. It's a digit, so “25⁰C” reads as “25 to the power of zero C” to software.
- Combining ring above (U+030A). The non-spacing version of ˚. It attaches to the previous character, so pasted after a number it can render on top of the last digit.
- White circle ○ or small circle ◦. Shape symbols from list bullets and dingbats. They sit at the wrong height and are much larger.
- A raised letter o created by formatting (superscript in Word). It looks right in print but is stored as the letter o, so copying it into another app gives “25oC”.
If a document came from several sources, a find-and-replace for º, ˚ and ⁰ next to C or F catches most of these in one pass.
Common mistakes
- 25ºC with the ordinal instead of the degree sign. Retype it with Alt 0176 or Option + Shift + 8.
- A superscript letter o (25oC) as a stand-in. It looks close in print, but it's a letter.
- A space between ° and C (25° C). The degree sign and the scale letter belong together.
- “°K” for kelvin. Kelvin has had no degree sign since 1967.
FAQ
Is it 25°C or 25 °C?
SI style and most scientific publishers use 25 °C, with a space. 25°C is common in general writing. Both use the same degree sign, U+00B0.
What is the Alt code for the degree symbol?
Alt 0176 (or Alt 248 on the old DOS code page). Alt 0186 is the ordinal º, not the degree sign.
What does º mean after a number in Spanish?
It marks a masculine ordinal: 1º is primero, 2º segundo. The feminine form uses ª: 1ª primera. It's also used in nº (número).
Why does my degree sign look slightly different in another font?
Fonts draw ° at different sizes and heights. That alone doesn't mean it's the wrong character; check the codepoint to be sure.

