Volume Calculator

Calculate the volume of a cube, rectangular box, sphere, cylinder, or cone from its dimensions, in metric or imperial units. Also shows liquid capacity in liters or gallons.

Examples

Side 2 m → volume 8 m³ ≈ 8000 L of liquid capacity.

Volume
8.00 m³
Liquid capacity
8000.00 L

Cube — volume scales with the cube of the side, so doubling the side multiplies the volume by 8.

Was this useful?

Examples

How It Works

Formula

Vcube=s3V_{\text{cube}} = s^3

Vbox=lwhV_{\text{box}} = l \cdot w \cdot h

Vsphere=43πr3V_{\text{sphere}} = \tfrac{4}{3}\,\pi r^3

Vcylinder=πr2hV_{\text{cylinder}} = \pi r^2 h

Vcone=13πr2hV_{\text{cone}} = \tfrac{1}{3}\,\pi r^2 h

Variables

ss

Side length of a cube

ll

Length of a rectangular box

ww

Width of a rectangular box

hh

Height of a box, cylinder, or cone

rr

Radius of a sphere, cylinder, or cone

VV

Volume in cubic units (e.g. m³, in³)

π\pi

Pi — ≈ 3.14159, the ratio of a circle's circumference to its diameter

Pick a shape, enter its dimensions, and the calculator applies the matching geometric formula (e.g. πr²h for a cylinder). Liquid capacity is a unit conversion of the volume — liters in metric, US gallons in imperial.

Frequently Asked Questions

01Which shape should I pick?
Cube for objects with all sides equal. Rectangular box for boxes / rooms / fish tanks (length × width × height). Sphere for balls. Cylinder for cans, pots, pipes. Cone for funnels and ice-cream cones.
02How do I convert volume to liters or gallons?
In metric, 1 cm³ equals 1 mL, so 1 m³ equals 1000 liters. In imperial (US), 1 US gallon equals 231 in³, and 1 ft³ equals about 7.48 US gallons. The calculator picks liters in metric units (m / cm) and US gallons in imperial (ft / in) automatically.
03What unit are dimensions in?
Whatever you pick under "Unit" — meters, centimeters, feet, or inches. The calculator does not convert numeric inputs when you change the unit; re-enter the values if you switch.
04Why doesn't this show surface area?
Surface area is a different question with its own formulas and use cases (paint coverage, wrapping, heat transfer). To keep the result panel focused on the headline answer, we left it out — open a separate calculator if that's what you need.
05How do I choose the right shape?
Pick the solid that best matches the object you are estimating. A box fits rooms and cartons, a cylinder fits tanks and pipes, a cone fits funnels, and a sphere fits balls or domes. If the object is irregular, break it into simpler shapes and add the volumes.

All calculators