Home/Mechanical Engineering/Hydrostatic Pressure

Formula & Calculator

Hydrostatic Pressure

Calculates the pressure exerted by a fluid at a given depth due to the weight of the fluid above it.

Mechanical EngineeringFluid MechanicsCalculator

Hydrostatic Pressure CalculatorFluid Statics

P = ρ · g · h
P = pressure  ·  ρ = fluid density  ·  g = gravitational acceleration  ·  h = depth
⟹ SolveP, ρ, g, h
Pa
kg/m³
m/s²
m
Please fix the errors above.
Solve for:
Presets:
Pressure
P: ρ: g: h:
✓ Copied!
Pressure Gauge
Low (< 50 kPa) Moderate (50–500 kPa) High (> 500 kPa)
P = ρ · g · h  ·  Standard gravity g = 9.81 m/s²; density of water ≈ 1000 kg/m³ at 4°C.

Interpretation

Hydrostatic pressure is the pressure exerted by a fluid at rest due to its weight. It increases linearly with depth: P = ρ·g·h. This pressure acts equally in all directions and is independent of the shape of the container.

P = rho * g * h
Hydrostatic Pressure

Variables

SymbolQuantityUnit
PHydrostatic pressurePa
rhoFluid densitykg/m3
gGravitational acceleration9.81 m/s2
hDepth below the fluid surfacem

What it means

Hydrostatic pressure is the pressure at a point within a fluid at rest. It is given by P = ρ g h, where ρ is the fluid density, g is the acceleration due to gravity, and h is the depth of the point below the free surface. This equation assumes incompressible fluid and constant density. Pressure increases linearly with depth, meaning that at greater depths, the weight of the overlying fluid is greater. This pressure acts perpendicular to any surface and is isotropic (same in all directions). Hydrostatic pressure is fundamental in many fields: civil engineering (dam design), oceanography (submarine pressure), and mechanical engineering (hydraulic systems). It is also used in barometers and manometers to measure pressure. The concept of hydrostatic pressure leads to buoyancy forces (Archimedes' principle) and is the basis for pressure-driven flows. In engineering, it is important for calculating forces on submerged surfaces and for designing pressure vessels.

Worked example

Hydrostatic Pressure – Two Examples

Real‑World
Scenario 1 – Deep Water: Depth 10 m in fresh water (ρ=1000 kg/m³). Find gauge pressure.
ParameterValue
ρ1000 kg/m³
h10 m
1P = ρ·g·h = 1000×9.81×10 = 98,100 Pa ≈ 98.1 kPa
ResultP ≈ 98.1 kPa
Scenario 2 – Oil Tank: Oil density 850 kg/m³, depth 5 m. Find pressure.
ParameterValue
ρ850 kg/m³
h5 m
1P = 850×9.81×5 = 41,692 Pa ≈ 41.7 kPa
ResultP ≈ 41.7 kPa
Key insight: Hydrostatic pressure increases linearly with depth and depends on fluid density.

Common mistakes

  • Density ρ: Use the density of the fluid – for water, ~1000 kg/m³.
  • Depth h: Vertical depth from the free surface, not the distance along a sloped surface.
  • Gauge vs. absolute: This gives gauge pressure (relative to atmospheric); add atmospheric for absolute.
  • Units: ρ in kg/m³, g in m/s², h in m → Pa.
  • Constant density: Assumes incompressible fluid; for gases, density changes with depth.

Applications

Hydrostatic pressure is the pressure exerted by a fluid at rest due to its weight, increasing linearly with depth. This principle is fundamental in dam design, submarine hull analysis, and underwater construction. It also governs the operation of hydraulic presses, water towers, and manometers. In geotechnical engineering, hydrostatic pressure affects soil stability and groundwater flow. In meteorology, atmospheric pressure follows the same principle. Engineers must account for hydrostatic forces when designing tanks, retaining walls, and offshore structures to prevent leakage, buckling, or uplift. The calculation of pressure at depth is also essential for scuba diving and underwater exploration, ensuring safety and operational effectiveness.

  • Dam and reservoir design (hydrostatic load)
  • Submarine and underwater vessel pressure resistance
  • Hydraulic press and water tower design
  • Geotechnical analysis of groundwater effects
  • Meteorological pressure and altitude calculations

Frequently Asked Questions

Q01What is hydrostatic pressure and what is its formula?
A01

Hydrostatic pressure is the pressure exerted by a fluid at rest due to gravity. The formula is P = ρ·g·h, where ρ is the fluid density, g is the gravitational acceleration, and h is the depth below the free surface. It gives the gauge pressure relative to the surface pressure.

Q02What is the difference between gauge pressure and absolute pressure in hydrostatics?
A02

Gauge pressure is P_gauge = ρ·g·h (ignoring atmospheric pressure). Absolute pressure is P_abs = P_atm + ρ·g·h. In many engineering calculations, gauge pressure is used; but in thermodynamics and some fluid mechanics, absolute pressure is required. The distinction is a common source of error.

Q03What are the common mistakes when applying the hydrostatic pressure formula?
A03

  • Forgetting to add atmospheric pressure when absolute pressure is needed.
  • Using the wrong density – ρ depends on temperature and, for gases, on pressure. For water, ρ ≈ 1000 kg/m³.
  • Using depth incorrectly – h is the vertical distance from the free surface, not along an incline.
  • Using g in the wrong unit system – ensure g = 9.81 m/s² (SI) or 32.2 ft/s² (imperial).

Q04How does hydrostatic pressure vary with depth in a liquid with constant density?
A04

The pressure increases linearly with depth. At the free surface (h=0), P = 0 (gauge). At depth h, P = ρgh. This linear relationship is the basis for manometers and pressure gauges.

Q05What is the concept of 'pressure head' and how is it related to hydrostatic pressure?
A05

Pressure head is the height of a fluid column that would produce a given pressure: h = P / (ρ·g). It is often expressed in meters of water (m H₂O) or feet of fluid. Head is used in pump and turbine calculations because it is easier to measure than pressure.

Q06How do you calculate the pressure at the bottom of a tank with a sloping bottom?
A06

Pressure depends only on the vertical depth, not on the path. So even if the bottom is sloped, the pressure at a given point is ρ·g·h, where h is the vertical distance from the free surface to that point. The shape of the container does not matter.

Q07What is the hydrostatic paradox?
A07

The hydrostatic paradox states that the pressure at the bottom of a container depends only on the height of the liquid, not on the total volume or shape. Therefore, a narrow tube and a wide tank with the same water height exert the same pressure at the bottom, even if the total weight of water is different.

Q08How is hydrostatic pressure used in the design of dams and retaining walls?
A08

Water pressure on a dam increases linearly with depth. The total force on the dam is the integral of pressure over the submerged area, resulting in F = ½·ρ·g·H²·W (for a vertical wall). The centre of pressure (where the resultant acts) is at one‑third of the height from the bottom. This is critical for stability analysis.

Q09What is the effect of temperature on hydrostatic pressure for a liquid?
A09

Temperature affects density. For water, density is maximum at 4°C; it decreases as temperature rises. So for a fixed depth, the pressure will vary with temperature. In most engineering applications, the variation is small and often neglected, but in precise measurements (e.g., deadweight testers), it is accounted for.

Q10Can the hydrostatic pressure formula be used for gases?
A10

For gases, density is low and changes with pressure. For small heights (a few meters), the pressure variation is negligible (P ≈ constant). For large heights (e.g., atmospheric pressure variation with altitude), you must use the barometric formula: P = P₀·exp(−Mgz/RT). The simple ρgh formula is only for incompressible fluids.