CalculateMyRoof

Roof Sheathing Calculator

Plywood or OSB panels for a gable roof, counted row by row across the rafters, with the span rating your rafter spacing needs and the clips and nails the code sets.

By Marko Visic, BSc Physics · Updated November 25, 2026

The building

Panels and framing

Rafters or trusses, center to center.

Roof surface: overhangs of 12 ÷ 12 = 1 ft at the eaves and 12 ÷ 12 = 1 ft at the gables, so 30 + 2 × 1 = 32 by 24 + 2 × 1 = 26 ft in plan; multiplier √(1 + (6 ÷ 12)²) = 1.118034, so 32 × 26 × 1.118034 = 930.2 sq ft of roof in two planes, each 32 ft along the eave and (24 ÷ 2 + 1) × 1.118034 = 14.53 ft from the eave edge to the ridge.

By area: each panel is 4 × 8 = 32 sq ft, so 930.2 ÷ 32 = 29.07 → 30 panels would cover the roof with no cuts at all. The rows below need more, since every row runs to the edges and the ridge row is ripped from whole panels.

Laid in rows: panels go long side across the rafters, continuous over two or more spans,[1] each row 4 ft up the slope: 14.53 × 12 ÷ (4 × 12) = 3.63, so 3 whole rows, with 14.53 × 12 − 3 × 4 × 12 = 30.36 in left at the ridge. That makes 3 + 1 = 4 rows a plane.

Full rows: 2 × 3 × 32 = 192 ft across both planes, end to end, the offcut that ends one row starting the next, so the joints stagger: 192 ÷ 8 = 24 panels.

The 30.36 in row: 4 × 12 ÷ 30.36 = 1.58, so 1 whole strip from a panel, 2 × 32 = 64 ft of row, so 64 ÷ (8 × 1) = 8 panels.

Panels in all: 24 + 8 = 32 panels, 32 × 32 = 1,024 sq ft of panel for 930.2 sq ft of roof, so 1,024 − 930.2 = 93.8 sq ft, or 93.8 ÷ 930.2 × 100 = 10.08%, is cut off.

Which panel: at 24 in on center, without edge support the span table's thinnest is span rating 24/16, 7/16 in, good for 40 psf of live load at 24 in on center.[1][2] With edge support it is 24/0, 3/8 in, good for 30 psf of live load at 24 in on center.[1] Compare the live load with the roof snow load your building department designs for.

Edge support: blocking, tongue-and-groove edges or panel edge clips, one clip midway between each pair of supports.[1] Clips go in each joint between rows: 30 × 12 ÷ 24 = 15 spaces a joint, 4 − 1 = 3 joints a plane, so 2 × 3 × 15 = 90 clips.

Nailing: panels 3/8 to 3/4 in thick take 8d common or RSRS-01 ring shank nails at 6 in on center at the panel edges and at every rafter between.[3] Where the design wind speed is over 130 mph in Exposure B or 110 mph in Exposure C, they go 4 in apart at the gable ends and on rafters within 48 in of the edges and the ridge.[3] APA recommends a 1/8 in space at panel ends and edges.[4]

Gable overhang: a 12 in gable overhang is past the 9 in that panel sheathing may cantilever beyond the gable endwall, so it needs gable overhang framing under it.[2]

No waste percentage is added: the rows are the count. Prices aren't given.

How many sheets of plywood do I need for a roof? Divide the roof's area along the slope by a panel's, then count the rows, which take more. A 30 by 24 ft house at 6:12 with 12 in overhangs has 930.2 sq ft of roof, so 930.2 ÷ 32 = 29.07 → 30 panels of 4 by 8 ft by area, but 32 laid in rows: each plane takes three full rows and a ripped ridge row. At 24 in on center, span rating 24/16 panels, 7/16 in, need no edge clips.[1][2]

One plane of a 30 x 24 ft gable roof at 6:12, 32 by 14.53 ft, in staggered rows of 4 x 8 ft panels: 3 full rows and a 30.36 in ridge row, 16 panels
The worked example's plane to scale: panels run across the rafters from the eave up, every other row starts with half a panel so the joints stagger, and the ridge row is ripped to the width left.

Drawing: CalculateMyRoof · CC BY 4.0 · How to reuse

How it works

Pick a gable roof and enter the building's length and width, the pitch and the overhangs, or enter a roof area from the roof area calculator. Then the panel size and how far apart the rafters or trusses are. The calculator lays the panels long side across the rafters, as the span table assumes,[1] in rows from the eave up: full rows end to end, the offcut that ends one row starting the next so the joints stagger, and a ridge row ripped to the width left. A ridge strip narrower than the 24 in the table applies to is avoided by cutting the last two rows to share the space.[1] It then gives the thinnest span rating the code's table allows at your spacing, with and without edge support, the clips edge support takes, the nailing, and when a gable overhang needs framing.

Worked example

The gable roof calculator's house, 30 by 24 ft at 6:12 with 12 in eave and gable overhangs, sheathed in 4 by 8 ft panels over rafters 24 in on center.

  • Roof: overhangs of 12 ÷ 12 = 1 ft, so 30 + 2 × 1 = 32 by 24 + 2 × 1 = 26 ft in plan, multiplier √(1 + (6 ÷ 12)²) = 1.118034, and 32 × 26 × 1.118034 = 930.2 sq ft in two planes, each 32 ft along the eave and (24 ÷ 2 + 1) × 1.118034 = 14.53 ft up the slope.
  • By area: 930.2 ÷ 32 = 29.07 → 30 panels.
  • Rows: 14.53 × 12 ÷ (4 × 12) = 3.63, so 3 whole rows, and 14.53 × 12 − 3 × 4 × 12 = 30.36 in for the ridge row, wider than the table's 24 in.[1]
  • Full rows: 2 × 3 × 32 = 192 ft, so 192 ÷ 8 = 24 panels.
  • Ridge rows: 4 × 12 ÷ 30.36 = 1.58, so 1 whole strip from a panel and 2 × 32 = 64 ft of row, so 64 ÷ 8 = 8 panels.
  • In all: 24 + 8 = 32 panels, and 32 × 32 − 930.2 = 93.8 sq ft of it cut off.
  • Panels: span rating 24/16, 7/16 in, without edge support, good for 40 psf of live load at 24 in on center; or 24/0, 3/8 in, with it, good for 30 psf.[1] Clipped: 30 × 12 ÷ 24 = 15 spaces a joint and 2 × 3 × 15 = 90 clips.[1]

What thickness of plywood or OSB for a roof?

The one whose span rating covers your rafter spacing. The 2024 IRC limits roof sheathing to the spans of its panel table or APA E30,[2] and the table sorts panels by span rating: the first number is the most the panel may span on a roof with edge support.[1] At 16 in on center a 16/0 panel, 3/8 in, spans it with or without edge support; at 24 in a 24/16 panel, 7/16 in, spans it without edge support and a 24/0, 3/8 in, needs it.[1]

The table also gives the live load a panel carries at that spacing: 40 psf for 24/16 at 24 in on center, 70 psf for 32/16.[1] Those figures assume a 10 psf dead load, and under a heavier one the live load is reduced to match.[1] Compare them with the snow load your building department designs for. Boards work too: over rafters 24 in apart, lumber sheathing is at least 5/8 in thick.[2] The OSB thickness guide gives the thinnest panel at each rafter spacing and the shingle makers' own deck minimums.

Do roof panels need H-clips?

Only where a panel's span without edge support falls short of the rafter spacing. A 24/0 panel spans 20 in on its own and 24 in with edge support, so at 24 in on center it needs it, while a 24/16 spans 24 in either way.[1] A 24/0 panel 15/32 or 1/2 in thick spans 24 in without it.[1] Edge support is lumber blocking, tongue-and-groove edges or panel edge clips, one midway between each pair of supports and two where the span is 48 in.[1] APA adds that spacer-type edge clips can be used on roofs.[4]

How to lay out roof sheathing

Run the panels long side across the rafters and over at least two spans, as the span table assumes.[1] The code lets the joints be staggered or not, as its nailing schedule or APA E30 allows;[2] the calculator staggers them, starting every other row with half a panel, which is also what lets one row's offcut start the next. Start at the eave and rip the last row at the ridge, keeping every row at least 24 in wide, the narrowest the table covers.[1]

APA recommends a 1/8 in gap at panel ends and edges, a recommendation rather than a requirement,[4] with fasteners 3/8 in from the panel ends and edges.[5] Exposure 1 panels are fine where only the underside is exposed; panels left out in the weather for good have to be exterior grade.[2]

How to nail roof sheathing

With 8d common nails (2 1/2 by 0.131 in) or RSRS-01 ring shank nails (2 3/8 by 0.113 in), 6 in apart at the panel edges and at every rafter between, for panels 3/8 to 3/4 in thick.[3] Where the design wind speed is over 130 mph in Exposure B or 110 mph in Exposure C, they go 4 in apart at gable end framing and on rafters within 48 in of the roof's edges and ridge.[3] The wind load calculator covers the design wind speed.

Common questions

How many sheets of OSB for a 1,000 sq ft roof?

At least 1,000 ÷ 32 = 31.25 → 32 panels of 4 by 8 ft by area alone. Laid in rows it takes more, by how the rows fall on the planes: the calculator's roof area mode gives the first count, the gable mode the second.

Can roof sheathing overhang a gable end?

Up to 9 in past the gable endwall on its own; past that it needs gable overhang framing under it.[2] The gable roof calculator flags a wider overhang too.

Is OSB or plywood better for a roof?

The code treats both as wood structural panels: grade-marked to DOC PS 1, DOC PS 2 or the Canadian standards, they span by the same table.[2] The span rating, not the material, sets how far a panel may span.

Methodology & sources

The panel rules are the 2024 IRC's: roof sheathing from its roof-ceiling chapter, the span table from its floors chapter and the nailing from its wall chapter. The panel gap and the fastener edge distance are APA's builder tips. The plane geometry is the gable roof calculator's; the rest is the arithmetic above, tested on every build.

Assumptions: a gable roof's two rectangular planes, with the panels' long side across the rafters; rows from the eave up, the offcuts carried along each row and on to the next; the ridge row ripped from whole panels, as many strips as fit across one; no waste added; clips one per rafter space in each joint between rows, the gable overhangs left to their own framing; the span table's dead load. Hips, valleys and dormers aren't laid out: the roof area mode counts them by area only.

Sources

  1. [1] International Code Council. 2024 International Residential Code, Chapter 5: Floors (Oct 2026 version). Section R503.2.1.1. Retrieved Nov 20, 2026. codes.iccsafe.org
  2. [2] International Code Council. 2024 International Residential Code, Chapter 8: Roof-Ceiling Construction (Oct 2026 version). Sections R803.1, R803.2.1, R803.2.1.1, R803.2.2, R803.2.3. Retrieved Nov 20, 2026. codes.iccsafe.org
  3. [3] International Code Council. 2024 International Residential Code, Chapter 6: Wall Construction (Oct 2026 version). Section R602.3. Retrieved Nov 20, 2026. codes.iccsafe.org
  4. [4] APA – The Engineered Wood Association. Builder Tips: Prevent Buckling with Proper Spacing (Form M300). Retrieved Nov 20, 2026. apawood.org
  5. [5] APA – The Engineered Wood Association. Builder Tips: Proper Installation of APA Rated Sheathing for Roof Applications (Form N335P, July 2013). Retrieved Nov 20, 2026. apawood.org

Change log: first published November 25, 2026.

Related

By Marko Visic, BSc Physics. Updated November 25, 2026.