Raised Bed Soil Calculator

Estimate how much soil you need to fill a raised garden bed in cubic feet, cubic yards, bags, and simple soil mix amounts.

Enter Your Raised Bed Size

Presets are common examples. Measure your actual bed before buying soil.
Choose the closest shape for your raised bed.
Use the depth you want to fill with soil, not always the full wall height.
Measure the inside length of the bed.
Measure the inside width of the bed.
Use 0 for an empty bed. Enter existing soil depth if topping off.
Adds extra for settling, uneven fill, and bag variation.
Most bagged soil is sold by cubic feet.
Mix ratios are planning examples, not a universal gardening rule.
Price a purchased complete blend. Blank means not priced; 0 means free material.
Price a purchased complete blend. Individual ingredient purchases are not priced.
Added only to the bulk estimate. Blank means 0; include only known bulk fees here.

Your Results

Cubic feet

—
Enter values and calculate.

Cubic yards

—
Useful for bulk soil orders.

Bags needed

—
Rounded up to whole bags.

Bagged material cost

—
Uses your price inputs.

Bulk material + entered fee

—
No bulk price entered.
Soil mix estimate will appear here after calculation.
This calculator gives a planning estimate only. Real soil needs can vary because of settling, compaction, bag fill differences, old soil depth, and bed shape.

How to Use This Raised Bed Soil Calculator

Enter the inside dimensions of your raised bed, the depth you want to fill, and any existing soil already in the bed. The calculator estimates cubic feet, cubic yards, bags, and optional cost. For new raised beds, use an existing fill depth of 0 inches. For topping off an older bed, enter the soil already in place so you only estimate the amount needed to finish filling it.

Adding drip irrigation to the bed? Use the Drip Irrigation Runtime Calculator to turn your emitter flow and watering target into a timer setting.

Formula Used

Area = length × width Additional fill depth = max(0, target depth − existing fill depth) Fill depth in feet = fill depth in inches ÷ 12 Cubic feet = area × fill depth in feet Adjusted cubic feet = cubic feet × (1 + buffer %) Cubic yards = adjusted cubic feet ÷ 27 Bags needed = round up(adjusted cubic feet ÷ bag size)

Example Calculation

A 4 ft × 8 ft raised bed filled 12 inches deep has:
4 × 8 = 32 square feet 12 inches ÷ 12 = 1 foot deep 32 × 1 = 32 cubic feet 32 ÷ 27 = 1.19 cubic yards
With a 10% buffer, that becomes about 35.2 cubic feet, or 18 bags if each bag contains 2 cubic feet.

Common Raised Bed Soil Mistakes

  • Measuring the outside of the bed instead of the inside dimensions.
  • Forgetting that soil settles after watering and planting.
  • Buying the exact calculated amount with no extra buffer.
  • Assuming every bag contains the exact same usable volume once fluffed or compacted.
  • Filling a very deep bed entirely with expensive bagged soil when bulk soil may be more practical.
  • Using a generic mix without considering the plants, drainage, compost level, and local conditions.

Pricing and Buying Checks

Default prices are arithmetic examples, not current quotes. Replace them with your own supplier’s prices.

If existing fill is at or above the target, the result is zero additional soil and zero bags. No new purchase or delivery charge is added. An overfilled bed is identified separately; this tool does not estimate soil removal. For example, an existing 12-inch fill with a 12-inch target needs no top-up; a 13-inch fill is 1 inch above that target.

Bag and bulk prices apply to a purchased complete blend. Mix percentages give illustrative component volumes, not separate ingredient bag counts or costs. Leave an unknown price blank; enter 0 only for free material. Bagged cost excludes fees; bulk includes only the entered fee. Confirm minimum orders and other charges with the supplier.

Record the quantity you actually plan to buy and its purchase unit in the printable Material Takeoff worksheet. Keep required and purchased quantities in the same unit on each row, and add all delivery, tax, and supporting-material costs. Use the Materials & Measurements hub for related measuring and buying tools.

Important Planning Note

Use this calculator as a planning tool only. Soil needs depend on the bed size, old soil depth, settling, compost content, drainage, plant type, and local growing conditions. For edible gardens, check that the materials used in or around the raised bed are appropriate for gardening. Avoid questionable treated wood, contaminated fill, or unknown soil sources.