Saved

Press the star next to a tool's name to save it.

All my tools

DIY Shed Cost Calculator

Enter your shed’s width, length, wall height and roof pitch, then the prices at your lumber yard. The DIY shed cost calculator estimates the studs, joists, rafters, sheets of plywood or OSB and shingle bundles, and what they cost.

Restored your last values ·

A 4/12 roof rises 4 inches for every 12 inches across.

Prices at your store (optional). Leave blank to see materials only.

A simple gable shed with 12-inch roof overhangs. Blank boxes use 8 ft walls and a 4/12 roof.

Estimated cost

–

Enter the shed’s width and length.

See full result

The DIY shed cost calculator estimates the materials and cost to build a simple gable-roof shed yourself. Enter the width, length, wall height and roof pitch, choose the stud spacing, and it estimates the wall studs and plates, floor joists, rafters, sheets of plywood or OSB for the floor, walls and roof, and bundles of shingles. Add the prices from your lumber yard and it totals the cost and the cost per square foot. For example, an 8 × 10 ft shed with 8 ft walls and a 4/12 roof needs about 35 studs, 17 sheets of sheathing and 4 bundles of shingles.

How the DIY shed cost calculator estimates materials

The calculator assumes a rectangular shed with a gable roof whose ridge runs along the length, framed the usual way. This Old House describes shed walls as two-by-four or two-by-six studs typically spaced 16 inches on center, closed in with plywood or OSB sheathing. From that:

  • Studs = wall perimeter ÷ stud spacing, plus 8 for corners and the door frame
  • Plates = a bottom plate and a double top plate around the walls, in 8 ft boards
  • Floor joists span the width, one every 16 inches along the length, plus one
  • Rafters = one pair per stud spacing along the length, plus one pair
  • Sheets = floor area, wall area (including the two gable triangles) and roof area, each divided by 32 sq ft for a 4 × 8 ft sheet and rounded up
  • Shingles = roof area ÷ 100 sq ft per square × 3 bundles per square

The roof area includes a 12-inch overhang on every side. Owens Corning notes that architectural shingles are generally packaged three bundles to a roofing square of 100 sq ft.

How to use the calculator

  1. Choose US or metric units. The material counts are the same; metric shows areas in square meters.
  2. Enter the width and length. The width is the side the rafters span.
  3. Enter the wall height (8 ft if blank) and the roof pitch in inches of rise per 12 inches of run (4 if blank).
  4. Choose 16 or 24 inch spacing for studs and rafters.
  5. Enter your prices: one 2×4 stud, one 2×6 board for joists and rafters, one 4 × 8 sheet, one bundle of shingles, and a lump sum for everything else.

Worked example: an 8 × 10 ft shed

An 8 ft wide, 10 ft long shed with 8 ft walls, a 4/12 roof and 16-inch spacing:

  • Floor: 80 sq ft, 3 sheets
  • Walls: 36 ft of wall, 35 studs and 14 plate boards; 298.7 sq ft of wall including gables, 10 sheets
  • Floor joists: 9; rafters: 18
  • Roof: 126.5 sq ft (1.26 squares), 4 sheets and 4 bundles of shingles

At example prices of $4 a stud, $9 a 2×6, $20 a sheet and $35 a bundle, plus $600 for the foundation, door, nails, felt and trim, the total is about $1,519, or $18.99 per square foot of floor. Your prices will differ; enter the ones from your local store.

16 or 24 inch spacing?

Framing at 24 inches uses fewer studs and rafters, which lowers the cost. A 10 × 12 ft shed needs 30 studs at 24-inch spacing with this calculator. Wider spacing is common on small, light-duty sheds, but it makes walls and roofs less stiff, so check your plan and your local building department, especially where snow loads are heavy.

What the estimate leaves out

  • Foundation: skids, blocks, a gravel pad or a concrete slab. Use the gravel calculator or the concrete calculator to size them.
  • Door and windows, hinges and hardware.
  • Fasteners, roofing felt or underlayment, drip edge and trim.
  • Siding and paint, if your sheathing isn’t a siding panel. The paint calculator can estimate the paint.
  • Permits. Many towns require a permit above a certain shed size.

Put these in the “Everything else” box to include them in the total.

Tips for keeping costs down

  • Design around 4 × 8 sheets. Sizes in multiples of 4 ft, like 8 × 12, waste less sheathing.
  • Keep walls at 8 ft so standard studs fit without cutting.
  • Compare panel siding that doubles as sheathing, which saves a layer.
  • Buy a little extra lumber for mistakes and bowed boards rather than making a second trip.

Choosing a roof pitch

The pitch changes the roof area and the height of the gable walls. A low 3/12 or 4/12 pitch is common on small sheds and keeps the roof area small. A steeper roof sheds snow and rain faster and gives more headroom or loft storage, but it needs longer rafters, more sheathing and more shingles. This Old House notes that a 12/12 pitch, which rises 12 inches for every 12 inches across, gives excellent drainage. Try a few pitches in the calculator to see how the material list changes.

Building it yourself vs. buying a kit

Building from scratch lets you choose the exact size, door position and materials, and you can buy lumber as you go. A kit or prefab shed saves time on design and cutting, and some stores deliver and assemble them. Whichever way you go, price the same size and roof in this calculator first so you have a figure to compare with kit and installed prices.

The counts are estimates for a simple shed, not a plan. Follow your shed plan and local code for sizes, spans and fastening.

What next

Use this often? Add DIY Shed Cos to your Home screen.

Frequently asked questions

How does the DIY shed cost calculator work out materials?

It counts studs and rafters from the wall length and spacing, sheets from the floor, wall and roof areas divided by 32 sq ft, and shingle bundles at 3 per 100 sq ft of roof.

How much does it cost to build an 8 × 10 shed?

It depends on local prices. With the example prices on this page, the framing, sheathing, shingles and a $600 allowance come to about $1,519.

How many studs do I need for a shed?

About one per 16 inches of wall, plus extras for corners and doors. An 8 × 10 ft shed needs about 35 at 16-inch spacing.

How many bundles of shingles do I need for a shed roof?

Three bundles per 100 sq ft of roof for most architectural shingles. An 8 × 10 ft shed with a 4/12 roof needs about 4.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Everyday Life Tools