Degrees Celsius in LaTeX (^{\circ}\text{C})

∘C^{\circ}\text{C}
LaTeX command
^{\circ}\text{C}
Package
Add to your preamble:\usepackage{amsmath}
Mode
Math mode only

Where it is used

Degree Celsius unit, formed from a raised circle and an upright C; water freezes at 0 °C.

The degree mark is \circ in a superscript; an o or 0 is wrong. SI style puts a space between number and unit, so write 25\,^{\circ}\text{C} with a thin space, and never place a space between the degree sign and the C. Temperature differences in Celsius equal differences in kelvin, a fact that matters in heat-capacity work. \text turns italic inside theorems; \mathrm{C} avoids that. Unit packages provide semantic commands, but this construction is the common manual approach and works everywhere, including KaTeX.

Also listed under: Unit & Pengukuran

Minimal compilable example

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

T=100 ∘C=373.15 KT = 100\,^{\circ}\text{C} = 373.15\,\text{K}
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Degrees Celsius: $^{\circ}\text{C}$

\[ T = 100\,^{\circ}\text{C} = 373.15\,\text{K} \]
\end{document}

Related symbols

All Kimia →

Frequently asked questions

How do I write Degrees Celsius in LaTeX?
Type ^{\circ}\text{C} in math mode, for example $T = 100\,^{\circ}\text{C} = 373.15\,\text{K}$. Load amsmath first with \usepackage{amsmath}.
Which package do I need for ^{\circ}\text{C}?
^{\circ}\text{C} needs amsmath: add \usepackage{amsmath} to your preamble before the document starts.
Can I use ^{\circ}\text{C} in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $^{\circ}\text{C}$ in running text.
Math poweredTulis LaTeX menggunakan AI

Editor LaTeX AI Terbaik, Alternatif Overleaf

Octree membantu penyelidik dari 15+ universiti menulis kertas penyelidikan dengan lebih cepat menggunakan AI

  • Jana diagram TikZ yang cantik menggunakan AI
  • Muat naik imej dan tukar ke LaTeX dengan lancar
  • Dapatkan bantuan segera untuk menulis dan memformat kertas penyelidikan