Garden Soil Calculator
Filling a raised bed or topping up a garden? Enter the shape, size and depth to see exactly how much soil, compost or mulch to buy, in cubic yards for bulk delivery or in bags.
Example with the default inputs
- Bed shape: Rectangle
- Length: 10 ft
- Width: 8 ft
- Depth: 6 in
- Bag size: 1.5 cu ft
Soil needed 1.48 cubic yards (40.0 cubic feet)
| Bed area | 80.0 sq ft |
| Bags (1.5 cu ft each) | 27 bags |
| Granular fertilizer (about ½ cup per 5 sq ft) | 8.0 cups |
- For small beds, bagged soil is the easiest option.
- New soil settles. Add 10%–15% if you're filling a raised bed to the top.
Inputs explained
- Bed shape
- The outline of the bed. For odd shapes, split the bed into rectangles and add the results together.
- Length
- Length of the bed in feet. For a square, the length of one side. For a circle, the diameter (straight across the middle).
- Width
- Width of the bed in feet.
- Depth
- How deep to fill, in inches. Mulch 2–3 in, flower beds 6–8 in, vegetable raised beds 8–12 in.
- Bag size
- The volume printed on the bags you'll buy. Used to count how many bags you need.
Results explained
- Soil needed
- Volume in cubic yards (how bulk soil is sold) and cubic feet: area × depth in feet.
- Bed area
- The surface area of the bed in square feet.
- Bags
- Cubic feet needed ÷ bag size, rounded up.
- Granular fertilizer
- A starting amount of about ½ cup per 5 sq ft. Always follow the product label.
How to calculate garden soil
- Find the area in square feet:
- Rectangle: length × width
- Square: side × side
- Circle: 3.14 × (diameter ÷ 2)²
- Convert depth to feet. Divide inches by 12, so 6 inches = 0.5 ft.
- Volume (cubic feet) = area × depth in feet.
- Cubic yards = cubic feet ÷ 27. Bulk soil and mulch are sold by the cubic yard.
Example: a 10 × 8 ft bed filled 6 inches deep needs 80 × 0.5 = 40 cubic feet, or about 1.5 cubic yards. That's 27 bags of 1.5 cu ft.
How deep should it be?
| Use | Depth |
|---|---|
| Mulch | 2–3 in |
| Lawn top-dressing | ¼–½ in |
| Flower beds | 6–8 in |
| Vegetables (raised bed) | 8–12 in |
| Root crops / deep beds | 12–18 in |
Bags or bulk?
Bags are handy for small jobs. From about 2 cubic yards up, bulk delivery usually costs less and saves a lot of plastic. Check the delivery fee and whether the supplier screens and blends the soil.
New to growing? Start with our garden planning guide for beginners.
Learn more
- Efficient Water Systems for Modern Gardens
- How Soil Calculator Works
- Garden Investment: Why Landscaping is a Lifetime Property Value Booster
More renovation
Remodel costs
- Kitchen Remodel Cost Calculator: Estimate a kitchen remodel by size, finish level and ZIP code, with a line-by-line cost breakdown.
- Bathroom Remodel Cost Calculator: Estimate a bathroom renovation by size, finish level and ZIP code: vanity, tile, fixtures and labor.
- Renovation Cost Calculator: Estimate the cost to renovate a whole house or part of one, by size and scope.
- Home Addition Cost Calculator: Estimate the cost to add a room, bathroom, second story or garage to your house.
- Remodeling ROI Calculator: See how much of a remodeling project's cost you'd get back when you sell, based on national averages.
- Window Replacement Cost Calculator: Estimate the installed cost of replacing your windows by number, material and size.
Kitchen & bath
- Countertop Calculator: Work out countertop square footage, slabs needed and installed cost by material.
- Backsplash Calculator: Find how much tile you need for a kitchen backsplash, in square feet, tiles and boxes.
- Kitchen Cabinet Cost Calculator: Estimate kitchen cabinet cost from linear feet and grade: stock, semi-custom or custom.
- Shower Pan Calculator: Calculate the mortar bed slope, thickness and bags of mix for a tiled shower floor.
- Bathtub Volume Calculator: Find how many gallons a bathtub holds and whether your water heater can fill it with hot water.
- Bathroom Vanity Size Calculator: Find the largest bathroom vanity that fits your wall with code clearances.
- Kitchen Work Triangle Calculator: Check your sink, stove and fridge layout against the kitchen work triangle guidelines.
Flooring & walls
- Square Footage Calculator: Find the square footage of a room or area: rectangle, L-shape, circle or triangle.
- Paint Calculator: Work out how many gallons of paint and primer a room needs, and what it will cost.
- Flooring Calculator: Calculate how much flooring to buy, including waste, boxes and installed cost.
- Tile Calculator: Calculate tiles, boxes, grout and thinset for a floor or wall.
- Hardwood Flooring Calculator: Work out how many boxes of hardwood flooring to buy, with waste, and the installed cost.
- Laminate Flooring Calculator: Work out how many boxes of laminate flooring to buy, with waste, and the total cost.
- Carpet Calculator: Calculate carpet in square yards (with roll waste), padding and installed cost.
- Baseboard Calculator: Find how many linear feet and pieces of baseboard trim to buy for a room.
- Wallpaper Calculator: Calculate how many rolls of wallpaper you need, including pattern repeat.
Roofing & exterior
- Roof Area Calculator: Calculate roof area in square feet and roofing squares from the house footprint and pitch.
- Shingle Calculator: Find how many bundles of shingles, underlayment rolls and nails a roof needs, and the replacement cost.
- Roof Pitch Calculator: Find roof pitch, angle and rafter length from rise and run.
- Gutter Size Calculator: Find the right gutter size and number of downspouts for your roof and rainfall.
- Siding Calculator: Calculate siding squares and installed cost from your house's walls and gables.
- Exterior Paint Calculator: Estimate gallons of exterior paint and the cost to paint a house's outside walls and trim.
- French Drain Calculator: Calculate gravel, pipe, fabric and slope for a French drain.
Yard & garden
- Mulch Calculator: Find how many cubic yards or bags of mulch you need for your garden beds.
- Sod Calculator: Find how many sod pieces or pallets you need for a new lawn, and the cost.
- Lawn Fertilizer Calculator: Find how many pounds of fertilizer to apply for your lawn size and the N-P-K on the bag.
- Paver Calculator: Calculate pavers, gravel base, sand and edging for a patio or walkway.
- Retaining Wall Calculator: Calculate blocks, cap stones, base gravel and backfill for a block retaining wall.
- Fence Calculator: Calculate fence posts, rails, pickets, concrete and installed cost.
- Deck Cost Calculator: Estimate deck cost by size and material, plus decking boards and resale value.
- Pool Volume Calculator: Find how many gallons a pool holds, for rectangular, round and oval pools.