Calculate fence slope from horizontal distance and vertical rise to get slope %, ratio, angle, and slope length, plus fence panel layout guidance.
Related Calculators
- Fence Calculator โ Posts, Pickets & Materials Estimate
- Cross Slope Calculator
- French Drain Slope Calculator
- Slope Calculator
- Gradient to Slope Calculator
- Angle to Slope Calculator
- Percent Slope Calculator
- All Construction Calculators
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Slope from rise and run | Finds the slope of the fence line as a percentage | Requires horizontal distance and vertical rise |
| Rise from slope and run | Finds how far the ground rises or drops along the fence line | Requires horizontal distance and slope in percent |
| Run from slope and rise | Finds the horizontal distance covered for a given rise | Requires vertical rise and slope in percent, with the same sign |
| Equal panel layout | Finds the number of equal panels for the run and the horizontal span, vertical change and sloped length of each | Requires horizontal distance, vertical rise and the maximum horizontal panel span. A 6 ft or 8 ft panel example can fill the span |
Distances can be in feet, metres, inches or yards. A negative rise or slope means the ground drops in the direction measured. Every answer also gives the slope angle in degrees, the slope as a ratio of 1 unit of rise to so many units of run, and the length measured along the slope.
Fence Slope Formulas
| S | Slope (%) |
| V | Vertical rise over the run, negative for a drop |
| R | Horizontal distance (run), in the same unit as the rise |
Length = โ(Rยฒ + Vยฒ)
Percent slope is the change in elevation divided by the horizontal distance covered, times 100, and the slope angle is the inverse tangent of that same ratio [1]. The run is the level distance, not the distance walked along the ground. The length along the slope is the hypotenuse of the rise and the run, which is what the rails or a string line have to span.
Slope from rise and run
This is the main formula. A fence line that rises 5 ft over 50 ft of horizontal distance has a slope of 5 รท 50 ร 100 = 10%, or 1 : 10. The angle is 5.71ยฐ and the length along the slope is 50.25 ft. A line that drops 2 ft over 40 ft has a slope of โ5%.
Rise from slope and run
An 8% slope over 100 ft of run rises 8 ร 100 รท 100 = 8 ft.
Run from slope and rise
A 3 ft rise on a 6% slope takes 3 รท 6 ร 100 = 50 ft of horizontal distance. The slope cannot be zero, and the rise and slope must both be positive or both negative.
Equal panel layout
Span = R รท N
Step = V รท N
P is the longest horizontal span one panel can cover. The run is divided into the fewest equal panels that are no longer than P, and the rise is shared equally between them. A 50 ft run that rises 5 ft, with 8 ft panels, needs 50 รท 8 = 6.25, rounded up to 7 panels. Each covers 7.1429 ft horizontally and rises 0.7143 ft, about 8.6 inches, and measures 7.1785 ft along the slope. A 48 ft run takes exactly 6 panels of 8 ft.
Step is the height each panel steps up when panels are kept level, and the amount each panel is racked when it follows the slope. The sloped length is always longer than the horizontal span, so a racked panel has to be long enough for it.
Limits of This Estimate
- The ground is treated as one straight, even slope from end to end. Where the grade changes along the line, measure and calculate each section separately.
- The result is geometry only. It is not a structural design and does not account for post widths, gates or corner posts.
- A slope percentage does not choose between stepped and racked panels. How far a panel can rack, and how much gap is allowed under it, depend on the manufacturer's limits and on local requirements.
Sources
- U.S. Geological Survey, To Determine Percent of Slope and Angle of Slope: percent slope as rise divided by run times 100, and slope angle as the inverse tangent of rise over run
