Common Rafter Length
—
—
Calculate common rafter length, pitch, angle, and overhang-adjusted lumber length for roof framing.
Common Rafter Length
—
—
Pitch
—
Rise per 12 inches of run
Angle
—
Roof angle in degrees
Total Rafter Length
——
Rafter math sits at the center of roof framing because it translates a roof’s shape into a cut list you can actually build. The roof may be described in pitch, angle, span, and rise, but the carpenter ultimately needs a board length, a tail length, and a clear idea of how steep the roof really is. A rafter calculator collapses those measurements into practical numbers quickly, which is especially helpful when the roof is complex, the span is large, or the lumber layout needs to be checked before anything gets cut.
That matters because roof framing is one of those jobs where a small mistake compounds into a big one. If the pitch is off, the cut is off. If the overhang is guessed instead of measured, the tail is off. And if the rise/run relationship is misunderstood, the rafter length will never match the roof geometry on site. This calculator is built to reduce those risks by turning the triangle into a readable, dependable set of outputs.
That equation is the Pythagorean theorem in its most useful construction form. Once the rise and run are known, the sloped rafter becomes the hypotenuse of a right triangle. From there, pitch is calculated as rise divided by run, and roof angle is simply the arctangent of that ratio. In practical framing work, those are not separate ideas; they are different ways of expressing the same geometry for different tasks.
Overhang changes the answer because the tail extends beyond the wall line. If the overhang is measured horizontally, it must be converted to slope distance before you add it to the common rafter. That means the full lumber length is not just the triangle’s hypotenuse; it is the hypotenuse plus the sloped tail length. This distinction is the difference between a clean cut and a board that comes up short on the roof.
Professionals also care about pitch because it affects roofing material choice, drainage performance, and the visibility of the roofline. Low-slope roofs behave differently from steep roofs, and that matters for everything from shingle compatibility to snow shedding. The calculator makes those distinctions visible in the same view, which is what you want before you commit to a cut list or a material order.
A useful framing habit is to think in layers: first the triangle, then the pitch, then the tail, then the total lumber length. If the triangle is correct, the rest follows. If the triangle is wrong, every later number is just confidently incorrect. This page is designed to keep that hierarchy obvious.
In other words, the math is simple, but only if you respect the geometry. That is why good roof framing is less about memorizing a chart and more about understanding how the roof shape turns into a measurement system.
Imagine a small gable roof on a shed or addition. The builder knows the rise, run, and planned overhang, but wants to verify the cut length before buying lumber. The calculator gives the common rafter length, the slope ratio, and the pitch angle all at once, which means the builder can compare the result with a framing square, a roof pitch chart, or the existing job site measurement. If the numbers don’t line up, the problem shows up immediately instead of after the first board is cut.
That same logic applies on larger jobs. A steep roof with a long span may require stronger stock, more waste allowance, and careful planning around birdsmouth cuts and tail layout. Even if the calculator does not replace structural drawings, it makes the geometry legible enough for fast estimating and better communication between the framer, the estimator, and the person ordering material.
Used correctly, this calculator saves time, prevents wasted lumber, and gives the project a more reliable starting point.
A common rafter is the sloped framing member that runs from the wall plate to the ridge and forms the main roof triangle.
Use the Pythagorean theorem with rise and run: rafter length equals the square root of rise squared plus run squared.
Total lumber length may include the overhang tail, while common rafter length usually covers only the main roof triangle.
Yes. Enter the horizontal overhang and the calculator will convert it to the sloped tail length.