Garden Bed Dirt Calculator
Use this garden bed dirt calculator to estimate how much soil or dirt you need for raised beds, planter boxes, and small garden beds.
Garden Bed Dirt Calculator
Enter your raised bed inside dimensions to calculate exact soil volume in cubic feet, cubic yards, and how many bags of potting mix or compost to buy.
▦ Calculate Dirt Needed
* Most nursery potting mixes and raised-bed blends are sold in 1.5 or 2.0 cubic foot bags.
☘ How We Measure
Always measure the usable interior growing space inside your wooden or metal frame, not outer posts.
☘ Your Soil Results
Total volume required
For bulk soil delivery
Based on 1.5 cu ft bags

Want tested layout grids for your beds?
Calculated your soil? Now map your crops without crowding. The Raised Bed Planner ($5.99) includes 4x4 & 4x8 square-foot blueprints, companion planting charts, and succession harvesting timelines.
Use this garden bed dirt calculator to estimate how much dirt or soil you need for a raised bed, planter box, or small garden bed. Enter the inside length, width, depth, number of beds, and bag size. The calculator gives you cubic feet, cubic yards, and the number of bags to buy.
Garden Bed Dirt Calculator
Enter your raised bed dimensions to find out how much soil or dirt you need and how many bags to buy.
Calculate Dirt Needed
Common bag sizes: 1.0, 1.5, and 2.0 cubic feet.
How We Measure
We calculate volume using the inside dimensions of your raised bed.
Measure the usable growing space inside your bed, not the outside wooden frame.
Your Results
Total soil volume needed
Total soil volume
Of 1.5 cubic feet each
Use a Good Soil Mix
A quality mix of topsoil, compost, and organic matter helps your plants thrive.
Add Compost
Mix in compost to improve fertility, texture, and water retention.
Ensure Drainage
Good drainage helps prevent root rot. Avoid filling a bed with heavy clay soil.
Happy gardening! Every great garden starts with the right growing depth.
How to Use the Garden Bed Dirt Calculator
A raised bed looks simple until you start filling it. Soil bags disappear fast, especially when the bed is deeper than it looks. This garden bed dirt calculator helps you plan before you buy.
Measure the inside of your bed, not the outside wooden frame. Enter the length, width, and depth you want to fill. Then choose the soil bag size. Most garden soil bags are 1, 1.5, or 2 cubic feet.
The calculator shows how much dirt or soil you need in cubic feet and cubic yards. It also rounds the bag count up, because one extra bag is much better than stopping halfway through the job.

What Measurements Do You Need?
For the best result, measure the usable growing space inside the bed.
Length: the long inside side of the bed
Width: the short inside side of the bed
Depth: how deep you want the soil layer
Number of beds: useful when filling more than one raised bed
Bag size: printed on the soil bag
For example, a 4-foot by 2-foot bed filled 1 foot deep needs 8 cubic feet of dirt or soil. That is about 6 bags if each bag contains 1.5 cubic feet.
How Deep Should Dirt Be in a Garden Bed?
For many herbs, flowers, and small vegetables, I like at least 8 to 12 inches of good growing soil. Lettuce, parsley, chives, and shallow herbs can grow in less, but tomatoes, peppers, carrots, and larger plants need deeper soil.
University of Maryland Extension recommends at least 8 inches of a compost-topsoil or compost-soilless media mixture over existing soil for raised vegetable beds.
Dirt vs Soil: What Should You Use?
People often search for a garden bed dirt calculator, but in the garden, we usually mean soil. Plain yard dirt can be too heavy for a raised bed. It may contain clay, stones, weeds, or poor drainage.
For a small raised bed, use a loose garden bed soil mix. A simple mix can include screened topsoil, compost, and a lighter potting mix. Compost adds nutrients. Topsoil gives body. A lighter mix helps water drain and keeps roots from sitting in soggy soil.
Do not fill a raised bed with only compost. It can settle a lot. Do not use heavy clay dirt by itself either. A balanced mix gives plants a better start.
Best Soil Mix for Raised Garden Beds
A practical raised bed mix is:
50 to 60 percent screened topsoil
30 to 40 percent compost
10 percent lighter potting mix, coconut coir, or aged organic matter
This does not need to be exact. I adjust the mix depending on what I grow. Rosemary and thyme like sharper drainage. Leafy greens like richer soil. The same loose mix also works well for a compact herb garden in pots or small beds.
How Much Dirt Do I Need for a Raised Bed?
Use this simple formula:
Length × Width × Depth = cubic feet of dirt needed
Keep all measurements in feet before multiplying. A 6-foot by 3-foot bed filled 12 inches deep needs 18 cubic feet of soil. Since 12 inches equals 1 foot, the calculation is 6 × 3 × 1 = 18 cubic feet.
Small Garden Tip
Before filling the bed, think about where it will sit. Keep it close enough to water easily. Leave space to walk around it. Place sun-loving vegetables where they get the strongest light. Many tiny garden ideas for small outdoor spaces work well when planning the size and position of a raised bed.
FAQs
What is the best depth for a raised garden bed?
How many bags of dirt do I need for a 4×8 raised bed?
Can I use regular dirt in a raised garden bed?
Is this also a raised bed soil calculator?
Choose Your Printable Garden Toolkit
Download instantly, print at home, and keep these low-ink worksheets forever.

Raised Bed Planner
$5.99 USDMaximize square footage, companion planting, and continuous succession harvesting in small garden beds.

Complete Small-Space Bundle
All 5 planners (Seed Starting, Raised Beds, Balconies, Pots & Herbs) in one 89-page collection.