Audited 27 Jul 2026·Last updated 28 Oct 2026·5 citations·Tier 1·0 uses

Bernoulli Equation Calculator

Solve Bernoulli's equation for pressure, speed or height at a second point in steady, frictionless, incompressible flow, with total head at both points.

Bernoulli Equation Calculator

Solve for unknown
Solved unknown
313,613.3
The unknown you chose, in its own unit: P₂ in pascals, v₂ in metres per second, or h₂ in metres above your datum.
Total head at point 1
35.7954
Total head at point 2
35.7954
Dynamic pressure difference
6,000

Background.

Water speeding up through a narrower section of pipe loses pressure, which is the opposite of what most people expect when they picture fluid being squeezed. Bernoulli's equation is the bookkeeping behind that result. Along a streamline in steady flow, with friction ignored and density constant, the sum P + ½ρv² + ρgh stays fixed: static pressure, plus the kinetic energy carried by each cubic metre of fluid, plus its potential energy from height. Whatever one term gains, the other two must give up.

Give the pressure, speed and height at one point, two of the three at a second point, and the fluid's density, and the equation returns the missing one. Solving for P₂ tells you what a gauge downstream should read. Solving for v₂ gives the speed that a pressure drop or a fall in height can produce, which is how a Pitot tube turns a pressure reading into airspeed and how a draining tank's jet speed follows from its depth. Solving for h₂ gives the elevation consistent with the other readings, which turns out to be a neat way to measure friction losses. Alongside the answer come the total head at each point, the same energy written as a height of fluid in metres, and the change in dynamic pressure between them.

The arithmetic takes three lines; deciding whether a problem fits the equation takes more care. It describes an ideal fluid: no friction at the walls, no pump or turbine between the two points, no change in density, nothing varying with time. Short contractions, nozzles, free jets and tanks come close. A long pipe does not, because friction steadily drains head that the ideal equation insists is still there. Air qualifies only while it moves slowly compared with the speed of sound, roughly below a third of it. And a computed pressure below the liquid's vapour pressure means the real liquid would flash into vapour bubbles at that point, something the ideal equation knows nothing about. The calculator accepts speeds up to 100 m/s and refuses a solved pressure below zero, which no fluid can have; a solved pressure that is positive but below the vapour pressure is still returned, so compare it with the vapour pressure yourself.

Everything is in SI units: pascals, metres per second, metres and kilograms per cubic metre.

What is bernoulli equation calculator?

Bernoulli's equation is conservation of mechanical energy for a moving fluid, written per unit volume: P + ½ρv² + ρgh is constant along a streamline. P is the static pressure, the pressure a gauge travelling with the fluid would read; ½ρv² is the dynamic pressure, the kinetic energy per cubic metre; and ρgh is the potential energy per cubic metre above a chosen datum. Each term is in pascals, which are the same as joules per cubic metre. Divide through by ρg and every term becomes a length — pressure head, velocity head and elevation head — whose sum is the total head. Daniel Bernoulli's Hydrodynamica of 1738 set out the trade between pressure and speed; the equation as written today comes from integrating Euler's equation of motion along a streamline for steady, inviscid, constant-density flow. Where the flow is also irrotational, the constant is the same everywhere, and the equation can link any two points rather than only points on one streamline.

How to use this calculator.

  1. Pick the quantity to find in Solve for unknown: P₂, v₂ or h₂. Whatever is in that quantity's own field is ignored, so you do not need to clear it.
  2. Enter Fluid density (ρ) in kg/m³: about 1,000 for fresh water (998 at 20 °C), about 1,025 for seawater, and 1.225 for air at sea level in the standard atmosphere.
  3. Enter P₁, v₁ and h₁ for the first point, then the two known values at point 2. Pressures are in pascals: multiply kPa by 1,000, bar by 100,000 and psi by 6,894.76. Use gauge or absolute pressure at both points, never a mix, and switch to absolute if either point is below atmospheric, because the pressure fields take no negative values; the standard atmosphere is 101,325 Pa.
  4. Measure both heights from the same datum, which can be anywhere; points below it take negative heights. Only the difference h₁ − h₂ affects a solved pressure or speed, while the total heads shift with the datum you choose.
  5. Leave Gravitational acceleration at 9.80665 m/s², the standard value, unless a problem specifies otherwise. Real gravity at the Earth's surface only ranges from about 9.78 to 9.83 m/s², so it rarely matters.
  6. Check the answer against what the equation cannot see: a computed pressure below the fluid's vapour pressure (about 2.34 kPa absolute for water at 20 °C) means the ideal result no longer describes the real flow. Speeds above 100 m/s are refused, because beyond roughly Mach 0.3 in air the density no longer stays constant, and a solved pressure below zero is refused as impossible.

The formula.

P + ½ρv² + ρgh = constant

Rearranged for each unknown, the equation gives P₂ = P₁ + ½ρ(v₁² − v₂²) + ρg(h₁ − h₂); v₂ = √[v₁² + 2(P₁ − P₂)/ρ + 2g(h₁ − h₂)]; and h₂ = h₁ + (P₁ − P₂)/(ρg) + (v₁² − v₂²)/(2g).

The pressure form shows both trades at once. Speeding up costs pressure in proportion to the difference of the squared speeds, scaled by density: for water, going from 2 to 4 m/s costs 500 × (16 − 4) = 6,000 Pa. Dropping in height adds pressure at ρg per metre, 9,806.65 Pa per metre for water at 1,000 kg/m³, which is why every 10 m of depth adds roughly one atmosphere. With both speeds zero the equation reduces to the hydrostatic law, P₂ = P₁ + ρg(h₁ − h₂). Because speed enters squared, it dominates at high velocity and barely registers at low: at 1 m/s water's velocity head is about 5 cm.

In the velocity form, the quantity under the root is the speed squared that the available energy can buy. If it comes out negative, point 2 would need more energy than point 1 supplies and there is no real answer. That usually means the pressures or heights have been swapped, or something such as a pump is adding energy between the points.

The total head, H = P/(ρg) + v²/(2g) + h, states the same energy in metres of the fluid. The solver enforces the equation exactly, so the heads at the two points always come out equal; they are there to show the energy line in the units pump curves and tank levels use. The dynamic pressure difference, ½ρ(v₂² − v₁²), is the part of the pressure change due to speed alone, positive when point 2 is faster.

The derivation assumes constant density, no viscosity, steady flow, and points on one streamline or in irrotational flow. Velocity in a real pipe runs from zero at the wall to a maximum at the centre, so using the average speed understates the kinetic-energy term, by a factor of two in slow laminar flow and only by a few per cent in turbulent flow. Engineers handle wall friction by adding a head-loss term h_L on the downstream side, usually from the Darcy–Weisbach equation; nothing of the kind is subtracted here.

A worked example.

Example

Water at 1,000 kg/m³ runs down a pipe from a point 5 m above the datum to one 3 m above it, and the pipe narrows so the speed doubles from 2 m/s to 4 m/s. The gauge at the upper point reads 300,000 Pa, and g is 9.80665 m/s². Solving for P₂: The change in speed costs ½ × 1,000 × (2² − 4²) = 500 × (4 − 16) = −6,000 Pa. The 2 m fall adds 1,000 × 9.80665 × 2 = 19,613.3 Pa. So P₂ = 300,000 − 6,000 + 19,613.3 = 313,613.3 Pa, about 313.6 kPa. The descent outweighs the acceleration, and the lower gauge reads higher than the upper one. In head terms, point 1 carries 300,000 ÷ 9,806.65 = 30.59 m of pressure head, 2² ÷ (2 × 9.80665) = 0.204 m of velocity head and 5 m of elevation, a total of 35.795 m. Point 2 has 31.98 m of pressure head, 0.816 m of velocity head and 3 m of elevation, which add up to the same 35.795 m. The dynamic pressure difference of 6,000 Pa is the price of the faster flow, and in a real pipe the lower gauge would read less than 313.6 kPa by whatever friction costs between the two points.

P1300,000
g9.807
rho1,000
h15
h23
v12
v24

Frequently asked questions.

How does a Pitot tube turn a pressure reading into airspeed?
Air stops dead at the tube's open nose, so the pressure there is the static pressure plus the full dynamic pressure, and v = √(2ΔP/ρ). To reproduce it, make point 1 the nose (v₁ = 0, P₁ = 101,925 Pa) and point 2 the static port (P₂ = 101,325 Pa) at the same height, with ρ = 1.225, and solve for v₂: 31.30 m/s, about 113 km/h. Aircraft instruments assume sea-level density, which is why indicated airspeed reads below true airspeed at altitude.
How fast does water leave a hole near the bottom of a tank?
As fast as if it had fallen freely from the water surface: v = √(2gH), Torricelli's result. Enter equal pressures at both points (both open to the air), v₁ = 0 at the surface, h₁ = 2 and h₂ = 0, and solve for v₂ to get 6.263 m/s for a 2 m depth. The flow rate through a sharp-edged hole is only about 60% of hole area times that speed, because the jet narrows just after leaving it.
Why does pressure fall where a pipe gets narrower?
The same volume per second has to pass through less area, so the water speeds up, and the energy for that comes out of pressure. Halving a pipe's diameter quarters its area and quadruples the speed: water at 1 m/s in a 100 mm pipe reaches 4 m/s in a 50 mm throat, and the pressure falls by 500 × (16 − 1) = 7,500 Pa. A venturi meter runs this backwards, inferring the flow from the measured drop.
Can I use it to measure friction loss between two gauges?
Yes, with the h₂ mode. Enter the measured pressures and speeds and solve for h₂: the elevation returned exceeds the true elevation of point 2 by exactly the head lost between the gauges. In a level pipe of constant diameter at 2 m/s, gauges reading 300,000 and 280,000 Pa give h₂ = 2.039 m, so friction has used 2.04 m of head over that stretch.
How high can a siphon lift water above its source?
Until the pressure at the crest reaches water's vapour pressure. With the source surface open to a standard atmosphere (P₁ = 101,325 Pa, v₁ = 0, h₁ = 0), a crest pressure of 2,339 Pa (water at 20 °C) and water moving at 2 m/s, solving for h₂ gives 9.890 m. With the water at rest the limit would be about 10.09 m. Real siphons fail lower, as dissolved air comes out of solution and friction takes its share.
Should I enter gauge pressure or absolute pressure?
Either, so long as both points use the same one: the solved pressure difference, speed or height is identical. The total heads differ by the atmosphere's own head, 101,325 Pa ÷ (1,000 × 9.80665) = 10.33 m for water. Because the pressure fields take no negative values, any point below atmospheric, such as a pump inlet or siphon crest, has to be entered as absolute pressure.
Does Bernoulli's equation work for air and other gases?
Yes, while the gas moves slowly compared with the speed of sound. Below about Mach 0.3, roughly 100 m/s in air at 20 °C, density changes by less than about 5% and the constant-density form is a good approximation. Faster than that, compressible-flow relations are needed. Nothing on the form flags a high gas speed, so check that yourself before relying on the result.
Does Bernoulli's principle explain how a wing makes lift?
It explains half of it. Measured over a wing, the faster flow above does sit at lower pressure than the slower flow below, exactly as the equation says. What it cannot tell you is why the air speeds up; that takes the whole flow field around the wing. The popular claim that air over the top must rejoin air from underneath at the trailing edge is false: the upper flow actually arrives first.
What if there is a pump or turbine between the two points?
The plain equation no longer balances, because the machine adds or removes energy. Since P₁ enters linearly, you can include a pump by adding ρg times its head to P₁: a pump delivering 20 m of head on water adds 1,000 × 9.80665 × 20 = 196,133 Pa. For a turbine, subtract the head it extracts in the same way, and solve as usual.

References& sources.

  1. [1]Bernoulli, D. (1738). Hydrodynamica, sive de Viribus et Motibus Fluidorum Commentarii. Dulsecker.
  2. [2]Batchelor, G.K. (1967). An Introduction to Fluid Dynamics. Cambridge University Press. ISBN 978-0-521-66396-0
  3. [3]White, F.M. (2016). Fluid Mechanics, 8th ed. McGraw-Hill. ISBN 978-1-259-69587-0
  4. [4]Anderson, J.D. (2017). Fundamentals of Aerodynamics, 6th ed. McGraw-Hill. ISBN 978-1-259-12991-9
  5. [5]CODATA (2018). Recommended Values of the Fundamental Physical Constants.

How this page was produced

Published by
Quanta Calculator
Primary sources
5 cited below
Method
P + ½ρv² + ρgh = constant
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon