Summary

Calculate volume for cubes, rectangular prisms, cylinders, cones, and spheres.

Calculation details

Only the positive dimensions required by the selected solid are validated. Calculations retain raw JavaScript number precision; display values are rounded to at most six decimal places.

Formula

Cube s³; prism lwh; cylinder πr²h; cone πr²h/3; sphere 4πr³/3.

Worked example

Volume Calculator example

A cube with side 3 m has volume 27 m³.

How it works

Select a solid and enter its required positive dimensions. The matching volume formula is applied and the result is formatted for display.

Frequently asked questions

How accurate is the Volume Calculator?

The calculation keeps raw numeric precision and rounds only the displayed result to at most six decimal places.

What should I do with an invalid result?

Check that every visible value is finite and that no required divisor is zero.

Related calculators