molecalculator

Moles & Molar Mass

Density and Pressure: How They Are Related

Calculator No. 01-2149 · Updated · Formula and assumptions shown below

Gauge pressure increase 98,066.50 Pa
Gauge pressure increase
98.0665 kPa
= Gauge pressure increase ÷ 1000
Fluid density
1000 kg/m^3
Set in the form below
Gravitational acceleration
9.80665 m/s^2
Set in the form below
You enter
Fluid density (kg/m^3), Gravitational acceleration (m/s^2), Depth below surface (m)
You get
Gauge pressure increase (Pa), Gauge pressure increase (kPa)
Rounding
2 dp · 4 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

Density and pressure are related, but there is no single formula that makes one determine the other in every situation. For a stationary fluid, pressure usually increases with depth according to the fluid’s density; for a gas, pressure and density are linked by temperature and the gas’s molecular mass through the equation of state.

Formula

This calculator finds the increase in gauge pressure below the surface of a stationary fluid: Δp = ρgh. Here, Δp is the pressure increase in pascals (Pa), ρ is fluid density in kilograms per cubic metre (kg/m³), g is gravitational acceleration in metres per second squared (m/s²), and h is depth in metres (m). The second output converts pascals to kilopascals using 1 kPa = 1000 Pa.

The relationship assumes a uniform-density fluid and constant gravity. It calculates pressure above the pressure at the free surface, not absolute pressure. To get absolute pressure, add the surface pressure, often approximately atmospheric pressure for an open container.

Worked Example

Using the calculator’s default values—ρ = 1000 kg/m³, g = 9.80665 m/s², and h = 10 m:

  1. Apply the hydrostatic equation: Δp = ρgh.
  2. Substitute the inputs: Δp = (1000 kg/m³)(9.80665 m/s²)(10 m) = 98,066.5 Pa.
  3. Convert to kilopascals: 98,066.5 Pa / 1000 = 98.0665 kPa.

The calculator reports 98,066.50 Pa and 98.0665 kPa, with the displayed precision set by each output.

Assumptions

  • The fluid is stationary, with constant density throughout the stated depth.
  • Gravity is constant at the entered value.
  • The result is gauge pressure increase relative to the surface; it is not absolute pressure.
  • The model does not include motion, viscous pressure losses, or changes in density caused by compression or temperature.

What Density and Pressure Measure

Density describes how much mass is contained in a given volume: ρ = m/V. Its SI unit is kg/m³. Water near ordinary room conditions has a density close to 1000 kg/m³, though its exact value varies with temperature and dissolved substances. Air is far less dense under typical atmospheric conditions, at roughly 1.2 kg/m³ near room temperature and sea-level pressure.

Pressure is force per unit area: p = F/A. Its SI unit, the pascal, is one newton per square metre (N/m²). Pressure can arise from a fluid’s weight, molecular collisions, or an applied force. The fact that both quantities describe matter does not make them interchangeable: density is mass per volume, while pressure is force per area.

Why Pressure Rises with Depth

In a stationary liquid, deeper layers must support the weight of the liquid above them. A deeper point therefore experiences a greater pressure than a shallower point. For constant density, the increase is proportional to depth and density: doubling either one doubles the pressure increase. This is the hydrostatic relation used in the calculator.

For example, at 10 m below the surface of water with density 1000 kg/m³, the gauge pressure increase is about 98 kPa. In a lake or ocean open to the atmosphere, absolute pressure at that depth is approximately the surface atmospheric pressure plus this increase. The exact result depends on local atmospheric pressure, water density, depth, and gravity.

The relationship also explains why a denser liquid creates a larger pressure difference over the same height. A column of mercury, which is much denser than water, can balance atmospheric pressure with a far shorter column. Pressure at a given depth does not depend on the container’s overall shape: it depends on depth, density, gravity, and pressure at the surface.

How Gas Pressure Relates to Density

A gas is compressible, so pressure and density change together as the gas is compressed or expanded. For an ideal gas, the equation pV = nRT can be rearranged using density ρ = mass/volume and molar mass M:

p = ρRT/M

In this expression, p is absolute pressure in pascals, ρ is gas density in kg/m³, R is the universal gas constant, 8.31446261815324 J/(mol·K), T is absolute temperature in kelvins, and M is molar mass in kg/mol. At fixed temperature and for the same gas, pressure is proportional to density. If temperature or gas composition changes, density alone is not enough to determine pressure.

For instance, compressing air into a smaller volume generally raises its pressure and density if temperature is held steady. Heating a gas in a container that can expand may instead increase its volume, with pressure staying nearly constant. In a sealed rigid container, heating usually raises pressure while the gas density remains nearly unchanged because its mass and volume are fixed.

Gauge Pressure, Absolute Pressure, and Common Mistakes

Gauge pressure is measured relative to the surrounding pressure, while absolute pressure is measured from a vacuum. Many depth calculations produce a gauge pressure difference. Confusing that increase with absolute pressure leads to an incorrect answer unless the surface or ambient pressure is added.

  • Do not use the wrong depth: h is the vertical distance below the fluid surface, not the length of a sloping path.
  • Check units: convert centimetres to metres and grams per litre to kilograms per cubic metre before using SI values. For example, 1 g/L = 1 kg/m³.
  • Use the right density: temperature, salinity, and composition can affect a fluid’s density.
  • Do not apply the simple liquid formula to every gas: gas density may vary substantially with height or pressure, and the ideal-gas relation requires temperature and molar mass.

In a fluid with changing density, pressure change is more generally calculated by integrating density times gravity over vertical depth. For ordinary shallow liquid calculations, treating density as constant is often a useful approximation. In moving fluids, pressure differences may also reflect flow speed and friction, so the hydrostatic equation alone may not describe the full system.

Frequently Asked Questions

Does higher density always mean higher pressure?
No. In a stationary fluid column of the same depth and under the same gravity, higher density means a larger pressure increase. But density by itself does not set pressure in every situation; temperature, container conditions, motion, and surface pressure can matter.

Can pressure be calculated from density alone?
Not generally. For a liquid, you also need depth and gravity to calculate the hydrostatic increase. For an ideal gas, you need temperature and molar mass as well as density to calculate absolute pressure.

Does pressure increase with depth in a liquid?
Yes. For a stationary liquid with uniform density, the increase is Δp = ρgh. This means pressure rises linearly with vertical depth under those assumptions.

What is the difference between density and pressure?
Density is mass divided by volume; pressure is force divided by area. They have different meanings and units, although physical laws connect them in fluids and gases.

Is pressure at the same depth equal in every direction?
In a stationary fluid, pressure at a point acts equally in all directions. At a given depth in a connected fluid, pressure is the same when the fluid is at rest and the relevant conditions are the same.

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 | 10 | 0
out p | Gauge pressure increase | Pa | rho * g * h | 2
out pk | Gauge pressure increase | kPa | p / 1000 | 4

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

The whole Moles & Molar Mass section →