Hydrostatic Pressure Calculator (P = ρgh)
Hydrostatic pressure is the pressure exerted by the weight of a fluid column alone, at a depth h below the surface — independent of the shape of the container, it depends only on the height and the density of the fluid. This is the relative (or gauge) pressure : adding atmospheric pressure gives the absolute pressure.
Fluid height and fluid type
How hydrostatic pressure is calculated
Prelative = ρ × g × h · Pabsolute = Prelative + Patm
Hydrostatic pressure depends only on depth and fluid density — not on the shape or the volume of the container (the famous "hydrostatic paradox"). Relative (or gauge) pressure is what an ordinary pressure gauge reads, zeroed to open air ; absolute pressure adds the ambient atmospheric pressure (1.013 bar at sea level).
Terms with an asterisk are collected in the glossary at the foot of the page.
The hydrostatic paradox: why the tank's shape doesn't change the pressure
A narrow standpipe and a wide storage tank may share one free-surface height and hold very different volumes. The wide tank contains far more water, and the floor pressure does not rise on that account. This is the hydrostatic paradox: hydrostatic pressure* at a point depends on depth and on density*, not on fluid lying off to the side, and not on the outline of the vessel. Pascal showed it with oddly shaped vessels: a gauge at one depth read the same value in each.
P = ρ · g · h
Only the vertical column above the point contributes to P. Liquid in a wide belly loads the walls, not that spot on the floor.
Force on the floor is a separate question. F = P × A, and a larger floor carries a larger load at the same pressure. The paradox concerns pressure, not that total force. The pressure rating of a drain valve follows P; the hold-down bolts of a tank floor follow F. Mixing the two is how a lid treated as light ends up under several tonnes.
Relative vs. absolute pressure: which one to use and when
Both figures are printed. They are not interchangeable.
Gauge pressure* is what a workshop gauge reads after zeroing in open air: ρgh alone. It is the extra push on a gate, a porthole or a tank wall, the atmosphere already on the dry face. Absolute pressure adds the ambient atmosphere, 1.013 bar at sea level. That sum is required when the liquid meets a vacuum — cavitation at a pump suction, a boiling point, dissolved gas, or dive physiology.
- Structures, valves, rams, presses — gauge. Air acts on at least one face.
- NPSH, steam tables, dissolved oxygen — absolute.
- Altitude — Patm falls (about 0.85 bar at 1,500 m). The column term ρgh does not.
Shop-floor transmitters are almost always gauge. A datasheet that says “6 bar” with no suffix means 6 bar(g); absolute values are written bar(a) or bara. Vacuum is negative gauge: −0.4 bar(g) is 0.6 bar(a) at sea level.
Centre of pressure on a submerged surface: where the resultant force actually acts
On a horizontal floor the pressure is uniform, so the resultant passes through the centroid and F = P × A is the whole load. On a vertical face pressure grows with depth and the resultant moves down.
For a rectangle of width b from the free surface to depth H, the force equals the mid-depth pressure, ρgH/2, times the area bH. The diagram is a triangle, zero at the surface and ρgH at the bottom. Its resultant — the centre of pressure* — lies at 2H/3 below the free surface, one sixth of H below the geometric centre. Lock-gate hinges, a sluice ram and quay-wall steel see that lower line, not the middle of the panel.
F = ρ g b H² / 2 ; yP = 2H / 3 (from the free surface)
This page multiplies pressure at the stated depth by the area entered. That product suits a small patch at nearly constant depth — a sight glass, a branch, a floor drain. On a tall flat panel the force is still exact if the depth entered is that of the centroid: F = PG × A, with no approximation. What changes is where it acts. The centre of pressure sits lower, and it has to be worked out for the moment on hinges or pintles.
Pascal's principle and the hydraulic press: the link to hydrostatic pressure
In a fluid at rest, pressure applied at one point is felt, undiminished, in every direction. That is Pascal's principle*.
ρgh is the background from the weight of the column. Further pressure from a piston or a pump is added everywhere in the connected volume. A hydraulic press is that statement with two pistons: small area and modest force, high pressure; large area, the same pressure, large force. Energy is not created — the small piston travels farther. From a column or a ram, that pressure is the same throughout the volume.
F2 / F1 = A2 / A1
On an oil circuit, ρgh is not always a rounding error. Ten metres of hydraulic oil (ρ ≈ 875 kg/m³) is already 0.86 bar: negligible against a 200 bar working pressure, and not negligible on a gravity return line.
Barometers, gauges and level sensors: measuring pressure or height
Three instruments, one relation, read either way.
- Torricelli's barometer infers absolute atmospheric pressure from a mercury column. 760 mmHg is 1.013 bar; the vacuum above the mercury is the zero of the scale.
- A plant gauge reads gauge pressure: Bourdon tube, diaphragm or piezoresistive cell, each compared with the atmosphere.
- A hydrostatic level probe inverts the relation. Placed on the floor and given the density, it displays metres. Water towers, food tanks and ballast tanks are read that way.
h = P / (ρ · g)
Density is where the reading goes wrong. Fresh water at 4 °C is not a 15 % brine, nor a fuel oil at 40 °C. A probe scaled for 998 kg/m³ reads about 3 % high in seawater, because dividing the seawater pressure by 998 × g overstates the height. Conversion to a height is valid only for the density of the fluid in the vessel.
Hydrostatic pressure in scuba diving: rules of thumb per 10 m
Divers are taught +1 bar for every 10 m of water. It is a rule of thumb, not a law. Fresh water (ρ = 998) gives 0.98 bar in 10 m; seawater (ρ = 1,025) gives 1.01 bar. Near enough to 1 bar for the boat rule to stay at 1 bar per 10 m.
At 20 m, gauge pressure is about 2 bar and absolute pressure about 3 bar. Three litres of lung air at the surface occupy one litre.
At 40 m the absolute pressure is 5 bar. Air consumption, no-stop time and cylinder endurance follow absolute pressure, not gauge. The same arithmetic covers a working diver, an ROV or a diving bell. A viewport at 50 m sees about 5 bar gauge, and on 200 cm² the force is 10 kN — a tonne of push. The glass is sized on gauge pressure; physiology is stated in absolute pressure.
Communicating vessels: why the level equalises regardless of shape
Two tanks joined at the bottom, same homogeneous liquid, both free surfaces open to the air, come to one level. Volumes need not match. A capillary and a 20 m³ tank finish at the same elevation, because pressure at a given height has to agree across the connection. If it does not, liquid flows until ρgh balances.
Different liquids do not stand at one height. Water in one limb and oil in the other follow the balance below, the oil standing higher — the balance mercury gauge glasses on boilers used.
ρwater · hwater = ρoil · hoil
A water tower is that balance in service: while the free surface stands above the tap, pressure reaches the tap, and the tank outline does not enter P = ρ g h. A siphon runs only while the discharge lies below that surface, the head being the difference of elevation. A closed valve or an air lock leaves each vessel alone.
Worked example: force on a pool drain gate or a dam gate
A swimming pool holds 2.50 m of water at 20 °C over a floor drain 0.50 m × 0.50 m (0.25 m²).
P = 998 × 9.81 × 2.50 = 24,476 Pa ≈ 0.245 bar
F = 24,476 × 0.25 ≈ 6,120 N ≈ 620 kgf
Over 600 kgf on the plate. The stem carries that force; a handwheel chosen by eye does not match it. The floor is horizontal, so the centre of pressure is the middle of the plate and P × A from this page is the load.
The same sums on a dam sluice, 8.00 m of water at the centre of a leaf 1.20 m × 1.50 m (1.80 m²), give P ≈ 0.78 bar and F ≈ 141 kN — fourteen tonnes. On a gate several metres tall the centre of pressure falls below the centroid, and the moment on the pintles is not the mid-height moment. The form gives a first sense of the load. The shaft is machined from the integrated pressure diagram.
Working in metres of water (mWG)
The pascal* is the SI unit: 1 Pa = 1 N/m². Pump curves are not published in pascals. Plant language is the bar (105 Pa) and, more often, metres of water gauge (mWG, sometimes mH2O). 10 mWG ≈ 0.98 bar ≈ 1 bar. Head, friction loss and the duty point are stated in metres of fluid.
A head* stated in metres has to name its fluid. Ten metres of oil at 875 kg/m³ is 0.86 bar by ρ g h, not the 0.98 bar of ten metres of water. Pipe flow and diameter are argued in the metres already printed on the pump curve.
Density, temperature and the fluids in the menu
The menu offers 998 (water at 20 °C), 1,025 (seawater), 875 (hydraulic oil) and 840 (diesel). Working figures, not constants. Water at 4 °C is 1,000 kg/m³, and nearer 972 kg/m³ at 80 °C. Seawater at 35 g/kg of salt is not estuarine water. An ISO VG 46 oil at 15 °C does not keep the same density at 60 °C.
On a valve, a miss of 2 or 3 % on density sits inside the safety factor. On a level transmitter, or a fiscal dip, that 2 % is the measurement, and ρ is entered for the fluid in the vessel.
When the liquid is no longer at rest
The relations above are for liquid at rest. Once it moves, static pressure falls where the speed rises. A tapping in a bend, an outlet on a tank that is draining, or an overflow weir does not read ρgh.
A live pipeline or a pump suction is not sized on ρgh alone. That product is a pressure at rest, the static head. Moving liquid carries friction — a pipe head loss — plus a velocity head and sometimes water hammer. Pump power has to cover the elevation and the loss. Everything beyond ρgh is dynamics.
Glossary
- Hydrostatic pressure
- Pressure from the weight of a fluid at rest. Under a free surface, P = ρ g h, independent of the vessel's plan shape.
- Density
- Mass per unit volume, symbol ρ, in kg/m³. At a given depth, hydrostatic pressure is proportional to density.
- Head
- Column height that matches a pressure, h = P / (ρ g), often in metres of liquid or metres of water gauge.
- Pascal
- SI unit of pressure, symbol Pa: one newton per square metre. One bar equals 105 Pa.
- Centre of pressure
- Point of action of the resultant on a submerged surface. On a vertical rectangle down to depth H it lies at 2H/3, below the geometric centre.
- Gauge pressure
- Pressure above the local atmosphere, as a workshop gauge reads it. Absolute pressure adds atmospheric pressure to the gauge value.
- Pascal's principle
- In a fluid at rest, pressure applied at one point is transmitted undiminished through the fluid and to the walls.