The hydraulic gradient calculator above gives i, the rate at which total head falls along a flow path. It is the driving force behind every groundwater movement, and because it is a length divided by a length it has no units at all. That dimensionlessness is why the same number describes a sand column on a bench and an aquifer stretching across a county.
Arb Digital publishes free physics calculators that each own one quantity, and four of them share the word "hydraulic" while meaning four different things. This page owns i, the dimensionless slope of the piezometric surface — the push. The hydraulic conductivity calculator owns K, the property of the soil and fluid that resists that push. The hydraulic radius calculator owns A divided by P, a geometric property of an open channel cross-section with no porous medium involved. The hydraulic jump calculator owns a specific event in a channel rather than a property at all. And the live hydraulic cylinder force calculator shares only the word: it is fluid power, turning bore and pressure into actuator force.
What This Hydraulic Gradient Calculator Does
The two-point mode is the everyday case: two piezometers, two total heads, and the distance along the flow path between them. It returns the gradient, expresses it as a one-in-N slope for readability, and states which way the water is moving.
The three-well mode solves what hydrogeologists call the three-point problem. Two wells only give you the gradient along the line joining them, which is not generally the direction water is flowing. Three wells define a plane through the water table, and from that plane you get both the true magnitude of the steepest gradient and the compass bearing of flow. This is the standard field method, and it is the reason monitoring wells are installed in triangles.
Both modes also report the critical gradient, which is the value at which upward seepage carries enough force to float the soil grains apart. Comparing your gradient with the critical one is how quicksand conditions, boiling at an excavation base and piping under a dam are all assessed.
How to Use It
- Use total head, not depth to water. Total head is elevation plus pressure head above a common datum. Depths measured down from different ground levels are not comparable and are the most common source of nonsense results here.
- Measure distance along the flow path. If flow curves around a barrier, the path is longer than the map distance and the gradient is correspondingly gentler.
- Use three wells when you need a direction. Two wells give a gradient in one direction only, and it will be smaller than the true maximum unless the line happens to lie along the flow.
- Do not place the three wells nearly in a line. Collinear wells cannot define a plane, and near-collinear ones amplify measurement error enormously. The tool warns you when the triangle is too thin.
- Check the critical gradient ratio for any upward flow. It is the number that matters at the bottom of an excavation or the toe of a dam.
The Formula: How Hydraulic Gradient Is Calculated
For two points along a flow path,
i = Δh ÷ L = (h1 − h2) ÷ L
with both heads measured from the same datum and L the distance along the path. For three wells, fit a plane h = ax + by + c through the three points. Taking the cross product of the two edge vectors gives a normal vector n, and the head gradient is the vector (−nx/nz, −ny/nz). Its magnitude is the steepest gradient and its negative points down-gradient, which is the flow direction.
The critical gradient for upward seepage is ic = (Gs − 1) ÷ (1 + e), where Gs is the specific gravity of the soil solids and e the void ratio. It is the point at which the upward seepage force exactly equals the buoyant weight of the soil, so the effective stress falls to zero. MIT OpenCourseWare's Advanced Soil Mechanics, from the Civil and Environmental Engineering department, covers the effective stress principle, hydraulic conductivity and seepage that this rests on, and MIT's Groundwater Hydrology covers the regional flow context. Field measurement of heads and gradients in real aquifers is set out in the United States Geological Survey's published techniques.
Work the defaults by hand. Heads of 52.4 m and 48.9 m give a difference of 3.5 m over 350 m, so i = 3.5 ÷ 350 = 0.0100, which is one in a hundred. With Gs = 2.65 and e = 0.7 the critical gradient is (2.65 − 1) ÷ 1.7 = 0.9706, so the ratio of critical to actual is 97.1 — a gradient nowhere near causing any instability, as a regional horizontal gradient never is.
Two Wells Give You The Wrong Direction
The most common misuse of a hydraulic gradient is computing it between two wells and assuming the water flows along that line. It almost never does. Two points give you only the component of the gradient in one direction, and the true steepest gradient is at least that large and generally larger.
The three-well default here shows it. Wells at (0, 0), (200, 0) and (0, 150) metres with heads of 30.0, 29.4 and 29.7 metres give an east-west gradient of 0.6 ÷ 200 = 0.0030 and a north-south gradient of 0.3 ÷ 150 = 0.0020. Neither of those is the answer. The true gradient is the vector magnitude, √(0.0030² + 0.0020²) = 0.00361, and the flow direction is towards a bearing of about 056 degrees — east-north-east, which is not along either well pair.
Getting the direction wrong has real consequences. A contaminant plume travels down-gradient, so a monitoring well sited using a two-point gradient can end up beside the plume rather than in it. The vector calculator handles the general vector arithmetic behind this, and the point to plane distance calculator covers the related plane geometry.
The Critical Gradient And Why Upward Flow Is Different
A horizontal gradient of 0.01 is unremarkable. A vertical upward gradient of 0.9 is close to catastrophic, and the difference is not the number but the direction.
Seepage exerts a drag force on soil grains in the direction of flow. When flow is downward or horizontal, that force presses grains together or pushes them sideways, and effective stress stays positive. When flow is upward, the seepage force opposes gravity directly. At the critical gradient it exactly cancels the buoyant weight of the soil, effective stress reaches zero, and the soil has no shear strength at all. That is quicksand, and it is also what "boiling" at the base of a sheet-piled excavation means.
For most granular soils the critical gradient lands close to unity, because Gs is near 2.65 and e near 0.65 to 0.85. That near-unity value is a useful thing to remember: an upward gradient approaching one is approaching failure regardless of the soil type. Because that failure is sudden and total rather than gradual, geotechnical practice applies substantial factors of safety and relies on site-specific investigation, not on a formula. The ratio this page reports is a physics comparison, not an assessment of whether anything is safe.
Gradients In Real Aquifers Are Very Small
Regional horizontal gradients in permeable aquifers are typically between 0.0001 and 0.01, which is one in ten thousand to one in a hundred. Steeper gradients appear only where conductivity is low or where something is forcing the flow: near a pumping well, across a low-permeability layer, at a spring line.
Because gradients are so small, the accuracy of the head measurements dominates the answer. A gradient of 0.001 over a 200-metre well spacing means a head difference of 0.2 metres. If your survey levelling on the well casings is good to five centimetres, that is a quarter of the signal, and the resulting gradient carries an uncertainty of the same order. This is why well elevations are surveyed carefully rather than read off a topographic map, and why the three-point method is preferred when the geometry allows it: a thin triangle of wells amplifies exactly this error.
There is a further trap in the vertical. Wells screened at different depths in the same aquifer can show different heads, because there is a vertical gradient as well as a horizontal one. Comparing a shallow well against a deep well and calling the result a horizontal gradient mixes the two, and the answer is a combination of both. Nested piezometers at a single location are how the vertical component is separated out. Once you have a gradient, the Darcy's law calculator combines it with conductivity to give a discharge and a seepage velocity, and the flow rate calculator handles the volumetric arithmetic downstream.
Arb Digital builds free tools like this one because useful pages earn attention. If you want tools, calculators or content built for your own audience, we can help.
Browse All Free Tools Talk to Arb DigitalCommon Mistakes to Avoid
- Using depth to water instead of total head — depths are measured from ground level, which differs between wells. Only heads referenced to a common datum can be subtracted.
- Taking two wells as the flow direction — two points give one component of the gradient, and the true steepest gradient is generally larger and in a different direction.
- Using map distance for a curved flow path — the gradient divides by the distance the water actually travels, which is longer whenever flow bends around a barrier.
- Mixing wells screened at different depths — a vertical gradient contaminates the horizontal one, and the result describes neither.
- Treating the critical gradient ratio as a safety verdict — it is a physics comparison. Whether an excavation or an embankment is safe is a site-specific geotechnical judgement, not a number from a formula.
Related Free Tools From Arb Digital
Combine this gradient with a conductivity from the hydraulic conductivity calculator and run them through the Darcy's law calculator to get discharge, Darcy flux and seepage velocity. The porosity and permeability calculator covers the pore-space properties, and the flow rate calculator the volumetric side. For the vector arithmetic behind the three-point problem use the vector calculator, and for surface-water rather than groundwater work use the hydraulic radius calculator, the hydraulic jump calculator or the open channel flow calculator. Everything Arb Digital publishes is on the free online tools hub.
Frequently Asked Questions
It is the rate at which total hydraulic head falls along a flow path, calculated as the head difference divided by the distance between the two points. Because both quantities are lengths the result is dimensionless, which is why the same number applies at laboratory and regional scales.
Because it is a length divided by a length: metres of head drop per metre of flow path. That makes it directly comparable between very different settings, and it is what allows Darcy's law to multiply it by a conductivity in metres per second and get a velocity.
No. Two wells give only the component of the gradient along the line joining them, which is generally not the direction water is moving and is smaller than the true steepest gradient. Three wells define a plane and give both the magnitude and the bearing.
It is the upward gradient at which seepage force exactly balances the buoyant weight of the soil, so effective stress falls to zero and the soil loses all shear strength. It equals the specific gravity of solids minus one, divided by one plus the void ratio, and for most granular soils it lands near unity.
Regional horizontal gradients in permeable aquifers usually fall between 0.0001 and 0.01. Steeper values appear near pumping wells, across low-permeability layers or at spring lines, where something is forcing the flow rather than letting it drain naturally.
Total head, referenced to a common datum. Depth to water is measured from ground level, which differs from well to well, so subtracting depths mixes the ground surface topography into the answer and produces a gradient that describes nothing.
Because three nearly collinear points do not define a plane reliably. As the triangle gets thinner, small errors in the measured heads produce very large errors in the fitted gradient and bearing, so the three wells should form a broad triangle around the area of interest.
Yes, in consequence rather than in definition. A horizontal gradient simply drives flow. An upward vertical gradient opposes gravity and reduces effective stress, so as it approaches the critical value the soil loses strength, which is what causes quicksand conditions and boiling at excavation bases.
This tool is provided for educational and study use. It computes hydraulic gradients and the theoretical critical gradient from the figures you supply, and it does not assess the stability or safety of any excavation, embankment or structure, which requires site-specific investigation and a qualified geotechnical engineer.