Free Roofing Tool · Pitch & Rafter Geometry

Roof Pitch Calculator

Convert rise and run into roof pitch, degrees, slope percentage and pitch factor. Explore the live roof diagram, rafter slope length and roof area.

Rise & run ↔ degreesLive roof illustrationRafter lengthPitch conversion chartUS & metric

Calculate your roof pitch

Updates automatically · No account needed

Start with what you know—rise and horizontal run, a pitch such as 6:12, an angle, or percent grade.

Roof pitch6:12
Angle26.57°
Area factor1.1180×
I know the…
How far the roof rises vertically.
Measure level, not along the sloped roof.
Explore a pitch:
0:12 (flat)12:12 (45°)24:12
Optional: calculate rafter length & roof area

Sample dimensions are provided. Enter the horizontal building dimensions for your project. These are takeoff geometry estimates—not structural rafter cut lengths.

Gable run = half the span; shed run = full width.
Length is measured parallel to the ridge or eave.
Added to both ends of length and width; measured level.

For roofs with unequal slopes, valleys, hips or dormers, calculate each roof plane separately. Never use these outputs as a structural design approval.

Equivalent roof pitch6:126 units of rise per 12 units of horizontal run
Angle from level26.57°
Slope / grade50.0%
Pitch / area factor1.1180×
Sloped length per 1 horizontal foot13.42 in
Live roof cross-section6:12 pitch
Roof pitch geometryGable roof with six units rise for twelve units of horizontal run. 6:12 roof pitch horizontal run rise 26.6° Gable cross-section · illustrative
Run is horizontal. The drawing adapts to your pitch, but is a schematic—not a measured construction plan.

Roof size example (edit under “Optional”)

Sloped eave-to-ridge length17.89 ft
Ridge rise above wall top7.50 ft
Sloped roof surface area1,503 ft²
Roofing squares (100 ft²)15.03

Example: 40 × 30 ft building, 12 in overhang at each edge, symmetrical gable.

At 6:12, verify the roofing system requirements and local code. Pitch alone does not determine material suitability.

Estimate roofing materials

Roof pitch formula: rise ÷ horizontal run × 12 = pitch (rise per 12). For example, a rise of 6 in over a level 12 in run is 6:12, a 26.57° angle, a 50% grade, and an area multiplier of 1.1180. To estimate a uniformly sloped roof area, multiply its horizontal projected area by that factor.

On this page: roof pitch reference
  1. How to measure roof pitch
  2. Roof pitch chart: degrees, grade, factor
  3. Pitch conversion formulas
  4. Pitch vs. slope terminology
  5. Rafter slope length and ridge rise
  6. Calculate roof area from pitch
  7. What pitch means for roofing materials
  8. Mistakes and limitations
  9. Frequently asked questions
  10. Technical references

How to measure roof pitch (without getting on the roof)

A roof pitch expresses how quickly a roof rises as you move horizontally. In U.S. construction, a common description is X:12: X units of vertical rise for every 12 units of level run. For a 6:12 pitch, the roof rises 6 inches during one horizontal foot. You can derive it using approved drawings or—in accessible, safe conditions—measure a parallel rafter from inside an attic.

01

Find a safe reference

Use a roof plan, construction drawings or an accessible attic. Do not climb a roof to use this tool. Avoid unsafe attic spaces, exposed electrical systems, uncertain decking, and unprotected openings.

02

Measure a level run

Hold a level horizontal, starting at a point along the underside of a straight rafter. Mark a 12 in horizontal distance (or any measured run). Do not measure 12 in along the sloping rafter.

03

Measure the vertical rise

At the far end of your level run, measure vertically to the same straight rafter edge. Enter the rise and run above. A 4 in rise over a 12 in run equals 4:12.

How rise and run form a roof pitch triangleA level 12-inch run and vertical 6-inch rise create the sloping hypotenuse of a 6-to-12 roof pitch.12 in horizontal run6 in riseRafter / roof slope26.6°
The example shows a 6:12 slope. A different pair of rise and run measurements gives the same pitch when the rise/run ratio is the same.

Roof safety: Never rely on this tool to decide whether a roof can be walked. Working at height requires appropriate training and fall protection. If you cannot safely measure from inside or use documents, hire a qualified professional for roof measurements.

REFERENCE TABLE

Roof pitch chart: angle, percent grade & multiplier

Compare standard pitches without calculating each one. The factor converts the horizontal projected area to sloped roof surface area when a plane has one uniform pitch.

2:129.46° · shallow
4:1218.43°
6:1226.57°
12:1245.00° · steep
Common roof pitch conversions and roof area multipliers
Roof pitchAngle (°)Slope (%)Area factorArea for 1,000 ft² plan
0:120.00°0.0%1.0000×1,000 ft²
1:124.76°8.3%1.0035×1,003 ft²
2:129.46°16.7%1.0138×1,014 ft²
3:1214.04°25.0%1.0308×1,031 ft²
4:1218.43°33.3%1.0541×1,054 ft²
5:1222.62°41.7%1.0833×1,083 ft²
6:1226.57°50.0%1.1180×1,118 ft²
7:1230.26°58.3%1.1577×1,158 ft²
8:1233.69°66.7%1.2019×1,202 ft²
9:1236.87°75.0%1.2500×1,250 ft²
10:1239.81°83.3%1.3017×1,302 ft²
11:1242.51°91.7%1.3566×1,357 ft²
12:1245.00°100.0%1.4142×1,414 ft²
14:1249.40°116.7%1.5366×1,537 ft²
16:1253.13°133.3%1.6667×1,667 ft²
18:1256.31°150.0%1.8028×1,803 ft²
20:1259.04°166.7%1.9437×1,944 ft²
21:1260.26°175.0%2.0156×2,016 ft²
22:1261.39°183.3%2.0883×2,088 ft²
24:1263.43°200.0%2.2361×2,236 ft²

Factors and angles are rounded for display; the calculator uses unrounded values. At 0:12, the roof is mathematically flat, although real low-slope roof assemblies still need drainage design. Tap a row to load that pitch into the calculator.

Roof pitch formulas & conversions

The calculations use a right triangle: the rise is vertical, the run is horizontal, and the rafter or roof plane follows the hypotenuse. These equations work in either measurement system when rise and run use the same units.

Rise and run → X:12Pitch = (rise ÷ run) × 12

6 in ÷ 12 in × 12 = 6:12

Pitch → roof angleAngle = arctan(pitch ÷ 12)

arctan(6 ÷ 12) = 26.57°

Pitch → slope percentageGrade = (pitch ÷ 12) × 100%

(6 ÷ 12) × 100 = 50%

Pitch → sloped roof multiplierFactor = √[1 + (pitch ÷ 12)²]

√(1 + 0.5²) = 1.1180

Angle → pitchPitch = 12 × tan(angle)

12 × tan(26.565°) ≈ 6:12

Grade → pitchPitch = (grade ÷ 100) × 12

50 ÷ 100 × 12 = 6:12

Angles in the trigonometric formulas are measured in degrees, with a calculator configured for degree input (or converted internally to radians). For 0:12, the factor equals 1. A 12:12 roof has a 45° angle and a factor of √2 ≈ 1.4142.

Roof pitch vs. roof slope: what is the difference?

In everyday roofing conversations, pitch usually means rise per 12 inches of horizontal run. Some technical carpentry references distinguish slope = rise/run from traditional pitch = rise/total span. This calculator follows the widely used roofing-industry X:12 slope notation and labels horizontal run explicitly to avoid mixing them up. See InterNACHI’s roof slope and pitch guide for the formal distinction.

For a centered symmetrical gable on a 30 ft span, the horizontal run to the ridge is 15 ft—not 30 ft. At 6:12, the ridge rise from the supporting wall line is 7.5 ft. If you incorrectly use the full span as run, you will double the calculated ridge rise.

Rafter length and ridge-rise calculator

Open optional roof dimensions in the tool to calculate the geometric sloped distance. A symmetrical gable roof uses half the building width as the horizontal run to the ridge. A shed roof uses its full width between opposite supports. The roof angle is the same on both sides of a symmetrical gable.

Geometric slope (not cut length)Sloped length = horizontal run × pitch factor

Gable with 30 ft span, 6:12 slope and 1 ft horizontal eave overhang: (30 ÷ 2 + 1) × 1.1180 = 17.89 ft from the eave projection to the ridge centerline.

Choose the right horizontal run for a simple roof
Roof formRun to use for riseSloped section length
Symmetrical gableHalf the horizontal span(Half span + one eave overhang) × factor
Shed / single planeFull width between support lines(Width + both horizontal end overhangs) × factor
Hip, valleys or multiple planesEach plane requires its own geometryDo not use a generic common-rafter formula for hip or valley members

Not a cut list: Actual structural rafter lengths also depend on ridge thickness, birdsmouth layout, overhang geometry, roof framing strategy, member depth, bearing and local design requirements. The tool does not size rafters, calculate structural loads, or validate a framing design.

How pitch changes your roof square footage

A plan view gives the horizontal projected area; pitched roof surfaces cover more area because they slope. With a single uniform roof slope, multiply the projected surface by the pitch factor. This works for a simple gable or shed roof with a uniform slope and rectangular projection. A hip roof with the same complete horizontal projection and slope has the same total geometric surface area, though hips and cuts may change material waste.

Sloped roof area for uniform-pitch planesRoof area = horizontal roof projection × pitch factor

Example: 40 × 30 ft building, 1 ft horizontal overhang all around, 6:12 pitch → projection (40 + 2) × (30 + 2) = 1,344 ft². Sloped area = 1,344 × 1.118034 ≈ 1,503 ft² (15.03 roofing squares, before material waste).

This is not necessarily the number of shingles or panels to buy. Account separately for waste, starter, ridge caps, hip caps, underlayment coverage, penetrations and product-specific layout. Use the complete roofing calculator to estimate these quantities and build a takeoff.

What roof pitch means for roofing material selection

The acceptable slope depends on the roof covering, underlayment, climate and assembly details. A pitch number alone cannot approve a product. The guidance below is specific to common asphalt shingles under applicable U.S. residential provisions; other roofing systems have different minimum-slope requirements.

Below 2:12
Standard asphalt shingles are not appropriate

Use a roof assembly specifically designed and approved for low slopes and positive drainage. Always check product instructions and local requirements.

2:12 to below 4:12
Low-slope shingle rules

ARMA describes special underlayment methods for this range. Manufacturer requirements and the locally adopted code govern the actual installation.

4:12 and above
Common shingle-slope range

Standard-slope underlayment methods may apply, subject to climate, product specifications and local amendments. Very steep roofs can need special fastening and sealing details.

For references, review the Asphalt Roofing Manufacturers Association's low-slope bulletin, 2024 IRC Chapter 9 roof assemblies, and the instructions for the actual roofing product. Jurisdictions adopt different code editions and amendments.

Roof pitch calculation mistakes to avoid

  • Using sloped length as horizontal run: the denominator in the pitch ratio must be level and horizontal.
  • Using total gable width as a single rafter run: for a centered ridge, divide the building span by two before adding one end's overhang.
  • Confusing degrees with percent grade: a 45° roof is 100% grade (12:12), not 45% grade.
  • Adding waste to roof area: waste changes what you order, not the geometric surface area.
  • Forgetting overhangs: add horizontal eave and gable-end projections before multiplying by the pitch factor.
  • Assuming one pitch across every roof face: calculate each distinct plane separately, particularly dormers, extensions, hips with changed slopes, and mansard roofs.
  • Treating slope length as a structural cut length: cuts, framing connections, support locations, and code-compliant design need independent consideration.

Roof pitch calculator FAQs

What is a 6:12 roof pitch in degrees?

Approximately 26.565°. Divide 6 by 12 (0.5), then calculate arctan(0.5) in degrees. It is a 50% grade, and its sloped-area factor is about 1.1180.

What is a 4:12 roof pitch angle?

Approximately 18.435°. Its horizontal-to-sloped area multiplier is about 1.0541. A 4:12 pitch means 4 inches of vertical rise per 12 inches of horizontal run.

Is 12:12 roof pitch a 45-degree angle?

Yes. Equal rise and run produce an angle of 45°, a 100% slope grade, and a pitch multiplier of about 1.4142.

What roof pitch is 30 degrees?

Approximately 6.928:12. The formula is 12 × tan(30°) ≈ 6.928. Rounded whole-number pitch labels may not exactly match the measured roof angle.

How do you convert roof pitch to a percentage?

Divide rise per 12 by 12, then multiply by 100. A 3:12 slope has a 25% grade; a 6:12 slope has a 50% grade.

How do I calculate roof pitch from rise and run?

Measure the vertical rise and horizontal run in the same units, then calculate (rise ÷ run) × 12. For example, 8 inches over 16 horizontal inches is also 6:12, because 8 ÷ 16 × 12 = 6.

Can I use the pitch factor to calculate a hip roof's area?

Yes, for the total surface if all roof planes share one uniform slope and the complete horizontal projected area is known. This does not determine the lengths of hip or valley members or the extra cutting and waste of a complex roof.

What is the minimum roof pitch for asphalt shingles?

ARMA identifies 2:12 as the lower limit for asphalt shingles with special procedures required below 4:12. Material-specific instructions, local building codes, exposure and climate still control whether a proposed assembly is acceptable.

Do I need to climb onto my roof to measure its pitch?

No. Use architectural drawings, measurements from a safely accessible attic, or a trained roofing professional. Climbing and working on roofs can result in serious injury; pitch is not a substitute for a fall-risk assessment.

Next steps: from roof angle to a project estimate

Sources, scope & methodology

The slope, angle and area calculations follow elementary right-triangle geometry. Roofing-system guidance comes from industry associations, manufacturer documentation and published code provisions. Consult the code edition adopted in your jurisdiction and the specific roof-system installation manual before construction.

  1. ARMA — Installation of Asphalt Shingles on Lower Sloped Roofs (installation considerations, low-slope shingle limitations).
  2. International Code Council — 2024 IRC, Chapter 9: Roof Assemblies (illustrative published model-code provisions; local adoption may differ).
  3. Owens Corning — Duration Series installation instructions (example of product-specific underlayment requirements).
  4. InterNACHI — Measuring Roof Slope and Pitch (distinction between roof slope and traditional pitch).

Limitations: This is a geometric planning calculator. Actual roof profiles, eccentric ridges, framing connections, live/dead/wind/snow loading, overhang detailing, local rules, and supplier coverage must be verified independently. Example outputs are informational, not professional engineering or installation instructions.

Scroll to Top