Garden Bed Volume Calculator
Any bed shape to cubic feet of soil, cubic yards, and bag count.
This tool is for informational and educational purposes only. It is not a substitute for professional financial, medical, legal, or engineering advice. See Terms of Service.
Can't find what you need?
Request a ToolHow to Use the Garden Bed Volume Calculator
Buying the right amount of soil for a new garden bed saves multiple trips to the nursery and prevents you from running short mid-fill. Here is how to get an accurate estimate:
- Select your bed shape. Choose Rectangle for standard raised beds, Circle for round planters, Triangle for corner beds, L-Shape for wraparound beds, or Trapezoid for tapered beds along a wall or fence.
- Enter your dimensions. All measurements are in feet. For irregular L-shaped beds, measure each rectangular section separately and enter both. The calculator adds them automatically.
- Set the soil depth. Enter how deep you want to fill the bed in inches. A typical raised bed for vegetables is 12 inches deep. Shallow-rooted crops like lettuce and herbs can thrive in 6-8 inches. Root vegetables like carrots need 12-18 inches.
- Read your results. The calculator shows cubic feet (used for bags), cubic yards (used for bulk delivery), and the number of 1 cu ft and 2 cu ft bags needed. Bag counts always round up so you have enough.
For large fills over 1 cubic yard, buying soil in bulk from a landscaping supplier is almost always cheaper than buying bags. One cubic yard equals 27 cubic feet.
About the Garden Bed Volume Calculator
Volume calculations are straightforward: area times depth. For rectangles that is length times width times depth. For circles it is pi times the radius squared times depth. Triangles use half the base times height times depth. L-shapes are the sum of two rectangles times depth. Trapezoids use half the sum of the parallel sides times the height between them, multiplied by depth. All inputs are in feet, with soil depth converted from inches.
When mixing your own soil blend (common for raised beds), a typical recipe is one-third compost, one-third peat moss or coco coir, and one-third perlite or coarse sand. Calculate the full volume first, then divide by three for each component. All calculations run entirely in your browser with no data stored or transmitted.
Frequently Asked Questions
How much soil do I need to fill a 4x8 raised bed?
A 4x8 foot raised bed filled to 12 inches deep requires 32 cubic feet of soil, which equals about 1.19 cubic yards. That translates to 32 bags of 1 cubic foot mix or 16 bags of 2 cubic foot mix. If you fill only 6 inches deep, you need half that amount: 16 cubic feet or 0.59 cubic yards. At 12 inches deep, buying one cubic yard of bulk soil from a landscaping supplier and having a small amount left over is usually more economical than buying individual bags.
How deep should a raised garden bed be?
The ideal depth depends on what you are growing. Shallow-rooted crops like lettuce, herbs, and strawberries grow well in 6-8 inches of soil. Most vegetables including tomatoes, peppers, and beans need 12 inches. Deep-rooted crops like carrots, parsnips, and potatoes benefit from 18 inches or more. If you are building on hard soil or concrete, use the deeper figures since roots cannot penetrate the base. Most gardeners use 12 inches as a practical standard that covers almost all vegetables.
Should I buy soil in bags or in bulk for a raised bed?
For fills under about 0.5 cubic yards (13 cubic feet), bagged soil is convenient and often comparable in price. Above that threshold, buying in bulk from a landscape supply yard typically costs 30-50% less per cubic foot. Most suppliers sell by the cubic yard and will deliver for a fee. Bring your cubic yard figure from this calculator when calling for a quote. Check that the bulk soil mix is appropriate for raised beds, as some bulk fill soils are too dense and poorly draining for vegetables.
What is the best soil mix for a raised garden bed?
The most popular recipe for raised bed soil is the "Mel's Mix" from Square Foot Gardening: one-third compost (ideally from multiple sources), one-third peat moss or coco coir, and one-third coarse perlite or vermiculite. This blend drains well, retains moisture, and is loose enough for deep root penetration. Avoid using straight topsoil from your yard in raised beds as it compacts over time, drains poorly, and often carries weed seeds and diseases.