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: 기하학, 화학, 단위 및 측정

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 삼각함수 →

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 poweredAI로 LaTeX 작성

최고의 AI LaTeX 편집기, Overleaf 대안

Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움

  • AI로 아름다운 TikZ 다이어그램 생성
  • 이미지를 업로드하고 LaTeX로 원활하게 변환
  • 논문 작성 및 서식에 대한 즉각적인 지원 받기