This Pipe Slope Calculator checks the geometry between two pipe invert endpoints. Calculate signed grade from known upstream and downstream invert elevations and a horizontal run, or calculate a missing invert from one known elevation and an entered grade. The result reports percent fall, inches per foot, millimetres per metre, direction and straight invert-line length, with the assumptions needed to interpret those numbers.
Key Takeaways
- Invert is the inside-bottom elevation of a pipe; use both endpoints on one common datum.
- Signed fall equals upstream invert minus downstream invert. Divide that fall by horizontal run to obtain grade.
- Positive grade falls along your U → D labels; negative grade rises, and zero is level.
- 2% equals 0.24 in/ft and 20 mm/m. A quarter inch per foot is approximately 2.083333%, not exactly 2%.
- This page checks endpoint geometry. It does not establish actual flow, hydraulic capacity, cover, a suitable minimum slope or code compliance.
What the Pipe Slope Calculator answers
Use the first method when an invert schedule or reliable measurements provide both elevations. Enter the corresponding horizontal plan distance and review the signed fall between those points. Use “Find downstream invert” when the upstream elevation and intended grade are known. Use “Find upstream invert” when connecting to a fixed downstream elevation. All three methods use the same fall convention and compatible unit conversions. The inactive invert or grade entry is retained when you switch methods, but it does not participate in that calculation.
The optional U and D names make the copied result easier to trace to a drawing or measurement record. They are reference labels supplied by you, not a determination of actual hydraulic flow direction. The fictional default uses MH-A at 100 ft, MH-B at 98 ft and 100 ft horizontal run. No real project, approved design or field survey is implied. For stored liquid quantity, use the distinct Pipe Volume Calculator. For known full-pipe flow, mean velocity and explicitly modeled losses, use the Pipe Flow Calculator.
Invert, crown, centerline and ground are different levels
An invert is the elevation at the inside bottom of the pipe. A crown is at the inside top; a centerline is through its center. A structure rim, surrounding ground surface and the outside bottom of a pipe are other references. Autodesk’s pipe-network terminology distinguishes these terms and describes pipe slope using elevation change over horizontal distance. This page takes invert elevations directly. It does not convert crown, centerline or ground measurements to inverts because no diameter, wall thickness or cover is entered.
Check what each drawing label actually denotes before copying a number into the form. An upstream invert and a downstream rim can produce a plausible-looking slope while describing incompatible surfaces. A manhole with several connected pipes may have several different pipe inverts. Identify the particular connection and the endpoint represented by the horizontal run. The optional notes can record the drawing revision, point identifiers, units and datum, but the app cannot verify those source details.
Pipe slope formulas and the sign convention
Let U be upstream invert elevation, D downstream invert elevation and H positive horizontal run. Signed fall Δz = U − D. Grade as a decimal ratio is s = Δz/H, percent fall = 100s, inches per foot = 12s and millimetres per metre = 1,000s. Elevations and horizontal distance must first be converted to compatible units. Dividing a fall measured in inches directly by a run measured in feet without conversion gives the wrong ratio.
This page chooses positive values for a line that goes downward along the user-labeled U → D direction. If U = 100 ft and D = 98 ft, fall is +2 ft. Reversing those two labels gives −2 ft and a rising profile along U → D. The generic Slope Calculator uses signed rise from start to end, so its sign convention differs: the same descending line has negative rise but positive pipe fall here. Compare definitions before comparing signs between tools or software.
Horizontal run is not sloped pipe length
The denominator on this page is the horizontal projection between the same invert endpoints. The USGS explanation of percent slope uses elevation change divided by horizontal distance and distinguishes that run from the inclined travel distance. The straight invert-line length shown in the output is √(H² + Δz²). It is a separate geometric result, not the denominator for percent grade.
For a deliberately steep 3 ft fall over 4 ft horizontal run, grade is 75% and the straight invert line is 5 ft. Dividing by the 5 ft inclined line would instead give 60%, which answers a different question. The USACE culvert-invert reference demonstrates a formulation that derives horizontal projection from a supplied barrel length and elevation difference. This tool accepts horizontal run directly; it does not automatically reinterpret an entered barrel length. Convert or obtain the correct plan distance before using the form.
Worked US example: 2 feet of fall over 100 feet
Take fictional inverts U = 100 ft and D = 98 ft on a common datum, with H = 100 ft. Fall = 100 − 98 = 2 ft. Decimal grade = 2/100 = 0.02 ft/ft, so percent = 2%. Multiplying the ratio by 12 gives 0.24 in/ft; multiplying by 1,000 gives 20 mm/m. Each conversion describes the same proportion. The ratio magnitude is 1V:50H, meaning one unit of vertical difference for fifty units of horizontal distance, with the separate direction identifying a fall.
The positive fall angle is atan(0.02), approximately 1.145763°. The straight invert-line length is √(100² + 2²), approximately 100.019998 ft. That inclined length is not a procurement allowance, socket-to-socket cut length or a sum of fittings. Use the actual project’s quantity and installation measurement conventions for purchasing or setting out components. The default is an arithmetic example, not a minimum grade recommendation.
A quarter inch per foot is not exactly 2%
One quarter inch per horizontal foot is 0.25/12 = 1/48 ft/ft. Its percentage is 100/48, approximately 2.083333%. Over a 24 ft horizontal run, the fall is 24 × 0.25 = 6 in, or 0.5 ft. If U = 100 ft, the resulting D is 99.5 ft. Choose the downstream-invert method, enter 0.25 in/ft fall and 24 ft run to reproduce that calculation.
By comparison, 2% over the same 24 ft run gives 0.48 ft, or 5.76 in, of fall. The difference between the two calculations is 0.24 in over that distance. This distinction is arithmetic; it does not tell you which grade a particular drain should use. The selected requirement must come from the applicable project design and governing provisions, not from rounding one familiar expression into another.
Find either missing invert
When upstream invert and grade are known, calculate D = U − sH. For a metric example, U = 12.5 m, H = 15 m and entered grade = 20 mm/m. That grade is s = 0.02, so fall = 0.3 m and D = 12.2 m. The same input can be expressed as 2% fall. Check that H is in metres after selecting its unit; changing the selector retains the typed number rather than converting it.
When downstream invert is fixed, calculate U = D + sH. If D = 12.2 m with the same 15 m run and 20 mm/m grade, U is 12.5 m. If the entered grade is −20 mm/m instead, the signed fall is −0.3 m and U becomes 11.9 m. The reference line then rises toward the labeled downstream endpoint. Solving an elevation equation does not resolve whether the proposed connection can function under its actual water levels, pressures and boundary conditions.
Read falling, rising and level results
A falling profile has U greater than D and positive fall. A rising profile has U less than D and negative fall; the page highlights this as a rising or adverse grade along your labels. Equal inverts are level and have zero net endpoint fall. For a level line, the ratio is shown as 0V:1H rather than an invented finite 1V:nH value. A horizontal run of zero is rejected because this calculator reports finite grade. Use the general slope tool for an exactly vertical segment.
Endpoint averages do not reveal the complete installed profile. A line can have an overall fall while containing a local sag, hump, offset joint or change of gradient. This calculator represents one straight invert segment and cannot detect those conditions from two elevations. Break a designed multi-grade alignment into its defined segments and retain the appropriate survey and inspection records. Do not use a positive headline grade as proof that every point along a real pipe descends.
Datum, units and measurement accuracy
Both inverts must refer to the same vertical datum and compatible measurement basis. A negative elevation can be valid relative to the chosen zero; the calculator accepts signed elevations. For example, −10 ft upstream and −12 ft downstream still produce +2 ft of fall. Changing the datum by the same offset at both endpoints does not change their difference. Mixing unrelated benchmarks, however, does not create a valid grade just because subtraction is possible.
The length selectors support international feet, inches, yards, metres, centimetres and millimetres. They do not implement the legacy US survey foot. Decimal conversion and invert subtraction remain rational until display, preserving a small entered difference between large elevations. Outputs use up to six decimals or scientific notation; copy uses 15 significant digits. Two displayed elevations can therefore look equal after rounding while the unrounded difference is nonzero. Additional digits describe numerical precision, not proof of survey accuracy.
Why pipe fall does not establish hydraulic capacity
The geometry inputs contain no pipe diameter, liquid depth, roughness, discharge, inlet condition, downstream water level or available hydraulic head. They cannot determine a drainage capacity or a flow regime. Pipe invert grade is also not automatically the hydraulic energy gradient in an operating system. A falling invert alone does not prove an adequate discharge, self-cleansing performance, absence of backwater or a suitable velocity.
The page intentionally supplies no universal minimum slope or pass/fail design badge. Required grades depend on the actual system and applicable requirements. Pressure pipes, gravity drains, culverts and building drainage are not interchangeable design cases. Obtain the appropriate project-specific hydraulic and installation assessment. Use the calculated geometry as one documented input to that work, with its source and assumptions attached.
Keep a calculation record you can check
Record the U and D point names, source drawing or field record, elevation datum, run definition and the grade unit. After calculating, compare the displayed direction with the profile you intended. Copy the result to preserve the active raw inputs, converted inverts, formulas and limitations. Recalculate after editing any field; the app clears stale output rather than leaving an earlier result beside changed measurements.
A daily site report can reference the geometry check and related drawing, inspection or survey document. It should distinguish a proposed level from a measured as-built level. This calculator does not authenticate measurements, adjust a leveling traverse, assess instrument uncertainty or replace formal setting-out and acceptance records. Use the Survey Level Calculator for its separate staff-reading workflow, while retaining that tool’s own limits.
Software bounds and excluded quantities
Entered and derived invert magnitudes, and the vertical-difference magnitude, are limited to 1,000,000 m. Horizontal run must be positive and no more than 1,000,000 m. Absolute fall/run is limited to 1,000,000, equivalent to 100,000,000%. These are numerical software bounds, not usable construction ranges. Inputs accept up to 18 decimal places without commas or scientific notation. Endpoint names are limited to 80 characters and notes to 500.
The straight-line model excludes bends, multiple grade breaks, chamber drops, pipe sockets, joint gaps, fittings, bedding, trench formation, excavation, pipe wall dimensions and cover. No sloped-length input is inferred. Trigonometric angle and straight-line length use floating-point calculations. None of the results constitute a survey verification, quantity takeoff for an entire alignment, hydraulic design, permit decision or code-compliance approval.
Frequently asked questions
Can I enter ground levels instead of invert levels?
No. This page does not know cover, pipe diameter or wall thickness and cannot turn ground levels into inside-bottom elevations. Obtain the corresponding inverts first.
Does a negative grade mean the calculation failed?
No. It means the invert rises along your assigned U → D direction. Check the endpoint order, levels, units and intended profile; the calculator does not decide actual flow direction.
Can I enter the measured sloped barrel length?
The run field requires horizontal plan distance. An inclined barrel length must be handled on the appropriate geometric basis before it is used here.
Is the example grade a recommended minimum?
No. Every example is an arithmetic demonstration. The app does not choose a required grade or assess whether a real installation is acceptable.