Přejít na obsah
Yardox

Rafter span calculator

Enter the rafter run, the wood, the spacing and whether a ceiling hangs from the rafters. Get the smallest rafter the IRC tables allow, and how many to buy.

Your roof

Measured flat, not along the slope: from the wall to the ridge.

Leave 0 to skip the count.

Ceiling

Roof dead load

The weight of the roof itself: sheathing, roofing and any ceiling. Ask the roofing maker for its weight per square foot.

Lumber and roof

Printed on the grade stamp: DF-L, HF, SYP or SP, S-P-F.

No. 2 is what most yards stock for rafters.

Spacing (on center)

Spans are from IRC Tables R802.4.1(1) and (2): 20 psf roof live load, no snow. They assume ceiling joists or rafter ties at the bottom of the attic; ties set higher shorten the span. Where your area has a ground snow load, the code uses other tables. Your local building department has the final word; for anything outside the table, ask an engineer.

Rafter to use2×8 at 16 in (406 mm)
Přidejte si kalkulačku na svůj web

Kalkulačku můžete zdarma vložit na jakýkoli web. Tento kód vložte tam, kde se má zobrazit. Kalkulačka se sama aktualizuje, přizpůsobí výšku obsahu a odkazuje na úplnou stránku s vysvětlením.

Jak kalkulačku používat

  1. 01Measure the rafter span flat, as if seen from above: from the outside wall to the ridge. The code measures rafter spans along the horizontal projection, not along the slope.
  2. 02Read the species and grade off the lumber stamp and pick the spacing. 16 in (406 mm) and 24 in (610 mm) on center are the usual choices.
  3. 03Say whether a ceiling hangs from the rafters (a vaulted ceiling) and pick the roof dead load: 10 psf or 20 psf.
  4. 04Read the smallest rafter that spans it, the other spacings that would work and, with the roof length, how many rafters to buy.

Jak výpočet funguje

Nothing is engineered here: the calculator looks your span up in the rafter tables of the International Residential Code, Tables R802.4.1(1) and R802.4.1(2).

Rafter size
smallest of 2×4 … 2×12 with table span ≥ horizontal span
Rafters per slope
⌈roof length ÷ spacing⌉ + 1

Both tables are for a 20 psf roof live load. Table (1) is for rafters with no ceiling attached and limits sag to the span ÷ 180; Table (2) is for rafters carrying a ceiling and limits it to the span ÷ 240, which is stiffer, so its spans are equal or shorter.

Each table has columns for 10 psf and 20 psf dead load, the weight of the roof itself. Where the table says the span exceeds 26 ft, the calculator counts it as 26 ft.

The spans assume ceiling joists or rafter ties at the bottom of the attic, holding the walls against the outward push of the rafters. The code shortens the span when the ties sit higher.

Příklad výpočtu

A 15 ft run on a 32 ft long roof

  1. Douglas fir-larch No. 2 at 16 in on center, no ceiling attached, 10 psf: a 2×6 reaches 14 ft 7 in, a 2×8 reaches 18 ft 5 in, so 2×8.
  2. Rafters: 32 ft ÷ 16 in = 24 spaces, 25 per slope, 50 for a gable roof.
  3. With a ceiling attached the 2×6 reaches only 14 ft 1 in, so the answer is still 2×8.
  4. In metric, a 4.5 m run on a 10 m roof: 2×8 at 406 mm, 26 rafters per slope.

Jak správně objednat

Span is not rafter length

The table span is measured flat. The board is longer on a steep roof and needs the overhang on top: work it out with the rafter length calculator.

Heavy roofs need the 20 psf column

The dead load is the roof’s own weight: sheathing, roofing and any ceiling. Check the roofing maker’s weight per square foot before choosing 10 psf.

Snow changes the table

These tables carry no snow. Where your area has a ground snow load, the code uses other rafter tables, and the spans are shorter.

Časté chyby

  • Measuring the rafter along the slope instead of flat.
  • Using the ceiling-not-attached table for a vaulted ceiling fixed to the rafters.
  • Leaving out the rafter ties or ceiling joists the table counts on.
  • Ignoring a local snow load.

Otázky a odpovědi

How far can a 2×6 rafter span?

Douglas fir-larch No. 2, 10 psf dead load, no ceiling attached: 16 ft 10 in at 12 in on center, 14 ft 7 in at 16 in, 11 ft 11 in at 24 in. With a ceiling attached: 15 ft 6 in, 14 ft 1 in and 11 ft 11 in.

How far can a 2×8 rafter span?

Douglas fir-larch No. 2 at 16 in on center, 10 psf: 18 ft 5 in with or without a ceiling attached. At 20 psf dead load: 16 ft 0 in.

What if the rafter ties are higher than the wall plate?

The code multiplies the span by a factor from the ratio of the tie height to the ridge height, both measured above the top of the wall: 0.67 at one third, 0.76 at one quarter, 0.83 at one fifth, 0.90 at one sixth and 1.00 at one 7.5th or lower.

Do I still need a permit or an engineer?

Usually a permit; the building department decides. Snow loads, hips and valleys, point loads such as solar arrays on posts, and spans past the table need a design.

Zdroje

  1. [1]2018 International Residential Code, Tables R802.4.1(1) and R802.4.1(2) Rafter spans for common lumber species (roof live load 20 psf), as adopted in the 2018 Seattle Residential Code, Chapter 8. International Code Council; City of Seattle SDCI. Maximum rafter spans (feet-inches, horizontal projection) for Douglas fir-larch, hem-fir, southern pine and spruce-pine-fir, grades SS, No. 1, No. 2, No. 3, sizes 2×4 to 2×12, spacing 12, 16, 19.2 and 24 in, dead load 10 or 20 psf; ceiling not attached (L/180) and attached (L/240). Note b: span exceeds 26 ft. Footnote a: spans assume ceiling joists or rafter ties at the bottom of the attic; higher ties reduce the span. Ověřeno 19. listopadu 2026

Vzorce a zdroje naposledy ověřeny 19. listopadu 2026. Jak počítáme