A cubic foot is 7.48 gallons
A cubic foot holds 7.48 US liquid gallons: a cubic foot is 1,728 cubic inches and a US gallon is exactly 231, so 1,728 ÷ 231 = 7.48052. In liters it is 28.32. A raised bed 4 by 8 ft filled 12 in deep holds 32 cubic feet, 239.38 gallons of soil or water, and the tables below give the gallons of each common size and convert both ways.
Length × Width × Depth: 2 ft × 2 ft × 12 in
0.15 cubic yards
- Topsoil needed (cubic feet)
- 4.00
- Topsoil, 0.75 cu ft bags
- 6
- Topsoil, 1.5 cu ft bags
- 3
Each size is filled with no extra for settling, so the volume is the box itself, and the bags round up to whole bags. Each size opens the topsoil calculator with its measurements filled in. How we work out the figures
How the figures are worked out
- Volume of the first size, before settling: 2 ft × 2 ft × 12 in = 4.00 ft³
- With no extra, in cubic feet, cubic yards and cubic meters: 4.00 ft³ × 1.00 = 4.00 ft³ = 0.15 yd³ = 0.11 m³
- Bags of 0.75 cubic feet, rounded up: 4.00 ft³ ÷ 0.75 ft³ = 5.3 → 6
The same job in other sizes
| Length × Width × Depth | Topsoil needed (cubic yards) | Topsoil needed (cubic feet) | Topsoil, 0.75 cu ft bags | Topsoil, 1.5 cu ft bags |
|---|---|---|---|---|
| 2 ft × 2 ft × 12 in | 0.15 | 4.00 | 6 | 3 |
| 2 ft × 6 ft × 12 in | 0.44 | 12.00 | 16 | 8 |
| 3 ft × 6 ft × 12 in | 0.67 | 18.00 | 24 | 12 |
| 4 ft × 10 ft × 12 in | 1.48 | 40.00 | 54 | 27 |
| 4 ft × 12 ft × 18 in | 2.67 | 72.00 | 96 | 48 |
Gallons, cubic feet and the bags on the shelf
The US liquid gallon is defined as exactly 231 cubic inches (NIST Handbook 44), so the conversion is exact: multiply cubic feet by 7.48052 to get gallons, and divide gallons by 7.48052 to get cubic feet. The UK imperial gallon is a different unit, 4.54609 liters, about 20% larger, so a British figure of 6.23 gallons per cubic foot is not a mistake but another gallon. A pond, a stock tank or a rain barrel works the same way: length × width × depth in feet gives the cubic feet, and × 7.48 gives the gallons.
Bags of soil and mulch are labeled in cubic feet: a 0.75 cu ft bag holds 5.61 gallons, a 1.5 cu ft bag 11.22 and a 2 cu ft bag 14.96, so it takes 43 bags of 0.75 cu ft to fill the 4 by 8 ft bed 12 in deep (32 ÷ 0.75 = 42.7, rounded up). To work the other way, a container marked in gallons holds its gallons ÷ 7.48 in cubic feet: a 55 gallon drum is 7.35 cubic feet, and a 100 gallon stock tank 13.37.
Gallons in each bed or planter
The volume of each size of the table above, in US liquid gallons and in liters, with nothing added for settling:
| Size | Cubic feet | US gallons | Liters |
|---|---|---|---|
| 2 ft × 2 ft × 12 in | 4.00 | 29.92 | 113.27 |
| 2 ft × 6 ft × 12 in | 12.00 | 89.77 | 339.80 |
| 3 ft × 6 ft × 12 in | 18.00 | 134.65 | 509.70 |
| 4 ft × 10 ft × 12 in | 40.00 | 299.22 | 1,132.67 |
| 4 ft × 12 ft × 18 in | 72.00 | 538.60 | 2,038.81 |
Cubic feet to gallons
Multiply the cubic feet by 7.48052 (1,728 ÷ 231). A cubic foot is exactly 28.316846592 liters.
| Cubic feet | US gallons | Liters |
|---|---|---|
| 0.5 | 3.74 | 14.16 |
| 0.75 | 5.61 | 21.24 |
| 1 | 7.48 | 28.32 |
| 1.5 | 11.22 | 42.48 |
| 2 | 14.96 | 56.63 |
| 2.5 | 18.70 | 70.79 |
| 3 | 22.44 | 84.95 |
| 5 | 37.40 | 141.58 |
| 10 | 74.81 | 283.17 |
| 27 | 201.97 | 764.55 |
| 100 | 748.05 | 2,831.68 |
Gallons to cubic feet
Divide the gallons by 7.48052, or multiply them by 231 and divide by 1,728. A US gallon is exactly 3.785411784 liters.
| US gallons | Cubic feet | Liters |
|---|---|---|
| 1 | 0.134 | 3.79 |
| 2 | 0.267 | 7.57 |
| 3 | 0.401 | 11.36 |
| 5 | 0.668 | 18.93 |
| 7 | 0.936 | 26.50 |
| 10 | 1.337 | 37.85 |
| 15 | 2.005 | 56.78 |
| 20 | 2.674 | 75.71 |
| 25 | 3.342 | 94.64 |
| 50 | 6.684 | 189.27 |
| 100 | 13.368 | 378.54 |
| 1,000 | 133.681 | 3,785.41 |
Sources: Unit definitions: NIST Handbook 44 (2024), Appendix C, General Tables of Units of Measurement, https://www.nist.gov/document/nist-hb-44-2024-appendix-c-general-tables-units-measurement, retrieved November 8, 2026.
See also: Cubic feet in a cubic yard.
Before you fill the bed or the area
- Soil settles after it is placed. Spread a deep fill in layers, water each one lightly, and top the bed up once it has settled.
- Know what you are buying. Screened topsoil, garden soil, raised-bed mix and fill dirt are sold under different names and at different prices, so ask the supplier which one fits a vegetable bed or a lawn.
- Bags add up fast: a deep bed can take dozens of them. Past a cubic yard or so, a bulk load is often cheaper and easier, even with a delivery fee.
- Plan where the truck drops the pile: close to the work, off the lawn if you can, and covered if rain is coming.
Go further: How much soil for a raised bed?