Second in LaTeX (\text{s})

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

Where it is used

Second, the SI base unit of time, defined by the caesium-133 hyperfine transition frequency.

An upright s is the unit; italic s often stands for displacement or arc length, so the formatting carries meaning in s = 5\,\text{m} versus t = 5\,\text{s}. Avoid abbreviations like sec in technical writing. Inverse seconds, \text{s}^{-1}, measure rates and are the same as hertz when describing frequency. Prefixed forms include \text{ms}, \mu\text{s} and \text{ns}; for the micro prefix, an upright mu is preferred by SI style, which plain \mu does not provide in the default fonts.

Minimal compilable example

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

g=9.81 m s−2,t=2.0 sg = 9.81\,\text{m}\,\text{s}^{-2}, \quad t = 2.0\,\text{s}
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Second: $\text{s}$

\[ g = 9.81\,\text{m}\,\text{s}^{-2}, \quad t = 2.0\,\text{s} \]
\end{document}

Related symbols

All Units at Measurements →

Frequently asked questions

How do I write Second in LaTeX?
Type \text{s} in math mode, for example $g = 9.81\,\text{m}\,\text{s}^{-2}, \quad t = 2.0\,\text{s}$. Load amsmath first with \usepackage{amsmath}.
Which package do I need for \text{s}?
\text{s} needs amsmath: add \usepackage{amsmath} to your preamble before the document starts.
Can I use \text{s} in text mode, or only in math mode?
Both. \text{s} compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.
Math poweredSumulat ng LaTeX gamit ang AI

Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf

Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI

  • Gumawa ng magagandang TikZ diagrams gamit ang AI
  • Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
  • Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers