Volume Calculator

Calculate the volume of 12 common 3D shapes, with the formula and working shown, and the answer converted to litres, gallons, cubic feet and cubic metres.

Common Shapes & Objects:
lhw
Not to scale. Dashed lines are perpendicular heights.
Calculated Volume
60ft³

V = l × w × h

Capacity in other units
m³
1.699011
cm³
1,699,011
litres
1,699.011
US gallons
448.8312
UK gallons
373.7301
ft³
60
in³
103,680
yd³
2.222222
📝 Step-by-Step SolutionCuboid
Step 1 — Formula:V = l × w × h
Step 2 — Substitution:V = 5 × 4 × 3
Step 3 — Solved Volume:60 ft³
Volume Formulas & Direct Answers

How do you calculate the volume of a 3D shape?

Volume measures the 3D space contained inside a solid object in cubic units. For rectangular prisms (boxes), volume equals length × width × height. For cylinders, volume equals π × radius² × height. For spheres, volume equals ⁴⁄₃ × π × radius³.

Cuboid: V = l · w · h | Cylinder: V = π · r² · h | Sphere: V = ⁴⁄₃ · π · r³
V: Total volume (cubic units: cm³, m³, in³)
l, w, h: Length, width, and height dimensions
r: Radius of circular cross-section
π: Mathematical constant (~3.14159)

Cubes, cones, and the factor of three

Volume measures space in cubic units. Anything with a constant cross-section isbase area × height — which covers cubes, boxes, cylinders and every prism in one rule. Compute the area of the end and multiply by the length.

Solids that taper to a point take one third of that. A cone is ⅓πr²h and a pyramid is⅓ × base area × height. The one-third is not arbitrary: three identical pyramids of matching base and height fill their enclosing prism exactly, which is straightforward to demonstrate physically. A sphere is ⁴⁄₃πr³, which sits at two thirds of the cylinder that just contains it — a result Archimedes valued enough to have carved on his tomb.

Cubic units scale by the cube of the length factor, so 1 m³ is 1,000,000 cm³. Doubling every dimension multiplies volume by eight while surface area only quadruples — the reason bulk shipping is efficient and a large casserole takes far longer to cool than a small one. For capacity, 1 litre is exactly 1000 cm³.

📦 3D Geometric Solids Volume & Capacity Matrix

Crawlable Reference

Definitive geometric reference table comparing mathematical formulas, required dimensional parameters, and real-world capacity benchmarks.

Solid / ShapeVolume FormulaKey VariablesReal-World Benchmark Example
Cuboid (Prism)V = l × w × hLength (l), Width (w), Height (h)20-Ft Intermodal Shipping Container (~33 m³)
CubeV = a³Side Length (a)Standard Competition Rubik's Cube (~185 cm³)
CylinderV = π × r² × hRadius (r), Height (h)55-Gallon Industrial Steel Drum (~208 Litres)
SphereV = ⁴⁄₃ × π × r³Radius (r)Official FIFA Size 5 Soccer Ball (~5,575 cm³)
ConeV = ⅓ × π × r² × hRadius (r), Height (h)Highway Traffic Safety Pylon (~3.8 Litres)
Triangular PrismV = ½ × b × h × lBase (b), Triangle Height (h), Length (l)Standard Triangular Chocolate Packaging
Rectangular PyramidV = ⅓ × l × w × hBase (l, w), Apex Height (h)Great Pyramid of Giza (~2.58 Million m³)
Cone FrustumV = ⅓ × π × h × (R² + Rr + r²)Bottom/Top Radii (R, r), Height (h)Standard Tapered Household Bucket (~10 Litres)

💧 Storage Tanks & Everyday Objects Capacity Benchmark Table

Crawlable Benchmark

Multi-unit fluid and cubic volume equivalents across common industrial containers, residential vessels, and civil infrastructure:

Standard Container / SpacePrimary DimensionsUS Gallons (gal)Liters (L)Cubic Feet (ft³)Cubic Meters (m³)
Standard Household Bathtub60″ × 30″ × 14″~80 gal~302 L10.7 ft³0.30 m³
55-Gallon Steel Drum (Cylinder)d = 22.5″, h = 33.5″55.0 gal208.2 L7.35 ft³0.21 m³
Industrial IBC Tote Container48″ × 40″ × 46″275 gal1,041 L36.8 ft³1.04 m³
20-Ft Shipping Container19.4′ × 7.7′ × 7.8′8,760 gal33,160 L1,172 ft³33.2 m³
Olympic Competition Pool50m × 25m × 2m660,430 gal2,500,000 L88,287 ft³2,500 m³
⚠️

Common Calculation Mistakes & Pitfalls to Avoid

Be aware of these frequent calculation traps, unit errors, and conceptual misunderstandings before relying on mathematical outputs.

1
Cubing Linear Ratios When Converting Volume Units

Because volume has three dimensions, linear conversion factors must be cubed: 1 cubic meter is 1,000,000 cubic centimeters (100³), not 100 or 1,000.

2
Confusing Internal Volume with External Outer Dimensions

For shipping boxes, water tanks, and pipes, wall thickness reduces usable internal capacity. Measuring outside edges overstates fluid storage capacity.

3
Using Slant Height Instead of Perpendicular Apex Height

In cones and pyramids, height (h) must be measured at a 90-degree angle from base center to apex. Using the sloping diagonal edge artificially inflates computed volume.

4
Mixing Diameter with Radius in Cylinder Formulas

The formula V = πr²h requires radius. Forgetting to divide diameter by 2 makes the calculated volume 4 times larger than reality.

Authoritative References & Standards

  • National Institute of Standards and Technology (NIST) (2008):Special Publication 811 — Guide for the Use of the International System of Units (SI)
    Official Reference

    Derived SI units of volume, the litre, and the factors for converting between metric and US customary volumes.

  • T. L. Heath (ed.), Cambridge University Press (1897):The Works of Archimedes
    Official Reference

    English translation of On the Sphere and Cylinder, where Archimedes proves a sphere is two-thirds of the cylinder that encloses it.

Frequently Asked Questions

What is the volume formula for a cuboid?

Volume = length × width × height (l × w × h).

What is the volume formula for a cylinder?

Volume = π × r² × h, where r is radius and h is height.

What are the volume formulas for common solids?

Cuboid l × w × h; Cube a³; cylinder π × r² × h; sphere (4/3) × π × r³; cone (1/3) × π × r² × h.

How do I convert between volume units?

Cube the linear factor: 1 metre is 100 cm, but 1 cubic metre is 1,000,000 cubic centimetres. One litre is 1,000 cm³, one US gallon is about 3.785 litres, and one cubic foot is about 28.32 litres.