OmniCalc logo
OmniCalc

Volume Calculator Guide: How to Calculate Volume for Any 3D Shape

6 min read

Ready to calculate?

Use our free Volume Calculator — no sign-up required.

Open 🧊 Volume Calculator

Volume measures the three-dimensional space occupied by or enclosed within an object. From calculating concrete needed for a foundation, estimating how much water a pool holds, to dosing liquid medications, volume calculations are indispensable. This guide covers all major 3D shape formulas, unit conversions between cubic feet, gallons, and liters, and practical real-world applications.

Key Takeaways

  • Box: V = l × w × h | Cylinder: V = πr²h | Sphere: V = 4/3πr³ | Cone: V = 1/3πr²h
  • 1 cubic foot = 7.481 US gallons | 1 cubic yard = 27 cubic feet
  • Concrete/gravel: area × depth in feet = cubic feet; ÷ 27 = cubic yards
  • Pool volume in gallons = cubic feet × 7.48
  • Weight = volume × density: water = 62.4 lb/cu ft; concrete = 145–150 lb/cu ft

Volume Formulas for Common Shapes

Cube and rectangular box (cuboid): • Cube: V = side³ • Box: V = length × width × height

Cylinder: • V = π × radius² × height = πr²h

Sphere: • V = (4/3) × π × radius³ = 4πr³/3

Cone: • V = (1/3) × π × radius² × height = πr²h/3

Pyramid: • V = (1/3) × base area × height

Triangular prism: • V = (1/2) × base × height × length = ½bhl

Ellipsoid: • V = (4/3) × π × a × b × c (where a, b, c are semi-axes)

  • Box: V = l × w × h | Cube: V = s³
  • Cylinder: V = πr²h (radius² × height × 3.14159)
  • Sphere: V = 4/3 × π × r³
  • Cone: V = 1/3 × π × r² × h (1/3 of cylinder with same dimensions)

Volume Unit Conversions

Dry volume: • 1 cubic foot = 1,728 cubic inches • 1 cubic yard = 27 cubic feet • 1 cubic meter = 35.315 cubic feet = 1.308 cubic yards

Liquid volume: • 1 gallon (US) = 231 cubic inches = 3.785 liters • 1 cubic foot = 7.481 gallons • 1 liter = 1,000 milliliters = 0.264 gallons • 1 cubic meter = 1,000 liters = 264.2 gallons

Key practical conversion: • Pool volume in gallons = cubic feet × 7.48 • Concrete in cubic yards = cubic feet ÷ 27

Note: 1 liter of water weighs exactly 1 kilogram (at 4°C); 1 US gallon of water weighs approximately 8.34 pounds.

  • 1 cubic foot = 7.481 US gallons | 1 cubic yard = 27 cubic feet
  • 1 US gallon = 3.785 liters | 1 liter = 1,000 mL
  • Pool/tank volume: cubic feet × 7.48 = gallons
  • Concrete: calculate cubic feet, divide by 27 for cubic yards

Practical Volume Calculations for Construction

Concrete for a slab: • Measure area in sq ft, determine depth in feet • Cubic feet = area × depth • Cubic yards = cubic feet ÷ 27 • Example: 12' × 20' patio, 4" thick: 12 × 20 × (4/12) = 80 cu ft = 2.96 cu yd ≈ 3 cubic yards

Dirt fill or excavation: • Same formula as concrete: area × depth = cubic yards (÷27) • For excavation: convert cubic yards to truck loads (typical dump truck ≈ 10–14 cu yd)

Gravel for driveway: • Area (sq ft) × depth (ft) ÷ 27 = cubic yards • Typical depth: 4" base + 2" top = 6" = 0.5 ft • 20' × 50' driveway × 0.5 ft = 500 cu ft ÷ 27 = 18.5 cu yd

  • Concrete/gravel: (l × w × depth) ÷ 27 = cubic yards
  • 4" slab: multiply sq ft by 0.333 (4/12) for cu ft, then ÷ 27
  • Add 10% for waste in concrete orders
  • Dump truck: ~10–14 cu yd; excavation: calculate loads needed

Pool and Tank Volume Calculations

Rectangular pool: • V (gallons) = length × width × average depth × 7.48 • Example: 20' × 40' pool, 5' average depth: 20 × 40 × 5 × 7.48 = 29,920 gallons

Round pool: • V (gallons) = π × radius² × depth × 7.48 • 16' diameter (8' radius), 4' deep: 3.14159 × 64 × 4 × 7.48 = 6,028 gallons

Oval pool: • V (gallons) = π × (long radius) × (short radius) × depth × 7.48

Chemical dosing for pools typically scales with volume in gallons. Pool volume also determines pump size, filter capacity, and turnover rate (the time to filter the entire volume once — ideal: 6–8 hours).

  • Rectangular pool: l × w × avg depth × 7.48 = gallons
  • Round pool: π × r² × depth × 7.48 = gallons
  • Pool turnover: gallons ÷ pump GPH = turnover hours (target: 6–8 hours)
  • Chemical dosing scales with pool volume in gallons or liters

Volume in Cooking and Measurement

Kitchen volume conversions: • 1 tablespoon = 3 teaspoons = 15 mL • 1 fluid ounce (fl oz) = 2 tablespoons = 30 mL • 1 cup = 8 fl oz = 16 tablespoons = 240 mL • 1 pint = 2 cups = 480 mL • 1 quart = 2 pints = 4 cups = 960 mL • 1 gallon = 4 quarts = 16 cups = 3.785 liters

Note: dry measuring cups (for flour, sugar) and liquid measuring cups give identical volume but are used differently. Dry ingredients are measured level (topped off) while liquids are read at the meniscus.

Baking volume vs. weight: weight (grams) is more accurate for baking because volume can vary with packing density. 1 cup of flour = 120–150g depending on how it's scooped.

  • 1 cup = 240 mL = 16 tablespoons = 8 fl oz
  • 1 tablespoon = 15 mL | 1 teaspoon = 5 mL
  • 1 gallon = 3.785 liters | 1 liter = 4.23 cups
  • Weight is more accurate than volume for baking

Density and Volume: Weight Calculations

Volume × density = weight. This is essential for shipping, structural load calculations, and material quantity estimation.

Common material densities: • Water: 62.4 lb/cu ft = 8.34 lb/gallon = 1 kg/liter • Concrete: 145–150 lb/cu ft (2,322–2,403 kg/m³) • Sand: 95–100 lb/cu ft • Gravel: 100–110 lb/cu ft • Topsoil: 75–100 lb/cu ft • Steel: 490 lb/cu ft • Lumber (typical): 30–35 lb/cu ft

Example: weight of a 10 cubic yard concrete pour: • 10 cu yd × 27 cu ft/cu yd = 270 cu ft • 270 × 150 lb/cu ft = 40,500 lbs = 20.25 tons

Frequently Asked Questions

How do I calculate cubic yards for a concrete pour?

Multiply length × width × thickness (all in feet) to get cubic feet, then divide by 27. For a 4-inch slab: thickness in feet = 4/12 = 0.333. A 10' × 20' patio slab: 10 × 20 × 0.333 = 66.7 cu ft ÷ 27 = 2.47 cubic yards. Order 2.7 cubic yards (add ~10% for waste).

How many gallons is a cubic foot?

1 cubic foot = 7.481 US gallons. This conversion is essential for calculating tank volume, pool volume, and water weight. 1 cubic foot of water weighs 62.4 pounds (7.481 gallons × 8.34 lb/gallon).

What is the volume of a cylinder?

V = π × radius² × height = πr²h. For a cylinder 2 feet in diameter and 4 feet tall: radius = 1 foot; V = 3.14159 × 1² × 4 = 12.57 cubic feet = 94 gallons.

How many cubic feet are in a cubic yard?

27 cubic feet = 1 cubic yard (3 feet × 3 feet × 3 feet = 27). This is because volume scales with the cube of linear dimensions: if you double the linear dimension, volume increases 8×; tripling it increases volume 27×.

How do I convert liters to gallons?

1 US gallon = 3.785 liters. To convert liters to gallons: divide by 3.785 (or multiply by 0.2642). For example: 20 liters ÷ 3.785 = 5.28 gallons. Note: UK/Imperial gallons differ (1 UK gallon = 4.546 liters).

Try the Volume Calculator

Free, instant, and accurate — calculate now.

Open 🧊 Volume Calculator