1. Home
  2. Landscaping tools
  3. Topsoil Calculator
  4. A cubic foot is 7.48 gallons

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

  1. Volume of the first size, before settling: 2 ft × 2 ft × 12 in = 4.00 ft³
  2. 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³
  3. 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 × DepthTopsoil needed (cubic yards)Topsoil needed (cubic feet)Topsoil, 0.75 cu ft bagsTopsoil, 1.5 cu ft bags
2 ft × 2 ft × 12 in0.154.0063
2 ft × 6 ft × 12 in0.4412.00168
3 ft × 6 ft × 12 in0.6718.002412
4 ft × 10 ft × 12 in1.4840.005427
4 ft × 12 ft × 18 in2.6772.009648

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:

SizeCubic feetUS gallonsLiters
2 ft × 2 ft × 12 in4.0029.92113.27
2 ft × 6 ft × 12 in12.0089.77339.80
3 ft × 6 ft × 12 in18.00134.65509.70
4 ft × 10 ft × 12 in40.00299.221,132.67
4 ft × 12 ft × 18 in72.00538.602,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 feetUS gallonsLiters
0.53.7414.16
0.755.6121.24
17.4828.32
1.511.2242.48
214.9656.63
2.518.7070.79
322.4484.95
537.40141.58
1074.81283.17
27201.97764.55
100748.052,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 gallonsCubic feetLiters
10.1343.79
20.2677.57
30.40111.36
50.66818.93
70.93626.50
101.33737.85
152.00556.78
202.67475.71
253.34294.64
506.684189.27
10013.368378.54
1,000133.6813,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

Go further: How much soil for a raised bed?

More jobs