Skip to content
Test versionSearch

Mathematics

Liquid-column pressure, depth and layers

Calculate pressure from density and depth, solve for depth, or check the pressure at each boundary in a column of layered liquids.

How it worksFAQRelated tools

Content reviewed:

Edit the example values, press Calculate and download the result if you need it. Editing or resetting clears the result; nothing is automatically saved.

A scenario for static, incompressible liquids with constant entered gravity and density. Enter your own density; there are no fluid presets or inferred temperature/salinity values. The default values are arbitrary editable examples. Gauge pressure here means the liquid-column contribution above the entered surface pressure. Absolute pressure adds that surface pressure. Choose Pa, kPa or bar for BOTH entered pressure fields; changing this selector retains the entered numbers and does not convert them. Results identify their pressure units explicitly. Inverse absolute pressure must not be below surface pressure. A zero scalar depth is valid. In layer mode enter density in kg/m³, semicolon, thickness in metres, one pair per line in top-to-bottom order. Use a decimal point or comma, no thousands separator, headers or blank interior rows. All layers must have positive density and thickness. Each row shows its pressure increment and cumulative depth, gauge and absolute pressure at its bottom boundary. Up to 100 layers and 1 MiB of text; total depth at most 10⁶ m, density at most 10⁶ kg/m³, gravity at most 100 m/s², entered pressure after unit conversion at most 10¹² Pa. These are computational bounds, not an accuracy or physical applicability guarantee. Inactive fields do not affect the calculation. No gas compressibility, capillary, dynamic, thermal or mixing correction. This is not a diving, pressure-vessel, safety or equipment-design assessment. Scenario CSV/TXT preserve complete long or multiline layer input as numbered JSON-text parts. Decode each part and join in order to recover the exact entered text. Lists exceeding collection capacity keep their full native record; use the native JSON export.

Decimal results are approximate. Inputs stay in this browser tab.

How it works

Own static liquid-column algebra: liquid pressure sums density × gravity × thickness; absolute pressure adds entered surface pressure. No design approval. A scenario for static, incompressible liquids with constant entered gravity and density. Enter your own density; there are no fluid presets or inferred temperature/salinity values. The default values are arbitrary editable examples. Gauge pressure here means the liquid-column contribution above the entered surface pressure. Absolute pressure adds that surface pressure. Choose Pa, kPa or bar for BOTH entered pressure fields; changing this selector retains the entered numbers and does not convert them. Results identify their pressure units explicitly. Inverse absolute pressure must not be below surface pressure. A zero scalar depth is valid. In layer mode enter density in kg/m³, semicolon, thickness in metres, one pair per line in top-to-bottom order. Use a decimal point or comma, no thousands separator, headers or blank interior rows. All layers must have positive density and thickness. Each row shows its pressure increment and cumulative depth, gauge and absolute pressure at its bottom boundary. Up to 100 layers and 1 MiB of text; total depth at most 10⁶ m, density at most 10⁶ kg/m³, gravity at most 100 m/s², entered pressure after unit conversion at most 10¹² Pa. These are computational bounds, not an accuracy or physical applicability guarantee. Inactive fields do not affect the calculation. No gas compressibility, capillary, dynamic, thermal or mixing correction. This is not a diving, pressure-vessel, safety or equipment-design assessment.

Worked example

With these example values the calculator gives the result below. You can change any value in the form above.

Inputs

Calculation mode
Pressure from depth
Entered density (kg/m³)
1000
Depth (m)
2
Entered gravity (m/s²)
10
Unit for both pressure inputs
kPa
Absolute surface pressure in selected unit
100

Result

Entered density (kg/m³)
1000
Calculated or entered depth (m)
2
Entered gravity (m/s²)
10
Entered absolute surface pressure (Pa)
100000
Liquid-column pressure (Pa)
20000
Liquid-column pressure (kPa)
20
Liquid-column pressure (bar)
0.2
Absolute pressure (Pa)
120000
Absolute pressure (kPa)
120
Absolute pressure (bar)
1.2

Frequently asked questions

How do I calculate pressure at a given depth in a liquid?

Enter density and depth. Liquid pressure sums density × gravity × thickness, and absolute pressure adds your entered surface pressure.

Can I solve for depth instead?

Yes. You can solve for depth from a pressure, and inverse absolute pressure must not be below surface pressure.

How do I enter layered liquids?

In layer mode, enter density in kg/m³, a semicolon, then thickness in metres, one pair per line from top to bottom.

What do pressure units apply to?

Choose Pa, kPa or bar for both entered pressure fields. Changing the selector keeps the numbers and does not convert them.

What limits apply to layers?

Up to 100 layers and 1 MiB of text. Total depth at most 10⁶ m, density at most 10⁶ kg/m³ and gravity at most 100 m/s².

What does the calculator not include?

No gas compressibility, capillary, dynamic, thermal or mixing correction, and no diving, pressure-vessel, safety or equipment-design assessment.