How Much Soil Do I Need?
How much soil you need is a volume: the bed's length times its width times the depth, converted to cubic yards. A 12-by-4-foot bed filled 6 inches deep needs 24 cubic feet, or 0.89 cubic yards. This guide shows the volume math, worked out for a garden bed and a raised bed, and where to run it.
By Jacob Levy, Founder of FigureQuick.com · Last reviewed 2026-11-19
The volume formula
Soil is sold by volume, usually by the cubic yard in bulk or by the bag. The volume comes from three measurements: length, width, and depth. Multiply the length by the width to get the area, then multiply by the depth — converted from inches to feet by dividing by 12 — to get cubic feet. Divide by 27 to convert cubic feet to cubic yards, since a cubic yard is 3 feet by 3 feet by 3 feet. That is the same volume math the Gravel Calculator and the Mulch Calculator use, so either one runs the numbers for soil too — enter the bed's length, width, and depth and read the cubic feet and cubic yards. The tons figure on the gravel calculator is specific to gravel, at about 1.4 tons per cubic yard, and does not apply to soil.
Worked example: a garden bed
A bed 12 feet long and 4 feet wide, filled 6 inches deep. The area is 12 × 4 = 48 square feet and the depth is 6 ÷ 12 = 0.5 feet, so the volume is 48 × 0.5 = 24.00 cubic feet. That is 24 ÷ 27 = 0.89 cubic yards. In bags, topsoil is commonly sold in 1-cubic-foot bags, so 24 cubic feet is 24 bags; if the bags hold 2 cubic feet each, it is 24 ÷ 2 = 12 bags. Round the bag count up — a partial bag cannot be bought, and a little left over beats running short halfway through a bed.
Worked example: a raised bed
A raised bed 8 feet long and 4 feet wide, filled 12 inches deep. The area is 8 × 4 = 32 square feet and the depth is 12 ÷ 12 = 1 foot, so the volume is 32 × 1 = 32.00 cubic feet. That is 32 ÷ 27 = 1.19 cubic yards, or 32 one-cubic-foot bags. A cubic yard is a lot of soil to move by hand, so for a bed this size, bulk delivery by the cubic yard is usually the cheaper option once the volume passes about a yard — compare the per-bag price times the bag count against the bulk price per cubic yard before ordering.
How much does a cubic yard cover?
One cubic yard is 27 cubic feet, and the area it covers depends on the depth. At 3 inches deep (0.25 feet), one cubic yard covers 27 ÷ 0.25 = 108 square feet. At 6 inches deep it covers 27 ÷ 0.5 = 54 square feet, and at 12 inches deep it covers 27 ÷ 1 = 27 square feet. Work backwards from the depth to check an order: if a supplier quotes a cubic yard for a bed, divide 27 by the depth in feet to see how many square feet it covers, and compare that with the bed's area.
Bags or bulk?
Bags suit small beds and top-ups, where the volume is under a cubic yard and the soil can be carried a bag at a time. Bulk suits anything over about a cubic yard, where the bag count climbs past 27 and the per-bag price adds up. Either way, measure the bed first and work out the volume before ordering — the most common mistake is ordering by the bag or by the yard without knowing how many cubic feet the bed actually holds. Run the numbers through the Gravel Calculator or the Mulch Calculator for the cubic-foot and cubic-yard figures, then buy the soil itself in bags or in bulk at those volumes.
Use this calculator with clients → White-label.
For the full picture of construction volume and area math — gravel, mulch, flooring, roofing, and more — see The Complete Guide to Construction Costs: Concrete, Roofing, Flooring, and More.
Sources and methodology
Soil volume is length times width times depth in feet, converted to cubic yards by dividing by 27 — the same volume formula the Gravel Calculator and Mulch Calculator state in their own explanations. Both worked examples (24 cubic feet / 0.89 cubic yards and 32 cubic feet / 1.19 cubic yards) were re-computed in Python. The gravel weight estimate of about 1.4 tons per cubic yard is specific to gravel and does not apply to soil. There is no soil calculator on FigureQuick: this guide answers the informational question and links to the gravel and mulch calculators for the same volume math. This guide is educational: it describes how the calculators work, not advice about which soil to choose. Last reviewed 2026-11-19.
Frequently asked questions
How much soil do I need for a raised bed?
Multiply the bed's length by its width and by the depth in feet, then divide by 27 for cubic yards. An 8 ft by 4 ft raised bed filled 12 inches deep needs 32.00 cubic feet, or 1.19 cubic yards. Measure the bed first — the volume, not the bag count, is what decides the order.
How many bags of soil do I need?
Divide the cubic feet by the bag size and round up. A 12 ft by 4 ft bed filled 6 inches deep needs 24 cubic feet, which is 24 one-cubic-foot bags or 12 two-cubic-foot bags. Check the bag size printed on the packaging, because it varies.
How do I convert cubic feet to cubic yards?
Divide cubic feet by 27, since a cubic yard is 3 feet by 3 feet by 3 feet. 24 cubic feet is 0.89 cubic yards and 32 cubic feet is 1.19 cubic yards.
How much does one cubic yard of soil cover?
It depends on the depth: one cubic yard is 27 cubic feet, so at 3 inches deep it covers 108 square feet, at 6 inches deep it covers 54 square feet, and at 12 inches deep it covers 27 square feet.
