The converter below turns one way of describing steepness into the others: percent grade for roads and ramps, degrees, a 1 : n ratio and roof pitch in inches of rise per 12 inches of run.
How to use it
- Enter the coordinates of two points: x₁, y₁ and x₂, y₂.
- Read the slope, angle, grade and equation; the graph changes as you type.
- To convert a steepness, choose what you know: percent, degrees, ratio or roof pitch.
- Enter the value to see it in every other form.
Common uses
- Homework on linear functions, gradients and equations of lines.
- Checking the grade of a road, a ramp or a driveway.
- Working out the pitch and the angle of a roof.
- Planning drainage, paths and other gentle slopes.
Examples
| Input | Result |
|---|---|
| (1, 2) and (4, 8) | m = 2, angle 63.43°, y = 2x + 0 |
| (0, 3) and (4, 1) | m = −1/2 = −0.5, y = −0.5x + 3 |
| 10% grade | 5.71°, 1 : 10, pitch 1.2/12 |
| Roof pitch 6/12 | 50% grade, 26.57° |
Frequently asked questions
How do you find the slope from two points?
What is a percent grade?
What is roof pitch?
What happens with a vertical line?
Related tools
Ratio and Proportion Calculator
Solve proportions with the rule of three, direct or inverse, simplify ratios such as 12 : 18 to 2 : 3 and divide an amount in a given ratio.
Area Calculator
Area of 12 shapes, from a rectangle or circle to a regular polygon, with the perimeter, the formula worked through and every unit from mm² to hectares, acres and sotkas.
Scientific Calculator
Free online scientific calculator: sin, cos and tan in degrees, radians or gradians, logarithms, powers and roots, factorials, nPr and nCr, memory keys and history.
Percentage Calculator
Work out percentages in one place: X% of a number, what percent one number is of another, percentage change, and adding or removing a percentage.