How do I calculate volume?
Choose a shape, enter its dimensions, and the volume appears instantly in your chosen unit, with conversions to cm3, m3, liters and US gallons. The default example is a rectangular box of 10 x 20 x 30 cm: volume=length x width x height=6,000 cm3, which is exactly 6 liters or 1.59 gallons, with a surface area of 2,200 cm2. The Sample button loads a cylinder of radius 5 cm and height 10 cm: pi x r2 x h gives 785.4 cm3 (0.79 liters) and a surface area of 471.24 cm2. Seven shapes are supported: rectangular box, cube, cylinder, sphere, cone, square pyramid and ellipsoid, each with its formula shown on the page.
What are the volume formulas?
Box: length x width x height. Cube: side cubed. Cylinder: pi x radius2 x height. Sphere: 4/3 x pi x radius3, so a sphere of radius 3 has volume 113.1. Cone: ⅓ x pi x radius2 x height, so radius 3 and height 4 gives 37.7, exactly one third of the matching cylinder. Square pyramid: ⅓ x base2 x height, so base 6 and height 4 gives 48. Ellipsoid: 4/3 x pi x a x b x c for the three radii, so radii 2, 3 and 4 give 100.53. Notice the pattern: pointed shapes (cone, pyramid) are always one third of the straight-sided shape on the same base and height.
How do I convert volume units?
Every result is shown in cm3, m3, liters and US gallons at once. The links are exact: 1 liter=1,000 cm3, 1 m3=1,000 liters, and 1 US gallon=3.785411784 liters. Inputs can be in centimeters, meters, inches or feet; the calculator cubes the length conversion (1 inch=2.54 cm), so 1,000 cubic inches becomes 16,387 cm3, or 16.39 liters. Volume conversions surprise people because the factor is cubed: doubling every dimension of a box multiplies its volume by eight, not two. If you measured a tank in feet, enter feet and read the gallons directly for filling or dosing.
Where is volume used in real life?
Shipping and storage: a box volume decides how many fit in a container and what freight costs. Construction: concrete, gravel and soil are ordered by cubic meters, and a pyramid or cone shape approximates piles of aggregate. Water: tank and aquarium capacity in liters or gallons comes straight from cylinder and box volumes, and dosing chemicals depends on it. Cooking and packaging use liters and gallons. In school, volume is core geometry, and checking homework against this calculator catches the two classic mistakes: using diameter instead of radius (which multiplies a cylinder or sphere by four or eight), and forgetting the ⅓ on cones and pyramids.
What about surface area?
Surface area is shown for six of the seven shapes, in the square of your input unit: box 2(lw + lh + wh), cube 6 x side2, cylinder 2 x pi x r x (r + h), sphere 4 x pi x r2, cone pi x r x (r + slant height), and square pyramid base2 plus the four triangular faces. The ellipsoid is the exception: it has no simple exact surface-area formula (only approximations), so the calculator honestly shows n/a rather than a made-up number. Surface area matters for painting, wrapping, heat loss and material estimates, while volume matters for capacity; the two together describe a solid completely for most practical purposes.
Is it free and private?
Yes. The volume calculator is free, with no signup, no account and no limits. Calculations run entirely in your browser, so your dimensions are never sent to a server, stored or logged. For students, builders, movers and anyone sizing a tank or a box, this page does the job in seconds.