How to use it
Fill in any two of the four boxes and the other two are worked out, along with the roof angle in degrees, the percent grade and the length of a regular hip or valley rafter. If you type a third value, it replaces the older of the first two.
Pitch can be typed as 6 or 6/12 (inches of rise per foot of run), as an angle such as 26.5°, or as a grade such as 50%.
Worked example
A 6/12 roof over a 14' run rises 7' 0". The common rafter, measured along the slope, is 15' 7 13/16". The roof angle is 26.57° and the grade is 50%. A regular hip or valley on that roof is 21' 0".
These are theoretical lengths from the outside of the wall plate to the centre of the ridge. Add the overhang and deduct half the ridge thickness before you cut.
The math
- Rise = run × pitch. At 6/12, every foot of run rises 6 inches.
- Diagonal = √(rise² + run²).
- Angle = arctan(rise ÷ run).
- Regular hip or valley = √(rise² + 2 × run²). It runs at 45° in plan between two roof planes of the same pitch.
The same boxes solve any right triangle: squaring a foundation, a stair stringer, a brace or a ramp.
Typing measurements
Every box takes feet, inches and fractions the way you would write them: 9' 1 1/8", 7 1/2", 2.5' or 300mm. Put a space between whole inches and a fraction. A box also takes a whole calculation, so 14' 6" / 2 works anywhere.
Questions
How do I find rafter length from pitch and run?
Rise equals run times pitch, and the rafter is the diagonal: the square root of rise squared plus run squared. A 6/12 roof over a 14' run rises 7' and the rafter measures 15' 7 13/16" before overhang and ridge deductions.
What does a 6/12 pitch mean?
The roof rises 6 inches for every 12 inches of horizontal run. That is an angle of 26.57 degrees, or a 50% grade.
How do I convert roof pitch to degrees?
Divide the rise by the run and take the arctangent. A 4/12 pitch is 18.43°, 6/12 is 26.57°, 8/12 is 33.69° and 12/12 is 45°. Type the pitch in the Pitch box and the angle appears in the results.
Is run the full width of the building?
No. For a gable roof with a centred ridge, run is half the span: the horizontal distance from the outside of the wall to the centre of the ridge.
How precise is the answer?
The math is done at full precision and only the displayed fraction is rounded, to the nearest 1/16 inch by default. You can change that from 1/2 down to 1/64. When rounding changes the value, the answer is marked with ≈.
More calculators
- Feet & inches calculatorAdd, subtract, multiply and divide feet, inches and fractions. Free, nothing to install.
- Decimal feet to feet & inches converterType a length in any one box: decimal feet, feet and inches, inches or millimeters. The other three fill in.
- Inches to feet converterType a number of inches. Get feet and inches, decimal feet and millimeters.
- Feet to inches converterType a number of feet, or feet and inches. Get the length in inches.
- mm to inches converterType a number of millimeters. Get inches as a decimal and as a fraction.
- Inches to mm converterType inches, a fraction, or feet and inches. Get millimeters.
- cm to inches converterType a number of centimeters. Get inches, a fraction, and feet and inches.
- Stair calculatorEnter the floor-to-floor rise to get risers, treads, total run and stringer length.
- Circle & arc calculatorEnter a diameter for circumference and area. Add an angle for arc length and chord.
- Square footage & volume calculatorEnter length and width for area. Add a height for volume, cubic yards and wall area.
- Stud & on-center spacing calculatorEnter a length and a spacing to get the member count, the last bay and the equal spacing.
- Concrete calculatorPick slab, footing, wall or round column, type the size in feet and inches, and get cubic yards and bags.
- Slope converterType a slope as inches per foot, percent, degrees or a ratio. The other three fill in.
- Gravel, sand, soil & mulch calculatorPick the material, type the length, width and depth, and get cubic yards and approximate tons.
- Drawing scale calculatorEnter a scale and a length to convert it, or a drawn length and its real size to find the scale.
California reference finders
- California DSA forms & publications finderFor California public school and community college projects. Type a topic or a number, or paste a plan check comment, and see which DSA documents to open.
- California OSHPD / HCAI CAN, PIN & forms finderFor California hospital and skilled nursing facility projects. Type a topic or a number, or paste a plan review comment, and see which HCAI documents to open.