Roof pitch percentage

Calculate roof pitch percentage using the values and assumptions you provide.

Calculate roof pitch percentage using the values and assumptions you provide.

Both dots and commas are accepted as decimal separators.

Your inputs stay in your browser. Displayed results are rounded to a maximum of 12 significant digits.

Method and assumptions

Method version 1.0.0 · Updated

Calculate

Formula: Pitch (%) = rise / run × 100

Calculate roof pitch percentage using the values and assumptions you provide.

rise
Vertical rise (m)
run
Horizontal run (m)

Results depend on the assumptions entered; verify professional or safety-critical decisions independently.

Calculate with code

These short examples use the same inputs and core calculation as this tool. Adapt validation and formatting to your application.

JavaScript
const rise = 3, run = 12;
console.log(rise / run * 100); // 25% pitch
TypeScript
const rise = 3, run = 12;
const pitchPercent: number = rise / run * 100;
console.log(pitchPercent); // 25%
Python
print(3 / 12 * 100)  # 25% pitch
Java
System.out.println(3.0 / 12 * 100); // 25% pitch
C#
Console.WriteLine(3m / 12 * 100); // 25% pitch