P
ProBuilderCalc

Roof Pitch Calculator

Calculate roof pitch, angle, and rafter length.

Enter the vertical rise and horizontal run to compute pitch and angles.

The Carpenter’s Guide to Calculating Roof Pitch and Rafters

Of all the geometric shapes in residential construction, the roof is the most mathematically demanding. A floor is a simple flat plane. Walls are simple vertical rectangles. A roof, however, is a complex intersection of three-dimensional triangles, sloped planes, and compound angles.

Understanding and accurately calculating Roof Pitch is the foundational skill required for two entirely different trades: framing carpentry (building the wooden skeleton of the roof) and roofing (covering that skeleton to make it waterproof). If you miscalculate the pitch, your rafters will not meet at the ridge board, your staircases will not fit, and you may accidentally install a roofing membrane that violates building codes and guarantees a catastrophic leak. This guide breaks down the mathematics of roof slopes and how to use them.

What is Roof Pitch? (Rise over Run)

In North America, roof steepness is almost never communicated in degrees (e.g., a "30-degree roof"). Instead, the construction industry relies on the classic geometric formula of Rise over Run.

Pitch is expressed as a fraction: How many inches the roof rises vertically (the Rise) for every 12 inches it extends horizontally (the Run).

  • A 4/12 Pitch: For every 12 inches you move horizontally toward the center of the house, the roof goes up 4 inches. This is a relatively gentle slope, very common on ranch-style homes.
  • A 12/12 Pitch: For every 12 inches you move horizontally, the roof goes up 12 inches. This forms functionally a perfect 45-degree angle. This is a very steep roof, common on Victorian homes, A-frames, and houses built in heavy-snow climates.

Why Roof Pitch Matters: The Plumber, The Roofer, and The Framer

Pitch is not merely an aesthetic architectural choice; it dictates what materials you are legally allowed to use and how the interior space functions.

1. Material Selection and Building Codes

Water sheds incredibly fast off a steep roof. On a flat or low-slope roof, water moves slowly, giving it time to pool and find microscopic holes to seep through. Building codes strictly regulate what materials can be installed at specific pitches to prevent rot.

  • Flat to 2/12 Pitch: Considered "Low Slope." You cannot use standard asphalt shingles here. Water will blow backward under the shingles during a storm. You must use seamless rubber membranes (EPDM), TPO, or modified bitumen torch-down roofing.
  • 3/12 to 4/12 Pitch: The danger zone. You can use asphalt shingles, but codes usually require a specialized double-layer of heavy waterproof underlayment (like ice-and-water shield) across the entire roof deck, not just the eaves.
  • 4/12 to 9/12 Pitch: The standard residential zone. Nearly all common roofing materials—asphalt architectural shingles, clay tiles, wood shakes, and corrugated metal—perform perfectly here. standard felt paper underlayment is sufficient.
  • 10/12 to 21/12 Pitch: "Steep Slope." These shed water so fast they rarely leak, but they are incredibly dangerous to work on. Roofers cannot walk on them without specialized safety harnesses and roof jacks. Labor costs for installation skyrocket on these pitches.

2. Calculating Rafter Length (The Hypotenuse)

If you are a framer building a roof from scratch (stick-framing), you cannot simply guess how long to cut the 2x8 lumber for your rafters. Our calculator uses the Pythagorean Theorem (A² + B² = C²) to provide the exact mathematical length.

A (The Total Run): This is exactly half the total width (span) of the building. If the house is 24 feet wide, the Run is 12 feet.
B (The Total Rise): The height from the top of the wall plates straight up to the peak of the ridge.
C (The Rafter Length): The hypotenuse, the actual sloped distance the lumber must cover.

Note: The calculator gives you the Theoretical Line Length. When you physically cut the rafter, you must mathematically subtract half the thickness of the center ridge board (usually 3/4") and add the length of the "overhang" or eave (the part of the roof that sticks out past the exterior wall).

3. Attic Space and Headroom

The pitch determines whether the space underneath the roof is a dark, useless crawlspace or a highly valuable bonus room. A 30-foot wide house with a shallow 4/12 pitch will have a maximum center ceiling height of just 5 feet—unusable for living space. That same 30-foot house built with a steep 10/12 pitch will have a soaring 12.5-foot center peak, leaving plenty of room to frame out a massive master suite or attic loft.

How to Find the Pitch of an Existing Roof

If you are repairing an existing home and need to order materials, you must determine its current pitch.

Pro Tip: Measuring Pitch from the Ground (Or the Attic)

Walking on a roof is dangerous. You can measure pitch safely in two ways:
1. The Rafter Method (From inside the attic): Place a 12-inch level perfectly horizontally against the bottom edge of a roof rafter. Measure straight up from the 12-inch mark on the level to the wood. If it measures 6 inches, you have a 6/12 pitch.
2. The Gable Method (From the ground): Stand at the gable end of the house. Hold a 1-foot square or level up to the bottom edge of the siding or fascia board covering the roof overhang. Use a tape measure to find the vertical rise over that 12-inch span.

The "Pitch Multiplier" for Ordering Roofing Materials

If your house is 30ft x 40ft, your flat floor plan is 1,200 square feet. Your roof is significantly larger than 1,200 square feet.

Because the roof is angled, it covers a greater physical surface area than the flat footprint underneath it. The steeper the pitch, the larger the roof area becomes. Professional roofers use a Pitch Multiplier to quickly calculate how many "Squares" of shingles to order (one roofing Square = 100 square feet).

  • 4/12 Pitch Multiplier: 1.054. (A 1,200 sq ft footprint = 1,264 sq ft of roof).
  • 8/12 Pitch Multiplier: 1.202. (A 1,200 sq ft footprint = 1,442 sq ft of roof).
  • 12/12 Pitch Multiplier: 1.414. (A 1,200 sq ft footprint = 1,696 sq ft of roof).

Disclaimer: The rafter lengths generated by this calculator are theoretical Line Lengths based strictly on the triangle formed by the top plate and center ridge. A professional carpenter must manually account for the Plumb Cut (ridge), the Seat Cut (birdsmouth), the Tail Cut (fascia), and the exact thickness of the ridge material before making physical cuts.