Volume Calculator
Pick a shape, enter its measurements, and get the volume in cubic feet, cubic yards, cubic meters, liters and US gallons.
Volume formulas for common shapes
Volume is the amount of space inside a three-dimensional object. These are the formulas the calculator uses.
| Shape | Volume formula |
|---|---|
| Box (rectangular prism) | length × width × height |
| Cube | side³ |
| Cylinder | π × radius² × height |
| Sphere | 4⁄3 × π × radius³ |
| Hemisphere | 2⁄3 × π × radius³ |
| Cone | 1⁄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 feet | US gallons | Liters |
|---|---|---|---|
| 6 | 113 | 846 | 3,203 |
| 8 | 201 | 1,504 | 5,693 |
| 10 | 314 | 2,350 | 8,896 |
| 12 | 452 | 3,384 | 12,810 |
| 15 | 707 | 5,288 | 20,016 |
| 18 | 1,018 | 7,614 | 28,823 |
| 24 | 1,810 | 13,536 | 51,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
| Unit | Equals |
|---|---|
| 1 cubic foot | 1,728 cubic inches |
| 1 cubic foot | 7.48 US gallons, or 28.32 liters |
| 1 cubic yard | 27 cubic feet |
| 1 cubic meter | 1,000 liters, or 35.31 cubic feet |
| 1 US gallon | 3.785 liters, or 231 cubic inches |
| 1 liter | 1,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:
| Diameter | Volume (cubic feet) | Volume (cubic yards) |
|---|---|---|
| 8 in | 2.79 | 0.103 |
| 10 in | 4.36 | 0.162 |
| 12 in | 6.28 | 0.233 |
| 16 in | 11.17 | 0.414 |
| 18 in | 14.14 | 0.524 |
| 24 in | 25.13 | 0.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.
| Conversion | Multiply by | Result in |
|---|---|---|
| Cubic feet to liters | 28.3168 | L |
| Cubic feet to US gallons | 7.4805 | gal |
| Cubic inches to liters | 0.0164 | L |
| Cubic inches to US gallons | 0.0043 | gal |
| Cubic meters to liters | 1000 | L |
| Cubic meters to cubic feet | 35.3147 | cu ft |
| Cubic yards to cubic meters | 0.7646 | m³ |
Cubic centimeters and milliliters are the same size, and 1,000 of them make a liter.
| Cubic feet | Liters | US gallons |
|---|---|---|
| 1 | 28.3 | 7.5 |
| 5 | 141.6 | 37.4 |
| 10 | 283.2 | 74.8 |
| 25 | 707.9 | 187.0 |
| 50 | 1,415.8 | 374.0 |
| 100 | 2,831.7 | 748.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 × height | Cubic inches | US gallons | Liters |
|---|---|---|---|
| 20 × 10 × 12 | 2,400 | 10.4 | 39.3 |
| 24 × 12 × 16 | 4,608 | 19.9 | 75.5 |
| 30 × 12 × 18 | 6,480 | 28.1 | 106.2 |
| 36 × 18 × 16 | 10,368 | 44.9 | 169.9 |
| 48 × 18 × 20 | 17,280 | 74.8 | 283.2 |
| 48 × 24 × 24 | 27,648 | 119.7 | 453.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.