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

Bernoulli Equation Calculator

Solve Bernoulli's principle for fluid pressure, velocity, and elevation. For incompressible, inviscid flow in pipes and open channels.

Bernoulli Equation Calculator

Solve for unknown
Solved unknown
313,613.3
Total head at point 1
35.7954
Total head at point 2
35.7954
Dynamic pressure difference
6,000

Background.

The Bernoulli equation is the cornerstone of elementary fluid mechanics, relating pressure, velocity, and elevation for steady, incompressible, inviscid flow along a streamline. It was derived by Daniel Bernoulli in 1738 in his treatise Hydrodynamica, though the modern form was refined by Leonhard Euler. Engineers apply it to pipe flow metering, aircraft wing design, pump and turbine sizing, and the analysis of siphons, nozzles, and venturi tubes. The Bernoulli equation calculator solves for any one unknown among pressure, velocity, or elevation when the other quantities are specified, providing rapid verification of hand calculations and supporting iterative design workflows.

The canonical use case is the analysis of a venturi meter installed in a water pipeline. A venturi constricts the flow, raising the velocity and lowering the pressure in the throat relative to the upstream section. By measuring the pressure difference with a differential manometer, an engineer can compute the flow rate without inserting a mechanical obstruction. If the upstream pipe diameter is 100 mm, the throat diameter is 50 mm, and the pressure drop is 15 kPa, continuity gives v_throat = 4 × v_upstream. Applying Bernoulli between the upstream section and the throat yields the velocity, and multiplying by the cross-sectional area gives the volumetric flow rate. This calculation, repeated for multiple operating points, generates a calibration curve for the meter.

In aerodynamics, Bernoulli's principle explains lift generation at the subsonic speeds typical of general aviation. An airfoil is shaped so that air travelling over the curved upper surface moves faster than air beneath the flat lower surface. According to Bernoulli, the higher velocity on top corresponds to lower pressure, producing a net upward force. For a Cessna 172 at cruise, the pressure difference between the upper and lower surfaces is only a few kilopascals, but distributed over the wing area of 16 square metres this yields a lift force sufficient to support the aircraft mass of 1100 kg. The principle breaks down at transonic and supersonic speeds because compressibility becomes significant and shock waves form, but for incompressible flow it provides an excellent first approximation.

The physical content of the Bernoulli equation is the conservation of mechanical energy per unit mass along a streamline. The term P represents pressure work, ½v² represents kinetic energy, and gh represents gravitational potential energy. When the equation is divided by ρg, each term acquires dimensions of length and is interpreted as a head: pressure head, velocity head, and elevation head. Civil engineers prefer this form because pump curves and turbine specifications are given in metres of water head. The sum of the three heads is the total head, which is constant for ideal flow and decreases monotonically for real flow because of viscous dissipation and turbulence.

Strictly, the Bernoulli equation applies only under restrictive assumptions: steady flow, incompressible fluid, negligible viscosity, and along a single streamline. Real flows violate at least one of these conditions. Water in a pipe has viscosity, which creates wall shear and a parabolic velocity profile rather than the uniform velocity implied by a single v. Air at high speed is compressible, and its density changes with pressure. Unsteady flows, such as those in pulsating biological vessels or water hammer in pipelines, require the unsteady Bernoulli equation with an additional ∂φ/∂t term. Despite these limitations, the Bernoulli equation remains the first tool engineers reach for because it captures the essential trade-off between pressure and velocity and because its limitations are well understood.

What is bernoulli equation calculator?

The Bernoulli equation states that for an inviscid, incompressible fluid in steady flow, the quantity P + ½ρv² + ρgh is constant along any streamline. Each term represents energy per unit volume: pressure energy, kinetic energy, and gravitational potential energy. The equation is not an independent law of nature but a special case of the Navier-Stokes momentum equation integrated along a streamline under the assumptions of zero viscosity and constant density.

The SI units of each term are pascals (N/m²), which are dimensionally equivalent to joules per cubic metre. When divided by ρg, the terms become metres of fluid head. The equation is invalid across streamlines unless the flow is irrotational, and it is invalid through regions of significant viscosity, such as boundary layers, wakes, and fully developed pipe flow. It is also invalid for compressible flows where Mach number exceeds approximately 0.3, because density variations couple pressure and velocity nonlinearly. Despite these restrictions, the equation provides the conceptual foundation for venturi meters, pitot-static tubes, and pump head calculations in hydraulic engineering. Stagnation pressure, the sum of static and dynamic pressure, is measured by a Pitot tube aligned parallel to the flow and is the key quantity used to compute airspeed in aviation.

How to use this calculator.

  1. Select the fluid from the dropdown or enter a custom density in kg/m³.
  2. Enter the pressure, velocity, and elevation at the upstream point (point 1).
  3. Enter the known quantities at the downstream point (point 2).
  4. Select the unknown variable to solve for: P₂, v₂, or h₂.
  5. Verify that gravitational acceleration is set correctly for your location (default 9.80665 m/s²).
  6. Click Calculate to obtain the solved variable and the total head at both points.
  7. If total head at point 2 is significantly lower than at point 1, viscous losses dominate and the ideal-flow assumption may be invalid.

The formula.

P + ½ρv² + ρgh = constant

The Bernoulli equation can be derived from Newton's second law applied to a fluid particle. Consider a small cylindrical fluid element of cross-sectional area dA and length ds aligned with a streamline. The pressure forces on the two ends are P dA and (P + dP) dA, the gravitational force is ρg dA ds cosθ, and the acceleration is dv/dt. For steady flow, dv/dt = v dv/ds. Summing forces along the streamline and dividing by dA ds yields the Euler equation along a streamline: (1/ρ) dP/ds + v dv/ds + g dh/ds = 0. Integrating with respect to s from point 1 to point 2, and assuming constant density, gives P/ρ + v²/2 + gh = constant, which is equivalent to the Bernoulli equation after multiplication by ρ.

The restriction to inviscid flow is severe. Viscous fluids obey the Navier-Stokes equations, which include shear stress terms that dissipate mechanical energy into heat. In pipe flow, the Bernoulli equation is modified by adding a head-loss term h_L: P₁/ρg + v₁²/2g + h₁ = P₂/ρg + v₂²/2g + h₂ + h_L. The Darcy-Weisbach equation gives h_L = f (L/D) (v²/2g), where f is the Moody friction factor, L is pipe length, and D is diameter. The calculator does not compute h_L; it solves the ideal Bernoulli equation. Users analysing real pipe systems should add the Darcy-Weisbach loss separately or use a dedicated pipe-flow calculator.

For compressible flows, the assumption ρ = constant fails. The isentropic Bernoulli equation for an ideal gas replaces P/ρ with ∫ dP/ρ(P), which for isentropic flow evaluates to γ/(γ−1) × P/ρ, where γ is the heat capacity ratio. At Mach numbers below 0.3, the density variation is less than 5 percent and the incompressible form is acceptable. Above Mach 0.3, compressibility corrections or full computational fluid dynamics are required. The calculator is restricted to incompressible flow and warns the user if velocity exceeds the compressibility threshold for the selected fluid.

A worked example.

Example

A municipal engineer analyses a water distribution pipe that descends 2.0 metres from a reservoir outlet to a turbine inlet. At the reservoir, the pressure is 300 kPa gauge, the velocity is 2.0 m/s, and the elevation is 5.0 m above datum. At the turbine inlet, the velocity is 4.0 m/s and the elevation is 3.0 m. The engineer needs the inlet pressure to size the turbine. Using the Bernoulli equation calculator with water density 1000 kg/m³ and g = 9.80665 m/s², the engineer computes the total head at the reservoir: pressure head = 300000 / 9806.65 = 30.59 m, velocity head = 4.0 / 19.6133 = 0.204 m, elevation head = 5.00 m, giving a total of 35.79 m. At the turbine, velocity head = 16.0 / 19.6133 = 0.816 m and elevation head = 3.00 m. The correct rearrangement is P₂ = P₁ + ½ρ(v₁² − v₂²) + ρg(h₁ − h₂) = 300000 + 500 × (4 − 16) + 9806.65 × 2 = 300000 − 6000 + 19613 = 313613 Pa. The pressure increases because the elevation drop outweighs the velocity increase. The engineer records 313.6 kPa for turbine sizing.

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

Frequently asked questions.

Why does the calculator give different results from my pipe flow textbook?
The calculator implements the ideal Bernoulli equation without viscous losses, while real pipe flow textbooks include friction head loss using the Darcy-Weisbach or Hazen-Williams equations. In a long pipe, friction can consume the majority of the available head, so the pressure at the downstream end is far lower than the ideal prediction. For example, in a 100 m pipe of 50 mm diameter carrying water at 2 m/s, the Darcy-Weisbach head loss is approximately 4 m for a steel pipe with roughness 0.046 mm. The ideal Bernoulli equation would miss this entirely. Use the calculator for short transitions, nozzles, venturis, and free-surface flows where friction is secondary; use a pipe friction calculator for long pipelines.
Can the Bernoulli equation predict lift on an aircraft wing?
It provides a qualitative explanation and a first-order quantitative estimate for thin airfoils at low angles of attack and subsonic speeds. By integrating the pressure distribution obtained from Bernoulli along the wing surface, one can estimate the lift coefficient. However, the full explanation of lift requires circulation theory and the Kutta-Joukowski theorem, which account for viscous effects at the trailing edge that establish circulation. Bernoulli alone cannot explain why a flat plate at a small angle of attack generates lift, nor can it predict stall, which is a viscous separation phenomenon. The calculator is not an aerodynamics design tool; it solves one-dimensional streamline problems only.
What is the difference between static pressure and dynamic pressure?
Static pressure is the thermodynamic pressure measured by a gauge moving with the fluid or by a wall tap normal to the flow. Dynamic pressure is ½ρv², the kinetic energy per unit volume that would be converted to pressure if the flow were brought to rest isentropically. Total pressure, or stagnation pressure, is the sum P₀ = P_static + ½ρv². A Pitot tube measures stagnation pressure at its nose and static pressure at its side ports; the difference is the dynamic pressure, from which airspeed is computed. The Bernoulli equation is essentially a statement that total pressure is constant along a streamline in ideal flow. The calculator computes all three pressures when velocity and static pressure are provided.
Does the Bernoulli equation work for gases?
Only at low Mach numbers. For air at 20 °C, the speed of sound is approximately 343 m/s. At flow velocities below 100 m/s (Mach 0.3), density changes are less than 5 percent and the incompressible Bernoulli equation gives acceptable accuracy. Above Mach 0.3, compressibility must be accounted for using the isentropic flow relations: P₀/P = (1 + (γ−1)/2 × M²)^(γ/(γ−1)), where M = v/a is the Mach number and γ ≈ 1.4 for air. The calculator flags velocities exceeding Mach 0.3 for the selected fluid and suggests using a compressible flow calculator. For incompressible gases such as hydrogen at low pressure or any gas at very low velocities, the standard form applies without modification.
What is head and why do civil engineers use it?
Head is energy per unit weight of fluid, with dimensions of length. Dividing each term of the Bernoulli equation by ρg converts pressure head P/ρg, velocity head v²/2g, and elevation head h into metres of fluid column. This convention is convenient because pumps are rated in metres of head, not watts or pascals, and because water levels in reservoirs and tanks are naturally measured in metres. A pump that delivers 50 m of head can raise water 50 m vertically in an ideal system, regardless of pipe diameter. The calculator reports total head in metres as a secondary output for compatibility with civil and chemical engineering practice.
Why must the Bernoulli equation be applied along a single streamline?
The derivation integrates the Euler momentum equation along a path element ds tangent to the velocity vector. If points 1 and 2 lie on different streamlines, the constant of integration may differ because vorticity or external body forces can create variations in total head across streamlines. In irrotational flow, where the vorticity vector is zero everywhere, the Bernoulli constant is uniform throughout the flowfield and the equation applies between any two points. But in rotational flow—such as the wake behind a bluff body or the swirling flow in a stirred tank—total head varies across streamlines. The calculator assumes a single streamline or irrotational flow and does not check for vorticity.
Can the calculator solve for mass flow rate?
Not directly. The Bernoulli equation relates pressure, velocity, and elevation at two points, but mass flow rate ṁ = ρAv requires the cross-sectional area A at one of the points. If the user knows the pipe diameter at point 1, they can compute A₁ = πD₁²/4, multiply by v₁ and ρ to obtain ṁ, and then use continuity (ρA₁v₁ = ρA₂v₂) to find v₂ before applying Bernoulli. The calculator focuses on the energy equation and leaves mass flow to the continuity equation. Some venturi calculator implementations combine the two equations, but this tool preserves the separation for pedagogical clarity and to prevent errors from inconsistent area inputs.
What is cavitation and how does Bernoulli predict it?
Cavitation is the formation of vapour bubbles in a liquid when the local pressure drops below the vapour pressure. In a pump inlet, venturi throat, or propeller tip, high velocity reduces pressure according to Bernoulli. If P_drop < P_vapour, bubbles form, travel to higher-pressure regions, and collapse violently, producing noise, vibration, and erosion. The cavitation number Ca = (P_∞ − P_v) / (½ρv²) quantifies the margin. The calculator can identify the velocity at which P₂ would equal the vapour pressure of water at the operating temperature, providing a first-order cavitation warning. Detailed cavitation analysis requires NPSH (net positive suction head) calculations and empirical correction factors.
Is the Bernoulli equation a statement of energy conservation?
It is a statement of mechanical energy conservation for an inviscid fluid, but it is not the first law of thermodynamics. The first law includes internal energy, heat transfer, and shaft work; the Bernoulli equation omits these terms. In particular, viscous dissipation converts mechanical energy to internal energy (heat), which the Bernoulli equation cannot account for. The modified Bernoulli equation for real flows adds a head-loss term h_L that represents this dissipation, but h_L is an empirical correction rather than a fundamental thermodynamic quantity. The equation is therefore best understood as an integrated momentum equation with an energy interpretation, not as a universal energy balance.
When should I use the unsteady Bernoulli equation?
The unsteady form includes the local acceleration term ∂φ/∂t, where φ is the velocity potential. It is required when flow conditions change with time: water hammer in pipes caused by rapid valve closure, pulsatile blood flow in arteries, sloshing in fuel tanks, and transient pump start-up. The additional term is ∫(∂v/∂t) ds evaluated along the streamline between points 1 and 2. For slow transients where the time scale is much longer than the acoustic transit time L/a, the quasi-steady Bernoulli equation is often sufficient. The calculator implements only the steady form; users studying water hammer or pulsatile flow must use the unsteady equation or method of characteristics.

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.

In this category

Embed

Quanta Pro

Paid features are coming later.

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