Per (slash in units) in LaTeX (/)

//
LaTeX command
/
Package
No package needed: built into LaTeX
Mode
Text and math mode

Where it is used

Solidus used to mean 'per' in compound units like m/s, dividing one unit by another.

In math mode / is an ordinary symbol with no extra spacing, which gives the tight \text{m}/\text{s} look units need. SI rules allow only one solidus in a unit, so acceleration is \text{m}/\text{s}^2 and never m/s/s; for complicated units, negative exponents such as \text{J}\,\text{kg}^{-1}\,\text{K}^{-1} are clearer. Use parentheses when the denominator has several factors: \text{W}/(\text{m}^2\,\text{K}). For general fractions in displayed equations, \frac is usually better than a slash, but inline the slash avoids cramped stacked numbers.

Minimal compilable example

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

c=4186 J/(kg K)c = 4186\,\text{J}/(\text{kg}\,\text{K})
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Per (slash in units): $/$

\[ c = 4186\,\text{J}/(\text{kg}\,\text{K}) \]
\end{document}

Related symbols

All Units at Measurements →

Frequently asked questions

How do I write Per (slash in units) in LaTeX?
Type / in math mode, for example $c = 4186\,\text{J}/(\text{kg}\,\text{K})$. It works in plain LaTeX without loading any package.
Which package do I need for /?
None. / is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use / in text mode, or only in math mode?
Both. / 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