Degree symbol in LaTeX (^{\circ})

∘^{\circ}
LaTeX command
^{\circ}
Package
No package needed: built into LaTeX
Mode
Math mode only
Copy the Unicode character
°U+00B0

Where it is used

Superscript circle marking degrees, for angles and for temperatures.

The usual math-mode degree sign is ^{\circ}, as in 90^{\circ} or \angle ABC = 45^{\circ}; it raises \circ, the composition ring, to superscript size. For temperatures, write 25^{\circ}\mathrm{C} with an upright C. Do not use a superscript letter o or digit 0, which have the wrong shape, or \circ on the baseline, which means function composition. In text mode, \textdegree gives a matching sign without entering math. Documents with many measurements benefit from a units-aware macro that handles spacing and fonts consistently.

Also listed under: Meetkunde, Scheikunde, Eenheden & Metingen

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

sin⁡30∘=12\sin 30^{\circ} = \frac{1}{2}
\documentclass{article}
\begin{document}
Degree symbol: $^{\circ}$

\[ \sin 30^{\circ} = \frac{1}{2} \]
\end{document}

Related symbols

All Goniometrie →

Frequently asked questions

How do I write Degree symbol in LaTeX?
Type ^{\circ} in math mode, for example $\sin 30^{\circ} = \frac{1}{2}$. It works in plain LaTeX without loading any package.
Which package do I need for ^{\circ}?
None. ^{\circ} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use ^{\circ} in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $^{\circ}$ in running text. If you only need the glyph in text, paste the Unicode character ° instead (with XeLaTeX or LuaLaTeX and a font that has it).
Math poweredSchrijf LaTeX met AI

Beste AI LaTeX Editor, Overleaf Alternatief

Octree helpt onderzoekers van 15+ universiteiten sneller onderzoeksartikelen schrijven met AI

  • Genereer mooie TikZ-diagrammen met AI
  • Upload afbeelding en converteer naadloos naar LaTeX
  • Krijg directe hulp bij het schrijven en opmaken van onderzoeksartikelen