How to Build a Shed
Updated November 23, 2026·Carpentry & Roofing

To build a shed, you set a level foundation, frame a pressure-treated floor, raise four stud walls, set rafters, then sheathe, roof and side it. An 8×10 gable shed is a realistic first build for two people over two to four weekends, and the materials typically run about $2,100 to $3,600 depending on your local lumber prices and finishes.
How to build a shed step by step
Every stick-built shed goes up in the same order. Each step has its own section below.
- Check permits and setbacks with your building department and HOA, and call 811.
- Build the shed foundation: a level gravel pad, concrete blocks or a slab.
- Frame the floor from pressure-treated skids and 2×6 joists, then glue and screw down ¾″ sheathing.
- Frame the walls flat on the floor, with a header over the door opening, and raise them.
- Cut and set the rafters on a ridge board, with rafter ties and hurricane ties.
- Sheathe the roof and walls (or hang T1-11 siding, which does both jobs).
- Roof it: drip edge, underlayment, starter strip, shingles and ridge cap.
- Side and trim it, then build and hang the door.
- Add a ramp, then paint or stain the siding and trim.
Do I need a permit to build a shed?
Maybe not, but check before you buy anything. Many towns and counties exempt small detached sheds under a size threshold, often somewhere around 120 to 200 square feet of floor area. Others set it differently or require a permit for every structure.
Even when no building permit is needed, other rules usually still apply:
- Setbacks: minimum distances from property lines, the house and other buildings.
- Height limits: often measured to the ridge, which matters on a steep gable.
- Easements and utilities: you can't build over a utility easement or septic field. Call 811 before you dig for footings or blocks.
- HOA rules: many associations control size, location, siding and roof color, and want plans approved first.
- Electrical: running power to a shed almost always needs a permit, even when the shed itself doesn't.
Call your local building department with the shed's size, height and location on the lot. It beats tearing down a finished shed.
How much does it cost to build a shed?
Expect roughly $2,100 to $3,600 in materials for a DIY 8×10 gable shed with T1-11 siding and asphalt shingles. That compares with roughly $1,500 to $4,000 for a wood kit of the same size (foundation and often shingles extra) and roughly $3,000 to $7,000 or more for a prebuilt shed delivered to your yard. Prices vary a lot by region, so check your local supplier.
The DIY total below is the worked example's quantities times typical unit prices.
| Item (8×10 shed) | Quantity | Typical cost |
|---|---|---|
| Foundation (gravel pad or concrete blocks) | Varies | $120–$550 |
| Floor framing, pressure-treated | 3 skids, 2 rims, 9 joists | $150–$250 |
| Floor sheathing, ¾″ T&G | 3 sheets | $135–$210 |
| Wall framing (studs, plates, header) | 44 studs + 108 lin ft plate | $250–$350 |
| T1-11 siding panels | 11 sheets | $495–$715 |
| Rafters, ridge board, ties | 18 rafters + ridge | $175–$250 |
| Roof sheathing, ½″ | 5 sheets | $150–$225 |
| Roofing (shingles, underlayment, drip edge, starter, cap) | 5 bundles + accessories | $350–$500 |
| Door, hinges, trim, paint | 1 door | $150–$350 |
| Nails, screws, hangers, ties, adhesive | Lot | $100–$200 |
| Approximate total | $2,100–$3,600 |
Each calculator takes your own unit price, so you can swap in your yard's numbers.
What does a 10×12 or 12×12 shed cost to build?
Floor, foundation and roof costs grow with the footprint, and framing and siding grow with the perimeter. Scaling each line of the table above that way gives a rough materials budget for the two most popular larger sizes:
- 10×12 shed (120 sq ft): roughly $2,800 to $4,900.
- 12×12 shed (144 sq ft): roughly $3,200 to $5,600.
Spans of 10 to 12 ft usually call for deeper floor joists and rafters than an 8×10 does, so check a span table. A 12×12 may also be over your area's no-permit size limit. For a real number, run your size through the calculators linked in the worked example below.
Materials and tools
For a typical 8×10 gable shed with 8-foot walls:
- Foundation materials (gravel and timbers, or concrete blocks)
- Pressure-treated 4×4 or 4×6 skids rated for ground contact
- Pressure-treated 2×6 floor joists and rim joists
- ¾″ tongue-and-groove plywood or OSB for the floor
- 2×4 precut studs (92⅝″) and 2×4 plate stock
- 2×6 or 2×8 stock for the door header
- 2×4 or 2×6 rafters, a ridge board one size deeper, and 2×4 rafter ties
- T1-11 panels, or sheathing plus lap siding or board and batten
- ½″ plywood or OSB roof sheathing
- Drip edge, synthetic underlayment, starter strip, shingles and ridge cap
- Joist hangers, hurricane ties, framing nails, deck screws, roofing nails, construction adhesive
- Trim boards, door hinges, a latch and exterior paint or stain
- Tools: circular saw, speed square, framing square, level, tape, chalk line, framing hammer or nailer, drill/driver, ladder, safety glasses and hearing protection
8×10 shed plans: the worked example
Here are the numbers for an 8-foot-wide, 10-foot-long shed with 8-foot walls, a 6/12 gable roof, one door in an 8-foot end wall, 12-inch eaves and 6-inch rakes. Each figure uses the linked calculator's formula, so your own size will give matching results.
Studs and plates
The walls add up to 36 feet (10 + 10 + 8 + 8). In the stud calculator, enter 36 feet at 16″ on center: that's 28 field studs (432 inches ÷ 16, plus one). Add 2 studs for each of the 4 corners and 4 for the door's king and jack studs, then 10% for culls: (28 + 8 + 4) × 1.1 = 44 studs. Plates are the wall length × 3 for a bottom plate and doubled top plate, so 108 linear feet, or seven 16-foot boards. Gable-end studs are extra and can usually come from offcuts and a few spare studs.
Sheet goods
The plywood calculator divides area by 32 sq ft per 4×8 sheet after adding waste:
- Floor: 8 × 10 = 80 sq ft. 80 × 1.1 ÷ 32 = 2.75, so 3 sheets.
- Walls: 36 × 8 = 288 sq ft, plus two gable triangles of about 8 sq ft each (8 ft wide × 1.97 ft high ÷ 2). That's about 304 sq ft. 304 × 1.1 ÷ 32 = 10.45, so 11 sheets.
- Roof: about 123 sq ft of surface (below). 123 × 1.1 ÷ 32 = 4.2, so 5 sheets.
Rafters and roof area
In the rafter calculator, an 8-foot span at 6/12 with a 2× ridge board gives a run of 3.94 feet and a rafter of 4′ 4.8″ from plate to ridge. Add a 12-inch overhang and the total is 5′ 6.2″, with a 26.6° plumb cut and a rise of 1′ 11.6″ at the ridge. At 16″ on center along 10 feet, you need 9 pairs, or 18 rafters.
For roof area, the roof footprint with overhangs is 10 × 11 = 110 sq ft. Multiply by the 6/12 pitch multiplier of 1.118 from the roof pitch calculator and you get about 123 sq ft, or 1.2 squares. In the shingle calculator, 123 sq ft of architectural shingles at 10% waste is 123 × 1.1 ÷ 33.3 = 4.06, so 5 bundles. Add one starter bundle and one ridge cap bundle.
Shed foundation
The foundation has to be level, well drained and sized to the floor frame. For an 8×10 shed that usually means a compacted gravel pad, concrete blocks on firm ground, or a concrete slab. Gravel suits most sheds; slabs make sense for heavy equipment. Our shed foundation guide compares all three and walks through the materials math for each.
Framing the shed floor
A shed floor is a box of pressure-treated 2×6 joists at 16″ on center, nailed between two rim joists and sitting on treated skids. On an 8×10 shed, the joists span the 8-foot width, so you need 9 joists along the 10-foot length (120 ÷ 16, rounded up, plus one) and two 10-foot rims. A 2×6 is the common choice for an 8-foot span; go deeper for longer spans or heavy loads, and check a span table if you're unsure.
- Set three 10-foot skids level on the foundation, one at each side and one down the middle.
- Mark the rim joists at 16″ on center, starting from the same end on both boards.
- Nail or hanger each joist to the rims, crown up. Use fasteners rated for treated lumber.
- Square the frame: the diagonals of an 8×10 box should both measure about 12′ 9⅝″. Rack it until they match.
- Toenail or strap the frame to the skids.
- Glue and screw ¾″ tongue-and-groove sheathing across the joists, staggering the seams.
Framing the shed walls
Shed walls are 2×4 studs at 16″ on center between a single bottom plate and a doubled top plate. For 8-foot walls, buy 92⅝″ precut studs. The stud calculator adds corners, openings and culls to the count.
- Lay the bottom and top plates side by side on the floor and mark stud locations on both at once. Hook the tape on the end, mark 15¼″, then every 16″.
- Frame the door opening with a king stud on each side running full height, jack studs under the header, and a header across the top. A common shed header is two 2×6s or 2×8s with a ½″ plywood spacer, which makes it 3½″ thick, the same as the wall.
- Nail the wall together flat on the floor. If you're using T1-11, sheathe it there while it's square.
- Raise each wall with a helper, plumb it, and nail the bottom plate through the floor into the rims and joists.
- Add the second top plate, overlapping the corners to lock the walls together.
Raise walls with two people, lift with your legs, and brace each wall to the floor before you let go. A sheathed 10-foot wall is heavy and catches the wind like a sail.
Sheathing the floor, walls and roof
Sheathing is 4×8 plywood or OSB at 32 sq ft per sheet; the plywood calculator adds waste and rounds up. The 8×10 example needs 3 floor, 11 wall and 5 roof sheets.
- Floor: ¾″ tongue-and-groove over 16″ joists. Glue and screw it so it doesn't squeak.
- Walls: T1-11 is a grooved plywood panel that serves as sheathing and siding at once. For lap siding or board and batten, sheathe with ⅜–½″ plywood or OSB first.
- Roof: ½–⅝″ plywood or OSB, using ⅝″ if your rafters are at 24″ on center.
Stagger the seams so no joints line up in a continuous line, and leave a ⅛″ gap between sheets on floors and roofs so they don't buckle when they swell.
How to build a shed roof
Most sheds use a gable roof (two slopes meeting at a ridge board) or a single-slope lean-to roof. A gable gives more headroom; a single slope is simpler to frame. Both start with pitch and rafter length.
Pick the pitch
Pitch is the rise in inches per 12 inches of run. A 4/12 to 6/12 roof is a practical range for a shingled shed. Standard asphalt shingles need at least 2/12, and between 2/12 and 4/12 they need special underlayment. Use the roof pitch calculator to convert pitch to degrees and get the multiplier for roof area.
Cut and set the rafters
- Enter your building width and pitch in the rafter calculator to get the rafter length, plumb cut angle and ridge height.
- Cut one rafter with the plumb cut at the top and a birdsmouth where it sits on the wall plate. Keep the birdsmouth no deeper than one-third of the rafter depth.
- Dry-fit that rafter with a helper. When it fits, use it as the template for the rest.
- Set the ridge board on temporary supports at the correct height, then install rafter pairs over each stud, crown up.
- Add rafter ties low in each pair so the walls can't spread, and fasten each rafter to the top plate with a hurricane tie.
- Frame the gable ends with short studs from the top plate to the end rafters.
On an 8-foot-wide shed, 2×4 or 2×6 rafters are common. The right size depends on span, spacing and your area's snow load, so check local span tables or ask the building department.
Roofing the shed
Roofing goes on in this order: drip edge at the eaves, underlayment, drip edge on the rakes, starter strip, shingles, then ridge cap. Shingles are sold by the square (100 sq ft of roof) and the bundle. Standard architectural bundles cover 33.3 sq ft, three to a square. The shingle calculator handles the bundle math, including starter and ridge cap.
- Nail drip edge along both eaves so water drips clear of the fascia.
- Roll synthetic underlayment from the eave up, lapping each course over the one below. One 10-square roll covers a small shed with plenty to spare.
- Install drip edge along the rakes, on top of the underlayment.
- Run a starter strip along the eaves and rakes to seal the first course against wind.
- Shingle from the bottom up, following the exposure and nailing pattern on the wrapper.
- Finish with ridge cap shingles along the peak.
Starting from footprint and pitch instead? The roofing calculator also counts underlayment and nails. Bundles weigh 60–80 lb, so carry them up one at a time. Up to 6/12 is comfortably walkable; steeper roofs call for toe boards or a harness.
Shingle the roof before you do the siding and trim. A dried-in shed protects your floor and framing from rain while you finish the rest.
Shed siding options
The three common shed sidings are T1-11 panels, lap siding and board and batten. T1-11 is the fastest and cheapest. Lap siding and board and batten go over sheathing and look more like a house.
- T1-11: count it as sheets. The 8×10 example needs 11 panels from the plywood calculator.
- Lap siding: the siding calculator works in squares. With a 36-foot perimeter, 8-foot walls and 16 sq ft of gables, it comes to 3.3 squares with 10% waste. That's 2 boxes of vinyl or about 56 fiber cement planks.
- Board and batten: the board and batten calculator spaces battens evenly. At a 16″ target, each 8-foot wall gets 7 battens at 16″, and each 10-foot wall gets 9 battens at 15″.
Keep the bottom edge a few inches above the ground and seal all cut edges before painting.
How to build a shed door
The simplest shed door is a Z-brace door: a panel of siding stiffened with a frame of 2×4s or 1×4s and a diagonal brace, hung on heavy strap or T-hinges. Make a single door about 3 to 4 feet wide. If you'll be moving a mower through it, build double doors 5 to 6 feet wide.
- Frame the rough opening in the wall with king studs, jack studs and a header, as above.
- Run the T1-11 panel over the opening, then cut the opening out. The cut-out becomes your door skin, with grooves that line up.
- Glue and screw a perimeter frame and a diagonal brace to the back. Run the brace from the bottom hinge side up to the top latch side so it holds the door up.
- Add trim around the opening to form a stop, hang the door with an even ⅛–¼″ gap all round, and fit a latch or hasp.
How to build a shed ramp
A shed ramp is pressure-treated 2×6 decking on angled 2×6 stringers running from the door sill to the ground. About 3 inches of rise per 12 inches of run (14°) is manageable for push mowers and wheelbarrows, so a floor 12 inches up needs a ramp about 4 feet long.
- Measure from the top of the shed floor to the ground at the door.
- Cut stringers from treated 2×6 so their top edge meets the floor and their bottom sits flat on the ground.
- Fasten the stringers to the rim joist about 16″ apart, using hangers or a treated ledger.
- Set the bottom ends on a paver or compacted gravel so they don't sink or rot.
- Screw 2×6 decking across the stringers with small gaps for drainage.
How to build a lean-to shed
A lean-to shed is built the same way as a gable shed, except the roof is a single slope from a tall wall to a short one. The difference in wall height is the shed depth times the pitch. For example, an 8-foot-deep lean-to at 4/12 needs the back wall 32 inches taller than the front. Keep the slope at 2/12 or more for shingles, or use a low-slope membrane or metal roofing below that.
The rafter calculator assumes a gable, so for a single slope, enter double the shed's depth as the span and 0 for the ridge thickness. If the lean-to attaches to your house or garage, you'll need a ledger board and flashing, and attached structures are often permitted differently from detached sheds, so check locally.
Leave the front open and slat the walls and floor, and the same lean-to becomes a woodshed. Our firewood shed guide has plans and sizing by the cord.
Frequently asked questions
How long does it take to build a shed?+
Two people with basic carpentry skills can usually frame, sheathe and roof an 8×10 shed over two to three weekends. Siding, trim, the door and paint often take another weekend.
What size shed can I build without a permit?+
It depends on where you live. Many jurisdictions exempt small detached sheds under a size threshold, often somewhere around 120 to 200 square feet, but setbacks, height limits and HOA rules can still apply. Call your local building department before you buy materials.
Is it cheaper to build a shed or buy one?+
Building from scratch is usually cheaper than a delivered prebuilt shed of the same size, and often comparable to a quality kit once you add the foundation and roofing a kit may not include. The trade-off is your time.
Can you build a shed for under $500?+
Not a full-size framed shed at today's lumber prices: the 8×10 in this guide runs roughly $2,100 to $3,600 in materials. Under $500 is possible for a small lean-to storage box, about the size of a single-bay firewood shed, at the low end of local prices, or for a build that uses reclaimed lumber and roofing.
How many studs do I need for an 8x10 shed?+
Using the stud calculator with 36 feet of wall at 16 inches on center, 4 corners, 1 door and 10% waste, you need 44 studs plus 108 linear feet of plate lumber. Gable-end studs are extra.
What roof pitch is best for a shed?+
A 4/12 to 6/12 gable roof is a practical range for a shingled shed. Standard asphalt shingles need at least 2/12, and between 2/12 and 4/12 they need special underlayment, so check the slope with the roof pitch calculator.
More project guides
How to Shingle a RoofShingle a roof: roof deck, drip edge, ice and water shield, underlayment, starter strip, shingle courses, valleys and ridge cap, plus the materials math.
How to Build a SaunaBuild your own sauna: sizing by number of people, framing, insulation and vapor barrier, cedar lining, heater and venting, foundation, materials list and cost.
How to Install ShiplapInstall shiplap step by step: real shiplap vs plywood strips, how much to buy, layout and spacing, nailing to studs, accent walls and ceilings, paint and cost.
How to Build a ClosetBuild a closet in any room: sizes for reach-in and walk-in closets, framing the walls and door opening, drywall, shelves and rods, and the cost.