Volume Calculator

Enter dimensions in the linear unit for .

V = 8 m³
PropertyValue
Volume8
Surface area24

Volume Formulas for 3D Shapes

Volume measures three-dimensional space occupied by a solid, in cubic units (m³, cm³, ft³, L, gal). Each shape tab uses the standard geometric formula for that solid. Results are computed in cubic meters and converted to your chosen display unit.

A cube with edge s has V = s³. A rectangular box has V = lwh. A sphere has V = (4/3)πr³. A cylinder has V = πr²h. A cone has V = (1/3)πr²h — exactly one-third the volume of a cylinder with the same base and height. A pyramid has V = (1/3) × base area × height.

An ellipsoid with semi-axes a, b, c has V = (4/3)πabc. A hemisphere (half sphere) has V = (2/3)πr³. A triangular prism has V = (1/2) × base × height × length. A torus (donut shape) with major radius R and tube radius r has V = 2π²Rr².

Where applicable, surface area is shown alongside volume: for example a sphere has SA = 4πr² and a cylinder has SA = 2πr(r+h). Select metric (m³, cm³, L) or imperial (ft³, in³, gal) units from the dropdown.

Pick your shape, enter the required dimensions, and copy the results for engineering, shipping, chemistry lab work, or construction estimating.

Examples

ExampleResult
Cube edge 3V = 27
Sphere r=2V ≈ 33.51
Cylinder r=2, h=5V ≈ 62.83
Box 2×3×4V = 24

Frequently asked questions

A cone is exactly one-third the volume of a cylinder with the same base and height.

R is the distance from the center to the tube centerline; r is the tube radius.

Yes, for shapes where a closed-form surface area formula exists.

Related calculators