Math · FREE ONLINE TOOL

Volume Calculator

Find volumes of common solids, including hollow cylinders, frustums and spherical caps, with selectable measurement units.

Your inputs

Calculations run in your browser. No account needed.

EXAMPLE RESULTCalculated locally
Volume
523.6 m³
Clear inputs. Transparent methods.
My workspace

Calculate with your inputs to save a result or compare scenarios.

How it works

A useful distinction

A capsule length excludes its rounded ends

In capsule mode, cylinder length means the straight middle section. A capsule with overall length 10 and radius 2 has cylinder length 6. Entering 10 for that field would count the rounded ends’ length twice.

Matching dimensions to a solid shape

Volume measures the space inside the modeled solid. Select the correct shape and distinguish radius, diameter, height, and slant-related measurements using the field labels. All dimensions must use compatible units before combining them. The result uses cubic units and describes the idealized shape; wall thickness, openings, or irregular geometry need a mode or separate calculation that accounts for them.

Sphere: formula and assumptions

V = 4πr³/3.

Use consistent length units. Dimensions must be positive. A spherical cap includes its flat base; ellipsoid surface area is an approximation. Each dimension can use its own unit. Results use the selected output unit with the appropriate square or cube.

Cone: formula and assumptions

V = πr²h/3.

Use consistent length units. Dimensions must be positive. A spherical cap includes its flat base; ellipsoid surface area is an approximation. Each dimension can use its own unit. Results use the selected output unit with the appropriate square or cube.

Cube: formula and assumptions

V = a³.

Use consistent length units. Dimensions must be positive. A spherical cap includes its flat base; ellipsoid surface area is an approximation. Each dimension can use its own unit. Results use the selected output unit with the appropriate square or cube.

Cylinder: formula and assumptions

V = πr²h.

Use consistent length units. Dimensions must be positive. A spherical cap includes its flat base; ellipsoid surface area is an approximation. Each dimension can use its own unit. Results use the selected output unit with the appropriate square or cube.

Rectangular prism: formula and assumptions

V = length × width × height.

Use consistent length units. Dimensions must be positive. A spherical cap includes its flat base; ellipsoid surface area is an approximation. Each dimension can use its own unit. Results use the selected output unit with the appropriate square or cube.

Capsule: formula and assumptions

V = πr²h + 4πr³/3.

Use consistent length units. Dimensions must be positive. A spherical cap includes its flat base; ellipsoid surface area is an approximation. Each dimension can use its own unit. Results use the selected output unit with the appropriate square or cube.

Spherical cap: formula and assumptions

V = πh²(3r−h)/3.

Use consistent length units. Dimensions must be positive. A spherical cap includes its flat base; ellipsoid surface area is an approximation. Each dimension can use its own unit. Results use the selected output unit with the appropriate square or cube.

Conical frustum: formula and assumptions

V = πh(r²+rr₂+r₂²)/3.

Use consistent length units. Dimensions must be positive. A spherical cap includes its flat base; ellipsoid surface area is an approximation. Each dimension can use its own unit. Results use the selected output unit with the appropriate square or cube.

Ellipsoid: formula and assumptions

V = 4πabc/3.

Use consistent length units. Dimensions must be positive. A spherical cap includes its flat base; ellipsoid surface area is an approximation. Each dimension can use its own unit. Results use the selected output unit with the appropriate square or cube.

Rectangular pyramid: formula and assumptions

V = abh/3.

Use consistent length units. Dimensions must be positive. A spherical cap includes its flat base; ellipsoid surface area is an approximation. Each dimension can use its own unit. Results use the selected output unit with the appropriate square or cube.

Hollow cylinder: formula and assumptions

V = π(r²−r₂²)h.

Use consistent length units. Dimensions must be positive. A spherical cap includes its flat base; ellipsoid surface area is an approximation. Each dimension can use its own unit. Results use the selected output unit with the appropriate square or cube.

Spherical cap alternate dimensions: formula and assumptions

R=(base radius²+h²)/(2h); h=R±√(R²−base radius²).

Sphere radius and base radius can describe a minor and a major cap; both are shown. Each dimension can use its own unit. Results use the selected output unit with the appropriate square or cube.

Worked example

Using the Sphere example:

Inputs
Radius
5
Radius unit
Meters
Result length unit (squared for area, cubed for volume)
Meters
Method

V = 4πr³/3.

Result

Example result

Volume: 523.6 m³

These are illustrative inputs. Change the values to explore a different scenario.

Formula references

References explain the underlying methods; they do not imply endorsement or individual professional review of Finflo.

Common questions

Which volume does the hollow-cylinder mode calculate?

It subtracts the inner cylinder from the outer cylinder, giving the volume of the surrounding material rather than the empty bore.

Why can spherical-cap dimensions give two answers?

A sphere radius and cap-base radius can describe a smaller cap or the corresponding larger cap. The alternate-dimensions mode shows both.

Prepared by Finflo. See our methodology and editorial policy.