Kelvin in LaTeX (\text{K})

K\text{K}
LaTeX command
\text{K}
Package
Add to your preamble:\usepackage{amsmath}
Mode
Text and math mode

Where it is used

Kelvin, the SI base unit of thermodynamic temperature, with zero at absolute zero.

Since 1967 the unit is written K with no degree sign: 300 K, not 300 °K. Absolute zero is 0 K, water's triple point 273.16 K, and T(\text{K}) = T(^{\circ}\text{C}) + 273.15. Unit symbols must be upright, which \text provides; an italic K is a variable, such as an equilibrium constant or a stiffness. Leave a thin space between number and unit, 4.2\,\text{K}. In italic theorem text \mathrm{K} is safer since \text would follow the italic font.

Minimal compilable example

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

T=273.15 K+25=298.15 KT = 273.15\,\text{K} + 25 = 298.15\,\text{K}
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Kelvin: $\text{K}$

\[ T = 273.15\,\text{K} + 25 = 298.15\,\text{K} \]
\end{document}

Related symbols

All الوحدات والقياسات →

Frequently asked questions

How do I write Kelvin in LaTeX?
Type \text{K} in math mode, for example $T = 273.15\,\text{K} + 25 = 298.15\,\text{K}$. Load amsmath first with \usepackage{amsmath}.
Which package do I need for \text{K}?
\text{K} needs amsmath: add \usepackage{amsmath} to your preamble before the document starts.
Can I use \text{K} in text mode, or only in math mode?
Both. \text{K} compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

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

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

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