Cubed in LaTeX (^3)
- LaTeX command
^3- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Superscript 3 for cubing: third powers of numbers or variables, and cubic units of volume.
Volumes are expressed in \text{m}^3, \text{cm}^3 or litres (1\,\text{L} = 10^{-3}\,\text{m}^3), and densities use per-cubic units, \text{kg}/\text{m}^3. In algebra, cubes appear in identities like a^3 - b^3 = (a - b)(a^2 + ab + b^2). The superscript applies to the preceding token only, so a prefixed unit is cubed as a whole, \text{cm}^3, which means (cm) cubed rather than c times m cubed. Brace multi-token exponents: x^{3n}. The cube root is written \sqrt[3]{x}. Write \text{m}^3, not cu m, in scientific text.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Cubed: $^3$
\[ V = \tfrac{4}{3}\pi r^3, \quad \rho = 1000\,\text{kg/m}^3 \]
\end{document}Related symbols
All Unit & Pengukuran →Frequently asked questions
- How do I write Cubed in LaTeX?
- Type ^3 in math mode, for example $V = \tfrac{4}{3}\pi r^3, \quad \rho = 1000\,\text{kg/m}^3$. It works in plain LaTeX without loading any package.
- Which package do I need for ^3?
- None. ^3 is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use ^3 in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $^3$ in running text.
Editor LaTeX AI Terbaik, Alternatif Overleaf
Octree membantu penyelidik dari 15+ universiti menulis kertas penyelidikan dengan lebih cepat menggunakan AI
- Jana diagram TikZ yang cantik menggunakan AI
- Muat naik imej dan tukar ke LaTeX dengan lancar
- Dapatkan bantuan segera untuk menulis dan memformat kertas penyelidikan