Skip to main content

Shed Foundation Calculator

Price the right foundation for your shed before you build. Enter your shed dimensions, pick one of the four proven foundation types — concrete block piers, gravel pad, concrete slab, or skid — tell us your soil, and get exact material counts (blocks, cubic yards and tons of gravel, bags of concrete), a regional cost estimate, and a soil-based recommendation.

Scope boundary: this tool calculates the foundation only — what goes under the shed. If you have not settled on the shed size yet, start with our shed size calculator (#2564), which sizes the shed itself (equipment fit, standard sizes, door clearance, permits) and only sketches foundation options. Come back here when you are ready to price and lay out the foundation in detail.

Calculate your shed foundation

Foundation type

Soil condition

Foundation details

Compare all four foundation types

FoundationMaterials for your sizeEst. material cost

The 4 shed foundation types, explained

A shed foundation has three jobs: keep the wood off wet ground, spread the load so the shed does not settle unevenly, and stay put for decades with minimal maintenance. Four designs cover nearly every backyard situation. Here is how each works, what it costs, and where it shines.

1. Concrete block piers

A concrete block shed foundation is a grid of piers made from standard 8x8x16 inch concrete masonry units (CMU), spaced 4 feet on-center under the shed's beams, with interior support rows every 6 feet of width. Each pier sits on a few inches of compacted gravel or leveling sand and is capped with a solid block so the beam bears flat. This is the most versatile foundation: because every pier is leveled independently, it handles clay soil (the floor framing stays above the wet zone with air circulating underneath) and sloped sites (taller stacks downhill, shorter uphill) better than any other option. Material cost is modest — about $162.40 for a 10x12 shed — and it is a genuine weekend DIY project with no concrete mixing. Its weakness is height: on very tall pier stacks you should mortar the courses or step up to poured piers.

2. Gravel pad

A gravel base for a shed is the cheapest and fastest proper foundation: 4 inches of compacted 3/4-inch crushed stone (6 inches on soft ground), extending 1 foot beyond the shed on all sides, laid over woven landscape fabric. The angular stone locks together under compaction, drains freely, and forgives minor ground movement. A 10x12 shed needs about 2.39 cubic yards — roughly 3.39 tons — plus 168 square feet of fabric, for around $219.90 in materials. Use crushed stone with fines, never pea gravel or river rock, which roll and never compact. The trade-off is longevity: expect to top up and re-level every 15 to 20 years, and do not use a gravel pad on a slope without retaining the downhill edge.

3. Concrete slab

A 4-inch concrete slab (6 inches for heavy equipment) is the permanent, do-it-once option: 40-plus year lifespan, perfectly level floor, and the best choice for a workshop with heavy machinery. For a 10x12 shed it takes about 1.63 cubic yards of concrete — either 74 bags of 80-lb premix or a short-load ready-mix truck (a ready-mix short load wins at this size) — plus 6x6 wire mesh, for roughly $304.95 in materials. The catch is skill and prep: the base must be compacted, forms must be level, and on clay you need a thicker stone base plus perimeter drainage or frost heave will crack it. It is also the foundation most likely to be treated as a permanent structure by your building department.

4. Skid foundation

A skid foundation uses pressure-treated 6x6 timbers laid directly on a shallow gravel bed, spaced no more than 6 feet apart, running the full length of the shed. Many prefab sheds are designed for exactly this. It is fast, cheap (about $300.00 in timbers for a 10x12), and the shed stays technically portable — useful where permits restrict permanent structures. Lifespan is 15 to 20 years before the timbers need attention, and it is best for small to mid-size sheds on flat ground rather than heavy workshops.

Which foundation is best for your soil?

Soil decides more than budget does. On flat, well-drained ground, a gravel pad is the best value — cheapest, easiest, and excellent drainage. On clay or wet ground, choose concrete block piers: they lift the framing above the moisture, tolerate heave, and keep air moving under the floor. On a slope, piers again — each pier adjusts to the grade, while a gravel pad would need retaining walls and a slab would need stepped formwork. The calculator's recommendation banner above applies exactly this logic to your inputs.

Shed foundation comparison (10x12 shed, US Midwest, 2026)

Foundation typeMaterial costDIY difficultyLifespanBest for
Concrete block piers$162.40Easy–Medium25+ yearsClay soil, sloped sites
Gravel pad$219.90Easy15–20 yearsFlat, well-drained ground
Concrete slab$304.95Medium–Hard40+ yearsHeavy loads, workshops
Skid (timber) foundation$300.00Easy15–20 yearsSmall sheds, portable builds

Costs are DIY material estimates computed by the calculator engine above. Contractor-installed prices typically run 2–3x materials.

Worked examples

Example 1 — 10x12 shed on clay soil: concrete block piers

  1. Layout the grid. Piers go 4 ft on-center: each 10-ft long side gets floor(10/4)+1 = 3 piers, each 12-ft short side gets floor(12/4)−1 = 2 piers between the corners, and the 12-ft width needs round(12/6)−1 = 1 interior row of 3 piers.
  2. Count piers: 2×3 + 2×2 + 1×3 = 13 piers.
  3. Count materials: 2 blocks per pier → 26 blocks, 1 cap per pier → 13 caps, half a bag of leveling sand per pier → 7 bags.
  4. Cost it: 26x$3.50 + 13x$2.80 + 7x$5.00 = $162.40 in the US Midwest.
  5. Build it: dig each pier spot a few inches deep, compact gravel, set and level the blocks, cap them, then set your pressure-treated beams. On clay, confirm water drains away from the shed — the piers keep the floor dry only if surface water does not pond under it.

Example 2 — 8x10 shed on a slope: why piers beat gravel here

  1. Price the gravel option first. A 4-inch pad extends 1 ft past the shed: 10×12 ft. That is 1.7 cubic yards (2.41 tons) of stone plus 120 sq ft of fabric — about $156.50 in materials.
  2. Reject it for this site. On a slope the stone migrates downhill with every rain unless you build a retaining wall on the low side — which costs more than the pad itself. The calculator flags Concrete block piers for sloped soil.
  3. Count the piers: 3 per long side, 1 per short side between corners, 1 interior row of 3 → 11 piers = 22 blocks + 11 caps.
  4. Cost it: about $137.80 in materials — actually cheaper than the gravel pad here, before you even price the retaining wall the pad would need.
  5. Build it: stack taller piers on the downhill side so the beams sit level; mortar courses more than 2 blocks high. No excavation, no retaining wall, no drainage gamble.

Pro tips

  • Always extend a gravel pad 1 ft past the shed on every side — it sheds roof drip away from the walls and gives you a clean working edge.
  • Compact in lifts. Whether stone under piers or a full pad, compact every 2 inches. One thick loose layer settles; thin compacted lifts do not.
  • Use crushed stone with fines, not pea gravel. Angular 3/4-inch minus locks together; round rock rolls forever. This is the single most common DIY mistake in a rock foundation under a shed.
  • Keep wood 6+ inches above grade. Piers and skids both exist to break ground contact — backfilling soil against the beams defeats the purpose.
  • Check the 120 sq ft rule. Many US jurisdictions exempt sheds under 120 sq ft (exactly a 10x12) from building permits, but setbacks still apply — and a slab reads as more permanent than piers or gravel if an inspector asks.
  • Re-level check every spring. Walk the floor with a 4-ft level after the first freeze-thaw cycle; catching a settled pier early is a 10-minute shim job, not a rebuild.

Frequently asked questions

How many concrete blocks do I need for a shed foundation?
For a pier foundation, space 8x8x16 inch concrete blocks 4 feet on-center around the perimeter and add interior support rows every 6 feet of shed width, stacking 2 blocks plus 1 solid cap per pier. A 10x12 ft shed needs 13 piers, which is 26 blocks plus 13 caps. A 12x16 ft shed needs 22 piers (44 blocks plus 22 caps). Enter your exact dimensions in the calculator above for a precise count — it follows the same 4-foot spacing rule contractors use.
Can I use cement blocks for a shed foundation?
Yes — standard 8x8x16 inch concrete masonry (CMU) blocks are the most common DIY shed pier material in the US. Set each pier on 2 to 4 inches of compacted gravel or leveling sand, stack the blocks with staggered joints if you go more than one course high, and finish with a solid cap block so the wood beam bears on a flat surface. On clay or sloped ground, block piers are actually the recommended foundation type because each pier can be leveled independently and the floor framing stays above the wet zone.
How deep should a gravel base for a shed be?
A gravel base for a shed should be 4 inches of compacted crushed stone for most sheds, or 6 inches if the ground is soft or the shed will hold heavy equipment like a riding mower. Make the pad 1 foot larger than the shed on every side (a 10x12 shed gets a 12x14 pad), lay landscape fabric first to stop the stone sinking into the soil, and compact in 2-inch lifts. A 4-inch pad for a 10x12 shed takes about 2.39 cubic yards, roughly 3.39 tons of stone.
What is the best rock foundation design under a shed?
The best rock (gravel) foundation under a shed is a 4 to 6 inch pad of compacted 3/4-inch crushed stone with fines, extending 12 inches past the shed footprint on all sides, over landscape fabric, on level ground. The angular crushed stone locks together under compaction, drains freely, and will not shift like round pea gravel. Avoid pea gravel or river rock as the structural layer — they roll and never compact. On slopes or clay, switch to concrete block piers instead of a rock pad.
Is a gravel pad or a concrete slab better for a shed?
A gravel pad is better for most sheds: it costs a fraction of a slab (about $157 in materials for a 10x12 pad under an 8x10 shed vs $300-plus for a slab), drains water away from the floor, and is a realistic weekend DIY project. A concrete slab wins when the shed stores very heavy loads, needs to be perfectly level for a workshop, or local code requires a permanent foundation. Slabs also last 40-plus years versus 15 to 20 for gravel before re-leveling. The comparison table above prices all four foundation types for your exact shed size.
How do you build a shed foundation on clay soil?
On clay, use concrete block piers. Clay holds water and expands, contracts, and heaves with frost — a slab can crack and a gravel pad can sink unevenly. Piers lift the wood floor at least several inches above the wet zone so air circulates and the framing stays dry, and isolated piers tolerate soil movement better than a monolithic slab. Set each pier on a compacted gravel footing, keep the floor framing pressure-treated, and make sure surface water drains away from the shed, not toward it.
How do you build a shed foundation on a slope?
On a slope, use concrete block piers with taller stacks on the downhill side — each pier is leveled independently, so you avoid the major excavation a level pad or slab would need. A gravel pad on a slope needs retaining walls to stop the stone migrating downhill, which usually costs more than the piers. For gentle slopes under about 6 inches of fall, you can also cut-and-fill a level gravel pad with a timber or block retaining edge on the downhill side.
How far apart should shed foundation piers be?
Space shed foundation piers 4 feet on-center along the perimeter beams, with interior support rows every 6 feet of shed width. For spans over 8 feet between piers, step up to doubled floor joists or a larger beam — check your shed kit's manual, since some manufacturers specify their own pier layout to keep the warranty valid. The calculator above lays out the pier grid automatically: a 10x12 shed gets 13 piers and an 8x10 shed gets 11 piers under this rule.
How much does a shed foundation cost in 2026?
DIY material costs for a 10x12 shed foundation in the US Midwest run roughly: gravel pad about $219.90, concrete block piers about $162.40, skid foundation about $300.00, and concrete slab about $304.95 depending on ready-mix versus bagged concrete. Hiring a contractor typically multiplies material cost by 2 to 3 times. Regional prices vary — the calculator applies a regional multiplier (US South ~8% less, Northeast ~15% more, West ~22% more) to keep the estimate honest for your area.
Should I put landscape fabric under a gravel shed base?
Yes. A woven landscape fabric between the soil and the stone stops the gravel from sinking into soft ground and stops weeds and mud from pumping up into the pad. It costs about $0.30 per square foot — roughly $50.40 for a 12x14 pad — and is the cheapest longevity upgrade you can make. Skip the thin non-woven bargain fabric on clay; use a proper woven geotextile that will not tear when you compact the stone.
Do I need a permit for a shed foundation?
Usually the shed itself triggers the permit question, not the foundation type: many US jurisdictions exempt sheds under 120 square feet (a 10x12 shed) from building permits, but setbacks from property lines almost always still apply. Larger sheds, sheds with electrical, and sheds in HOA neighborhoods typically need approval. A concrete slab is more likely to be treated as a permanent structure than a gravel pad or piers, so check with your local building department before you pour.
Can a shed sit directly on the ground?
It can, but it should not. Wood in direct ground contact rots — even pressure-treated lumber — and a shed sitting on bare soil will settle unevenly, trap moisture under the floor, and invite termites. Every foundation type in this calculator exists to solve that: gravel drains, piers lift, slabs seal, and skids spread the load. The cheapest compliant option, a 4-inch gravel pad, costs under $200 in materials for a typical shed and adds a decade or more to the shed's life.

Material prices are 2026 US DIY averages before the regional multiplier; lumber and concrete prices move with local markets. This calculator sizes materials, not structural engineering — for sheds over 200 sq ft or in high-wind / seismic zones, follow local code and your shed manufacturer's anchoring specs.

Free tool by NRTechStudio