Volume Calculator

Find the volume of common 3D shapes, with conversions to gallons and liters.

Updated . Free, no sign-up, calculated in your browser.

Volume
24 cubic feet
Liters679.6043
US gallons179.5325
Cubic yards0.8889

Volume formulas

Box V = l × w × h Cylinder V = πr²h Sphere V = 4/3 πr³ Cone V = 1/3 πr²h Pyramid V = 1/3 × base area × h

A cone holds exactly one third of the cylinder with the same base and height, and a pyramid one third of the matching box. One cubic foot holds about 7.48 US gallons.

Example calculation

Example: with shape Box (rectangular prism), length 4, width 3, height 2, units Feet, the result is Volume: 24 cubic feet.

Liters679.6043
US gallons179.5325
Cubic yards0.8889

Frequently asked questions

How many gallons are in a cubic foot?

About 7.48 US gallons.

How do I find the volume of a cylinder?

V = πr²h. A tank 2 feet in radius and 5 feet tall holds about 62.8 cubic feet, roughly 470 gallons.

Why is a cone one third of a cylinder?

A cone with the same base and height as a cylinder holds exactly one third of its volume, as calculus proves.

How do I calculate cubic yards for soil or mulch?

Multiply length × width × depth in feet, then divide by 27. The gravel and mulch calculator does this for you.

Results are calculated in your browser for general and educational use. Double-check figures before relying on them for graded work or important decisions.