Volume Calculator

Pick a 3D shape, enter its dimensions, and get the volume in cubic units. Each shape uses its standard geometric formula, shown below.

Choose a shape, enter the dimensions and press Calculate volume.

Volume formulas for common solids

Volume is the three-dimensional space inside a solid, measured in cubic units. The standard formulas are:

box: V = length × width × height cylinder: V = π × radius² × height sphere: V = 4⁄3 × π × radius³ cone: V = 1⁄3 × π × radius² × height pyramid: V = 1⁄3 × base area × height

Worked example

Volume of a cylinder, radius 3, height 10:

Square the radius: 3² = 9.
Multiply by π and height: π × 9 × 10 ≈ 282.74 cubic units.

Units and capacity

Keep every dimension in the same unit; the answer is in that unit cubed. To convert cubic units to liquid capacity: 1 cubic foot ≈ 7.48 US gallons, and 1 litre = 1,000 cubic centimetres.

Tip: a cone or pyramid is exactly one-third the volume of the cylinder or prism that boxes it in — a handy sanity check.

Frequently asked questions

How do you find the volume of a cylinder?

Multiply π by the radius squared by the height: V = π × r² × h. A cylinder of radius 3 and height 10 holds about 282.74 cubic units.

What is the volume formula for a sphere?

V = 4⁄3 × π × r³. Cube the radius, multiply by π, then by four-thirds.

Why is a cone one-third of a cylinder?

A cone with the same base and height as a cylinder has exactly one-third its volume — a classic result from calculus and solid geometry.

How do I convert cubic feet to gallons?

Multiply cubic feet by about 7.48 to get US gallons. For metric, one litre equals 1,000 cubic centimetres.

MB
Mustafa Bilgic · Editor, Calcool
These are the standard solid-geometry volume formulas for the box, cylinder, sphere, cone and pyramid, as taught in school mathematics and listed by references such as Wolfram MathWorld. The constant π is full double precision. Math runs in your browser.

Related calculators