The degree symbol ° is used for temperatures, angles and coordinates. Here is how to type it.
Windows
Hold Alt and type 0176 on the numeric keypad.
Mac
Press Option + Shift + 8.
Phones
On most phone keyboards, press and hold the 0 key to reveal °.
Facts to verify: Alt+0176 and Option+Shift+8 on current OS versions, and the press-and-hold-0 gesture on current iOS and Android keyboards.