Hertz in LaTeX (\text{Hz})

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

Where it is used

Hertz, the SI unit of frequency: one cycle per second, dimensionally equal to inverse seconds.

Signal processing and acoustics quote frequencies like 440\,\text{Hz} for concert A and sampling rates like 44.1\,\text{kHz}; processors run in GHz. Angular frequency \omega = 2\pi f is customarily given in \text{rad}/\text{s}, not hertz, to avoid a factor-of-2\pi confusion. Keep the capital H and lowercase z. Prefixes attach directly, \text{MHz}, and the number takes a thin space before the unit. For radioactive activity the same dimension is named the becquerel instead. The period is the reciprocal, T = 1/f.

Minimal compilable example

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

ω=2πf=2π×50 Hz≈314 rad/s\omega = 2\pi f = 2\pi \times 50\,\text{Hz} \approx 314\,\text{rad/s}
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Hertz: $\text{Hz}$

\[ \omega = 2\pi f = 2\pi \times 50\,\text{Hz} \approx 314\,\text{rad/s} \]
\end{document}

Related symbols

All 単位・測定 →

Frequently asked questions

How do I write Hertz in LaTeX?
Type \text{Hz} in math mode, for example $\omega = 2\pi f = 2\pi \times 50\,\text{Hz} \approx 314\,\text{rad/s}$. Load amsmath first with \usepackage{amsmath}.
Which package do I need for \text{Hz}?
\text{Hz} needs amsmath: add \usepackage{amsmath} to your preamble before the document starts.
Can I use \text{Hz} in text mode, or only in math mode?
Both. \text{Hz} compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.
Math poweredAIでLaTeXを書く

最高のAI LaTeXエディタ、Overleaf代替

Octreeは15以上の大学の研究者がAIを使って論文をより速く書くのを支援

  • AIで美しいTikZダイアグラムを生成
  • 画像をアップロードしてシームレスにLaTeXに変換
  • 論文の執筆とフォーマットに即座にサポートを取得