molecalculator

Moles & Molar Mass

Density vs Pressure Graph: How to Read the Relationship

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

Estimated density 1,000.046 kg/m^3
Density change
0.046 kg/m^3
= Estimated density − Reference density
Reference density
1000 kg/m^3
Set in the form below
Reference pressure
101325 Pa
Set in the form below
You enter
Reference density (kg/m^3), Reference pressure (Pa), Pressure change (Pa), Isothermal compressibility (1/Pa)
You get
Estimated density (kg/m^3), Density change (kg/m^3)
Rounding
3 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.

A density–pressure graph shows how a material’s density changes as pressure changes; there is no single universal curve because the relationship depends on the material, temperature, and physical state. This calculator estimates density from pressure using a linear model: enter the reference density, reference pressure, pressure change, and compressibility, and it returns the estimated density and its change.

Formula

For a small pressure change at constant temperature, the calculator uses the linear approximation ρ ≈ ρ₀(1 + βΔp). Here, ρ is estimated density in kilograms per cubic metre (kg/m³), ρ₀ is density at the reference pressure in kg/m³, β is isothermal compressibility in inverse pascals (Pa⁻¹), and Δp is pressure change in pascals (Pa). The pressure at the new point is p = p₀ + Δp, where p₀ is reference pressure in Pa. The second output is Δρ = ρ − ρ₀, in kg/m³.

Compressibility describes how much volume changes when pressure changes. In differential form, β = −(1/V)(∂V/∂p) at constant temperature. For a fixed mass, density is mass divided by volume, so a small pressure increase gives approximately Δρ/ρ₀ = βΔp. The sign matters: a positive pressure change usually raises density, while a negative change lowers it within the model’s valid range.

Worked Example

Using the defaults, ρ₀ = 1000 kg/m³, p₀ = 101325 Pa, Δp = 100000 Pa, and β = 4.6 × 10⁻¹⁰ Pa⁻¹.

  • Calculate the fractional density change: βΔp = (4.6 × 10⁻¹⁰ Pa⁻¹)(100000 Pa) = 0.000046.
  • Estimate the new density: ρ = 1000 kg/m³ × (1 + 0.000046) = 1000.046 kg/m³, or 1000.046 when rounded to three decimal places.
  • Find the density change: Δρ = 1000.046 − 1000 = 0.046 kg/m³.
  • The corresponding pressure is p = 101325 + 100000 = 201325 Pa.

This is an illustrative water-like example, not a universal value for water at all temperatures and pressures. The chosen compressibility is an approximate input; consult reliable property data for the actual substance and conditions.

Assumptions

  • The material remains in one phase, with no chemical reaction or phase transition.
  • Temperature is constant, so the compressibility used is isothermal.
  • The pressure change is small enough for a first-order linear approximation.
  • The entered reference density and compressibility apply at the stated reference conditions.

What a Density–Pressure Graph Shows

Plot pressure on the horizontal axis and density on the vertical axis, or reverse the axes if that is useful for a particular application. Each plotted point should represent a measured or calculated pair at stated conditions. For most liquids and solids under ordinary conditions, the curve rises gently: raising pressure compresses the material and increases its density. For gases, density can change much more strongly with pressure.

A graph’s slope is meaningful only with its axis units and conditions. If density is vertical and pressure is horizontal, the local slope is ∂ρ/∂p. Near a reference point, the linear model gives a slope of approximately ρ₀β. A steep slope means density is sensitive to pressure; a shallow slope means it changes relatively little. A curved graph indicates that the response is not constant across the plotted range.

Why the Relationship Depends on the Material

For an ideal gas at constant temperature, the ideal gas law gives ρ = pM/(RT), where ρ is in kg/m³, p is absolute pressure in Pa, M is molar mass in kg/mol, R = 8.31446261815324 J/(mol·K), and T is absolute temperature in K. At fixed temperature and composition, ideal-gas density is directly proportional to absolute pressure. Real gases depart from this simple straight-line relationship, especially at high pressure or near condensation, and may require a compressibility factor or an equation of state.

Liquids are much less compressible than gases, so their density–pressure graph is often nearly flat over modest pressure intervals. Solids also commonly show small changes, but their response depends on composition, crystal structure, and mechanical behavior. Near a phase transition, the graph may change abruptly or cease to describe one continuous phase. Temperature must be controlled or recorded: heating usually changes density too, and a graph that mixes temperatures cannot isolate pressure’s effect.

How to Make and Interpret a Useful Graph

For experimental data, record pressure, temperature, density, units, and the method or source for every point. State whether pressure is absolute or gauge pressure. Use consistent units—such as Pa and kg/m³—and label both axes. A linear trendline is appropriate only over a range where the data support linearity; do not force a straight line through visibly curved data.

  • Choose pressure values that cover the range of interest without crossing an unaccounted-for phase change.
  • Use multiple points and, where practical, repeat measurements to reveal scatter and uncertainty.
  • Keep temperature constant or separate data into clearly identified temperature series.
  • Include uncertainty or error bars when measurement precision is important.
  • Compare the observed slope with a reliable compressibility or equation-of-state value for the substance.

The calculator provides a local estimate, not a fitted curve. Its result should not be treated as more precise than its inputs. In particular, entering an approximate β does not make the output a high-accuracy material property.

Common Misconceptions and Limits

Pressure is not density. Pressure is force per area, measured in pascals; density is mass per volume, measured in kg/m³. They are related through a material’s response, not interchangeable quantities. A graph’s shape cannot be inferred from the word “density” alone, and a pressure increase does not produce the same density increase in every substance.

Another common mistake is applying the liquid approximation to a gas, or applying any linear model over a large pressure range. The relation ρ ≈ ρ₀(1 + βΔp) neglects changes in compressibility and higher-order behavior. For gas calculations, use an appropriate gas law or real-gas model. For high pressures, large changes, or conditions near boiling, melting, or other transitions, use validated property data or a suitable equation of state. The tool is for educational and planning calculations, not a substitute for material-property measurements or engineering design review.

Frequently Asked Questions

Does density increase when pressure increases?
Usually, yes, for a stable material at constant temperature: greater pressure compresses it and raises density. The size of the change depends strongly on the substance and conditions.

Is density directly proportional to pressure?
For an ideal gas at fixed temperature and composition, density is proportional to absolute pressure. For liquids, solids, and real gases, the relationship is generally not a universal direct proportionality.

Why is a liquid’s density–pressure graph nearly flat?
Liquids have low compressibility. A substantial pressure change often produces only a small volume and density change, so the plotted slope can look small on an ordinary graph scale.

Should I use gauge pressure or absolute pressure?
Use absolute pressure when applying gas laws. For a pressure change in the liquid linear approximation, Δp can be the difference between consistent pressure readings, but the reference pressure and material data must still match the conditions.

Can this calculator plot the full curve?
No. It estimates one density near a reference state using a single compressibility value. To build a curve, calculate or measure several points using condition-appropriate material data and plot them separately.

Related

Formula used
in rho0 | Reference density | kg/m^3 | 1000 | 0
in p0 | Reference pressure | Pa | 101325 | 0
in dp | Pressure change | Pa | 100000 | 0
in beta | Isothermal compressibility | 1/Pa | 4.6e-10 | 0
out rho | Estimated density | kg/m^3 | rho0 * (1 + beta * dp) | 3
out drho | Density change | kg/m^3 | rho - rho0 | 3

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 →