Sub topic 9
Pressure variation with depth
Prerequisites and scope
This chapter assumes you know Newton's laws and free-body diagrams, the definition of density, and basic SI unit handling. It builds on the chapter on pressure and density. It leads into Pascal's law, barometers and manometers, buoyancy, and Bernoulli's theorem, all of which reuse the result derived here.
By the end you should be able to derive P = P0 + ρgh, apply it to layered liquids and accelerating containers, and avoid the usual JEE traps with gauge and absolute pressure.
The core result
Pressure is the normal force per unit area, P = F/A. In a fluid at rest, pressure at a point acts equally in all directions, and it depends only on depth. It does not depend on the shape of the container or the horizontal position.
Derivation from force balance
Take a thin horizontal slab of fluid at depth y below the free surface. Its area is A and its thickness is dy. The fluid has uniform density ρ. The slab is in equilibrium, so the vertical forces cancel:
- Downward: the force from the fluid above, P·A, and the slab's weight, ρ·A·dy·g.
- Upward: the force from the fluid below, (P + dP)·A.
Setting the sum to zero gives (P + dP)A = PA + ρgA dy, so
dP/dy = ρg
For an incompressible liquid with constant ρ, integrating from the surface (depth 0, pressure P0) to depth h gives
P = P0 + ρgh
Here P0 is the pressure at the free surface, usually atmospheric pressure, 1.013 × 10^5 Pa. The term ρgh is the gauge pressure, which is the pressure above the surface value.
Key consequences
- Points at the same depth in the same connected fluid at rest have the same pressure.
- Pressure increases linearly with depth. For water, ρg ≈ 9800 Pa per metre, so about 1 atm of extra pressure for every 10 m.
- Only vertical height h matters. A long slanted tube and a short vertical one reaching the same depth give the same pressure.
- The force on the base of a container equals PA. It can be larger or smaller than the liquid's weight (the hydrostatic paradox).
Worked calculation
The code below computes absolute and gauge pressure at 10 m depth in water.
# Absolute pressure at depth h in water: P = P0 + rho * g * h
P0 = 101325.0 # atmospheric pressure in Pa
rho = 1000.0 # density of water in kg/m^3
g = 9.8 # m/s^2
h = 10.0 # depth in m
P = P0 + rho * g * h
gauge = rho * g * h
print(f"absolute pressure = {P:.0f} Pa")
print(f"gauge pressure = {gauge:.0f} Pa")The output is an absolute pressure of 199325 Pa and a gauge pressure of 98000 Pa. The absolute value is roughly twice atmospheric pressure, which matches the rule of thumb of one extra atmosphere per 10 m.
Gauge versus absolute pressure
| Quantity | Definition | Can it be negative? |
|---|---|---|
| Absolute pressure | Pressure measured from a perfect vacuum | No |
| Gauge pressure | Absolute pressure minus atmospheric pressure | Yes (suction) |
A tyre gauge reading of 2 atm means the absolute pressure inside is 3 atm. A negative gauge pressure means the fluid is below atmospheric pressure, as in a drinking straw.
Layered and multiple fluids
When several immiscible liquids sit in layers, add the contribution of each layer:
P = P0 + ρ1 g h1 + ρ2 g h2 + ...
Each ρ and h belongs to its own layer. Pressure is continuous across the interface between layers. There is no jump in pressure at the boundary.
Example: oil on water
A tank holds 0.40 m of oil (ρ = 800 kg/m³) floating on 0.60 m of water. The gauge pressure at the bottom is
ρoil g hoil + ρwater g hwater = 800(10)(0.40) + 1000(10)(0.60) = 3200 + 6000 = 9200 Pa
using g = 10 m/s². Do not apply one density to the whole depth.
Force on a vertical wall
Pressure grows with depth, so the force on a vertical wall is not P·A evaluated at the top or bottom. For a rectangular wall of width w extending from depth 0 to depth H, the pressure rises from 0 to ρgH (gauge). The force is the average pressure times area:
F = (ρgH/2)(wH) = ½ ρ g w H²
This force acts at a depth 2H/3 from the surface, below the midpoint, because the lower part carries more pressure. For a wall that is not at the surface, use the pressure at the centroid of the wall, Pc, so F = Pc A. Remember that this force is the same as the average of the gauge pressure times the area, not the pressure at the bottom times the area.
Fluids in accelerating containers
The equation dP/dy = ρg assumes equilibrium. If the container accelerates, replace g with an effective gravity that includes the acceleration.
Vertical acceleration
If a container accelerates upward with acceleration a, the same slab argument gives dP/dy = ρ(g + a), so
P = P0 + ρ(g + a)h
An upward acceleration raises pressure at depth. Free fall (a = −g downward) gives zero gauge pressure, which is why water does not press on a container in free fall.
Horizontal acceleration
If a container accelerates horizontally with acceleration a, the pressure now varies with horizontal position as well. The free surface tilts, and it is perpendicular to the effective gravity g_eff = g − a (as vectors). The surface angle θ with the horizontal satisfies
tan θ = a/g
Pressure in the fluid still increases in the direction of g_eff. Between two points at the same depth but separated horizontally by a distance d along the direction of acceleration, the pressure difference is ρ a d.
The code below checks the tilt angle and the pressure difference for a tank accelerating at 2.5 m/s².
import math
g = 10.0 # m/s^2
a = 2.5 # horizontal acceleration of the tank, m/s^2
rho = 1000.0 # kg/m^3
d = 0.8 # horizontal separation of two points at equal depth, m
theta = math.degrees(math.atan(a / g))
delta_P = rho * a * d
print(f"surface tilt = {theta:.2f} degrees")
print(f"pressure difference = {delta_P:.0f} Pa")The tilt is 14.04 degrees and the pressure difference is 2000 Pa. The pressure is higher at the rear point, the one farther from the direction of acceleration.
Compressibility and the limits of the formula
P = P0 + ρgh assumes constant density and constant g. Both assumptions hold well for liquids over practical depths. Gases need more care.
- For a liquid, ρ changes by a few percent at ocean-trench pressures, so the formula is a good approximation in JEE problems.
- For the atmosphere, density falls with height, so pressure does not drop linearly over kilometres. Over a few metres, treating ρ as constant is acceptable.
- For heights of a few metres in air, ρgh is tiny (about 12 Pa per metre), so it is usually neglected unless the problem points to it.
Common errors
- Forgetting P0 when the question asks for absolute pressure.
- Using the length of a slanted tube instead of the vertical depth.
- Using the density of one liquid for all layers.
- Treating the force on a vertical wall as bottom pressure times area.
- Using g instead of g + a in an accelerating lift, or ignoring the tilt of the surface in horizontal acceleration.
- Mixing units, for example cm of water with Pa, without converting.
Exercises
Exercise
A cylindrical tank 3.0 m deep is filled with water (ρ = 1000 kg/m³). Taking g = 10 m/s² and P0 = 1.0 × 10^5 Pa, find the absolute pressure at the bottom and the net force on a square hatch of side 0.50 m at the bottom, if the air outside the tank is at atmospheric pressure.
Show answer
Absolute pressure at the bottom: P = 1.0 × 10^5 + 1000(10)(3.0) = 1.3 × 10^5 Pa. The atmosphere acts on the outside of the hatch, so the net pressure is the gauge pressure, 3.0 × 10^4 Pa. The hatch area is 0.25 m², so the net force is 3.0 × 10^4 × 0.25 = 7500 N.
Exercise
A rectangular dam wall is 20 m wide and holds water 5.0 m deep. Take ρ = 1000 kg/m³ and g = 10 m/s². Find the net horizontal force on the wall from the water (ignore the atmosphere, which acts on both sides) and the depth at which it acts.
Show answer
F = ½ ρ g w H² = ½ (1000)(10)(20)(5.0)² = 2.5 × 10^6 N. It acts at a depth of 2H/3 = 3.33 m below the surface.
Exercise
A lift carrying a water tank accelerates upward at 2.0 m/s². Taking g = 10 m/s², what is the gauge pressure at a depth of 1.5 m?
Show answer
P = ρ(g + a)h = 1000(10 + 2.0)(1.5) = 1.8 × 10^4 Pa.