Costs & Estimating calculator

DIY Shed Cost Calculator

A diy shed cost calculator that shows what it costs to build a shed yourself: the materials, the foundation, the door and windows, the hours it will take, and what the same shed would cost built by a contractor or bought as a kit. Enter the shed size, roof style, finish and foundation. The hours are the real cost of doing it yourself, so count them before you commit.

  • Free to use
  • No sign-up
  • Formula and sources shown
DIY Shed Cost Calculator

Got the number? Save it before it gets lost.

A result on a screen is easy to lose. Save this estimate in the app and it stays with the project, ready when you order.

Save this estimate in the app
Start from:

Your shed

Measure the outside of the shed you want to build.

A lean-to is the cheapest to frame; a gambrel gives the most loft space.

Foundation and openings

Skids on gravel are the cheapest; a concrete slab is the most durable.

Each door is priced as a single pre-hung door, materials only.

Each window is priced as a small shed window, materials only.

Allowance

10% is typical. Cutting mistakes and a crooked site eat lumber fast.

Typical cost, DIY materials

$5,247

Likely range $4,129 to $6,365 · about $55 per sq ft

Shed size

12 × 8 ft · 96 sq ft

Roof style

Gable roof (classic A-frame)

Cost per sq ft

$43 to $66

Materials

$3,600

Foundation

$480

Doors

$350

Windows

$340

Contingency

$477

Build time (DIY)

96 hours

Same shed, prefab kit

$4,320

Same shed, built by a contractor

$7,871

  • DIY cost is materials only. The build hours are your weekends, not a bill.
  • A contractor-built shed costs about 1.5 times the DIY materials total, because labor is roughly half the installed price.
  • Planning ranges for the United States. Check permits and setbacks with your building department before you buy lumber.

Cost of every roof style for this shed

Same size, finish, foundation, doors and windows, so you can compare like for like. A lean-to is cheapest; a gambrel gives the most loft space.

Roof styleTypical totalRangePer sq ftBuild hours
Gable roof (classic A-frame)$5,247$4,129 to $6,365$5596 hours
Lean-to / single-slope roof$4,666$3,707 to $5,625$4982 hours
Gambrel / barn roof$5,722$4,552 to $6,893$60115 hours

DIY shed cost by size

Same roof style, finish and foundation as your shed, so you can see what the next size up or down would cost.

Shed sizeFloor areaTypical totalRange
8×8 ft64 sq ft$3,751$2,933 to $4,569
8×10 ft80 sq ft$4,499$3,531 to $5,467
10×12 ft120 sq ft$6,369$5,027 to $7,711
12×16 ft192 sq ft$9,735$7,720 to $11,750
12×20 ft240 sq ft$11,979$9,515 to $14,443

Turn this result into a priced plan

Save it to a project, add the rest of your materials, and send a client-ready quote. No retyping, no spreadsheet, no lost numbers.

Open this calculator in the app

Formula

Materials = Area × Rate per sq ft × Finish factor; Total = (Materials + Foundation + Doors + Windows) × (1 + Contingency%); Build hours = Area × Hours per sq ft; Pro-built price ≈ Total × 1.5

Worked example. A 12 × 8 ft gable-roof shed, standard finish, on a gravel pad, with 1 door and 2 windows, at average US prices with 10% contingency: materials $3,600, foundation $480, door $350, windows $340, subtotal $4,770, contingency $477, total $5,247, or $54.66 per sq ft. It takes about 96 hours to build, and the same shed built by a contractor costs about $7,870.50.

A 12 × 8 ft shed built yourself costs about $5,247 in materials, or $54.66 per square foot, including the gravel pad, the door, two windows and a 10% contingency. The same shed costs about $4,320 as a prefab kit and about $7,870.50 built by a contractor. The size sets the price, the roof style and the foundation move it most after that, and the hours are the real cost of doing it yourself: about 96 hours for this shed, or six weekends. Compare all three routes before you buy a single board.

Key takeaways

  • •Size sets the price. Materials run $30 to $45 per square foot for a gable-roof shed, so every extra foot of length adds real money.
  • •The foundation is the biggest single choice after size. Skids on gravel cost $350 to $600 flat; a concrete slab costs $8 to $15 per square foot.
  • •A kit is cheaper than a contractor but not always cheaper than building from scratch. Compare all three prices in the calculator before you commit.
  • •The hours are the hidden cost. A gable shed takes about 1 hour per square foot, so a 12 × 8 ft shed is about 96 hours of your weekends.
  • •Finish level moves the total by about 25%: basic is 0.9 times standard, premium is 1.25 times.

How to use the DIY shed cost calculator

  1. Enter the shed length and width in feet, measured on the outside.
  2. Pick the roof style: gable, lean-to or gambrel. A lean-to is the cheapest to frame; a gambrel gives the most loft space.
  3. Pick the finish level: basic, standard or premium.
  4. Choose the foundation. Skids on gravel are the cheapest; a concrete slab is the most durable.
  5. Add the number of doors and windows. Each door is priced as a single pre-hung door and each window as a small shed window, materials only.
  6. Choose your local price level and a contingency. 10% is typical; cutting mistakes and a crooked site eat lumber fast.
  7. Read the materials total, the hours, the contractor price and the kit price. The comparison table below the result shows every roof style for your size, and the size table shows five common shed sizes.

Shed cost per square foot by roof style

These are materials-only ranges per square foot of floor area, for a standard finish at average US prices. They cover framing lumber, siding, roofing, flooring, fasteners and paint, before the foundation, the door, the windows and the contingency.

Roof styleMaterials per sq ftBuild hours per sq ftBest for
Lean-to / single-slope$26 to $380.85 hoursThe cheapest and simplest shed, often against a wall or fence
Gable roof (classic A-frame)$30 to $451.0 hoursThe most common shed: simple to frame, good headroom, sheds rain and snow
Gambrel / barn roof$34 to $501.2 hoursThe most headroom and loft space, and the most cutting

Materials only, standard finish. A basic finish multiplies these rates by 0.9 and a premium finish by 1.25.

The roof style matters for two reasons: the framing and the headroom. A lean-to has one sloping roof and no ridge, so it is the fastest to frame and the cheapest in lumber. A gable roof has two slopes and a ridge board, which is the shape most people picture when they think of a shed, and it sheds rain and snow well. A gambrel has two slopes per side, which gives a loft you can stand in, but every rafter is cut twice and the roof takes more shingles, so it costs the most per square foot and takes the most hours.

Before you build, size the base with the shed foundation calculator, which works out the concrete and gravel for the foundation, and the excavation calculator if the site needs levelling.

What the money goes to: a 12 × 8 ft gable shed

For a 12 × 8 ft gable-roof shed, standard finish, on a gravel pad, with 1 door and 2 windows, at average US prices with a 10% contingency, the materials cost works out like this.

Part of the jobTypical cost
Materials: lumber, siding, roofing, flooring, fasteners, paint (96 sq ft at $37.50)$3,600
Gravel pad foundation (96 sq ft at $5.00)$480
Door (1 pre-hung door)$350
Windows (2 shed windows)$340
Subtotal$4,770
Contingency (10%)$477
Total, DIY materials$5,247

Typical (mid) figures. The range is $4,129.40 to $6,364.60, or about $43.01 to $66.30 per sq ft.

Notice that the materials are three quarters of the total, and the foundation, door and windows are the rest. The contingency is not padding: cutting mistakes, a warped board, a crooked site and the extra box of screws all come out of it, and a shed built without one always costs more than the first estimate. The same shed built by a contractor costs about $7,870.50, because labor is roughly half the installed price, and the same shed as a prefab kit costs about $4,320 at the mid-range kit price of $45 per square foot.

The lumber is the biggest line inside the materials, and it is the one that varies most with price. A 12 × 8 ft shed takes roughly 40 studs, a dozen joists, a dozen rafters, a few sheets of plywood for the floor and roof, and siding for about 300 square feet of wall. Price the lumber with the lumber calculator before you buy, and buy it in one trip: delivery is usually free over a minimum order, and a second trip costs a day.

Shed cost by size: five common sheds

The table below uses the calculator's own rates for a gable-roof shed, standard finish, on a gravel pad, with 1 door and 2 windows and a 10% contingency, at average US prices. Change the size in the calculator to see your exact shed.

Shed sizeFloor areaDIY materials, typicalRangeBuild hoursContractor-built, typical
8 × 8 ft64 sq ft$3,751$2,932.60 to $4,569.4064 hours$5,626.50
8 × 10 ft80 sq ft$4,499$3,531 to $5,46780 hours$6,748.50
10 × 12 ft120 sq ft$6,369$5,027 to $7,711120 hours$9,553.50
12 × 16 ft192 sq ft$9,735$7,719.80 to $11,750.20192 hours$14,602.50
12 × 20 ft240 sq ft$11,979$9,515 to $14,443240 hours$17,968.50

Gable roof, standard finish, gravel pad, 1 door, 2 windows, 10% contingency. A concrete slab adds $8 to $15 per sq ft; a premium finish adds 25%.

The cost per square foot barely falls as the shed gets bigger, because most of the cost is lumber and roofing that scale with area. What does spread out is the fixed cost: one door, one set of tools and one delivery, so a bigger shed costs a little less per square foot once those are included. The real reason to build bigger is not the price per square foot, it is that a shed that is too small is the most common regret in shed building: measure what has to fit in it, add a third for the things you will buy later, and build that size.

Worked examples

Example 1: a 12 × 8 ft gable shed, standard finish, gravel pad, 1 door, 2 windows

  • Floor area: 12 × 8 = 96 sq ft
  • Materials: 96 × $37.50 (mid of $30 to $45) = $3,600
  • Foundation: 96 × $5.00 (mid of $4 to $6) = $480
  • Door: 1 × $350 (mid of $250 to $450) = $350
  • Windows: 2 × $170 (mid of $120 to $220) = $340
  • Subtotal: $3,600 + $480 + $350 + $340 = $4,770
  • Contingency: $4,770 × 10% = $477; total: $5,247, or $54.66 per sq ft
  • Range: low $4,129.40, high $6,364.60
  • Build hours: 96 × 1.0 = 96 hours; contractor-built: $5,247 × 1.5 = $7,870.50; kit: 96 × $45 = $4,320

Example 2: an 8 × 10 ft lean-to shed, basic finish, on skids, 1 door, no windows

  • Floor area: 8 × 10 = 80 sq ft
  • Materials: 80 × $32.00 (mid of $26 to $38) × 0.9 (basic finish) = $2,304
  • Foundation: skids, mid of $350 to $600 = $475
  • Door: 1 × $350 = $350; windows: 0
  • Subtotal: $3,129; contingency 10%: $313; total: $3,442
  • Build hours: 80 × 0.85 = 68 hours

Example 3: a 12 × 16 ft gambrel shed, premium finish, concrete slab, 1 double door, 3 windows

  • Floor area: 12 × 16 = 192 sq ft
  • Materials: 192 × $42.00 (mid of $34 to $50) × 1.25 (premium finish) = $10,080
  • Foundation: 192 × $11.50 (mid of $8 to $15) = $2,208
  • Door: 1 × $350 = $350; windows: 3 × $170 = $510
  • Subtotal: $13,148; contingency 10%: $1,315; total: $14,463
  • Build hours: 192 × 1.2 = 230 hours; contractor-built: $14,462.80 × 1.5 = $21,694.20

Example 3 shows where the money goes on a big shed: the premium finish adds 25% to the materials, and the concrete slab adds more than $2,000 on its own. A gambrel shed with a slab is a small building, not a garden shed, and it is worth pricing the slab with the concrete calculator and checking whether a permit and inspections are needed before the lumber is ordered.

Foundation compared: skids, gravel, piers or slab

The foundation is the part of a shed that most often gets skipped, and it is the part that decides whether the shed lasts 5 years or 25. A shed sitting on bare ground rots from the bottom up, because the floor joists stay damp. Every foundation below keeps the wood off the ground; they differ in cost, in durability and in how level the site has to be.

FoundationTypical costBest forWatch out for
Pressure-treated skids on gravel$350 to $600Small sheds on level ground, the cheapest optionThe shed can shift on soft ground; re-level every few years
Gravel pad$4 to $6 per sq ftMost sheds: good drainage and a level baseNeeds compacting, or the pad settles unevenly
Concrete piers$500 to $900Sloped sites, where a slab would need a lot of levellingEach pier must reach below the frost line in cold climates
Concrete slab$8 to $15 per sq ftLarge or heavy sheds, workshops, and anywhere a solid floor mattersThe most expensive, and the hardest to fix if it cracks

In cold climates, the frost line is the rule that matters: footings and piers must reach below the depth the ground freezes, or the shed will heave in winter and settle crooked in spring. The International Residential Code requires footings below the frost line, and the local frost depth is set by the building department. A slab on grade is less affected, because it floats on the ground, but it still needs a compacted gravel base and a thickened edge.

Work out the concrete for a slab with the concrete calculator and the gravel for a pad with the gravel calculator. The shed foundation calculator sizes the foundation itself.

Kit vs building from scratch vs hiring a contractor

Three ways to get a shed, and the cheapest is not always the right one. Building from scratch costs the least in money and the most in time. A kit costs a little more in money and much less in time. A contractor costs the most in money and the least in time. The calculator shows all three prices for your shed, so the choice is a comparison, not a guess.

Build from scratchPrefab kitHire a contractor
12 × 8 ft gable shed, typical$5,247$4,320$7,870.50
MaterialsYou choose every boardPre-cut, thinner lumber, fixed designContractor chooses, usually better grade
TimeAbout 96 hoursAbout 2 to 3 days for two peopleAbout 3 to 5 days, crew of two or three
Tools neededSaw, drill, level, squareDrill, level, ladderNone
Design freedomAny size, any styleFixed sizes, limited optionsAny size, any style
Permit and inspectionsYou applyYou applyUsually handled for you
WarrantyNone, except material warrantiesKit warranty, often 10 years on materialsWorkmanship warranty, often 1 to 5 years

Kit price is the mid-range kit rate of $45 per sq ft for a 12 × 8 ft shed. Kit prices vary by brand and by what is included: some kits exclude the floor, the shingles and the paint.

Two warnings belong here. First, check what the kit includes before you compare prices: some kits exclude the floor, the roofing felt and shingles, and the paint, which can add $500 to $1,000 to the kit price. Second, check the lumber thickness: kit studs are often 2×3 instead of 2×4, and kit siding is often thinner than store-bought siding, which is why a kit shed can feel flimsy next to a scratch-built one. If you want a workshop that will hold heavy shelving, build it from scratch with 2×4 studs and plywood siding.

The contractor route is worth it when the shed is large, the site is sloped, or the shed needs electricity. A 12 × 20 ft workshop with a slab, wiring and insulation is a small building, and a contractor's crew will finish it in a week where a DIY builder needs two months of weekends.

How this calculator beats the rivals

The shed cost calculators that rank today are thin. The top results for this query are onlycalculators, calcformula, solvetutor, homeexpertly and whiz.tools, and Omni Calculator also has a shed cost page. Between them they answer one question: size times a price per square foot. None of them prices the foundation separately, none of them counts the door and windows, none of them shows the build hours, and none of them compares the three ways of getting a shed.

  • •Foundation as its own line, with four options priced separately: skids, gravel pad, concrete piers and concrete slab, because the foundation is the biggest single choice after size.
  • •Doors and windows counted, so the total is a real materials list, not a per-square-foot guess.
  • •Build hours for every shed, by roof style, so the DIY builder knows the time cost before starting.
  • •Three prices side by side: build from scratch, prefab kit and contractor-built, so the choice is a comparison.
  • •A size table with five common sheds and a roof-style comparison, so a visitor can see the trade-off without entering numbers.
  • •Worked examples with every line shown, matching the calculator exactly, so the maths can be checked by hand.

The foundation section is the clearest gap. A rival page that prices a shed at $40 a square foot and stops has told a visitor with a sloped site nothing, because their foundation alone can cost $2,000 more than a flat site. This page prices the foundation, explains the frost line, and links to the foundation calculator that sizes it.

Common mistakes when building a shed

  • •Building too small. Measure what has to fit, add a third for what you will buy later, and build that size. A shed that is too small is the most common regret.
  • •Skipping the foundation. A shed on bare ground rots from the bottom up. Skids on gravel are cheap and they work.
  • •Forgetting the permit and the setback. A shed built over a setback line or without a required permit can have to come down.
  • •Using interior lumber outside. Untreated studs and flooring rot in a shed; use pressure-treated lumber for anything that touches the ground.
  • •No overhang on the roof. A roof with no eave overhang lets rain run down the walls, and the siding rots. Give the roof at least a 6 inch overhang.
  • •No ventilation. A sealed shed sweats inside, and the tools rust. Add a vent at each gable end.
  • •Underestimating the time. A 12 × 8 ft shed is about 96 hours for one person. Start in spring, not in October.
  • •Buying the lumber in dribs and drabs. Buy it in one trip, check every board for straightness, and keep the receipt for the warped ones.

Shed placement, permits and setbacks

Before the first board is cut, check three things with your building department: whether a permit is needed, how far the shed must sit from the property line, and whether there is a maximum size or height. Many areas allow sheds up to 120 square feet without a permit, some allow up to 200, and some require a permit for any shed. Setbacks are usually 5 to 10 feet from the side and rear lines, and they apply even when no permit is needed.

Placement matters as much as paperwork. Put the shed on high ground, or the floor will sit in water after rain. Face the door away from the prevailing wind, and leave room around the shed to paint it and to mow behind it. Keep it clear of trees: a falling branch is the most common cause of shed roof damage, and leaves in the gutters rot the fascia. If the shed will have electricity, the cable has to be buried at the depth your code requires, and that work needs an electrical permit and an inspection.

  • •Call before you dig: in the US, call 811 to mark underground utilities before setting piers or a slab.
  • •Check the homeowners association rules. Some associations limit shed size, colour and placement, and they can fine you after the shed is built.
  • •Keep the shed off the septic field and the wellhead, and out of any drainage easement.
  • •Anchor the shed. In high-wind areas, anchor kits tie the shed to the foundation; an unanchored shed is a kite in a storm.

Safety

  • •Wear eye and ear protection when cutting, and gloves when handling lumber and roofing.
  • •A circular saw kicks back when the blade binds. Keep both hands on the saw and never reach across the cut line.
  • •Ladders: keep three points of contact, and never stand on the top two rungs.
  • •Roofing in heat is hard on the body. Work in the morning, drink water, and stop if you feel dizzy.
  • •Keep children and pets away from the site, and lock the shed when you are not working in it.

Assumptions

  • •Prices are planning ranges for the United States and are shown as estimates, never quotes. Lumber, siding and roofing prices vary by region and by season.
  • •The headline total is materials only, for a DIY builder. The builder's own time is shown as hours, not dollars, because it is not paid for.
  • •Materials are priced per square foot of floor area and cover framing lumber, siding, roofing, flooring, fasteners and paint. A gable roof runs $30 to $45 per sq ft, a lean-to $26 to $38 and a gambrel $34 to $50.
  • •The foundation is priced separately because it varies more than anything else: skids on gravel are the cheapest, a concrete slab the most expensive.
  • •A contractor-built shed costs about 1.5 times the DIY materials total, because labor is roughly half the installed price. The kit comparison uses prefab kit prices of $35 to $55 per sq ft.
  • •Permits, electrical work, insulation and shelving are not included. Many areas require a permit for a shed over 120 or 200 sq ft, and some require one for any shed.

Sources✓ Verified

  • International Residential Code (IRC), Sections R301, R403 and R802. Structural, footing and roof requirements that drive shed cost: footings must reach below the frost line in cold climates, and roof framing must meet span and snow-load rules.
  • American Wood Council, Wood Frame Construction Manual. Framing, sheathing and fastening practice for small wood structures such as sheds.
  • Supplier and lumberyard price lists, 2025 and 2026. Lumber, siding, roofing and hardware ranges used for the per-square-foot material rates.
  • HomeAdvisor and Angi cost guides for shed building. Published ranges for shed builds by size and material, used as a cross-check on the calculator's rates.

Formula reviewed November 2026.

A 12 × 8 ft gable-roof shed with a standard finish on a gravel pad costs about $5,247 in materials, including the door, windows and a 10% contingency, or about $54.66 per sq ft. A small 8 × 8 ft shed costs about $3,400 to $4,600, and a 12 × 16 ft shed costs about $9,500 to $14,000. The same shed built by a contractor costs about 1.5 times as much.

Building from lumber is usually cheaper than a kit of the same size, and a kit is usually cheaper than hiring a contractor. A 12 × 8 ft shed costs about $5,247 in materials built from scratch, about $4,320 as a prefab kit at the mid-range kit price, and about $7,870.50 built by a contractor. The kit saves design and cutting time but gives you thinner lumber and fewer choices; building from scratch costs more in time and gives you a stronger shed.

A 10 × 12 ft (120 sq ft) gable-roof shed with a standard finish on a gravel pad costs about $6,400 to $7,900 in materials, including the door, windows and a 10% contingency. On a concrete slab it costs about $1,000 to $1,800 more, and built by a contractor it costs about $9,600 to $11,900.

Build a small lean-to shed on pressure-treated skids, with basic finish and no windows. An 8 × 10 ft lean-to on skids costs about $2,600 to $3,900 in materials. Keep the size under the permit threshold if your area allows it, use standard lumber lengths to cut waste, and buy the lumber in one trip.

About 1 hour of work per square foot for a gable-roof shed, so a 12 × 8 ft shed takes about 96 hours, or roughly 6 weekends for one person working weekends. A lean-to takes about 0.85 hours per square foot and a gambrel about 1.2 hours per square foot. A second pair of hands cuts the time by a third, and a kit cuts it by about a quarter.

It depends on your area. Many places allow sheds up to 120 sq ft without a permit, some allow up to 200 sq ft, and some require a permit for any shed. A shed with electricity always needs an electrical permit, and setbacks from the property line usually apply even when no building permit is needed. Check with your building department before you buy lumber.

Converters to use with the DIY Shed Cost Calculator

Switch units, compare bulk and bagged quantities, or check coverage, without leaving BuildCova.

Browse all converters

More costs & estimating calculators

Lawn Mowing Cost CalculatorCosts & EstimatingLawn Mowing Cost CalculatorA lawn mowing cost calculator that shows the price per visit, the cost for the whole season, and what it costs to mow the same lawn yourself. Enter the lawn size, how often it is mowed, the terrain and what the visit includes. A season of visits adds up fast, so see the full-season total before you book, not just the per-visit price.Construction Cost CalculatorCosts & EstimatingConstruction Cost CalculatorA construction cost calculator that builds the complete selling price from your own line items: materials, labour, equipment, subcontractors, permits and design, then overhead, a contingency and your markup. Enter the direct costs and see the cost per square foot and where the money goes. A job priced from its own lines holds up better than one priced from a borrowed per-square-foot rate.Paver Installation Cost CalculatorCosts & EstimatingPaver Installation Cost CalculatorA paver installation cost calculator that shows the installed cost per square foot and the total, with materials and labour split apart and the base, sand, edging, removal and sealing shown as separate lines. Enter the patio or driveway size, pick the paver type and pattern, and see the DIY comparison, so you know exactly what the contractor's labour is worth before you hire.Paver Labor Cost CalculatorCosts & EstimatingPaver Labor Cost CalculatorA labor cost to install pavers calculator that prices the labour line of a paver job on its own. No materials, no base stone, no sand. Enter the size, the paver type and the pattern, and see the laying labour, the excavation, the crew days and hours, and the labour share of the job, with a DIY comparison so you can see exactly what the contractor's crew is worth.Markup CalculatorCosts & EstimatingMarkup CalculatorPrice a job from what it costs you, not from what you hope to earn, with this markup calculator, so the price you quote leaves the profit you planned instead of less. Enter the job cost and your markup percentage and see the selling price, the profit in dollars and the profit margin that markup really works out to, plus the markup you would need if you started from a target margin instead.Profit Margin CalculatorCosts & EstimatingProfit Margin CalculatorStart from the margin you need to keep and work backwards to the price with this profit margin calculator, so a job that looks busy on the schedule is also a job that makes money. Enter the job cost and your target profit margin and see the selling price, the profit in dollars, the markup that price implies and the net margin left after overhead, the numbers that decide whether a job makes money or just keeps the crew busy.

Material requirements can vary based on product specifications and job conditions. Verify quantities with your supplier before ordering.