General calculator

Volume Calculator

A volume calculator that turns a rectangular space length, width and height into cubic feet and cubic yards, then converts to gallons or cubic metres and into a material order. One volume number feeds the fill, the tank and the truck, so it pays to get it right the first time. Guess the volume and the order lands short or leaves a pile behind.

  • Free to use
  • No sign-up
  • Formula and sources shown
Volume Calculator

Got the number? Save it before it gets lost.

A result on a screen is easy to lose. Save this estimate in the app and it stays with the project, ready when you order.

Save this estimate in the app
10
10
6

Volume

600.00 cu ft

Equivalent

22.22 cu yd

Turn this result into a priced plan

Save it to a project, add the rest of your materials, and send a client-ready quote. No retyping, no spreadsheet, no lost numbers.

Open this calculator in the app

Formula

Volume = Length × Width × Height

Worked example. A storage bin 4 ft × 3 ft × 2 ft: 4 × 3 × 2 = 24 cubic feet, or about 0.89 cubic yards.

To calculate volume, multiply length by width by height in feet. A bin 4 ft by 3 ft by 2 ft holds 24 cubic feet, which is 0.89 cubic yards. Divide cubic feet by 27 to get cubic yards, then use the same number for gallons or cubic metres when the supplier asks for a different unit.

Key takeaways

  • •Volume = length × width × height, with every dimension in feet. The calculator shows cubic feet and cubic yards.
  • •One cubic yard is 27 cubic feet, because a yard is 3 ft and 3 × 3 × 3 = 27.
  • •Depth in inches must be converted to feet first. A 4 in slab is 0.333 ft, not 4.
  • •This tool is for a rectangular box. Cylinders, slopes and irregular shapes need to be split up or calculated by hand.
  • •Volume is the space itself. It does not include waste, compaction or the weight of a material.

How to use the volume calculator

  1. Measure the length, width and height or depth of the space in feet.
  2. Convert inches to decimal feet by dividing by 12.
  3. Enter the three dimensions.
  4. Read the volume in cubic feet and cubic yards.
  5. Convert the volume to gallons or metric if you need it, using the tables below.
  6. For a material order, add the waste and compaction allowance that material needs.

Volume formulas

Volume (cu ft) = Length (ft) × Width (ft) × Height (ft)

Cubic yards = Cubic feet ÷ 27

Gallons (US) = Cubic feet × 7.48052

Cubic metres = Cubic feet × 0.0283168

A cubic foot is a cube 1 ft on each side. A cubic yard is a cube 3 ft on each side, so it holds 27 cubic feet.

Volume calculator examples

Example 1: a storage bin 4 ft × 3 ft × 2 ft (the calculator default)

  • Volume = 4 × 3 × 2 = 24 cu ft
  • Cubic yards = 24 ÷ 27 = 0.89 cu yd

Example 2: a 12 ft × 10 ft hole dug 2 ft deep

  • Volume = 240 cu ft = 8.89 cu yd

Example 3: a 10 ft × 10 ft slab, 4 in thick (0.333 ft)

  • Volume = 33.3 cu ft, or about 1.23 cu yd. For an exact 4 in depth use 0.3333 ft.

Example 4: a 10 ft × 10 ft area filled 6 ft deep

  • Volume = 600 cu ft = 22.22 cu yd

Example 5: a 20 ft × 10 ft pool, 5.5 ft average depth

  • Volume = 1,100 cu ft = 40.74 cu yd, which is about 8,229 US gallons

Example 6: cost of Example 2 at an example price

  • 8.89 cu yd × $40 per cu yd = $356 (example price only)

Cubic feet to cubic yards

Cubic feetCubic yards
240.89
271.00
1003.70
1445.33
28810.67
60022.22

Divide by 27. The cubic feet to cubic yards converter does it for any value.

Volume of common box shapes

Size (L × W × H)Cubic feetCubic yards
3 × 3 × 3 ft271.00
8 × 4 × 2 ft642.37
6 × 8 × 3 ft1445.33
12 × 8 × 3 ft28810.67
10 × 10 × 10 ft1,00037.04

Illustrative sizes only. Use your own measured dimensions.

Turning volume into gallons

VolumeUS gallons
1 cu ft7.48
24 cu ft180
144 cu ft1,077
288 cu ft2,154
1,100 cu ft8,229

Gallons = cubic feet × 7.48052. This is the capacity of a full rectangular tank. A real tank filled below its brim holds less, so use the water depth as the height.

Using volume for materials

ProjectHow volume is usedNext step
Concrete slab or footingArea × thickness, in cubic yardsConcrete calculator
Gravel or baseVolume, then tons from densityGravel calculator
Soil, mulch or sandVolume in cubic yardsYard calculator
ExcavationHole volume, plus swellExcavation calculator
FoundationFooting and wall volumeFoundation volume calculator
BackfillSpace to refill, with compactionBackfill calculator

Volume is only the starting point. Waste, compaction and density change the amount you order.

Irregular and non-box shapes

ShapeFormulaNote
Cylinderπ × (Diameter ÷ 2)² × HeightTanks, round footings and columns
Triangular prism½ × Base × Height × LengthWedges and gable fills
Sloped fillAverage depth × Length × WidthUse the average of the shallow and deep ends
Stepped holeSum of boxesSplit into separate boxes and add them
Cone⅓ × π × Radius² × HeightPiles of loose material

The calculator handles one box. For other shapes, calculate each part by hand or split the space into boxes and add the results.

Units and conversions

FromToMultiply by
Cubic feetCubic yards0.037037 (divide by 27)
Cubic yardsCubic feet27
Cubic feetUS gallons7.48052
Cubic feetCubic metres0.0283168
Cubic metresCubic yards1.30795
InchesDecimal feetDivide by 12

Use the gallons to cubic feet converter and the cubic metres to cubic yards converter for quick results.

Estimating cost from volume

Cost = Cubic yards × Price per cubic yard

Example only: 8.89 cubic yards at $40 per cubic yard is $356. Many bulk materials are priced per cubic yard or per ton, so check the unit, and add delivery, waste and labor.

Troubleshooting volume problems

ProblemLikely causeWhat to do
Volume is 12 times too largeEntered inches as feetDivide inches by 12 before entering
Result is far too smallUsed a depth in inches such as 0.33 for 4 in without checkingConvert exactly and check the height
Gallons look wrongUsed the full height of a tank that is not fullUse the water depth as the height
Ordered too littleNo waste or compactionAdd the allowance for the material
Shape is not a boxCylinder, slope or stepSplit it or use the shape formula
Cubic yards do not match the supplierThe supplier rounds up the loadAsk for the minimum load and rounding

Terms explained

TermMeaning
VolumeThe amount of three-dimensional space a shape occupies
Cubic footA volume 1 ft × 1 ft × 1 ft
Cubic yardA volume 3 ft × 3 ft × 3 ft, or 27 cubic feet
Rectangular prismA box with six rectangular faces
CapacityThe volume a container can hold
Average depthThe mean of the shallow and deep depths of a sloped space
SwellThe increase in volume of soil once it is dug up
CompactionThe reduction in volume when material is packed down

Common volume calculator mistakes

  • •Entering inches where the calculator expects feet.
  • •Using the area of a surface instead of its volume.
  • •Treating a sloped or stepped space as one box.
  • •Forgetting waste, swell and compaction.
  • •Confusing cubic feet with square feet or linear feet.
  • •Mixing cubic yards and tons when ordering.

Metric conversions

FromTo
24 cubic feet0.68 cubic metres
1 cubic yard0.7646 cubic metres
1 cubic foot28.3168 litres
1 foot0.3048 metres
8.89 cubic yards6.80 cubic metres

Measuring in inches: the 1,728 shortcut

Most tape measures read in inches, but volume formulas want feet. You have two correct routes: divide each dimension by 12 first, or multiply all three inch measurements together and divide by 1,728, because 12 × 12 × 12 = 1,728 cubic inches in a cubic foot. Both give the same answer, so use whichever is easier for the numbers in front of you.

Volume (cu ft) = Length (in) × Width (in) × Height (in) ÷ 1,728

Example: a crate measured as 48 in × 36 in × 24 in

  • 48 × 36 × 24 = 41,472 cu in
  • 41,472 ÷ 1,728 = 24 cu ft = 0.89 cu yd

Example: a 12 ft × 10 ft slab, 4 in thick

  • 4 in ÷ 12 = 0.333 ft; volume = 12 × 10 × 0.333 = 40 cu ft
  • 40 ÷ 27 = 1.48 cu yd before waste, so order about 1.63 cu yd with 10% extra

Example: a planter 24 in × 18 in × 18 in deep

  • 24 × 18 × 18 = 7,776 cu in ÷ 1,728 = 4.5 cu ft
  • 4.5 cu ft is about 0.17 cu yd, or roughly 34 gallons of soil

The single most common volume mistake is entering 4 for a 4-inch depth in a feet field, which makes the answer 12 times too big. If your result looks wildly wrong, check the units first, then re-measure. For a slab or pad, carry the volume straight into the concrete calculator or the yard calculator to turn it into bags, tons or an order.

Tanks, pools and round shapes by hand

This calculator handles one rectangular box, but most tanks, pools and piles are round or sloped. The cylinder formula covers tanks and round footings, the average-depth method covers pools, and the cone formula covers a pile of loose material. Work each one out with the same units, in feet, and the answers slot straight into the same cubic-foot and gallon conversions.

Cylinder volume (cu ft) = π × (Diameter ÷ 2)² × Height

Cone volume (cu ft) = ⅓ × π × Radius² × Height

Example: a round tank 6 ft across and 4 ft deep

  • Radius = 3 ft; volume = π × 3² × 4 = 113.10 cu ft
  • Gallons = 113.10 × 7.48052 = about 846 US gallons when full

Example: a rectangular pool 16 ft × 32 ft, 5 ft average depth

  • Volume = 16 × 32 × 5 = 2,560 cu ft = 94.81 cu yd
  • Gallons = 2,560 × 7.48052 = about 19,150 US gallons

Example: a cone-shaped pile of gravel, 3 ft radius and 4 ft high

  • Volume = ⅓ × π × 3² × 4 = 37.70 cu ft = 1.40 cu yd
  • A real pile slumps and spreads, so treat this as a planning figure and confirm with the supplier

Example: a pool with a shallow end 3 ft and a deep end 8 ft

  • Average depth = (3 + 8) ÷ 2 = 5.5 ft
  • A 20 ft × 10 ft pool at 5.5 ft average depth = 1,100 cu ft, about 8,229 gallons

For a tank or pool, use the depth of the water, not the height of the walls. A tank filled to 3 ft in a 4 ft tall tank holds three quarters of its full volume.

Round footings, columns and sonotubes use the same cylinder formula, and a dug hole that will be refilled needs the swell and compaction allowances in the next section. For digging work, the excavation calculator and the backfill calculator carry those allowances for you.

Excavation swell and compaction: why dug soil takes more room

Volume measured in the ground is called bank volume. Once soil is dug up it loosens and swells, so the same soil takes up more room in a truck than it did in the hole. And when fill is put back and compacted, it shrinks again, so a compacted fill needs more loose material than its finished volume. Ignore both effects and you will under-order a truck or a load of fill.

MaterialTypical swell when dug (planning range)Extra loose fill for compacted volume
Topsoil and loamAbout 10 to 20%About 10 to 20%
ClayAbout 20 to 30%About 15 to 25%
SandAbout 5 to 10%About 5 to 10%
Gravel and crushed stoneAbout 10 to 15%About 10 to 15%
Rock and broken concreteAbout 30 to 50%Not used as compacted fill without crushing

Planning ranges only. Swell depends on moisture, how the material is dug and how much it is broken up, so confirm large hauls with your excavator or supplier.

Example: hauling away a 12 ft × 10 ft hole, 2 ft deep

  • Bank volume = 240 cu ft = 8.89 cu yd
  • With 20% swell = 288 cu ft = 10.67 cu yd of loose soil to haul

Example: backfilling 240 cu ft of compacted fill at 15% extra

  • Loose fill needed = 240 × 1.15 = 276 cu ft = 10.22 cu yd
  • Order the loose volume, not the finished volume

A practical check: a standard dump truck carries roughly 10 to 14 cubic yards of loose soil, depending on the truck and the weight limit, so a 10.67 cubic yard loose load is about one truckload, while the 8.89 cubic yard bank figure would have suggested less. Always quote the loose volume to the hauler.

Volume or surface area? Picking the right number

Volume, area and perimeter answer different questions, and mixing them up is the most expensive mistake on this page. Area tells you how much surface to cover, perimeter tells you how much edge to border, and volume tells you how much space to fill. A 10 ft × 10 ft slab is 100 square feet of surface, 40 linear feet of edge, and at 4 inches thick, 33.3 cubic feet of concrete. Order concrete by the volume, pavers by the area, and edging by the perimeter.

What you are doingUse this unitRule of thumb
Small box, crate or roomCubic feetUnder about 27 cu ft, stay in cubic feet
Bulk soil, mulch, gravel or concreteCubic yardsDivide cubic feet by 27; order by the yard
Tank, pool or water storageUS gallonsMultiply cubic feet by 7.48
Metric drawings or suppliersCubic metresMultiply cubic feet by 0.0283
Paint, liner or wrap for the outsideSquare feet (surface area)A box has 2 × (length × width + length × height + width × height)

Surface area is not a calculator output here, but the box formula above covers it. For the surface inside a shape, use the area calculator.

Once you have the volume, save it to your project in the BuildCova app so the number travels with the job instead of living on a scrap of paper. Start from the volume, add the waste and compaction allowance for the material, and check the order against the yard calculator, the concrete calculator or the foundation volume calculator before you call the supplier.

Related tools

Assumptions

  • •Assumes a uniform rectangular box, with length, width and height all in feet.
  • •Does not include waste, compaction, swell or the weight of a material.
  • •Gallon and metric figures on this page are straightforward unit conversions. They are not shown as calculator outputs.

Sources✓ Verified

  • NIST Special Publication 811, Guide for the Use of the International System of Units. Authoritative unit conversion factors, including cubic feet to cubic metres and the US gallon.
  • NIST Handbook 44, Appendix C. General tables of units of measurement, including the cubic yard and gallon.
  • Standard solid geometry formulas for the volume of rectangular prisms, cylinders and cones. The formulas used here, as found in standard mathematics references.
  • Material supplier ordering guides. How cubic yards convert to deliveries, minimum loads and weights.

Formula reviewed November 2026.

Multiply the length, width and height in feet. A box 4 × 3 × 2 ft has a volume of 24 cubic feet.

Multiply length × width × height, all in feet. For inches, divide each measurement by 12 first.

27, because a cubic yard is 3 ft × 3 ft × 3 ft.

Divide the cubic feet by 27. 24 cubic feet is 0.89 cubic yards.

Multiply its length, width and depth. A 12 × 10 ft hole 2 ft deep is 240 cubic feet, or 8.89 cubic yards. Add swell if you are hauling the soil away.

About 7.48 US gallons. A tank with a volume of 24 cubic feet holds about 180 gallons.

Multiply the length, width and average depth, then multiply by 7.48 for gallons. A 20 × 10 ft pool with a 5.5 ft average depth is 1,100 cubic feet, or about 8,229 gallons.

Multiply π by the radius squared and the height. The calculator handles boxes only, so use the formula for round shapes.

Multiply the length, width and thickness in feet. A 10 × 10 ft slab 4 inches thick is about 33.3 cubic feet, or 1.23 cubic yards, before waste.

Area is a flat surface in square feet. Volume is the space in three dimensions, in cubic feet.

Multiply by 0.0283168. 24 cubic feet is about 0.68 cubic metres.

It depends on the material. Concrete is often ordered with about 5 to 10% extra, and soil may need more for settling and compaction. Use the material's own calculator.

Use the average depth as the height. For a space 2 ft deep at one end and 4 ft at the other, enter 3 ft.

Feet for the dimensions, with results in cubic feet and cubic yards. Convert inches to decimal feet by dividing by 12.

Calculate the volume in cubic feet, divide by 27, and add waste. Use a material calculator when density or compaction matters.

Converters to use with the Volume Calculator

Switch units, compare bulk and bagged quantities, or check coverage, without leaving BuildCova.

Browse all converters

More general calculators

Perimeter CalculatorGeneralPerimeter CalculatorA perimeter calculator that turns a rectangle length and width, or a circle diameter, into the perimeter in feet and yards. That is the length of fence, edging, trim or border a project needs, so the number decides the order. Measure the perimeter wrong and the border runs short at the last corner.Post CounterGeneralPost CounterA post counter calculator that turns a straight run length and your post spacing into the number of posts you need, for deck railings, pergolas, trellises, mailbox rows or any evenly spaced layout. Count the posts before you buy the lumber, and the run ends with a post instead of a gap. Miss one post and the last section has nothing to hold it.Material List CalculatorGeneralMaterial List CalculatorA material list calculator that turns your area, the coverage per unit from your product label and a waste percentage into the number of boxes, rolls, bags or buckets to order. It works for almost any coverage-based material, so one tool covers the flooring, the paint and the tile. Order off the label rate and the count matches what the box actually covers.Pool Volume CalculatorGeneralPool Volume CalculatorThis pool volume calculator works out the water volume of your pool in gallons and litres, for rectangle, round, oval or kidney shapes, so you order the right chemicals and know how long the pool takes to fill. Enter the dimensions and the shallow and deep end depths. A rectangular pool 32 ft by 16 ft, 3 ft deep at the shallow end and 8 ft at the deep end, holds about 21,065 gallons, and the page turns that volume into the chemical dose per 10,000 gallons.Muck Away & Waste CalculatorGeneralMuck Away & Waste CalculatorA muck away calculator that works out what comes out of the hole and what it costs to take away. Enter the dig dimensions and soil type, and get the volume in the ground, the bulked-up volume once dug, the weight in tons, the grab-lorry loads, the skip requirements and the disposal cost. Dug soil swells, clay by 30% and rock by 60%, and the lorry is limited by weight as well as volume, so the calculator checks both and tells you which one binds.Size to Weight CalculatorGeneralSize to Weight CalculatorTurn any box size into a weight in seconds with this size to weight calculator, so you can check whether a load is safe to lift, ship or stack before you move it. Enter the length, width and thickness, pick steel, aluminum, wood, stone, concrete or plastic, or type in any density, and get the volume, the weight per piece and the total for your quantity in pounds, kilograms and tons.

Material requirements can vary based on product specifications and job conditions. Verify quantities with your supplier before ordering.