Roof Pitch Calculator

Calculate roof pitch from rise and run, or solve rise from x:12 pitch and run.

If you change the unit, the affected length fields reset to 0 so you can re-enter fresh values.
Vertical rise in the selected unit.
Horizontal run in the selected unit.

Use this Roof Pitch Calculator to calculate roof pitch, rise, run, rafter length, slope percentage, and roof angle. Enter the rise and horizontal run, or enter an x:12 pitch with a known run.

Roof Pitch Formulas

Pitch (x:12) = (rise ÷ run) × 12

Pitch percent = (rise ÷ run) × 100

Roof angle = arctan(rise ÷ run)

Rafter length = √(rise² + run²)

When the x:12 pitch and run are known:

Rise = run × (pitch ÷ 12)

In x:12 notation, a 6:12 roof rises 6 units for every 12 units of horizontal run.

Example

Suppose a roof has a rise of 6 ft and a horizontal run of 12 ft.

Pitch = (6 ÷ 12) × 12 = 6:12

Pitch percent = (6 ÷ 12) × 100 = 50%

Roof angle = arctan(6 ÷ 12) ≈ 26.57°

Rafter length = √(6² + 12²) ≈ 13.42 ft

The roof therefore has a 6:12 pitch, a 50% slope, and an angle of approximately 26.57°.

Important Notes

  • Run means the horizontal distance, not the sloped roof or rafter length.
  • Use compatible units for rise and run.
  • The calculated rafter length does not include roof overhang, ridge adjustments, birdsmouth cuts, or construction allowances.
  • Roofing-material requirements and minimum permitted slopes vary by product and building regulations.
  • Use approved plans and applicable building requirements for structural or safety-critical roof construction.

Sources

More of our calculators...

Gravel Calculator

Use our Gravel Calculator to estimate gravel volume, weight, tons, cubic yards, coverage, and total cost from area, depth, density, and price.

Asphalt Calculator

Use this asphalt calculator to estimate asphalt volume, cubic yards, short tons, metric tonnes, waste allowance, and material cost for driveways, paths, parking areas, and paving projects.

Air Conditioner Size Calculator

Use this air conditioner size calculator to estimate AC capacity in BTU/hr, tons, and kW from room size, ceiling height, sunlight, insulation, climate, occupants, and heat load.

Brick Calculator

Use this brick calculator to estimate bricks needed, packs or pallets, net wall area, mortar-adjusted brick coverage, waste allowance, and brick cost.

Ramp Calculator

Use our Ramp Calculator to find ramp slope angle, grade percent, run, and ramp length from rise, ratio, or accessibility ramp presets.

Tank Volume Calculator

Tank Volume Calculator helps you find tank capacity in gallons, liters, and cubic units with fast, accurate results.

Sand Calculator

Use our Sand Calculator to estimate sand area, volume, weight, and optional total cost from length, width, depth, density, and price.

Room Size Calculator

Use this room size calculator to find floor area, wall area, ceiling area, room volume, perimeter, trim length, and total surface area for one or more rooms.

Insulation Calculator

Use this insulation calculator to estimate wall and ceiling insulation area, packages needed, waste allowance, purchased coverage, extra coverage, and material cost.