Density and pressure are related, but they are not the same quantity: density measures mass per unit volume, while pressure measures force per unit area. In a fluid at rest, greater density makes pressure increase more rapidly with depth; in gases, changing pressure can also change density, depending on temperature and other conditions.
Formula
For a fluid at rest with constant density, pressure at depth is p = p₀ + ρgh. Gauge pressure, which excludes the pressure already present at the surface, is pg = ρgh.
- p is absolute pressure at the point, in pascals (Pa).
- p₀ is absolute pressure at the fluid surface, in Pa. An open surface exposed to standard atmospheric pressure is approximately 101,325 Pa.
- ρ (rho) is fluid density, in kilograms per cubic metre (kg/m³).
- g is gravitational acceleration, in metres per second squared (m/s²); 9.80665 m/s² is the conventional standard value used in this example.
- h is vertical depth below the surface, in metres (m).
The units check: (kg/m³)(m/s²)(m) = kg/(m·s²) = Pa. The calculator assumes a uniform, stationary fluid and a constant value of gravitational acceleration. Density must be entered in kg/m³, depth in metres, and pressure in pascals.
Worked Example
For the defaults, the fluid has density 1000 kg/m³, the depth is 2 m, surface pressure is 101325 Pa, and g is 9.80665 m/s².
First calculate the pressure added by the water column:
pg = ρgh = (1000 kg/m³)(9.80665 m/s²)(2 m) = 19613.3 Pa.
Then add surface pressure to get absolute pressure:
p = p₀ + pg = 101325 Pa + 19613.3 Pa = 120938.3 Pa ≈ 120938.30 Pa.
The calculator rounds both outputs to two decimal places: gauge pressure is 19613.30 Pa and pressure at depth is 120938.30 Pa. The second value is absolute pressure; the first is the increase above the surface pressure.
Assumptions
- The fluid is at rest, with constant density throughout the stated depth.
- Gravity is uniform and equals the entered value.
- The pressure at the surface is absolute pressure. For an open surface, the default approximates standard atmospheric pressure.
- The calculation describes pressure variation with height, not pressure losses caused by flow, friction, or equipment.
What Density Does to Pressure in a Fluid
Pressure is force divided by area. In a fluid, pressure at a point comes from the surrounding fluid pushing in all directions. At greater depth, more fluid lies overhead, so its weight contributes more pressure. The relation ρgh expresses this effect: pressure increase is proportional to density, gravity, and vertical depth.
For example, at the same depth and under the same gravity, a fluid twice as dense produces twice the gauge pressure. Likewise, doubling depth in a uniform fluid doubles the pressure increase. These comparisons concern the pressure difference from the surface; absolute pressure also includes the surface pressure.
Density is commonly defined as ρ = m/V, where m is mass and V is volume. Its SI unit is kg/m³. Water near ordinary room temperature has a density close to 1000 kg/m³, though its exact density changes with temperature and pressure. Seawater is generally denser than fresh water, so at equal depth it produces a somewhat larger hydrostatic pressure increase.
Density and Pressure in Gases
In a gas, pressure and density are connected through the gas’s state, but density alone does not determine pressure in every situation. For an ideal gas, the relationship is p = ρRsT, where p is absolute pressure in Pa, ρ is density in kg/m³, T is absolute temperature in kelvins, and Rs is the gas-specific constant in J/(kg·K). At fixed temperature and for the same gas, higher density means higher pressure.
This helps explain why compressing a gas in a sealed container usually raises its pressure: the same gas occupies less volume, so its density rises, and its molecules collide with the container walls more often. If temperature changes during compression, the pressure change also reflects that temperature change. For real gases, especially at high pressures or near condensation, the ideal-gas approximation can become inaccurate.
In Earth’s atmosphere, pressure decreases with altitude because less air lies overhead. Density also usually decreases with altitude, but the exact relationship depends on temperature and atmospheric conditions. The simple fluid formula p = p₀ + ρgh is not generally adequate over large altitude changes because air density is not constant.
Pressure, Density, and Common Misconceptions
A common misconception is that a denser object always experiences greater pressure. Density by itself does not set pressure: the surrounding conditions matter. A small amount of dense liquid in a shallow layer can exert less pressure at its base than a deeper column of a less-dense liquid. The hydrostatic contribution depends on the product ρh, as well as gravity.
Another important distinction is pressure versus force. Pressure is force per area, so the same pressure can act over different areas and produce different total forces. A diver’s depth determines the surrounding water pressure, but the total force on a surface also depends on that surface’s area.
Pressure in a fluid at rest at the same elevation is the same in all directions at a point. This does not mean pressure is identical everywhere in a container: it increases with depth. The shape of the container does not change the hydrostatic pressure at a given depth when the fluid, gravity, and surface pressure are the same.
When the Simple Relationship Needs Care
The calculator is useful for estimating pressure below a liquid surface, comparing fluids at equal depth, and understanding the basis of manometers and many hydrostatic measurements. It is not a complete model for every pressure problem. Check these factors before relying on the result:
- Changing density: If density varies substantially with depth, use the hydrostatic relation in integral form, p − p₀ = ∫ρ(z)g dz, rather than treating density as one constant.
- Moving fluid: Flow can introduce velocity effects and pressure losses. A static-column calculation alone does not describe pumps, pipes, or rapidly moving fluids.
- Different pressure reference: Absolute pressure is measured from a vacuum; gauge pressure is measured relative to local atmospheric pressure. Make sure a given surface or instrument value uses the reference you intend.
- Unit errors: Convert centimetres to metres and grams per cubic centimetre to kg/m³ before using the formula. For instance, 1 g/cm³ = 1000 kg/m³.
For a tall water column or a liquid whose density changes appreciably with temperature or composition, a more detailed model may be appropriate. For gases over significant height, atmospheric models account for changing density and temperature rather than assuming one constant density.
Frequently Asked Questions
Does higher density always mean higher pressure?
No. For a stationary fluid at a fixed depth, with the same gravity and surface pressure, higher density gives a larger pressure increase. In other situations, pressure also depends on temperature, volume, motion, and boundary conditions.
What is the relationship between density and pressure at depth?
For a uniform fluid at rest, the pressure increase is pg = ρgh. It grows in direct proportion to density and depth. Add the pressure at the surface to find absolute pressure.
Does pressure affect density?
It can. Gases are compressible, so increasing pressure at a fixed temperature generally increases gas density. Liquids are much less compressible, so their density usually changes less under ordinary pressure changes.
Why does pressure decrease as altitude increases?
There is less air above a higher location, so the weight of the overlying atmosphere is smaller. Air density generally falls too, although its precise value depends on temperature and weather.
Is pressure the same as force?
No. Pressure is force divided by area. The force on a surface is pressure multiplied by area when pressure is uniform over that surface.
Related
Formula used
in rho | Fluid density | kg/m^3 | 1000 | 0 in g | Gravitational acceleration | m/s^2 | 9.80665 | 0 in h | Depth below surface | m | 2 | 0 in p0 | Pressure at surface | Pa | 101325 | 0 out p | Pressure at depth | Pa | p0 + rho * g * h | 2 out pg | Gauge pressure | Pa | rho * g * h | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Pressure p1 and Density d1 in Fluid Mechanics1,000.000 kg/m³
- Vapor Density from Vapor Pressure: What You Need0.736 kg/m³
- Speed Density Pressure Triangle Calculator-141.3323 kg/m³ or kPa or °C
- Steam Density at Pressure: Calculate It for Water Vapor0.588 kg/m^3
- Speed Density Pressure Calculator and MAP Math46.40 g/s
- Speed Density Pressure Calculator and MAP Basics100,687.03 kPa absolute