Skip to content · 跳到主要内容

Volume Calculator

Calculate common solid geometry from shape-specific dimensions and selectable measurement units

Volume
--
--
Shape
--
Dimensions
--
Component one
--
Component two

Common solid geometry

Select a shape, enter its required dimensions and choose units for each measurement. The calculator converts lengths to meters before applying the shape formula, then converts the result to your selected output unit. A spherical cap accepts any two of its base radius, sphere radius and height; if only the two radii are given, the smaller cap is selected.

Sphere: 4πr³/3; cone: πr²h/3; cube: a³; cylinder: πr²h; box: lwh; capsule: πr²h+4πr³/3; spherical cap: πh²(3R−h)/3; frustum: πh(r²+rR+R²)/3; ellipsoid: 4πabc/3; square pyramid: a²h/3; hollow tube: πl(d₁²−d₂²)/4.

Frequently Asked Questions

Can I use different units for each dimension?

Yes. Each input has its own length unit. Values are converted to meters before calculating, so mixed units are safe.

How is the ellipsoid surface area calculated?

It uses the Knud Thomsen approximation with exponent 1.6; it is not an exact closed-form formula.

What happens when I enter only two spherical-cap values?

The missing radius or height is derived from the sphere geometry. When both radii are entered, the smaller cap is chosen.

Which volume is reported?

The internal volume of the solid described by the dimensions you enter, expressed in the output unit you selected.

How do I convert the result to litres or gallons?

Select the matching output unit. Cubic metres are converted into litres, US gallons, imperial gallons or cubic feet as required.

Last reviewed: October 5, 2026 · How we calculate · Sources: Published formula reference; verify domain-specific assumptions before making a decision