Volume Calculator
Your estimate
Volume24 ft³0.89 yd³ · 0.68 m³
- Capacity
- 179.5 gal679.6 L
- Cubic yards
- 0.89 yd³24 ft³ · 0.68 m³
Ten solid shapes, any length unit — volume in ft³, yd³, m³, gallons and litres.
Updated 2026-10-20 · Based on: exact NIST unit definitions.
How to use the Volume Calculator
- Pick the shape.
- Enter its sizes.
- Read cubic feet, cubic yards, cubic metres, US gallons and litres.
Formula
Box: l × w × h. Cylinder: π r² h. Sphere: 4/3 π r³. Cone: ⅓ π r² h. Pyramid: ⅓ l w h.
Tube: π (R² − r²) h. Capsule: cylinder + sphere. Frustum: ⅓ π h (R² + R r + r²).
1 ft³ = 7.48 US gallons = 28.32 L; 1 m³ = 1,000 L.
Worked example
With the values preset in the calculator above: (Box)
- Length
- 4 ft
- Width
- 3 ft
- Height
- 2 ft
- Volume
- 24 ft³ (0.89 yd³)
- Capacity
- 179.5 gal (679.6 L)
- Cubic yards
- 0.89 yd³ (24 ft³)
Frequently asked questions
How do I calculate the volume of a cylinder?
π × radius² × height. A drum 2 ft across and 2 ft tall holds 6.28 ft³.
How many gallons in a cubic foot?
7.48 US gallons (28.32 litres).
What is the volume of a sphere?
4/3 × π × radius³. A 1 m ball holds 0.524 m³.
More calculators
Square Footage CalculatorArea & volumeSquare Meter CalculatorArea & volumeArea CalculatorArea & volumeCubic Yard CalculatorArea & volumeCubic Feet CalculatorArea & volumeCubic Meter CalculatorArea & volumeBoard Foot CalculatorArea & volumeLinear Feet CalculatorArea & volumeAcreage CalculatorArea & volume
Estimates only — check quantities with your supplier and local building code before you order.