Degree symbol

The degree symbol or degree sign, °, is a glyph or symbol that is used, among other things, to represent degrees of arc (e.g. in geographic coordinate systems), hours (in the medical field), degrees of temperature or alcohol proof. The symbol consists of a small superscript circle.

History
The word degree is equivalent to Latin gradus which, since the medieval period, could refer to any stage in a graded system of ranks or steps. The number of the rank in question was indicated by ordinal numbers, in abbreviation with the ordinal indicator (a superscript o).

Use of "degree" specifically for the degrees of arc, used in conjunction with Arabic numerals, became common in the 16th century, but this was initially without the use of an ordinal marker or degree symbol: instead, various abbreviation of gradus (e.g., Gra., Gr., gr., G.). The modern notation appears in print in the 1570s, with a borderline example by Jacques Pelletier du Mans in 1569, and was popularized by, among others, Tycho Brahe and Johannes Kepler, but didn't become universal.

Similarly, the introduction of the temperature scales with degrees in the 18th century was at first without such symbols, but with the word "gradus" spelled out. Use of the degree symbol was introduced for temperature in the later 18th century and became widespread in the early 19th century. Antoine Lavoisier in his "Opuscules physiques et chymiques" (1774) used the ordinal indicator with Arabic numerals – for example, when he wrote in the introduction:
 * ... une suite d'Expériences [...] 1o. sur l'existence du même fluide élastique [...] (p. vi)
 * (... a series of experiments [...] firstly, on the existence of that same elastic fluid [...])

The 1o. is to be read as primo meaning "in the first place", followed by 2o. ("in the second place"), etc. In the same work, when Lavoisier gives a temperature, he spells out the word "degree" explicitly, for example (p. 206): une température de 16 à 17 dégrés du thermomètre ("a temperature of 16 to 17 degrees of the thermometer") - notice the old spelling for degré in the citation.

An early use of the degree symbol for temperature is that by Henry Cavendish in 1776 for degrees of the Fahrenheit scale.

The symbol is also declared as a notation for degrees of arc as early as 1831, in an American mathematics textbook for schools.

Typography
In the case of degrees of angular arc, the degree symbol follows the number without any intervening space, e.g. 30°. The addition of minute and second of arc follows the degree units, with intervening spaces (optionally, non-breaking space) between the sexagesimal degree subdivisions but no spaces between the numbers and units, for example 30°125.

In the case of degrees of temperature, three scientific and engineering standards bodies (the International Bureau of Weights and Measures, the International Organization for Standardization and the U.S. Government Printing Office) prescribe printing temperatures with a space between the number and the degree symbol, e.g. 10°C. However, in many works with professional typesetting, including scientific works published by the University of Chicago Press or Oxford University Press, the degree symbol is printed with no spaces between the number, the symbol, and the Latin letters "C" or "F" representing Celsius or Fahrenheit, respectively, e.g. 10°C. This is also the practice of the University Corporation for Atmospheric Research, which operates the National Center for Atmospheric Research. Both ASTM International and NIST, the official US entities related to the standardization of the use of units, require a space between the numerical value and the unit designator, except when the degree symbol alone is used to denote an angular value.

Use of the degree symbol to refer to temperatures measured in kelvins (symbol: K) was abolished in 1967 by the 13th General Conference on Weights and Measures (CGPM). Therefore, the triple point of water, for instance, is written simply as 273.16 K. The name of the SI unit of temperature is now "kelvin", in lower case, and no longer "degrees Kelvin".

In photography, the symbol is used to denote logarithmic film speed grades. In this usage, it follows the number without spacing as in 21° DIN, 5° ASA or ISO 100/21°.

Encoding
The degree symbol is included in Unicode as.

For use with wide character fonts, there are also code points for and.

The degree sign was not included in the basic 7-bit ASCII set of 1963. In 1987, the ISO/IEC 8859 standard introduced it at position 0xB0 (176 decimal) in all variants except Part 5 (Cyrillic), 6 (Arabic), 7 (Greek) and 11 (Thai). In 1991, the Unicode standard incorporated all of the ISO/IEC 8859 code points and thus included the degree sign (at U+00B0)..

The Windows Code Page 1252 was an extension of ISO/IEC 8859-1 (8859 Part 1 or "ISO Latin-1") standard, so it had the degree sign at the same code point, 0xB0. The code point in the older DOS Code Page 437 was 0xF8 (248 decimal); therefore, the Alt code used to enter the symbol directly from the keyboard is Alt+2.

Lookalikes
Other characters with similar appearance but different meanings include:
 * (indicator used in Italian, Spanish and Portuguese that follows a numeral denoting that it is an ordinal number, rather than a cardinal number; varies with the font and sometimes underlined)
 * (superscript letter o)
 * (standalone)
 * (applied to a letter)
 * (applied to a letter)
 * (applied to a letter)
 * (standalone)
 * (applied to a letter)
 * (precomposed characters containing this mark also exists)
 * (stand alone, typically representing either $⟨w⟩$ or $⟨y⟩$)
 * (precomposed characters containing this mark also exists)
 * (used in superscripted form, ⦵, to mean standard state (chemistry))
 * (used in superscripted form, ⦵, to mean standard state (chemistry))
 * (used in superscripted form, ⦵, to mean standard state (chemistry))
 * (used in superscripted form, ⦵, to mean standard state (chemistry))

Keyboard entry
Some computer keyboard layouts, such as the QWERTY layout as used in Italy, the QWERTZ layout as used in Germany, Austria and Switzerland, and the AZERTY layout as used in France and Belgium, have the degree symbol available directly on a key. But the common keyboard layouts in English-speaking countries do not include the degree sign, which then has to be input some other way. The method of inputting depends on the operating system being used.

On the Colemak keyboard layout (Windows/Mac), one can press AltGr+\ followed by D to insert a degree sign. On Linux, one can press AltGr+K twice to insert a degree sign.

Desktop operating systems
With Microsoft Windows, there are several ways to make the degree symbol: Note: "0176" is different from "176"; Alt7 produces the light shade (░) character. Note: The NumLock must be set first; on full size keyboards, the numeric keypad must be used; on laptops without a numerical keypad, the virtual numeric keypad must be used (often requiring that the Fn key be held down as the numeric sequence is typed).
 * One can type Alt4 or Alt1
 * The Character Map tool also may be used to obtain a graphical menu of symbols.
 * The US-International English keyboard layout creates the degree symbol with AltGr

In the classic Mac OS and macOS operating systems, the degree symbol can be entered by typing Opt. One can also use the Mac OS character palette, which is available in many programs by selecting Special Characters from the Edit Menu, or from the 'Input Menu' (flag) icon on the menu bar (enabled in the International section of the System Preferences).

In Linux operating systems such as Ubuntu, this symbol may be entered via the Compose key followed by o, o. Some keyboard layouts display this symbol upon pressing AltGr (once or twice, depending on specific keyboard layout), and, in programs created by GTK+, one can enter Unicode characters in any text entry field by first pressing Ctrl, regardless of keyboard layout. For the degree symbol, this is done by entering Ctrl B0 (where the last key is the number zero) followed by a space.

For ChromeOS, use the Unicode entry method Ctrl then 0 then space or return; with the UK extended layout, use.

Mobile operating systems
In iOS, the degree symbol is accessed by pressing and holding 0 and dragging a finger to the degree symbol. This procedure is the same as entering diacritics on other characters.

In Android, switch to numbers then symbols. The degrees symbol is found on the second row.

Software-specific
In Microsoft Office and similar programs, there is often also an Insert menu with an Insert Symbol or Symbol command that brings up a graphical palette of symbols to insert, including the degree symbol. As with the CharMap app, the table is arranged in Unicode order. Alternatively, the alt code technique may be used, as described above.

In LaTeX, the packages  and   provide the commands \degree and , respectively. In the absence of these packages one can write the degree symbol as  in math mode. In other words, it is written as the empty circle glyph circ as a superscript.

In AutoCAD it is available as a shortcut string %%d.