LatexNotes

Ohm (Ω) in LaTeX

The ohm, the SI unit of electrical resistance, is written with a capital omega, Ω; in maths mode type \Omega, which LaTeX already sets upright.

LaTeX command

\Omega

Not the symbol you meant? Draw it to find the command →

Typing up handwritten notes? Convert a whole page of handwriting to LaTeX →

Capital Greek letters are upright in LaTeX maths, so \Omega already looks right as a unit. Put a thin space, \,, between the number and the unit, as in , so the two neither touch nor drift apart. Lowercase \omega (ω) is a different thing: angular frequency, not the unit.

Prefixes go straight before the symbol in upright type: for kilohms and for megohms. Without \mathrm the k comes out in italics, like a variable.

In a lab report or thesis with many units, let a package do the formatting. The sections below show siunitx, the gensymb \ohm command and the ohm sign in ordinary text.

Ohms with siunitx

siunitx formats a number and its unit together, with the right space and upright type: \qty{10}{\ohm} prints 10 Ω and \qty{4.7}{\kilo\ohm} prints 4.7 kΩ. \unit{\ohm} gives the unit on its own. Older documents write \SI{10}{\ohm} and \si{\ohm}, which still work.

\usepackage{siunitx}
\qty{4.7}{\kilo\ohm}

The \ohm command (gensymb)

\ohm on its own is not core LaTeX, so without a package it stops with "Undefined control sequence". The gensymb package defines it for text and maths alike, along with \degree, \celsius and \micro.

\usepackage{gensymb}
10\,\ohm

The ohm sign in text

Outside maths, \textohm prints Ω in the text font. It has been built into LaTeX since 2020; an older installation needs \usepackage{textcomp}. With XeLaTeX or LuaLaTeX and a font that has the letter, you can also type Ω directly.

10\,\textohm

Other forms

\qty{10}{\ohm}number and unit with siunitx
\ohmwith the gensymb package
\textohmthe ohm sign in text
\mhomho (℧), the old unit of conductance, amssymb

Examples

$R = 220\,\Omega$

a resistance, with a thin space before the unit

$4.7\,\mathrm{k}\Omega$

kilohms, with an upright prefix

$R = \frac{12\,\mathrm{V}}{0.5\,\mathrm{A}} = 24\,\Omega$

Ohm's law with units

$R_{\text{total}} = R_1 + R_2 = 100\,\Omega + 50\,\Omega$

resistors in series

$G = \frac{1}{R}, \quad 1\,\mathrm{S} = 1\,\Omega^{-1}$

conductance in siemens, the inverse of the ohm

Tips and common mistakes

Working from handwritten notes?

LatexNotes turns a photo or PDF of handwritten mathematics into LaTeX, graphs and all. It is built with real pdflatex before you see it, and the .tex file is yours to edit or take to Overleaf. Free to try, no sign-up.

See how handwriting to LaTeX works, step by step, or go from GoodNotes to LaTeX if you write on an iPad (Notability works the same way).

Convert your maths to LaTeX →

FAQ

How do I write the ohm symbol in LaTeX?

In maths mode type \Omega, for example . With siunitx, \qty{10}{\ohm} formats the number and unit together.

Why does \ohm give Undefined control sequence?

\ohm is not part of core LaTeX. Load gensymb to use \ohm anywhere, or use it inside siunitx's \qty or \unit.

Is the ohm sign the same as capital omega?

It is drawn the same. Unicode has a separate ohm sign, U+2126, but recommends the Greek capital omega, U+03A9, and in LaTeX \Omega is the usual choice.

How do I write kilohms in LaTeX?

Write in maths, or \qty{4.7}{\kilo\ohm} with siunitx.

See also