Hydrostatic pressure

Calculate hydrostatic pressure using the values and assumptions you provide.

Calculate hydrostatic pressure using the values and assumptions you provide.

Both dots and commas are accepted as decimal separators.

Your inputs stay in your browser. Displayed results are rounded to a maximum of 12 significant digits.

Method and assumptions

Method version 1.0.0 · Updated

Calculate

Formula: p = ρgh, g = 9.80665 m/s²

Calculate hydrostatic pressure using the values and assumptions you provide.

density
Density (kg/m³)
depth
Depth (m)

Results depend on the assumptions entered; verify professional or safety-critical decisions independently.

Calculate with code

These short examples use the same inputs and core calculation as this tool. Adapt validation and formatting to your application.

JavaScript
const density = 1000, g = 9.80665, depthM = 2;
console.log(density * g * depthM); // 19613.3 Pa
TypeScript
const density = 1000, g = 9.80665, depthM = 2;
const pressure: number = density * g * depthM;
console.log(pressure); // 19613.3 Pa
Python
print(1000 * 9.80665 * 2)  # 19613.3 Pa
Java
System.out.println(1000 * 9.80665 * 2); // 19613.3 Pa
C#
Console.WriteLine(1000 * 9.80665 * 2); // 19613.3 Pa