See It In My Home

How to build a shed: floor, walls and roof, in the order they go up

A shed is a floor frame, four stud walls and a rafter roof. Joists and studs at 16 inches on center, the order of work, door openings, and what to settle first.

The bare wood frame of a small backyard shed on a lawn: stud walls, a door opening and gable rafters on a plywood floor.

The short answer

  • A shed goes up in this order: foundation, floor frame, walls, roof framing, roof sheathing, then roofing, windows and door.
  • The floor is 2 by 6 joists, typically 16 inches apart, inside a band of the same lumber. Check the frame for square by measuring both diagonals.
  • Walls are 2 by 4 studs, typically 16 inches on center. They are framed flat, then raised with at least one helper and braced.
  • This Old House sets rafters 16 inches on center. One documented 10 by 12 shed used 24 inches, a 7 in 12 pitch, 5/8 inch roof sheathing and a 6 inch overhang.
  • Size, permit and foundation come before any of it. A 10 by 12 shed is 120 square feet, the line some towns draw for a permit.
In this guide

A shed has the parts of a house at a smaller size: a foundation, a framed floor, stud walls with openings, rafters, sheathing and roofing.

This guide gives the order of work and the sizes that This Old House, Fine Homebuilding and two documented builds use. It is an overview to plan with, not a set of plans. Mother Earth News says where the plan for a shed goes: to the regional building inspector and the local zoning boards.

Four decisions before the lumber

How big. Our guide to shed sizes covers what fits in each footprint. The build this guide follows most closely, documented by One Project Closer, is 10 by 12 feet: 120 square feet.

Whether it needs a permit. One Project Closer chose that size because, in its area, 120 square feet could be built without a structural building permit. The line is not the same everywhere. The model building code exempts one-story sheds up to 200 square feet, and some towns set the line at 120. The shed sizes guide puts four towns' rules side by side.

What it stands on. The One Project Closer shed stands on ten columns of three solid 4 inch blocks, on 2 to 4 inches of crushed rock, with a perimeter of pressure-treated 4 by 6. Fine Homebuilding gives its rules for a base of that kind: several inches of coarse gravel, solid concrete blocks and not the hollow variety, and no more than 2 or 3 blocks in a stack. Our guide to the shed foundation compares the types and their prices.

The roof. This Old House frames its roof with rafters meeting at a ridge board. One Project Closer built a hip roof, which slopes on all four sides, at a pitch of 7 in 12.

The shed in numbers

PartPublished figureSource
Sill4 by 6, pressure treated, half-lapped at the cornersThis Old House
Floor joists2 by 6 or 2 by 8, typically 16 inches on centerFine Homebuilding
Band around the floor2 by 6, pressure treated, doubledOne Project Closer
Subfloorscrewed every 12 inchesOne Project Closer
Wall studs2 by 4 or 2 by 6, typically 16 inches on centerThis Old House
Door header3/4 inch plywood between two 2 by 8sThis Old House
Wall braces1 by 4, let in on the diagonalThis Old House
Rafterstypically 16 inches on center, 24 in one buildThis Old House, One Project Closer
Roof sheathing5/8 inch OSBOne Project Closer
Roof overhang6 inchesOne Project Closer

On center means measured from the middle of one piece to the middle of the next.

Sixteen inches on center is the figure that keeps coming back. This Old House uses it for studs and for rafters. Fine Homebuilding and One Project Closer use it for floor joists. It is typical, not universal: Mother Earth News set its floor joists 24 inches apart, and One Project Closer set its rafters at 24.

The frame of a shed, from the door endRidge boardCollar tieRafterTop plateStuds, 2 x 4,16 in on centerBottom plateFloor frame,2 x 6HeaderDoor33 inor moreRafters 16 in apart, or 24 in apart in one build.Header: 3/4 in plywood between two 2 x 8s.Floor on stacks of solid blocks over crushed rock
The frame of a shed seen from the door end: the floor frame, studs at 16 inches on center between two plates, the header over the door, and rafters meeting at a ridge board.

The order of work

Two of our sources publish their sequence. This Old House frames a shed in nine steps:

  1. Prepare the site and the foundation.
  2. Set the sill plate.
  3. Cut the wall plates and mark them.
  4. Assemble the wall frames.
  5. Raise the walls and secure them.
  6. Add diagonal bracing.
  7. Set the rafters.
  8. Sheathe the roof.
  9. Put on the roofing.

One Project Closer documents a whole shed, finishes included, in this order: foundation, outer band, inner band and joists, subfloor, walls, siding panels, roof, raising the walls, roof sheathing, then soffit, drip edge and fascia, then windows and door, then shingles.

The two agree on the skeleton: floor, then walls, then roof. They differ on when the walls get their skin. In One Project Closer's sequence, the siding panels go onto the wall frames before the walls are raised.

The floor

The frame. Fine Homebuilding describes it: joists typically spaced every 16 inches, captured by rim joists on the long sides. It says 2 by 6 or 2 by 8 might be more than adequate. One Project Closer built a double band board of pressure-treated 2 by 6 around the outside, with 2 by 6 joists 16 inches on center inside it. Mother Earth News used pressure-treated 2 by 6 joists, placed 24 inches apart, on a sill of doubled pressure-treated 2 by 6.

The connection. One Project Closer and Mother Earth News both hang their joists in joist hangers. Fine Homebuilding gives the rule: if no plates are used, you must use joist hangers.

Square. One Project Closer checks its frame by measuring both diagonals. The two diagonals of a rectangle are equal, so the frame is square when the two measurements match. Our foundation guide reports the tolerance Fine Homebuilding works to: within 1/8 inch of each other.

The subfloor. One Project Closer screws its subfloor down every 12 inches.

The fasteners. Fine Homebuilding's warning carries an exclamation mark in the original: standard bright framing nails are not compatible with pressure-treated lumber. The American Wood Council's deck guide lists what is used with treated wood: fasteners that are hot-dipped galvanized, stainless steel, silicon bronze or copper.

The walls

A stud wall is a row of studs standing between two plates, one under them and one on top.

This Old House builds a wall in four moves. Cut the plates and mark the stud positions on them. Assemble the frame flat. Raise it with help: the article asks for at least one assistant. Then secure it and brace it.

Studs. This Old House uses two-by-fours or two-by-sixes, typically spaced 16 inches on center. One Project Closer used 2 by 4 at 16 inches.

Bracing. This Old House lets 1 by 4 boards into the studs on the diagonal.

Sheathing. This Old House sheathes its walls in plywood or oriented strand board, OSB.

Height. For a reference point, our shed sizes guide reports one seller's standard: sidewalls of 6 feet 3 inches, with up to 8 feet as an option.

Door and window openings

A door or a window interrupts the row of studs, and a header spans the gap. This Old House builds its header as a sandwich: a piece of 3/4 inch plywood between two 2 by 8s.

For the width, Mother Earth News gives working figures. The opening for a single door should be at least 33 inches wide. Double doors open 60 inches or so. The ramp up to the door is in our guide to the shed ramp.

One shed seller's rule, reported in our shed sizes guide, sorts doors by the width of the building: a single barn door on buildings 8 feet wide, double barn doors on buildings 10 feet and wider. Decide by the widest thing that has to roll through, measured against the clear opening.

In One Project Closer's sequence, the windows and the door go in near the end: after the roof sheathing, the soffit, the drip edge and the fascia, and before the shingles.

The roof

Rafters. This Old House sets rafters typically 16 inches on center, the same figure as its studs. They meet at a ridge board and are tied with collar ties. One Project Closer set its rafters 24 inches on center.

Pitch. Pitch is rise over run. One Project Closer's roof is 7 in 12: it rises 7 inches for every 12 inches it runs. This Old House gives one equivalence: a 12 in 12 pitch is 45 degrees.

The pitch decides how tall the shed ends up. Here is the rise from the top of the walls to the peak, for a roof with its ridge over the middle of the width. These are our sums, and they leave out the thickness of the lumber.

Shed widthRun to the ridgeRise at 7 in 12Rise at 12 in 12
8 feet48 inches28 inches48 inches
10 feet60 inches35 inches60 inches
12 feet72 inches42 inches72 inches

Add the walls. On sidewalls of 6 feet 3 inches, a shed 10 feet wide at 7 in 12 peaks a little over 9 feet above its floor. On 8 foot walls, a shed 12 feet wide at 12 in 12 peaks at 14 feet. Height is one of the things a building department looks at. Our shed sizes guide cites Shedplans.org, which says a frost-proof foundation is typically required by code for sheds larger than 200 square feet or taller than 12 feet.

Overhang. One Project Closer left 6 inches.

Sheathing and roofing. In that build: 5/8 inch OSB, tar paper overlapped approximately 6 inches, drip edge, then architectural shingles. This Old House calls asphalt shingles popular and names metal as the other choice.

Where the sources differ

Four sources, four sheds, and not one way of building.

QuestionOne answerAnother answer
Floor joist spacing16 inches (Fine Homebuilding, One Project Closer)24 inches (Mother Earth News)
Rafter spacing16 inches (This Old House)24 inches (One Project Closer)
What the frame sits on4 by 6 treated sill or perimeter (This Old House, One Project Closer)doubled treated 2 by 6 (Mother Earth News)
Wall coveringplywood or OSB sheathing (This Old House)siding panels, put on the wall frames before they are raised (One Project Closer)
Roofrafters to a ridge board (This Old House)hip roof at 7 in 12 (One Project Closer)

They are what four builders chose for four buildings. That is the reason to build from one plan, followed from start to finish, and not from a mix of several.

A 10 by 12 shed, counted

To see what a spacing means in pieces of lumber, here is the frame of a 10 by 12 foot shed. These are our sums. We assume the joists run across the 10 foot width, and a gable roof with a 12 foot ridge.

PartHow it is countedCount
Floor joists at 16 inches144 inches of floor, 9 spaces10, counting both ends
Floor joists at 24 inches144 inches of floor, 6 spaces7, counting both ends
Studs in a 12 foot wall144 inches, 9 spaces10, before corners and openings
Studs in a 10 foot wall120 inches, 7 full spaces and a short one9, before corners and openings
Rafter pairs at 16 inches144 inches of ridge, 9 spaces10
Rafter pairs at 24 inches144 inches of ridge, 6 spaces7

These counts show what a spacing means in lumber. They are not a materials list: doors, windows and corners add pieces that only a plan lists.

Going from 16 to 24 inches takes three joists out of the floor and three pairs of rafters out of the roof. Whether your shed can do that is a question for the plan and the building department, not for a table.

Holding it down

Our foundation guide reports one kit maker's caution: concrete anchors can be used with a paver base, and in high wind areas they likely will not be enough. Ask the building department what it requires where you live.

Built on site, from a kit, or delivered

Not every shed is framed in the yard. Our shed sizes guide covers the two other routes: kits, which one maker lists from 8 by 8 feet, and sheds delivered built, which arrive on a truck that one builder says needs around twelve feet of width.

What it costs

We found no current, sourced figure for the lumber of a shed. Two reference points, with their dates. Mother Earth News built its shed for less than 600 dollars at 1993 prices. One Project Closer, in 2014, put labor at an additional 2,500 dollars or more for a shed built by someone else.

Price your own list at the lumber yard. The foundation is a separate line, and our foundation guide gives published prices per square foot.

Before you start, in six checks

  1. Size and permit. Floor area and height, against the town's rules.
  2. Plan. One plan, shown to the building inspector and the zoning board.
  3. Foundation. Gravel and solid blocks, or one of the other types, finished before any framing.
  4. Spacing. Joists, studs and rafters at the spacing the plan gives, typically 16 inches on center.
  5. Fasteners. No bright nails in treated lumber. Hangers where joists do not rest on plates.
  6. Help. At least one more person on the day the walls go up.

Questions people ask

What is the order of building a shed?

Foundation, floor frame and subfloor, walls framed flat and raised, rafters, roof sheathing, then roofing, windows and door.

How far apart are studs in a shed wall?

Typically 16 inches on center, according to This Old House. One Project Closer used the same spacing for its floor joists and studs.

What size lumber do you use to frame a shed?

2 by 6 or 2 by 8 for floor joists and 2 by 4 or 2 by 6 for wall studs. The builds we read use pressure-treated lumber for the sill and the floor band.

What roof pitch should a shed have?

There is no single figure. One documented 10 by 12 shed used 7 in 12. A 12 in 12 pitch is 45 degrees. A steeper roof makes a taller shed.

How wide should a shed door be?

At least 33 inches for the opening of a single door, according to Mother Earth News. Double doors open about 60 inches.

Do I need a permit to build a shed?

It depends on the size and the town. The model code exempts one-story sheds up to 200 square feet, and some towns set the line at 120. Ask before buying lumber.

Sources

Every figure in this guide comes from the sources above, or from arithmetic shown in the text. See our editorial policy.

About Robert Henry

Robert Henry is the byline on every See It In My Home guide. The guides are researched and written by our small editorial team. More about how we work

Read next

All fences, sheds and garden beds guides