Skip to the number
YardsNeeded

Rafter span calculator: how far can a rafter span?

18 ft 5 in

maximum span measured level, 2 × 8 at 16 in on center, IRC Table R802.4.1(1) · for Douglas fir-larch #2, no snow, ceiling not attached, 10 psf dead load

Run your own numbers

Enter it the way you measured it: 4.5, 4 1/2, 3/8 or 10' 6".

18 ft 5 in

maximum span measured level, 2 × 8 at 16 in on center, IRC Table R802.4.1(1)

    Source: International Code Council, 2021 International Residential Code, Tables R802.4.1(1) to R802.4.1(9), read October 17, 2026. Read the source

    A 2 × 8 Douglas fir-larch No. 2 rafter 16 inches on center spans 18 ft 5 in level with a 20 psf roof live load and no ceiling attached (IRC 2021 Table R802.4.1(1)); 15 ft 4 in with 30 psf of ground snow.

    A worked example

    A 2 × 10 Hem-fir No. 2 rafter at 16 in on center under 30 psf of ground snow, ceiling joists at the bottom but collar-height rafter ties 1.5 ft above the plates, with the ridge 7 ft up needs 13 ft 9 in. Table R802.4.1(3) gives 18 ft 2 in. The ties sit 1.5 ÷ 7 = 0.21 of the way up, past the 1/5 row of Table R802.4.1(9), so the 1/4 row applies: 18 ft 2 in × 0.76 is 13 ft 9.7 in, which rounds down to 13 ft 9 in.

    How far can a 2x6 rafter span?

    At 16 inches on center with no snow, 10 psf dead load and the ceiling not attached, from 10 ft 2 in for Southern pine No. 3 to 16 ft 4 in for Douglas fir-larch select structural, and 14 ft 7 in for Douglas fir-larch No. 2, by IRC 2021 Table R802.4.1(1). With 30 psf of ground snow the same No. 2 rafter drops to 12 ft 1 in.

    How is rafter span measured?

    Level, along the horizontal projection of the rafter, as IRC R802.4.1 says, not along the slope. On a 24 ft wide gable with the ridge in the middle, each rafter spans about 12 ft whatever the pitch; the sloped board is longer than its span.

    What else it is called

    A rafter span calculator is also searched as a rafter span chart, roof rafter span, 2x6 rafter span or 2x8 rafter span, and for sheds and lean-to roofs. The span is the level distance from the wall to the ridge, not the length of the board: for the cut length use the rafter length calculator.

    The IRC rafter span tables, no snow

    IRC 2021 Tables R802.4.1(1) and (2), maximum rafter spans for a 20 psf roof live load by ceiling, spacing, species, grade, size and dead load
    Ceiling · spacing · species and grade2 × 4, 10 psf dead2 × 6, 10 psf dead2 × 8, 10 psf dead2 × 10, 10 psf dead2 × 12, 10 psf dead2 × 4, 20 psf dead2 × 6, 20 psf dead2 × 8, 20 psf dead2 × 10, 20 psf dead2 × 12, 20 psf dead
    ceiling not attached · 12 in · Douglas fir-larch SS 11-618-023-9Note bNote b11-618-023-9Note bNote b
    ceiling not attached · 12 in · Douglas fir-larch #1 11-117-422-5Note bNote b10-615-419-523-9Note b
    ceiling not attached · 12 in · Douglas fir-larch #2 10-1016-1021-426-0Note b10-014-718-522-626-0
    ceiling not attached · 12 in · Douglas fir-larch #3 8-912-1016-319-1023-07-711-114-117-219-11
    ceiling not attached · 12 in · Hem-fir SS 10-1017-022-5Note bNote b10-1017-022-5Note bNote b
    ceiling not attached · 12 in · Hem-fir #1 10-716-822-0Note bNote b10-415-219-223-5Note b
    ceiling not attached · 12 in · Hem-fir #2 10-115-1120-825-3Note b9-814-217-1121-1125-5
    ceiling not attached · 12 in · Hem-fir #3 8-712-615-1019-522-67-510-1013-916-919-6
    ceiling not attached · 12 in · Southern pine SS 11-317-823-4Note bNote b11-317-823-4Note bNote b
    ceiling not attached · 12 in · Southern pine #1 10-1017-022-5Note bNote b10-615-819-1023-2Note b
    ceiling not attached · 12 in · Southern pine #2 10-415-719-823-5Note b9-013-617-120-323-10
    ceiling not attached · 12 in · Southern pine #3 8-011-914-1018-021-46-1110-212-1015-718-6
    ceiling not attached · 12 in · Spruce-pine-fir SS 10-716-821-11Note bNote b10-716-821-9Note bNote b
    ceiling not attached · 12 in · Spruce-pine-fir #1 10-416-321-025-8Note b9-1014-418-222-325-9
    ceiling not attached · 12 in · Spruce-pine-fir #2 10-416-321-025-8Note b9-1014-418-222-325-9
    ceiling not attached · 12 in · Spruce-pine-fir #3 8-712-615-1019-522-67-510-1013-916-919-6
    ceiling not attached · 16 in · Douglas fir-larch SS 10-516-421-7Note bNote b10-516-320-725-2Note b
    ceiling not attached · 16 in · Douglas fir-larch #1 10-015-419-523-9Note b9-113-316-1020-723-10
    ceiling not attached · 16 in · Douglas fir-larch #2 9-1014-718-522-626-08-712-716-019-622-7
    ceiling not attached · 16 in · Douglas fir-larch #3 7-711-114-117-219-116-79-812-1214-1117-3
    ceiling not attached · 16 in · Hem-fir SS 9-1015-620-5Note bNote b9-1015-619-1124-4Note b
    ceiling not attached · 16 in · Hem-fir #1 9-815-219-223-5Note b9-013-116-720-423-7
    ceiling not attached · 16 in · Hem-fir #2 9-214-217-1121-1125-58-512-315-618-1122-0
    ceiling not attached · 16 in · Hem-fir #3 7-510-1013-916-919-66-59-511-1114-616-10
    ceiling not attached · 16 in · Southern pine SS 10-316-121-2Note bNote b10-316-121-225-7Note b
    ceiling not attached · 16 in · Southern pine #1 9-1015-619-1023-2Note b9-113-717-220-123-10
    ceiling not attached · 16 in · Southern pine #2 9-013-617-120-323-107-911-814-917-620-8
    ceiling not attached · 16 in · Southern pine #3 6-1110-212-1015-718-66-08-1011-213-616-0
    ceiling not attached · 16 in · Spruce-pine-fir SS 9-815-219-1125-5Note b9-814-1018-1023-0Note b
    ceiling not attached · 16 in · Spruce-pine-fir #1 9-514-418-222-325-98-612-515-919-322-4
    ceiling not attached · 16 in · Spruce-pine-fir #2 9-514-418-222-325-98-612-515-919-322-4
    ceiling not attached · 16 in · Spruce-pine-fir #3 7-510-1013-916-919-66-59-511-1114-616-10
    ceiling not attached · 19.2 in · Douglas fir-larch SS 9-1015-520-425-11Note b9-1014-1018-1023-0Note b
    ceiling not attached · 19.2 in · Douglas fir-larch #1 9-514-017-921-825-28-412-215-418-921-9
    ceiling not attached · 19.2 in · Douglas fir-larch #2 9-113-316-1020-723-107-1011-614-717-1020-8
    ceiling not attached · 19.2 in · Douglas fir-larch #3 6-1110-212-1015-818-36-08-911-212-715-9
    ceiling not attached · 19.2 in · Hem-fir SS 9-314-719-224-6Note b9-314-418-222-325-9
    ceiling not attached · 19.2 in · Hem-fir #1 9-113-1017-621-524-108-212-015-218-621-6
    ceiling not attached · 19.2 in · Hem-fir #2 8-812-1116-420-023-27-811-214-217-420-1
    ceiling not attached · 19.2 in · Hem-fir #3 6-99-1112-715-417-95-108-710-1013-315-5
    ceiling not attached · 19.2 in · Southern pine SS 9-815-219-1125-5Note b9-815-219-723-4Note b
    ceiling not attached · 19.2 in · Southern pine #1 9-314-318-121-225-28-412-415-818-421-9
    ceiling not attached · 19.2 in · Southern pine #2 8-212-315-718-621-97-110-813-616-018-10
    ceiling not attached · 19.2 in · Southern pine #3 6-49-411-914-316-105-68-110-212-414-7
    ceiling not attached · 19.2 in · Spruce-pine-fir SS 9-114-318-923-11Note b9-113-717-221-024-4
    ceiling not attached · 19.2 in · Spruce-pine-fir #1 8-1013-116-720-323-67-911-414-417-720-4
    ceiling not attached · 19.2 in · Spruce-pine-fir #2 8-1013-116-720-323-67-911-414-417-720-4
    ceiling not attached · 19.2 in · Spruce-pine-fir #3 6-99-1112-715-417-95-108-710-1013-315-5
    ceiling not attached · 24 in · Douglas fir-larch SS 9-114-418-1023-9Note b9-113-316-1020-723-10
    ceiling not attached · 24 in · Douglas fir-larch #1 8-712-615-1019-522-67-510-1013-916-919-6
    ceiling not attached · 24 in · Douglas fir-larch #2 8-211-1115-118-521-47-010-413-015-1118-6
    ceiling not attached · 24 in · Douglas fir-larch #3 6-29-111-614-116-35-47-1010-012-214-1
    ceiling not attached · 24 in · Hem-fir SS 8-713-617-1022-9Note b8-712-1016-319-1023-0
    ceiling not attached · 24 in · Hem-fir #1 8-512-415-819-222-27-410-913-716-719-3
    ceiling not attached · 24 in · Hem-fir #2 7-1111-714-817-1020-96-1010-012-815-617-11
    ceiling not attached · 24 in · Hem-fir #3 6-18-1011-313-815-115-37-89-911-1013-9
    ceiling not attached · 24 in · Southern pine SS 8-1114-118-623-8Note b8-1113-1017-620-1024-8
    ceiling not attached · 24 in · Southern pine #1 8-712-916-218-1122-67-511-114-016-519-6
    ceiling not attached · 24 in · Southern pine #2 7-411-013-1116-619-66-49-612-114-416-10
    ceiling not attached · 24 in · Southern pine #3 5-88-410-612-915-14-117-39-111-013-1
    ceiling not attached · 24 in · Spruce-pine-fir SS 8-513-317-521-825-28-412-215-418-921-9
    ceiling not attached · 24 in · Spruce-pine-fir #1 8-011-914-1018-221-06-1110-212-1015-818-3
    ceiling not attached · 24 in · Spruce-pine-fir #2 8-011-914-1018-221-06-1110-212-1015-818-3
    ceiling not attached · 24 in · Spruce-pine-fir #3 6-18-1011-313-815-115-37-89-911-1013-9
    ceiling attached · 12 in · Douglas fir-larch SS 10-516-421-7Note bNote b10-516-421-7Note bNote b
    ceiling attached · 12 in · Douglas fir-larch #1 10-015-920-10Note bNote b10-015-419-523-9Note b
    ceiling attached · 12 in · Douglas fir-larch #2 9-1015-620-526-0Note b9-1014-718-522-626-0
    ceiling attached · 12 in · Douglas fir-larch #3 8-912-1016-319-1023-07-711-114-117-219-11
    ceiling attached · 12 in · Hem-fir SS 9-1015-620-5Note bNote b9-1015-620-5Note bNote b
    ceiling attached · 12 in · Hem-fir #1 9-815-219-1125-5Note b9-815-219-223-5Note b
    ceiling attached · 12 in · Hem-fir #2 9-214-519-024-3Note b9-214-217-1121-1125-5
    ceiling attached · 12 in · Hem-fir #3 8-712-615-1019-522-67-510-1013-916-919-6
    ceiling attached · 12 in · Southern pine SS 10-316-121-2Note bNote b10-316-121-2Note bNote b
    ceiling attached · 12 in · Southern pine #1 9-1015-620-5Note bNote b9-1015-619-1023-2Note b
    ceiling attached · 12 in · Southern pine #2 9-514-919-623-5Note b9-013-617-120-323-10
    ceiling attached · 12 in · Southern pine #3 8-011-914-1018-021-46-1110-212-1015-718-6
    ceiling attached · 12 in · Spruce-pine-fir SS 9-815-219-1125-5Note b9-815-219-1125-5Note b
    ceiling attached · 12 in · Spruce-pine-fir #1 9-514-919-624-10Note b9-514-418-222-325-9
    ceiling attached · 12 in · Spruce-pine-fir #2 9-514-919-624-10Note b9-514-418-222-325-9
    ceiling attached · 12 in · Spruce-pine-fir #3 8-712-615-1019-522-67-510-1013-916-919-6
    ceiling attached · 16 in · Douglas fir-larch SS 9-614-1119-725-0Note b9-614-1119-725-0Note b
    ceiling attached · 16 in · Douglas fir-larch #1 9-114-418-1123-9Note b9-113-316-1020-723-10
    ceiling attached · 16 in · Douglas fir-larch #2 8-1114-118-522-626-08-712-716-019-622-7
    ceiling attached · 16 in · Douglas fir-larch #3 7-711-114-117-219-116-79-812-214-1117-3
    ceiling attached · 16 in · Hem-fir SS 8-1114-118-623-8Note b8-1114-118-623-8Note b
    ceiling attached · 16 in · Hem-fir #1 8-913-918-123-1Note b8-913-116-720-423-7
    ceiling attached · 16 in · Hem-fir #2 8-413-117-321-1125-58-412-315-618-1122-0
    ceiling attached · 16 in · Hem-fir #3 7-510-1013-916-919-66-59-511-1114-616-10
    ceiling attached · 16 in · Southern pine SS 9-414-719-324-7Note b9-414-719-324-7Note b
    ceiling attached · 16 in · Southern pine #1 8-1114-118-623-2Note b8-1113-717-220-123-10
    ceiling attached · 16 in · Southern pine #2 8-713-517-120-323-107-911-814-917-620-8
    ceiling attached · 16 in · Southern pine #3 6-1110-212-1015-718-66-08-1011-213-616-0
    ceiling attached · 16 in · Spruce-pine-fir SS 8-913-918-123-1Note b8-913-918-123-0Note b
    ceiling attached · 16 in · Spruce-pine-fir #1 8-713-517-922-325-98-612-515-919-322-4
    ceiling attached · 16 in · Spruce-pine-fir #2 8-713-517-922-325-98-612-515-919-322-4
    ceiling attached · 16 in · Spruce-pine-fir #3 7-510-1013-916-919-66-59-511-1114-616-10
    ceiling attached · 19.2 in · Douglas fir-larch SS 8-1114-018-523-7Note b8-1114-018-523-0Note b
    ceiling attached · 19.2 in · Douglas fir-larch #1 8-713-617-921-825-28-412-215-418-921-9
    ceiling attached · 19.2 in · Douglas fir-larch #2 8-513-316-1020-723-107-1011-614-717-1020-8
    ceiling attached · 19.2 in · Douglas fir-larch #3 6-1110-212-1015-818-36-08-911-213-715-9
    ceiling attached · 19.2 in · Hem-fir SS 8-513-317-522-3Note b8-513-317-522-325-9
    ceiling attached · 19.2 in · Hem-fir #1 8-312-1117-121-524-108-212-015-218-621-6
    ceiling attached · 19.2 in · Hem-fir #2 7-1012-416-320-023-27-811-214-217-420-1
    ceiling attached · 19.2 in · Hem-fir #3 6-99-1112-715-417-95-108-710-1013-315-5
    ceiling attached · 19.2 in · Southern pine SS 8-913-918-223-1Note b8-913-918-223-1Note b
    ceiling attached · 19.2 in · Southern pine #1 8-513-317-521-225-28-412-415-818-421-9
    ceiling attached · 19.2 in · Southern pine #2 8-112-315-718-621-97-110-813-616-018-10
    ceiling attached · 19.2 in · Southern pine #3 6-49-411-914-316-105-68-110-212-414-7
    ceiling attached · 19.2 in · Spruce-pine-fir SS 8-312-1117-121-9Note b8-312-1117-121-024-4
    ceiling attached · 19.2 in · Spruce-pine-fir #1 8-112-816-720-323-67-911-414-417-720-4
    ceiling attached · 19.2 in · Spruce-pine-fir #2 8-112-816-720-323-67-911-414-417-720-4
    ceiling attached · 19.2 in · Spruce-pine-fir #3 6-99-1112-715-417-95-108-710-1013-315-5
    ceiling attached · 24 in · Douglas fir-larch SS 8-313-017-221-10Note b8-313-016-1020-723-10
    ceiling attached · 24 in · Douglas fir-larch #1 8-012-615-1019-522-67-510-1013-916-919-6
    ceiling attached · 24 in · Douglas fir-larch #2 7-1011-1115-118-521-47-010-413-015-1118-6
    ceiling attached · 24 in · Douglas fir-larch #3 6-29-111-614-116-35-47-1010-012-214-1
    ceiling attached · 24 in · Hem-fir SS 7-1012-316-220-825-17-1012-316-219-1023-0
    ceiling attached · 24 in · Hem-fir #1 7-812-015-819-222-27-410-913-716-719-3
    ceiling attached · 24 in · Hem-fir #2 7-311-514-817-1020-96-1010-012-815-617-11
    ceiling attached · 24 in · Hem-fir #3 6-18-1011-313-815-115-37-89-911-1013-9
    ceiling attached · 24 in · Southern pine SS 8-112-916-1021-6Note b8-112-916-1020-1024-8
    ceiling attached · 24 in · Southern pine #1 7-1012-316-218-1122-67-511-114-016-519-6
    ceiling attached · 24 in · Southern pine #2 7-411-013-1116-619-66-49-612-114-416-10
    ceiling attached · 24 in · Southern pine #3 5-88-410-612-915-14-117-39-111-013-1
    ceiling attached · 24 in · Spruce-pine-fir SS 7-812-015-1020-224-77-812-015-418-921-9
    ceiling attached · 24 in · Spruce-pine-fir #1 7-611-914-1018-221-06-1110-212-1015-818-3
    ceiling attached · 24 in · Spruce-pine-fir #2 7-611-914-1018-221-06-1110-212-1015-818-3
    ceiling attached · 24 in · Spruce-pine-fir #3 6-18-1011-313-815-115-37-89-911-1013-9

    IRC 2021 Tables R802.4.1(1), ceiling not attached to rafters (L/Δ = 180), and R802.4.1(2), ceiling attached (L/Δ = 240), roof live load 20 psf, as printed: feet-inches measured along the horizontal projection (18-5 is 18 ft 5 in). Note b: Span exceeds 26 feet in length. Table R802.4.1(1) prints 12-12 for a 2 × 8 Douglas fir-larch #3 at 16 in with 20 psf dead load (12 inches is not an inch figure); the calculator reads Table R802.4.1(2) there. Check sources for availability of lumber in lengths greater than 20 feet. With ceiling joists or rafter ties higher than the bottom of the attic, multiply by Table R802.4.1(9), H_C/H_R: 1/7.5 or less → 1.00; 1/6 → 0.90; 1/5 → 0.83; 1/4 → 0.76; 1/3 → 0.67. The ground snow tables, (3) to (8), are in the calculator.

    Where the numbers come from

    The tables cover rafters with ceiling joists or rafter ties at the bottom of the attic, or higher with the Table R802.4.1(9) factor up to a third of the rise. For other species, grades and loads the code refers to the AWC Span Tables for Joists and Rafters.

    By · Last updated . How this site is made.

    Other materials

    Embed this calculator

    Free to use on your own site. Copy the code and keep the credit line.

    Open the full calculator on YardsNeeded ↗