Slope calculator
Calculate slope, height, length and total distance for ramps, roofs and terrain.
How does the slope calculator work?
This slope calculator is a versatile tool that allows you to calculate the slope of ramps, roofs, terrain and any inclined surface. You can convert between degrees and percentage, or calculate missing dimensions.
Calculation options
- Option 1: Enter the slope in degrees or percentage to convert between both.
- Option 2: Enter the length and height distances to calculate the slope and total distance.
- Option 3: Enter the length and slope (in degrees or percentage) to calculate the height and total distance.
- Option 4: Enter the height and slope (in degrees or percentage) to calculate the length and total distance.
Mathematical formulas
Degrees to percentage conversion:
% = 100 × tan(°) Percentage to degrees conversion:
° = arctan(%/100) Height calculation:
h = l × tan(°) Length calculation:
l = h ÷ tan(°) Total distance:
t = √(l² + h²) Frequently Asked Questions
How is slope calculated in percentage?
Slope percentage is calculated by dividing height by length and multiplying by 100. Formula:
% = (h / l) × 100. For example, with 2m height and 1m length, the slope is 200%.How to convert degrees to slope percentage?
To convert degrees to percentage use the formula:
% = 100 × tan(degrees). For example, 45° equals 100% slope, and 63.43° equals 200%.What slope should a ramp have?
According to accessibility regulations, a ramp should not exceed 10% slope (approximately 5.7°) to be accessible. For short sections (less than 3m), up to 12% is allowed.
How to calculate ramp length knowing height and slope?
Divide height by the tangent of the angle:
l = h ÷ tan(degrees). If using percentage: l = (h × 100) ÷ percentage. Example: for 1m height with 10% slope you need 10m length.What is total distance in a slope?
Total distance is the length of the hypotenuse of the triangle formed by the ramp. Calculated with Pythagorean theorem:
t = √(l² + h²). It is the actual length of the ramp or inclined surface.How many degrees is a 100% slope?
A 100% slope equals 45 degrees. This means for every meter of horizontal length, there is 1 meter of height. Calculated with:
degrees = arctan(100/100) = 45°.How is roof slope measured?
Measure the height from eave to ridge (h) and horizontal distance (l). Slope in degrees is:
arctan(h/l). In percentage: (h/l) × 100. Roofs typically have between 20° and 45° slope.What is the maximum slope a street can have?
Normal streets should not exceed 12-15% slope (7-8°) for road safety. Residential streets can have up to 20% in exceptional cases. The steepest street in the world (Baldwin Street) has 35% (19°).