Volume Calculator

Calculate the volume of a cube, rectangular prism, cylinder, cone, sphere, pyramid, triangular prism, or torus. Dynamic formulas, unit support, and step-by-step volume explanation.

Full original guide (expanded)

Volume Calculator

Compute volume for common 3D shapes from dimensions.

1. Select shape & unit

2. Enter dimensions

All dimensions must use the same unit you selected above.

3. Result

Volume:

Shown in cubic cm. Make sure all inputs use the same unit.

Liters: — | US gal: —

Formula

V = l × w × h

Volume: recap

In solid geometry, volume measures the space a 3D object occupies. For regular solids, we have closed-form formulas; for irregular objects we normally have to integrate or approximate.

Most used formulas

  • Cube: \( V = a^3 \)
  • Rectangular prism: \( V = lwh \)
  • Cylinder: \( V = \pi r^2 h \)
  • Cone: \( V = \frac{1}{3} \pi r^2 h \)
  • Sphere: \( V = \frac{4}{3} \pi r^3 \)
  • Square pyramid: \( V = \frac{1}{3} b^2 h \)
  • Triangular prism: \( V = \frac{1}{2} b h_t \cdot L \)
  • Torus: \( V = 2 \pi^2 R r^2 \)

Units & conversions

1 dm³ = 1 L, 1 m³ = 1000 L, 1 US gallon ≈ 3.78541 L. So once you get the volume in cubic cm (cm³), divide by 1000 to get liters.


Audit: Complete
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[','\\]
','\
Variables and units
  • No variables provided in audit spec.
Sources (authoritative):
Changelog
Version: 0.1.0-draft
Last code update: 2026-01-19
0.1.0-draft · 2026-01-19
  • Initial audit spec draft generated from HTML extraction (review required).
  • Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
  • Confirm sources are authoritative and relevant to the calculator methodology.
Verified by Ugo Candido on 2026-01-19
Profile · LinkedIn
Formulas

(Formulas preserved from original page content, if present.)

Version 0.1.0-draft
Citations

Add authoritative sources relevant to this calculator (standards bodies, manuals, official docs).

Changelog
  • 0.1.0-draft — 2026-01-19: Initial draft (review required).