Build sturdy.
Materials for any backyard shed: floor, walls, roof sheathing, and siding. Sized by shed footprint and wall height.
How we calculated this
Shed construction has four systems: floor (joists plus sheathing on a base), walls (studs plus plates plus sheathing), roof (rafters plus sheathing plus shingles), and siding. The calculator estimates each from just length, width, wall height, and roof style, then rounds every material up to whole purchasable units.
Floor: 2x6 joists spaced 16 inches on center spanning the width, supported by perimeter rim joists, with 3/4-inch tongue-and-groove sheathing in 4x8 sheets. Walls: 2x4 studs 16 inches on center (adjustable to 24 inches for economy) with a single bottom plate and doubled top plate, plus extra studs at corners. Wall and roof sheathing both work out as total area divided by 32 square feet per sheet, rounded up.
Roof framing follows the selected style. Gable rafters run from the eaves to a ridge board at a 6/12 pitch, so each rafter is the square root of run squared plus rise squared, plus a foot of overhang. Lean-to uses a single sloped rafter and the least material. Gambrel uses four slopes for maximum loft headroom and the most material. Shingles are estimated at 3 bundles per roofing square plus 10 percent waste.
Not included: foundation (gravel pad, piers, or slab), doors and windows (openings subtract studs but add headers, so the framing count runs slightly conservative), fasteners and hardware, and interior finish. Budget 20 to 30 percent above this framing list for the parts a lumber takeoff does not capture. The article below walks through foundations, roof styles, a full worked 10x12 example, and cost.
What you are actually building
A 2×4 is not two inches by four. It is one and a half by three and a half, and a shed is full of small lies like that one. The "8-foot" studs stacked at the lumberyard are 92 and 5/8 inches long, cut short on purpose so the wall finishes out to eight feet once the plates go on top. None of this is hard. It just trips up the person who measures once, buys once, and finds out at the saw horses that the numbers do not add up.
Underneath the lies, a shed is simple. Joists across a base, walls of studs, a roof of rafters, and a skin of sheathing and siding over all of it. The same parts holding up your house, minus the plumbing and minus the inspector counting your nails. The calculator at the top of this page takes your length, width, wall height, and roof style and hands back the lumber, sheathing, and shingle counts, so you are not doing arithmetic in the checkout line with a full cart and a line building behind you.
One rule before you spend a dollar. Size the shed for the person you will be in three years, not for the empty yard you are staring at today. An 8×10 feels enormous when it is empty. It is full the first time you own a mower, a wheelbarrow, a workbench, and the four cans of paint you swear you are going to use. Torn between two sizes? Take the bigger one. Every single time.
Foundations
The base is the one part you cannot redo without tearing the shed apart, so it is the first decision and the one worth slowing down for. Three options cover nearly every backyard shed built in the United States. The right one comes down to three things: how big the shed is, what the ground is like, and whether your winters freeze hard enough to move it.
Gravel pad + skids | Concrete piers | Poured slab | |
|---|---|---|---|
| Best for | Small to mid sheds, mild ground | Mid sheds, uneven or sloped lots | Large or heavy sheds, freeze country |
| Typical size range | Up to ~160 ft² | 100–200 ft² | Any, best over 200 ft² |
| Rough material cost | $150–400 | $300–600 | $800–2,000 |
| Rots or cracks? | Neither | Neither | Can crack in frost |
| Reversible later | Yes, rake it out | Mostly | No, it is permanent |
A gravel pad with pressure-treated skids is the default for good reason: cheap, forgiving of slope, and nothing in it can crack. Step up to concrete only when size, weight, or frost forces you to.
The gravel pad is the workhorse. Four to six inches of compacted crushed stone, raked level, with pressure-treated 4×4 skids sitting on top to carry the floor frame. It drains, it shrugs off a little slope, and it will never crack because there is nothing in it to crack. Under roughly 160 square feet in a climate that does not freeze hard, this is usually the whole answer. Buy the stone by weight, not by guess. The gravel calculator turns your pad dimensions into tons so you are not a half-ton short when the delivery truck is already tilting its bed.
Concrete earns its keep when the shed is big, heavy, or going up where the ground freezes. A poured slab is your floor and your foundation in one, and it never rots. But it costs more, it takes longer, and there is no undo button once it cures. In frost country you may need footings that reach below the frost line. Skip that and the shed heaves up every winter and settles every spring, and by March the door will not close because the whole box has racked out of square. Slab volume and bag counts come straight out of the concrete calculator.
The frame, piece by piece
Floor first. 2×6 joists, 16 inches on center, running the short way across the shed, boxed in front and back by rim joists and topped with 3/4-inch tongue-and-groove plywood. A 10×12 needs 8 or 9 joists and 4 sheets of decking. Keep the whole frame up off the dirt on those skids. Air moving underneath is the difference between a floor that is still solid in twenty years and one that goes spongy in five because it sat wet against the ground the whole time.
Walls are 2×4 studs at 16 inches on center, a single bottom plate, a doubled top plate, and extra studs stacked at each corner so the box does not rack in the wind. Building tight on budget? Bump to 24-inch spacing with the stud spacing calculator and save a handful of studs per wall. Two warnings. The calculator does not cut holes for doors and windows, so add lumber for headers and trim wherever you frame an opening. And it is the header people forget, then they come up two boards short on a Sunday afternoon when the yard is closed.
The roof is where sheds stop being identical, and it is worth choosing on purpose instead of defaulting to a gable because it is the shape you have seen a hundred times.
Gable peak in the middle | Lean-to single slope | Gambrel barn style | |
|---|---|---|---|
| Material use | Moderate | Lowest | Highest |
| Build difficulty | Medium | Easiest | Hardest |
| Headroom / storage | Good | Limited | Best (loft space) |
| Sheds rain and snow | Well | Well if pitched right | Well |
| Best when | You want the standard, do-anything shed | Small shed against a wall or fence | You need every cubic foot of storage |
Gable is the default for a reason. Lean-to is the fast, cheap option for a small shed tucked against something. Gambrel buys you a usable loft at the price of more lumber and fussier cuts.
A gable roof has rafters running from the eaves up to a ridge board at the peak. At the standard 6/12 pitch, each rafter length works out to the square root of the run squared plus the rise squared, plus about a foot of overhang past the wall. Rafters sit 24 inches on center for most sheds. Roof sheathing is 7/16-inch OSB in 4×8 sheets, then shingles at three bundles per square with 10 percent added for waste. The lean-to trades that peak for a single slope from a tall wall down to a short one, which uses the least material of the three and frames up fastest. The gambrel, the barn shape, folds four slopes together to open up a loft overhead. You pay for that headroom in rafters, sheathing, and patience, because the compound cuts are the fussiest framing on any small building.
How the sheathing math works
Sheathing is the OSB or plywood skin that goes over the framing before any siding or roofing. Sheets are 4×8 feet, which is 32 square feet each, so the math never changes: total area divided by 32, rounded up, plus a little for waste. Walls are the easy case. A 10×12 shed with 8-foot walls has a 44-foot perimeter, and 44 times 8 is 352 square feet, which comes to 11 sheets before you subtract the door and window openings. Cut those openings out and save the scraps for patching. The roof works the same way once you have the roof area: divide by 32 and add 10 percent for the cuts at the gable ends. If you want to price the framing lumber underneath all of this, the lumber calculator converts your board list into board feet.
A real 10×12, start to finish
Numbers on their own are abstract, so here is a full one. This is the material list the calculator produces for the most common shed people build, a 10×12 with 8-foot walls and a standard gable roof.
Composite illustration based on typical project dimensions, regional contractor pricing, and 2026 material costs. Not a specific real project.
Notice what that list leaves out, because the leftovers are where budgets blow up. No foundation, no door or windows, no fasteners, no paint or stain, no hurricane ties or hardware. Those extras routinely add 20 to 30 percent on top of the framing number. If the shed is going to be heated or finished inside, the insulation calculator and drywall calculator handle the interior, and both of those are their own line item nobody remembers on the first pass.
What it costs, three ways
You can get the same shed three different ways, and the price gap between them is mostly your own weekends. Here is how a 10×12 breaks down across the three common paths.
DIY from dimensional lumber | Kit pre-cut, you assemble | Pro-built delivered or on-site | |
|---|---|---|---|
| Framing + sheathing | $1,400–2,200 | Included | Included |
| Foundation | $150–2,000 | $150–2,000 | Often included |
| Door, windows, hardware | $200–600 | Included | Included |
| Your time | 2–4 weekends | 1–2 weekends | None |
| All-in for a 10×12 | $2,000–4,000 | $3,000–6,000 | $5,000–10,000 |
Building from dimensional lumber saves 40 to 60 percent against a kit or a pro-built shed. What you trade for it is two to four weekends and the willingness to fix your own mistakes.
The DIY route wins on cost by a wide margin, but be honest with yourself about the trade. A kit removes the cutting and the head-scratching over rafter angles, which is worth real money if your weekends are scarce or your saw skills are new. A pro-built shed removes everything except writing the check. There is no wrong answer here. There is only the version that matches how much time you actually have.
Where sheds go wrong
Most shed regrets trace back to a handful of the same mistakes, and every one of them is cheaper to avoid than to fix. Building on bare dirt or an unlevel base tops the list, because a floor frame in contact with the ground wicks moisture and rots from the bottom up, and an out-of-level base racks every door and window you hang. Undersizing is next, and it is the one nobody believes until they live it. The 8×10 that looked huge is full within a year.
Then there is the paperwork nobody wants to do. Skipping the permit and setback check feels harmless right up until a neighbor complains or you go to sell the house, and a shed one foot over the line becomes your problem to move. Forgetting the header lumber over openings, leaving sheathing and framing exposed to weather for weeks because the roofing is not ready, and buying siding before subtracting the door and window openings all show up on the same weekend, usually the one where the yard is closed. None of these are skill problems. They are planning problems, which means the calculator and a careful material list solve most of them before you ever pick up a saw.
Frequently asked
How much material do I need for a 10×8 shed?
For a standard 10×8 shed with 8-ft walls and a gable roof, you need roughly: 6-8 floor joists, 3 sheets floor sheathing, 40 wall studs, 9 sheets wall sheathing, 10-12 rafters, 6 sheets roof sheathing, 6-7 bundles of shingles, and 9 sheets of siding. Exact counts depend on door/window count and specific design.
What's the cheapest shed to build?
Lean-to style with T1-11 siding (no separate sheathing), 24" OC stud spacing, gravel pad instead of concrete, and asphalt shingles. DIY materials for a 10×8 lean-to shed: $800-1,500. Same size gable shed: $1,200-2,000. Gambrel (barn): $1,800-3,000 for materials. Add 50-100% if hiring contractors.
Do I need a permit?
Depends on your jurisdiction. Most US codes exempt sheds under 120 sq ft (a 10×12 or smaller). Over that, permits required. Electrical wiring or plumbing always requires permits. HOA restrictions may apply regardless of permits. Check before building. Retroactive permits cost more than original.
What foundation does a shed need?
For small sheds (under 100 sq ft): gravel pad (4-6 inches compacted crushed stone) with pressure-treated 4×4 skids. For medium sheds (100-200 sq ft): concrete piers at each corner and mid-span + skid beams. For large sheds (200+ sq ft) or in freeze/frost areas: concrete slab or perimeter footings below frost line.
Should I use OSB or plywood for sheathing?
Both work. OSB is 20-30% cheaper and standard in modern construction. Plywood is slightly more resistant to moisture and slightly stronger. For a budget shed, OSB is fine. If the shed might get wet during construction or has poor ventilation, plywood is safer. Both need to be covered promptly with siding and roofing.
What pitch should my shed roof be?
3/12 to 4/12 for a subtle lean-to. 6/12 standard for gable (matches common residential houses). 8/12 for steeper, more aggressive gable or gambrel. Higher pitch sheds more rain and snow, looks taller, but uses more material. In snow regions (Northern US, mountains), go 6/12+ minimum.
Can I skip the roof sheathing?
Not for asphalt shingles, they need a solid nailing surface. You can skip sheathing if you use metal roofing with purlins (horizontal boards every 24" across the rafters). Metal roofing costs more per square foot but saves on sheathing material. For wood shakes or shingles, sheathing is optional but recommended for weatherproofing.
What about insulation and drywall?
Not included in this calculator. For insulated sheds (workshop or hobby spaces): budget additional batt insulation (see insulation calculator for R-13 walls, R-19 ceiling), interior drywall or wood paneling, and electrical wiring. Insulating a 10×8 shed adds $400-800 in materials. Worth it if you'll use the shed in winter.
Sources
- IRC 2021 Section R105.2: Work Exempt from Permit - The 120 sq ft permit-exemption threshold for accessory structures
- APA: Engineered Wood Construction Guide - Sheathing spans, panel grades, and fastening for walls and roofs
- AWC: Wood Frame Construction Manual - Stud spacing, plate, and rafter framing standards
- APA: Panel Handbook (4x8 sheet coverage) - Basis for the 32 sq ft per sheet sheathing math
Was this calculator helpful?