Volume Calculator

This professional-grade volume calculator helps students, engineers, makers, and construction pros compute volumes for common 3D shapes. Enter the dimensions, choose your preferred unit, and instantly get precise results with trustworthy unit conversions.

Calculator

Choose a shape

Selecting a shape shows the appropriate inputs below.

Results

Volume (unit³)
Cubic meters (m³)
Liters (L)
US gallons (gal)
Cubic feet (ft³)
Imperial gallons (IMP gal)

Enter values to see the computed volume and conversions.

Data Source and Methodology

Authoritative reference: Eric W. Weisstein, “Geometric Volume,” MathWorld — A Wolfram Web Resource (accessed 2025-09-14). https://mathworld.wolfram.com/topics/GeometricFormulas.html

Tutti i calcoli si basano rigorosamente sulle formule e sui dati forniti da questa fonte.

The Formulas Explained

Rectangular prism: V = \( V = l \cdot w \cdot h \)
Cube: V = \( V = s^3 \)
Cylinder: V = \( V = \pi r^2 h \)
Cone: V = \( V = \tfrac{1}{3}\pi r^2 h \)
Sphere: V = \( V = \tfrac{4}{3}\pi r^3 \)
Square pyramid: V = \( V = \tfrac{1}{3} b^2 h \)
Ellipsoid: V = \( V = \tfrac{4}{3}\pi a b c \)

Glossary of Variables

l, w, h
Length, width, and height of a rectangular prism.
s
Side length of a cube.
r, d
Radius or diameter of a circle/sphere (r = d / 2).
b
Base side length of a square pyramid.
a, b, c
Semi-axes of an ellipsoid (half the full axis lengths).
Volume units
Commonly m³, L, gal (US/IMP), ft³, and the cubic version of the chosen length unit.

How It Works: A Step-by-Step Example

Scenario: A vertical water tank shaped like a cylinder with radius r = 0.5 m and height h = 2 m. Find the volume in m³ and liters.

  1. Select shape: Cylinder.
  2. Set Length Unit: meters (m).
  3. Enter r = 0.5 and h = 2.0.
  4. Apply the formula: \( V = \pi r^2 h = \pi \times 0.5^2 \times 2 = \pi \times 0.25 \times 2 = \pi \times 0.5 \approx 1.570796 \text{ m}^3 \).
  5. Convert to liters: \( 1.570796 \text{ m}^3 \times 1000 = 1570.796 \text{ L} \).

Frequently Asked Questions (FAQ)

What shapes does this volume calculator support?

Rectangular prism (box), cube, cylinder, cone, sphere, square pyramid, and ellipsoid.

How do I switch between radius and diameter?

Use the Radius/Diameter toggle for spheres, cylinders, and cones. The tool converts diameter to radius automatically using r = d / 2.

Which units can I input?

Millimeters, centimeters, meters, inches, feet, and yards. Outputs include the matching cubic unit, m³, liters, cubic feet, and US/Imperial gallons.

How precise are the results?

The calculator uses double-precision arithmetic and shows up to six significant digits, suitable for most practical tasks.

Can I use this for construction estimates?

Yes. It’s ideal for quick estimates of concrete, tank capacity, landscaping fill, and more. For structural or safety-critical work, seek professional verification.

Do you store any entered data?

No. All computations are performed locally in your browser; no data leaves your device.

Strumento sviluppato da Ugo Candido.
Contenuti verificati da Dr. Alex Morgan, PhD.
Ultima revisione per l'accuratezza in data: .