Physics: Mechanics, Waves & Thermodynamics Fluid Mechanics & Aerodynamics Hydrostatic equation P = ρgh; 1 atm = 101,325 Pa exactly

Hydrostatic Pressure Calculator

Pressure in a still fluid depends only on how far down you are, not on the shape or width of the container. Enter a fluid, a depth and the pressure at the surface, and this calculator returns the gauge pressure from P = ρgh, the absolute pressure including the atmosphere, and the same figures in psi, bar and atmospheres. It also gives the equivalent head in metres of water, the unit pump and process engineers work in. Presets cover fresh water, seawater, mercury and common hydrocarbons.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
FluidPick the fluid in the column, or choose Custom to type a density.Fresh water, 20 °C (998.2 kg/m³)
Fluid density ρMass per unit volume at the working temperature; specific gravity is relative to water at 1000 kg/m³.1000 kg/m³
Depth below the surface hVertical distance straight down from the free surface — not the length of a sloping pipe.10 m
Pressure at the surface101.325 kPa is standard atmospheric pressure; use 0 for a sealed vacuum above the liquid.101.325 kPa
Acceleration due to gravity gStandard gravity unless you are working somewhere with a materially different value.9.80665 m/s²

It returns

  • Gauge pressure at depth — Pressure above atmospheric — what a normal pressure gauge reads.
  • Absolute pressure at depth
  • Gauge pressure
  • Absolute pressure
  • Equivalent head of water

The formula

Pgauge=ρgh
h=Pρg

In plain text: P_gauge = ρ · g · h P_abs = P_surface + ρ · g · h

  • PPressure produced by the fluid column (Pa)
  • ρFluid density at the working temperature (kg/m³)
  • gLocal acceleration due to gravity (m/s²)
  • hVertical depth below the free surface (m)
  • P_surfacePressure acting on the free surface, usually atmospheric (Pa)

Valid for a fluid at rest with constant density and uniform gravity. Pressure depends only on vertical depth — not on the width, shape or total volume of the container.

Updated Category Fluid Mechanics & Aerodynamics Verified against published test cases Reading time 11 min

Why only the depth matters

Take a horizontal slice of still fluid at depth h and ask what holds it up. The only thing available is the pressure difference across it, and the only thing pushing down is the weight of everything above. A column of cross-section A and height h holds a mass ρAh and therefore a weight ρAhg. Divide by the area and the A cancels: P = ρgh.

That cancellation is the whole result, and it produces the hydrostatic paradox. A narrow tube and a wide reservoir filled to the same height produce identical pressure at the bottom, even though one holds a hundred times more water. A dam is designed for the depth of the reservoir, not its surface area, and a 3 m garden pond exerts exactly the same pressure on its liner as a 3 m column in a drinking straw. Pascal demonstrated this in 1646 by bursting a strong barrel with a few cupfuls of water in a long thin pipe.

The same reasoning shows that pressure is the same everywhere at a given level in a connected body of fluid, which is why water finds its own level in a set of connected vessels, why a manometer works, and why a spirit level in tube form can transfer a datum around a building.

Gauge versus absolute matters enormously. Gauge pressure is measured relative to whatever is outside — normally the atmosphere — and is what an ordinary dial gauge, tyre gauge or diving depth gauge reads. Absolute pressure includes the atmosphere on top. At 10 m in seawater the gauge pressure is about 100.5 kPa but the absolute pressure is about 202 kPa, which is why a diver's lungs experience roughly two atmospheres and why gas laws must always be applied in absolute terms.

Head, and why engineers measure pressure in metres

Rearranged, h = P/(ρg), and that height is called the head. It is a genuinely useful way to express pressure, because pumps deliver a head that is almost independent of the fluid's density: a centrifugal pump that lifts water 30 m will also lift a light hydrocarbon roughly 30 m, though the pressure rise in pascals will be lower and the power required lower with it.

Two conventional head units appear constantly. One metre of water column is defined as 9,806.65 Pa — that is 1,000 kg/m³ at standard gravity, a definition rather than a measurement, so it does not drift with the temperature of your actual water. One millimetre of mercury (torr) is 133.322 Pa, from 13,595.1 kg/m³ at 0 °C. Those two definitions give the classic values: standard atmosphere = 760 mmHg = 10.332 m of water = 33.90 ft of water = 14.6959 psi = 101.325 kPa.

The water figure has a hard practical consequence. A suction pump cannot lift water more than 10.33 m even in principle, because it works by removing pressure above the water and letting the atmosphere push it up — and the atmosphere has only 101.325 kPa to give. In practice cavitation, vapour pressure and friction reduce the workable limit to about 7–8 m, which is why deep wells use submersible or jet pumps rather than surface suction. Net positive suction head (NPSH) is this calculation applied at the pump inlet.

For a tank of unusual liquid, the shortcut is specific gravity. A liquid of SG 0.87 produces 87% of the pressure of water at the same depth, so 10 m of crude oil is 85.3 kPa rather than 98.1 kPa. That is why a tank gauge calibrated in metres of product must be corrected when the product changes.

Worked example: a rectangular water tank and the force on its wall

A tank holds fresh water at 20 °C (ρ = 998.2 kg/m³) to a depth of 4.50 m. The tank is open to the atmosphere. One wall is 3.00 m wide. What is the pressure at the bottom, and what total force does the water exert on that wall?

  1. Pressure gradient. ρg = 998.2 × 9.80665 = 9,789.00 Pa per metre of depth.
  2. Gauge pressure at the bottom. P = 9,789.00 × 4.50 = 44,050.5 Pa = 44.05 kPa, which is 6.389 psi.
  3. Absolute pressure at the bottom. 44,050.5 + 101,325 = 145,375.5 Pa = 145.38 kPa, or 1.4347 atm.
  4. Equivalent head. 44,050.5 ÷ 9,806.65 = 4.492 m of water column — slightly less than 4.50 m because the conventional metre of water uses 1,000 kg/m³ while this water is at 998.2.
  5. Force on the wall. Pressure rises linearly from zero at the surface to 44,050.5 Pa at the bottom, so the average over the wall is half the maximum: 22,025.3 Pa. Wall area = 4.50 × 3.00 = 13.5 m². Force = 22,025.25 × 13.5 = 297,341 N ≈ 297 kN, about 30 tonnes-force.
  6. Where it acts. Because the pressure distribution is a triangle, its centroid lies one third of the way up from the bottom, at 1.50 m. That is the point a structural engineer applies the resultant to when checking the wall's overturning moment.

Notice the two things the calculation did not need: the tank's length, and how much water it holds. Change the tank from 3 m long to 30 m long and the pressure at the bottom is identical. Only the force on the larger wall changes, and only because the area did.

Reading the result and knowing its limits

Check the gradient first. Fresh water gives close to 9.81 kPa per metre, or 0.433 psi per foot; seawater gives 10.05 kPa per metre. If your answer implies a gradient far from those, either the density or a unit is wrong. Mercury is the useful outlier at 133.3 kPa per metre — 13.6 times water, which is exactly what makes a mercury barometer 760 mm tall instead of 10.3 m.

Then decide whether you need gauge or absolute. Structural checks, pipe ratings and pump duties are almost always gauge, because the atmosphere acts on both sides of the wall and cancels. Anything involving gas — a diver's breathing gas, a bubble rising, a vapour-pressure or cavitation check, or the ideal gas law — must use absolute pressure, or the answer will be wrong by one atmosphere.

The constant-density assumption is excellent for liquids over ordinary depths and poor in two places. Water is not perfectly incompressible: over several kilometres of ocean the density rises measurably, so integrating the true density profile gives a pressure a few percent above the constant-density ρgh estimate. And for gases, density falls with height, so atmospheric pressure follows an exponential barometric formula rather than a straight line; P = ρgh is only usable for a gas over a few metres.

Two other qualifications matter in the field. This is a static result: as soon as the fluid moves, Bernoulli's equation redistributes pressure into velocity, and friction losses subtract from it along a pipe. And the depth must be measured vertically. A 100 m pipeline running along a level field has no hydrostatic component at all; the same 100 m of pipe dropped straight down a shaft has 981 kPa of it.

Pressure at depth in fresh water and seawater

Computed from P = ρgh with g = 9.80665 m/s², ρ = 998.2 kg/m³ fresh and 1025 kg/m³ seawater; absolute values add 101.325 kPa of atmosphere.
DepthFresh water gauge (kPa)Seawater gauge (kPa)Seawater gauge (psi)Seawater absolute (atm)
0 m0.000.000.001.000
5 m48.9550.267.291.496
10 m97.89100.5214.581.992
20 m195.78201.0429.162.984
30 m293.67301.5543.743.976
40 m391.56402.0758.324.968
50 m489.45502.5972.895.960
100 m978.901005.18145.7910.920

The diving rule that every 10 m of seawater adds one atmosphere is accurate to about 0.8%; the exact figure is 0.992 atm per 10 m. Deep values ignore water compressibility, which becomes significant below a few kilometres.

Mistakes that give the wrong pressure

  • Using pipe length instead of vertical drop. Only the vertical component counts. A sloping run contributes nothing beyond the height it descends.
  • Mixing gauge and absolute. Adding the atmosphere twice, or forgetting it in a gas-law calculation, is the single most common error. Gas volumes and bubble sizes need absolute pressure.
  • Assuming the container's shape matters. It does not. A wide tank and a narrow tube of the same depth give identical bottom pressure.
  • Forgetting temperature and salinity in the density. Seawater at 1,025 kg/m³ produces 2.7% more pressure than fresh water; hot water produces slightly less than cold.
  • Using a metre-of-water figure calibrated on the wrong density. The conventional metre of water is fixed at 1,000 kg/m³, so it is not identical to a metre of your actual 998.2 kg/m³ water.
  • Applying ρgh to a gas column. Gas density falls with height, so the relation only works over a few metres before the exponential barometric formula is needed.
  • Ignoring compressibility at extreme depth. Below a few kilometres the constant-density result understates the true pressure by a few percent.
  • Expecting a suction pump to lift water more than 10.33 m. That is the whole atmosphere's worth; practical limits are lower still because of vapour pressure and friction.

Where hydrostatics leads next

Buoyancy follows immediately. Because pressure grows with depth, the upward push on the bottom of a submerged body exceeds the downward push on its top, and the difference is exactly the weight of the displaced fluid — Archimedes' principle, which is a corollary of P = ρgh rather than a separate law. The same pressure difference explains why a ship floats and why a submarine's hull must resist a crushing net load.

Hydraulics is the other direct descendant. Pascal's principle says a pressure applied to an enclosed fluid is transmitted undiminished everywhere, so a small force on a small piston becomes a large force on a large one in proportion to the area ratio. Car brakes, jacks and excavator rams are all built on it, and the working pressures involved dwarf anything hydrostatic: 20 MPa in a hydraulic circuit is the equivalent of 2 km of water head.

Once fluid starts moving, hydrostatics becomes only one term in the energy balance. Bernoulli's equation trades pressure head for velocity head and elevation head, and friction losses depend on whether flow is smooth or turbulent — a distinction set by the Reynolds number. For a gas rather than a liquid, the density that appears in every one of these expressions comes from the ideal gas law, which is also what tells a diver how a lungful of air at 30 m expands on the way up. And if you are heating or cooling the fluid, the density change comes from the same thermal data used in a heat energy calculation.

Diving and pressure vessels carry real risk

The gas volume in a diver's lungs varies inversely with absolute pressure, so ascending from 10 m while holding your breath doubles it. Use this calculator for physics, and certified dive tables, a dive computer and proper training for anything in the water. Pressure vessel design is governed by codes such as ASME BPVC, not by ρgh alone.

Frequently asked questions

How much does water pressure increase per metre of depth?

About 9.81 kPa per metre in fresh water and 10.05 kPa per metre in seawater, using ρg. In imperial units that is 0.433 psi per foot for fresh water and 0.445 psi per foot for seawater. Those two gradients are worth memorising, because they let you check almost any hydrostatic answer in your head.

Does the shape of the container change the pressure at the bottom?

No. Pressure at a given depth depends only on the density, gravity and vertical depth, so a narrow tube and a wide tank filled to the same level produce the same bottom pressure. The total force differs, because force is pressure times area, but the pressure itself is identical. This is the hydrostatic paradox Pascal demonstrated in 1646.

What is the difference between gauge and absolute pressure?

Gauge pressure is measured relative to the surrounding atmosphere and reads zero at the surface; absolute pressure adds the atmosphere on top, so it reads about 101.325 kPa at the surface. Use gauge for structures and pipe ratings, where the atmosphere acts on both sides. Use absolute for anything involving gases, including Boyle's law, cavitation and vapour pressure.

Why is one atmosphere 10.33 metres of water but only 760 mm of mercury?

Because mercury is 13.6 times denser than water, so it needs 13.6 times less height to produce the same pressure. 10.332 m ÷ 13.5951 = 0.760 m exactly. That density ratio is the entire reason barometers use mercury: a water barometer would have to be taller than a house.

How deep can a suction pump lift water?

10.33 m at sea level in the ideal case, because a suction pump relies on atmospheric pressure to push the water up and the atmosphere provides only 101.325 kPa. Vapour pressure, friction and cavitation reduce the practical limit to roughly 7–8 m, and less at altitude or with warm water. Deeper wells need a submersible or jet pump that pushes rather than pulls.

Does hydrostatic pressure depend on temperature?

Only through the density. Water at 4 °C is 1,000 kg/m³, at 20 °C it is 998.2, and at 80 °C it is about 971.8 — a spread of under 3%, so the effect on pressure is small for water. For oils and for gases the density change with temperature is far larger and cannot be ignored.

How do I calculate the force on a tank wall from this?

The pressure rises linearly from zero at the surface, so the average pressure over a vertical wall is half the bottom value. Multiply that average by the wetted wall area to get the resultant force, and apply it one third of the way up from the bottom, where the centroid of the triangular pressure distribution sits.

Is the pressure at the bottom of the ocean just ρgh?

Very nearly, but not exactly. Seawater compresses under its own weight, so density rises with depth and the true pressure in the deepest trenches sits a few percent above the constant-density estimate. Gravity changes by only about 0.2% over the full depth of the ocean, so compressibility is the term that matters. For depths of a few hundred metres the simple formula is well inside measurement uncertainty.

References