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

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

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

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