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: الوحدات والقياسات

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 الكيمياء →

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 poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث