How This Calculator Works
Computes exact volume for six standard 3D shapes—cubes, rectangular prisms, cylinders, spheres, cones, and triangular prisms—and sums multiple shapes into metric and imperial capacity units.
When to Use It
- Measuring excavation trenches, storage tanks, planters, or ductwork transitions.
- Converting between cubic volume and US liquid gallons vs Imperial gallons.
Required Measurements
- Shape type and dimensions (side, length/width/height, diameter/height, or triangle base/height/length).
Mathematical Formulas
3D Volume Formulas
Prism: L×W×H; Cylinder: πr²h; Sphere: (4/3)πr³; Cone: (1/3)πr²h; Tri. Prism: 0.5×b×h×L
- r:
- Radius (diameter / 2) (m)
- L, W, H, b, h:
- Shape dimensions converted to meters (m)
Worked Example: Cylindrical Tank (4 ft Diameter × 5 ft High)
Single vertical cylinder with 4 ft diameter (2 ft radius) and 5 ft height.
Example Inputs
- Diameter = 4 ft
- Height = 5 ft
Step-by-Step Math
- Volume = π × 2² × 5 = 20π = 62.8319 cu ft (2.3271 cu yd / 1.7792 m³).
- Liters = 1,779.20 L; US gallons = 470.02 US gal; Imperial gallons = 391.37 Imp gal.
Result: 62.83 cu ft (1.78 m³ / 1,779.2 L / 470.0 US gal / 391.4 Imp gal).
Understanding Your Results
- Cubic Volume (m³, ft³, yd³)
- Standard construction solid/bulk volume units.
- Liquid Capacity (L, US gal, Imp gal)
- US liquid gallon (3.78541 L) and Imperial gallon (4.54609 L) shown separately.
Assumptions
- Measures internal or external geometric volume depending on whether you enter interior or exterior dimensions.
Common Calculation Mistakes
- Confusing US liquid gallons (3.785411784 L) with UK/Imperial gallons (4.54609 L), which differ by ~20%.
Scope, Safety Boundaries & Limitations
- Thin tank wall thicknesses should be subtracted before entering interior capacity dimensions.
Frequently Asked Questions
What is the difference between a US gallon and an Imperial gallon?
One US liquid gallon equals exactly 3.785411784 liters (231 cubic inches), while one Imperial gallon equals 4.54609 liters—about 20.095% larger.