This rafter calculator gives a fast framing estimate from the inputs you already measure on site: span, pitch, overhang, and ridge board thickness. Use it to find rafter length, determine rafter angle, and figure rafter dimensions for your cut list. The calculator returns per-piece length, roof angle, and total lineal feet so you can plan a rough lumber budget before ordering.
- Measure total building span in feet from outside wall to outside wall, then enter that value. This is how you get rafter length from the starting measurement.
- Enter pitch rise in the standard X-in-12 format. For example, a 6 in 12 roof uses a value of 6, while an 8 in 12 roof uses 8. Use pitch to calculate rafter length using the Pythagorean theorem.
- Set overhang and ridge board thickness. Most homes use about 1.5 inch ridge stock, and common eave overhang is often 12 to 24 inches.
- Enter planned rafter pairs so the calculator can determine rafter lumber totals and a practical 2026 cost planning range.
- Click "Calculate rafter lengths" to find rafter length, overhang cut length, board size to buy, and full framing cost. Round board lengths to available stock before final purchasing.
Pro tip: cut one test pair first, dry-fit at the ridge, and check fascia alignment before cutting the full bundle. This saves expensive rework if your overhang or ridge deductions were off by even a small amount.
Common roof pitch quick reference
Use this table before running the rafter calculator if you need a quick slope sanity check. Angle and slope factor help when converting between framing notes and field measurements.
| Pitch | Roof angle | Slope factor | Typical use |
|---|---|---|---|
| 4 in 12 | 18.43 degrees | 1.054 | Low-slope shingle roofs where drainage is still acceptable. |
| 5 in 12 | 22.62 degrees | 1.083 | Common on ranch homes and basic additions. |
| 6 in 12 | 26.57 degrees | 1.118 | Typical balance of attic volume and simple framing cuts. |
| 8 in 12 | 33.69 degrees | 1.202 | Steeper roofs in rain and snow climates. |
| 10 in 12 | 39.81 degrees | 1.302 | Higher attic volume, longer rafters, and stronger visual profile. |
Rafter layout errors often start with pitch entry mistakes. Double-check that your plan note and your calculator pitch use the same rise-over-12 convention before you cut lumber.