Civil engineering

Slope Calculator

Convert a straight segment’s signed rise/run, slope percent or angle. Compare vertical change, horizontal run, 1V:nH ratio and inclined length in US or metric units.

Created and Written by: Designation: Founder

Technically reviewed by: Riya Kulkarni | BE Civil Engineer

Describe the straight segment

Fictional example: +3 ft rise over 4 horizontal ft gives +75%, about 36.869898° and 5 ft inclined length. These are geometry inputs, not recommended construction slopes.

Positive rise/percent/angle goes up from start to end; negative goes down. Horizontal run is nonnegative and is not distance along the incline. Use zero run only with a nonzero rise for a vertical segment. Percent/angle modes need positive run.

Unit changes keep the numbers: re-enter measurements in the new units. ft/in/yd use the international foot (1 ft = 0.3048 m), not US survey feet. Inactive inputs are retained but ignored.

Input and derived vertical changes and run are bounded to 1,000,000 m magnitude; finite rise/run magnitude ≤ 1,000,000. Angle input is limited to ±89.9999°. These are software bounds, not design limits. No station, elevation-datum or construction-compliance check is performed.

EXAMPLE · SIGNED SLOPE
+75%

Rising from start to end

Signed rise/run
+0.75
Signed angle from horizontal
+36.869898°
Ratio magnitude
1V : 1.333333H
Vertical change
+3 ft / +0.9144 m
Horizontal run
4 ft / 1.2192 m
Straight inclined length
5 ft / 1.524 m
Signed vertical change is from start to end; horizontal run is the horizontal projection. The illustrated angle and aspect ratio are schematic and do not represent measured geometry.StartEndHorizontal run →
Schematic · not to scale. Direction is separate from the displayed ratio magnitude.

Calculation basis

Slope = rise / horizontal run.
Percent = 100 × slope; angle = atan(slope).
Rise = run × percent / 100 or run × tan(angle).
Inclined length = √(run² + rise²).

Decimal conversions, rise/run and percent use unrounded rational arithmetic; angle and inclined length use floating-point functions. Display up to six decimals/scientific notation; copy uses 15 significant digits. Numerical precision is not field accuracy. The inclined length assumes one straight segment, not a curved or undulating route.

Geometry only. No soil stability, safe excavation, road/drainage/accessibility design, structural assessment or code-compliance approval. Notes: Fictional straight segment. Positive rise goes up from start to end; horizontal run is not distance along the slope.

Use this Slope Calculator to describe one straight segment using signed rise and horizontal run, or to convert a known percent or angle into the corresponding vertical change. The result shows percent slope, angle from horizontal, an explicitly labeled 1V:nH ratio and straight inclined length. It distinguishes level and vertical segments instead of turning a zero horizontal run into a misleading percentage.

Key Takeaways

  • Percent slope = 100 × vertical rise / horizontal run, after converting both dimensions to compatible units.
  • A 100% slope is 45°, not 90°. Convert percent to angle with atan(percent / 100).
  • Positive values rise from start to end; negative values fall. Ratio magnitude is shown separately from direction.
  • A nonzero rise with zero run is vertical: finite slope and percent are undefined. Zero rise and zero run define no segment.
  • Geometry does not establish safe excavation, slope stability, drainage performance or compliance with a design standard.

Choose the right slope input method

Choose rise and horizontal run when you have measured the two perpendicular components. Enter a signed vertical change and a nonnegative horizontal projection. Choose percent and horizontal run when the slope is already stated as a percentage and you want the resulting rise, angle and inclined length. Choose angle and horizontal run when the known angle is measured from horizontal, in degrees.

The three methods describe the same idealized geometry but start from different information. They are alternatives, not extra constraints to solve simultaneously. Values from an inactive method remain in the form and are ignored until that method is selected again. Changing an input clears the old result so a previous percentage does not appear to describe newly entered measurements.

For a road profile defined by endpoint elevations, signed change or stations, use the separate Road Gradient Calculator. For a roof rise per 12 units of run, use the Roof Pitch Calculator. This general slope page keeps positive, negative, level and vertical straight-segment geometry together without replacing those purpose-specific tools.

The slope, percent, angle and length formulas

Let r be signed vertical rise, h horizontal run and m the rise/run slope. For h > 0:

  • Slope: m = r / h.
  • Percent: p = 100m.
  • Signed angle from horizontal: θ = atan(m), expressed in degrees.
  • Rise from percent: r = h × p / 100.
  • Rise from angle: r = h × tan(θ).
  • Straight inclined length: L = √(h² + r²).
  • For nonzero rise, ratio magnitude 1V:nH has n = h / |r|.

Wolfram MathWorld’s slope definition relates rise/run to the tangent of the angle. The USGS percent-and-angle slope worksheet also distinguishes percent from angle. The inclined-length calculation follows the Pythagorean theorem for the two perpendicular components. These mathematical relationships do not specify an acceptable constructed slope.

A complete 3–4–5 worked example

Take a fictional straight segment rising 3 ft over a horizontal run of 4 ft. Its rise/run is 3 / 4 = 0.75, giving +75%. Its angle is atan(0.75), approximately +36.869898°. The inclined length is √(4² + 3²) = 5 ft. The ratio magnitude is 1V:(4/3)H, displayed as 1V:1.333333H.

In metric units, the same dimensions are 0.9144 m rise, 1.2192 m run and 1.524 m inclined length. The dimensionless slope, percentage and angle remain unchanged. Do not enter 5 ft as the horizontal run just because that is the distance measured along the incline: 3 / 5 would produce 60%, which describes a different geometry.

To check the inverse workflow, select percent/run, enter +75% and 4 ft run. It returns the same 3 ft rise and 5 ft inclined length. In angle mode, entering the rounded 36.869898° gives a very close result rather than a mathematically exact 3 ft rise, because the entered angle is rounded and trigonometric conversion uses floating-point arithmetic.

A small falling slope in mixed units

Suppose a fictional segment falls 6 in across 25 horizontal ft. Convert the signed rise first: −6 in = −0.5 ft. Slope = −0.5 / 25 = −0.02, percent = −2%, and angle = atan(−0.02), approximately −1.145763°. Its ratio magnitude is 1V:50H, with “falling” shown separately. Straight inclined length is approximately 25.005 ft.

In percent mode, −2% over 25 ft gives the same −0.5 ft vertical change. The negative sign identifies the chosen start-to-end direction; it does not make a physical length negative. Reversing the observation direction changes the sign of vertical change, percent and angle, while the horizontal distance and inclined length remain nonnegative.

Percent slope is not an angle in degrees

A 45° angle has tan(45°) = 1, so its slope is 100%. By comparison, 45% means rise/run = 0.45, giving an angle of approximately 24.227745°. A 10% slope has an angle of approximately 5.710593°, rather than 10°. These differences become substantial as the slope gets steeper.

Enter the numeric percentage as written: use 2 for 2%, not 0.02. The calculator divides the percentage by 100 internally. Angle inputs use degrees from horizontal. An angle measured from vertical has a different reference and must be converted appropriately before use; relabeling it as an angle from horizontal changes the geometry.

Read 1V:nH ratios without reversing the convention

This page always labels the ratio as vertical to horizontal. A 1V:3H magnitude means one vertical unit for three horizontal units, equal to a slope magnitude of 1/3 or about 33.333333%. It does not mean 3V:1H, which would be 300%. A bare “1:3” can be ambiguous without the V and H labels.

The ratio magnitude does not carry the sign. Read the rising/falling direction alongside it. A level segment is shown as 0V:1H; there is no finite 1V:nH ratio for zero rise. A vertical segment is 1V:0H. These explicit special cases avoid displaying a misleading zero or a rounded finite number where a reciprocal ratio does not exist.

Horizontal, vertical and zero-length cases

With zero rise and positive run, the segment is horizontal: slope 0, percent 0%, angle 0°, and inclined length equal to run. With nonzero rise and zero run, the segment is vertical: its signed angle is +90° or −90°, its length is the magnitude of the rise, and its finite rise/run percentage is undefined. The result says “Vertical” rather than printing an infinite percentage.

When both rise and run are zero, there is no segment from which to determine a direction or slope. The calculator rejects that input. Percent/run and angle/run methods require a positive horizontal run; use the direct rise/run method to represent an exactly vertical segment. Very steep finite segments remain distinct from this exact zero-run case.

Measure matching horizontal and vertical components

Use measurements for the same endpoints and the same section plane. A horizontal projection is different from distance along a sloping surface. If elevations are used outside this tool to obtain a rise, establish compatible units and a common vertical datum before subtracting them. The Survey Level Calculator addresses a different task: reducing staff readings to unadjusted point elevations and checking known closing control.

A straight segment between endpoints does not reveal intermediate humps, dips or changes in local steepness. Its inclined length is not automatically the length of an undulating route, a curved profile or a three-dimensional path with a horizontal bend. Split the geometry into appropriate segments or use a suitable surveyed/profile model when the shape requires it.

Units, input bounds and numerical precision

Rise and run each support feet, inches, yards, metres, centimetres and millimetres. Mixed units are converted before arithmetic. Feet, inches and yards use the international-foot definition: 1 ft = 0.3048 m. Historical US survey feet have a different definition; resolve that distinction before entering older measurements. The unit converter can help with supported dimensional conversions.

Unit changes keep the numeric entries rather than automatically converting them. Re-enter the number in the new unit before calculating. Signed rise, percent and angle support up to 18 decimal places; run is an unsigned nonnegative decimal. Commas and exponent notation are not accepted. Optional measurement notes permit 500 characters.

Entered run, entered rise and derived vertical change are bounded to 1,000,000 m in magnitude. Finite rise/run magnitude is limited to 1,000,000, equivalent to 100,000,000%; angle inputs are limited to ±89.9999°. These are computational bounds, not construction or design limits. A vertical segment is handled explicitly in direct-dimension mode and is not treated as a finite slope exceeding the bound.

Direct rise/run and percent/run modes preserve decimal unit conversion and ratios as rational calculations until display. Angles and inclined lengths use floating-point functions; angle-input mode also derives rise using trigonometry. The screen shows up to six decimals or scientific notation for tiny or large quantities; copied results use 15 significant digits. Extra digits do not improve the underlying measurement accuracy.

Use the result within its geometric scope

Review sign, units, measurement direction and horizontal projection before saving the result. The diagram is explicitly schematic and not to scale; its drawn aspect ratio is not a second measurement. Preserve the input values, source records and assumptions along with the copied result. A later reader needs to know which endpoints and section the numbers describe.

This calculator does not assess soil strength, groundwater, surcharge, excavation support, road performance, pipe flow, accessibility or structural adequacy. A geometry result cannot establish a safe or compliant design. Use the applicable project-specific analysis and responsible professional review for those decisions. The daily report generator can reference checked measurements and observations without certifying them.

Frequently asked questions

Why is the percentage above 100%?

A finite rise greater than horizontal run gives a magnitude above 100%. For example, 2 m rise over 1 m run is 200%, with an angle of about 63.434949°. Percent is a ratio, not an angle limited to 90.

Can I enter a negative horizontal run?

No. This interface uses a nonnegative horizontal distance and a signed vertical change. Establish start-to-end direction first, then put the rise or fall sign in rise, percent or angle. It is not a general signed Cartesian-coordinate line solver.

Does a 1V:2H result confirm a safe excavation side?

No. The ratio describes geometry only. Ground conditions, groundwater, loads, excavation depth and the applicable project requirements need separate assessment; no safe-side-slope recommendation is produced here.

All calculators

TECHNICAL REVIEWER

Riya Kulkarni | BE Civil Engineer

Riya Kulkarni qualifications and experience
QualificationBE Civil – Shivaji University, Kolhapur (2018)
Experience8+ Years
Technical SpecialisationsStructural Engineering, Construction Materials, Site Execution and Concrete Technology.

Project experience

1. Shree Ganesh Residency

Location: Rajarampuri, Kolhapur

Project Type: G+4 Residential Apartment Building

Technical responsibilities
  • RCC structural construction coordination.
  • Reinforcement and shuttering inspection.
  • Concrete pouring and curing supervision.
  • Monitoring construction materials and workmanship.
  • Site quality-control documentation.

2. Vrindavan Heights

Location: Tarabai Park, Kolhapur

Project Type: G+5 Residential Building

Technical responsibilities
  • Structural drawing interpretation.
  • Reinforcement detailing checks.
  • Concrete workability and placement monitoring.
  • Construction sequencing and site coordination.
  • Building material quality assessment.

3. Sai Krupa Row Houses

Location: Kalamba Road, Kolhapur

Project Type: Residential Row Housing Development

Technical responsibilities
  • Foundation and plinth construction coordination.
  • Brick masonry and plastering inspection.
  • Concrete mixing, placement and curing.
  • Waterproofing and finishing work coordination.
  • Construction progress documentation.

4. Greenview Enclave

Location: Ujalaiwadi, Kolhapur

Project Type: G+3 Residential Apartment Complex

Technical responsibilities
  • Site execution monitoring.
  • RCC work and reinforcement inspection.
  • Construction material management.
  • Concrete quality testing coordination.
  • Workmanship and quality documentation.

5. Lotus Business Plaza

Location: Shahupuri, Kolhapur

Project Type: G+3 Commercial Building

Technical responsibilities
  • Structural construction coordination.
  • Slab and column reinforcement inspection.
  • Concrete placement and quality monitoring.
  • Construction activity sequencing.
  • Contractor and site-team coordination.

6. Omkar Residency

Location: Kadamwadi, Kolhapur

Project Type: G+5 Residential Apartment Building

Technical responsibilities
  • Foundation and superstructure execution coordination.
  • Reinforcement and formwork inspection.
  • Concrete testing and curing monitoring.
  • Material specifications and quality checks.
  • Site inspection reporting.

7. Silver Oak Villas

Location: Kasaba Bawada, Kolhapur

Project Type: Independent Residential Villa Development

Technical responsibilities
  • Residential foundation construction.
  • RCC structural component inspection.
  • Masonry and plastering quality checks.
  • Flooring and finishing coordination.
  • Site execution and material monitoring.

8. Pratham Commercial Complex

Location: Ruikar Colony, Kolhapur

Project Type: Commercial and Retail Building

Technical responsibilities
  • RCC construction coordination.
  • Concrete quality-control procedures.
  • Structural component inspection.
  • Construction material assessment.
  • Execution progress and quality reporting.