Volume Calculator
Calculate the volume of any 3D shape — sphere, cone, cylinder, cube, rectangular prism, pyramid, ellipsoid and more — with built-in unit conversion.
How to use the Volume Calculator
- Enter your inputs into the Volume Calculator above.
- Results update instantly as you type — no submit button needed.
- Adjust any value to see how the result changes in real time.
Common volume formulas
Sphere: 4/3·π·r³ · · · Cylinder: π·r²·h · · · Cone: 1/3·π·r²·h · · · Cube: s³
Each 3D shape has its own volume formula. The calculator handles ~12 common shapes with appropriate inputs and supports cubic meters, cubic feet, gallons, liters and more.
Worked example
A cylinder with radius 5 cm and height 10 cm: V = π × 5² × 10 = 250π ≈ 785.4 cm³. A sphere of the same radius: V = (4/3)π × 5³ = (500/3)π ≈ 523.6 cm³. The sphere occupies about ⅔ the volume of its bounding cylinder.
Frequently asked questions
How do I convert volume units?
1 cubic meter = 1,000 liters = 264.2 US gallons. 1 cubic foot = 7.48 US gallons. The calculator includes a built-in converter for common units.
What about irregular shapes?
Real-world irregular objects are often approximated by combining standard shapes (e.g., a bottle = cylinder + cone). For genuinely complex shapes, displacement (submerge in water and measure displaced volume) is often used.
What's the volume of a frustum?
A frustum is a cone or pyramid with the top cut off. V = (1/3)·h·(A₁ + A₂ + √(A₁·A₂)), where A₁ and A₂ are the two parallel face areas.