Volume Calculator

Pick a shape, enter its measurements, and get the volume in cubic feet, cubic yards, cubic meters, liters and US gallons.

0 cu ft
Enter your measurements to see the volume.
0cubic inches
0cubic feet
0cubic yards
0cubic centimeters
0cubic meters
0liters
0US gallons

Volume formulas for common shapes

Volume is the amount of space inside a three-dimensional object. These are the formulas the calculator uses.

ShapeVolume formula
Box (rectangular prism)length × width × height
Cubeside³
Cylinderπ × radius² × height
Sphere4⁄3 × π × radius³
Hemisphere2⁄3 × π × radius³
Cone1⁄3 × π × radius² × height
Pyramid (rectangular base)1⁄3 × base length × base width × height
Triangular prism½ × triangle base × triangle height × length

Worked examples

ExampleBox. A raised bed 2 ft by 3 ft by 4 ft holds 2 × 3 × 4 = 24 cubic feet. That is about 179.5 US gallons or 679.6 liters.

ExampleCylinder. A round tank with a 1 m radius and a 1 m height holds π × 1² × 1 = 3.14 cubic meters, or about 3,142 liters.

ExampleSphere. A ball with a 3 in radius has a volume of 4⁄3 × π × 3³ = 113.1 cubic inches.

ExampleCone. A pile with a 3 ft radius and a 4 ft height has a volume of 1⁄3 × π × 3² × 4 = 37.7 cubic feet.

Gallons in a round tank or pool

For a round tank or above-ground pool, the volume is the area of the circle times the water depth. This table shows the volume for common diameters at a water depth of 4 feet.

Diameter (ft)Cubic feetUS gallonsLiters
61138463,203
82011,5045,693
103142,3508,896
124523,38412,810
157075,28820,016
181,0187,61428,823
241,81013,53651,241

For a different depth, the volume changes in proportion. A pool filled to 3 ft holds three quarters of the figures above.

Common volume conversions

UnitEquals
1 cubic foot1,728 cubic inches
1 cubic foot7.48 US gallons, or 28.32 liters
1 cubic yard27 cubic feet
1 cubic meter1,000 liters, or 35.31 cubic feet
1 US gallon3.785 liters, or 231 cubic inches
1 liter1,000 cubic centimeters

The calculator shows US gallons. An imperial (UK) gallon is larger, at about 4.546 liters, so the same volume is a smaller number of imperial gallons.

Tips for measuring volume

  • Use the same unit for every measurement. Mixing feet and inches is the most common mistake.
  • For containers, measure the inside, not the outside.
  • For a shape that is not on the list, split it into simple shapes and add the volumes.
  • For soil, gravel or mulch spread over the ground, our cubic yard calculator is quicker.
  • To work out a flat surface instead, use the area calculator.

Volume of a box (rectangular prism)

A box, tank, room or planter with square corners has a volume of length × width × height. All three must be in the same unit.

Volume = length × width × height

Example. A box 36 in long, 18 in wide and 12 in high holds 36 × 18 × 12 = 7,776 cubic inches. That is 4.5 cubic feet, 33.66 US gallons or 127.4 liters.

Volume of a column

A round column is a cylinder, so its volume is the area of the circle times the height. A square column is a box. Use feet if you want the answer in cubic feet or cubic yards, which is how concrete is ordered.

Round column: volume = π × radius × radius × height

Square column: volume = side × side × height

Example (round). A column 12 in across (radius 0.5 ft) and 8 ft tall: π × 0.5 × 0.5 × 8 = 6.28 cubic feet, or 0.23 cubic yards.

Example (square). A column 16 in on each side and 8 ft tall: (16 ÷ 12) × (16 ÷ 12) × 8 = 14.22 cubic feet, or 0.53 cubic yards.

Round columns 8 ft tall:

DiameterVolume (cubic feet)Volume (cubic yards)
8 in2.790.103
10 in4.360.162
12 in6.280.233
16 in11.170.414
18 in14.140.524
24 in25.130.931

Converting volume to liters and gallons

Once you have a volume, these factors convert it. Multiply the volume by the number in the middle column.

ConversionMultiply byResult in
Cubic feet to liters28.3168L
Cubic feet to US gallons7.4805gal
Cubic inches to liters0.0164L
Cubic inches to US gallons0.0043gal
Cubic meters to liters1000L
Cubic meters to cubic feet35.3147cu ft
Cubic yards to cubic meters0.7646m³

Cubic centimeters and milliliters are the same size, and 1,000 of them make a liter.

Cubic feetLitersUS gallons
128.37.5
5141.637.4
10283.274.8
25707.9187.0
501,415.8374.0
1002,831.7748.1

Gallons from measurements in inches

US liquid gallons are defined as 231 cubic inches, which makes tank sizes easy to work out from inch measurements.

Rectangular tank: gallons = length × width × height ÷ 231

Round tank: gallons = π × radius × radius × height ÷ 231

Rectangular tanks filled to the top (inches):

Length × width × heightCubic inchesUS gallonsLiters
20 × 10 × 122,40010.439.3
24 × 12 × 164,60819.975.5
30 × 12 × 186,48028.1106.2
36 × 18 × 1610,36844.9169.9
48 × 18 × 2017,28074.8283.2
48 × 24 × 2427,648119.7453.1

Example. A round tank 24 in across (radius 12 in) and 30 in tall holds π × 12 × 12 × 30 = 13,572 cubic inches, which is 58.8 US gallons or 222.4 liters. If the tank is only filled part way, use the water depth in place of the height.

Volume and capacity

Volume is the space an object takes up. Capacity is how much a container can hold, so it uses the inside measurements. Wall thickness matters: a tank that measures 24 in across on the outside holds less than the same volume figure suggests. Measure inside the walls when you want to know how much liquid or material fits.

Results are estimates based on the numbers you enter. Confirm quantities with your supplier, installer or contractor before ordering.

Frequently asked questions

What is the difference between volume and area?

Area measures a flat surface in square units, such as square feet. Volume measures the space inside a three-dimensional object in cubic units, such as cubic feet.

How do I find the volume of a cylinder if I only know the diameter?

Choose “Cylinder (from diameter)”. The calculator halves the diameter to get the radius and then uses π × radius² × height.

How do I convert cubic feet to gallons?

Multiply cubic feet by 7.48 to get US gallons. One cubic foot is also about 28.32 liters.

How do I work out the volume of a rectangular pool or tank?

Multiply length by width by the average depth. A pool 32 ft long, 16 ft wide and 5 ft deep on average holds 2,560 cubic feet, which is about 19,150 US gallons.

How many liters are in a cubic meter?

One cubic meter is exactly 1,000 liters.

How do I find the volume of an irregular object?

Break it into simple shapes, work out each volume and add them together.

How do I find the volume of a column?

For a round column, multiply π by the radius squared and then by the height. For a square column, multiply side by side by height. Keep all measurements in the same unit.

How do I calculate the volume of a box?

Multiply length by width by height, using the same unit for all three.

How many cubic inches are in a US gallon?

A US liquid gallon is 231 cubic inches.

What is the difference between volume and capacity?

Volume is the space an object occupies; capacity is how much a container holds, measured inside its walls.