4:12 Pitch Roof Calculator
A 4:12 roof rises 4 units for every 12 horizontal units of run. Enter a horizontal run below to find its matching rise and the geometric diagonal; use neither result alone as a cut layout, material order, or roof-system approval.
Calculate a matching 4:12 triangle
Matching dimensions
Read the 4:12 label before calculating
The label describes a ratio: 4 units of vertical rise for 12 units of horizontal run. Reduce it to 1 ÷ 3; for any chosen run, the matching rise is therefore run ÷ 3. Right-triangle trigonometry treats the vertical and horizontal legs as the opposite and adjacent sides for a tangent ratio.1
For example, a 24-unit horizontal run has an 8-unit rise because 24 ÷ 3 = 8. Forward-check the pair: (8 ÷ 24) × 12 = 4. This is a geometry check on the same measured triangle.
Check the geometric diagonal separately
Once rise and run are known, the diagonal of the right triangle is √(rise² + run²). The Pythagorean theorem relates the two legs of a right triangle to its hypotenuse.2 With a 12-unit run and 4-unit rise, the diagonal is √(12² + 4²) = √160, approximately 12.649 units.
The calculator labels this as a geometric diagonal deliberately. It does not determine a rafter cut, ridge treatment, bearing detail, material quantity, product suitability, drainage performance, or local requirement. Keep those project decisions in their own records and use verified project documentation where applicable.
Can a 4:12 pitch roof calculator tell me what roof covering to use?
No. It can calculate the roof-plane geometry, but it cannot approve a roof covering or assembly. Retain the measured rise/run record, then consult the named product’s instructions and the requirements governing the project for that separate decision.
Three-line 4:12 check
- Record the horizontal run and the unit used.
- Divide that run by 3 to find the matching 4:12 rise.
- Use the Pythagorean check for the triangle’s geometric diagonal, while keeping cut-layout and roof-system choices separate.
Sources
- OpenStax, “Right Triangle Trigonometry” — defines tangent using opposite and adjacent sides of a right triangle.
- OpenStax, “Right Triangle Trigonometry” — presents the Pythagorean theorem for a right triangle’s legs and hypotenuse.
The SVG diagrams and worked calculations are original geometry explanations, not construction drawings or project approvals.