SmartCalc
FinancialHealthHome & EngineeringMathematicsTime & DateConvertersEducationGeneratorsGeneral
  1. Home
  2. /Home & Engineering
  3. /Electrical, heating & energy
  4. /Roof Pitch Calculator

Roof Pitch Calculator

Free roof pitch calculator converts rise and run into pitch per 12, degrees, slope percent, a roof factor and common rafter length.

Enter the vertical rise and horizontal run measured on the same roof slope. Use the same length unit for both values; the pitch conversions do not depend on which unit you choose.

The calculator reports the rise for every 12 units of horizontal run, the angle above horizontal, percent slope, and a slope factor. A 6/12 pitch means the roof rises 6 units for each 12 units of run.

Rafter length is the straight hypotenuse of the rise-and-run triangle. Use measurements from one roof plane, such as the horizontal distance from the wall plate to the ridge and the vertical rise over that distance.

Your inputs

Measure the vertical change over the run you enter, using the same unit for both.
Horizontal projection along the same roof slope; do not enter the sloped rafter length here.
Rise per 12 units of run
6 / 12
Example
Example: 6 units of rise over 12 units of run

Pitch = 12 × 6 ÷ 12 = 6/12
Angle = arctan(6 ÷ 12) = 26.57°
Slope = 50% | Slope factor = 1.118
Rafter length = √(6² + 12²) = 13.42 units

The ratio results are identical whether the measurements are in inches, feet, millimetres or metres.
Roof angle
26.56505117707799°
Slope
50%
Slope factor
1.118033988749895
Straight rafter length (same unit)
13.416407864998739

Frequently Asked Questions

How do I measure roof pitch with a level?

Hold a level horizontally against or above the roof surface, mark a known horizontal distance, then measure the vertical gap from that mark to the roof. Enter that vertical rise and horizontal run using the same unit. Work from a safe position and do not climb onto a roof unless properly equipped.

What does a 6/12 roof pitch mean?

It rises 6 units for every 12 units of horizontal run. Its angle is about 26.57 degrees and its slope is 50 percent. The ratio is rise over horizontal run, not rise over the full building width.

Does the rafter length include the eave overhang?

No. It is the straight diagonal for the rise and run you entered. Add the horizontal overhang to the run before calculating if you need a rough line length to the rafter tail; actual cuts and ridge details still change the board length.

Rise is vertical; run is horizontal. Measure both on the same roof plane and use the same unit. The slope factor can multiply a horizontal plan area to estimate sloped surface area for a simple plane. Rafter length is a theoretical common-rafter line and excludes overhang, ridge thickness, birdsmouth and cuts. This geometry estimate is not structural sizing, code guidance or a fall-safety assessment.

Related Calculators

Shingle Calculator

Free shingle calculator estimates shingle bundles, underlayment rolls and nails from roof footprint and pitch, with squares and project cost.

→

Solar Panel Calculator

Free solar panel calculator: size a hybrid PV array and battery bank from your daily kWh use, peak sun hours, panel wattage and system losses.

→

Stair Calculator

Free stair calculator computes steps, riser height, tread depth, stringer length and stair angle from your rise and target riser, using code-friendly design rules.

→

SmartCalc.top — Free online calculators. No registration required.

© 2026 SmartCalc.top