Meter in LaTeX (\text{m})

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

Where it is used

Metre, the SI base unit of length, defined via the speed of light in vacuum.

An upright m is the unit, while italic m usually means mass, so \text{m} or \mathrm{m} is essential: compare m = 2\,\text{kg} with h = 2\,\text{m}. SI style puts a space between value and unit and never pluralizes the symbol. Derived units combine with powers, \text{m}^2 and \text{m}^3, and prefixes attach directly, \text{km}, \text{mm}. Velocity is written \text{m/s} or \text{m}\,\text{s}^{-1}; journals vary, so check the house style. Do not confuse the symbol with the prefix milli, which also uses m.

Minimal compilable example

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

v=3.0×108 m s−1v = 3.0 \times 10^{8}\,\text{m}\,\text{s}^{-1}
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Meter: $\text{m}$

\[ v = 3.0 \times 10^{8}\,\text{m}\,\text{s}^{-1} \]
\end{document}

Related symbols

All Units at Measurements →

Frequently asked questions

How do I write Meter in LaTeX?
Type \text{m} in math mode, for example $v = 3.0 \times 10^{8}\,\text{m}\,\text{s}^{-1}$. Load amsmath first with \usepackage{amsmath}.
Which package do I need for \text{m}?
\text{m} needs amsmath: add \usepackage{amsmath} to your preamble before the document starts.
Can I use \text{m} in text mode, or only in math mode?
Both. \text{m} 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