Bernoulli equation calculator
This Bernoulli equation calculator solves the mechanical energy balance between two points of a steady, incompressible flow, P₁/ρg + v₁²/2g + z₁ + hp = P₂/ρg + v₂²/2g + z₂ + hL, for the downstream pressure, velocity or elevation or for the head loss, and adds a Torricelli card for liquid draining from a tank.
Bernoulli equation calculator with pump head and head loss
Bernoulli equation from flow rate and pipe diameters
Torricelli: flow from an orifice in a tank
How to use the Bernoulli equation calculator
Choose what you want to solve for in the first panel of the Bernoulli equation calculator: the pressure, velocity or elevation at point 2, or the head loss between the points. Enter the density, the values at point 1 and the known values at point 2, plus any pump head added in between and the friction and fitting loss. With hp = 0 and hL = 0 the tool is the classic frictionless Bernoulli equation. If you know the flow rate and the pipe sizes rather than the velocities, use the second panel, which computes both velocities from Q and the inside diameters and can also run backwards to find the flow from a measured pressure difference. The third panel applies Torricelli’s law to a tank draining through an orifice. Every result of the Bernoulli equation calculator lists the pressure, velocity and elevation heads at both points, so you can see where the energy goes.
The Bernoulli equation calculator formula: mechanical energy balance
For steady flow of an incompressible fluid along a streamline, with no friction and no work added, the sum of pressure energy, kinetic energy and potential energy per unit weight is constant. Engineers extend it with a pump head and a loss term, which turns it into the mechanical energy balance used for every pumped line:
Each term is a height of fluid in meters: P/(ρg) is the pressure head, v²/(2g) the velocity head and z the elevation head; their sum is the total head H. hp is the head delivered by a pump and hL the head lost to friction and fittings. Multiply the whole equation by ρg to get the pressure form, P₁ + ρv₁²/2 + ρgz₁ + ρghp = P₂ + ρv₂²/2 + ρgz₂ + ρghL. The NASA Glenn Bernoulli page derives the frictionless form from energy conservation, and OpenStax University Physics, section 14.6 works through the pressure form with examples.
Assumptions of the Bernoulli equation calculator
Steady flow: nothing changes with time at either point. Incompressible: liquids, or gases with pressure changes below roughly 10 % (or Mach number below about 0.3). Along a streamline or a pipe: with mean velocities, the kinetic energy factor α is taken as 1, which is accurate for turbulent pipe flow (α ≈ 1.05) and underestimates laminar flow (α = 2). No heat transfer or phase change between the points. Friction is not part of the original Bernoulli equation; in the Bernoulli equation calculator the hL term carries it, and the Pressure Drop Calculator calculates it from pipe length, roughness and fittings.
Bernoulli equation calculator worked example: water rising 8 m
Water (ρ = 998.2 kg/m³) is at 250 kPa gauge and 1.2 m/s at point 1. Point 2 is 8 m higher, in a smaller pipe where the velocity is 2.7 m/s, and the friction and fittings between them cost 1.5 m of head. No pump is in between. Point 1 has a pressure head of 250,000 / (998.2 × 9.80665) = 25.54 m and a velocity head of 0.073 m, so H₁ = 25.61 m. At point 2 the velocity head is 0.372 m, so the pressure head is 25.61 − 1.5 − 0.372 − 8 = 15.74 m, and P₂ = 15.74 × 998.2 × 9.80665 = 154.1 kPa gauge. Of the 95.9 kPa drop, 78.3 kPa is lifting the water 8 m, 14.7 kPa is friction and 2.9 kPa accelerates it. These are the defaults of the first panel of the Bernoulli equation calculator. Switch to “Head loss” mode with P₂ = 154.08 kPa and you get back hL = 1.50 m: this is how head loss is measured from two pressure gauges.
Worked example: pressure at a reducer throat
In the second panel of the Bernoulli equation calculator, 20 m³/h of water flows from 77.9 mm pipe (v₁ = 1.166 m/s) into a 40 mm throat (v₂ = 4.421 m/s) at 150 kPa upstream. Ignoring losses, P₂ = 150,000 + 998.2 × (1.166² − 4.421²)/2 = 140.9 kPa, a fall of 9.08 kPa caused only by acceleration. Switching the mode of the Bernoulli equation calculator to “Flow from the two pressures” with P₂ = 140.92 kPa returns 20.0 m³/h: the principle of the venturi and orifice meters. The same panel reproduces the fire-hose example of OpenStax (40 L/s from a 6.40 cm hose to a 3.00 cm nozzle 10 m higher at 1.62 MPa gauge): the nozzle pressure comes out within a few kPa of atmospheric, as in the textbook.
Torricelli’s law in the Bernoulli equation calculator
For a liquid surface open to the atmosphere at height h above a small orifice, Bernoulli between the surface (v ≈ 0, P = atmospheric) and the jet (P = atmospheric) gives the ideal efflux velocity of a body falling freely through h. The real flow is smaller because the jet contracts (vena contracta) and loses a little energy; both effects are lumped into the discharge coefficient Cd:
The draining time follows from integrating At·dh/dt = −Q for a tank of constant cross-section At. In the third panel of the Bernoulli equation calculator, water 3 m above a 50 mm sharp-edged hole (Cd = 0.61) leaves at an ideal 7.67 m/s; the flow is 0.00919 m³/s (33.1 m³/h). A vertical tank 2 m in diameter drains completely in 2052 s, about 34 minutes, twice as long as the 3 m depth (9.42 m³) would take at the initial flow. The Torricelli’s law article covers the history and the vena contracta.
| Opening | Typical discharge coefficient Cd |
|---|---|
| Sharp-edged orifice in a thin wall | 0.60 – 0.62 |
| Re-entrant (Borda) tube, running free | 0.50 – 0.55 |
| Short cylindrical tube (about 2 to 3 diameters long) | 0.80 – 0.82 |
| Well-rounded (bell-mouth) nozzle | 0.95 – 0.98 |
Applications and common mistakes with a Bernoulli equation calculator
The Bernoulli equation calculator covers the everyday questions of plant hydraulics: the pressure at the top of a riser, the head a pump must add (rearrange for hp and convert it with the Pump Power Calculator), how much pressure is left at a spray nozzle, how fast a vessel empties, and the principle of pitot tubes and venturi meters. The velocities come from the Continuity Equation Calculator when the pipe size changes. Typical errors: mixing gauge and absolute pressure between the two points; forgetting that z is a height of the fluid, not of the pipe support; counting the exit loss twice (either include the outlet velocity head at point 2 or an exit K = 1 in hL, not both); using Bernoulli across a pump without hp; and applying it to gases with large pressure changes, where density cannot be treated as constant. If the computed pressure at any point falls near the vapor pressure, expect cavitation; for pump suction check the NPSH.
Related calculators
Get velocities from the flow rate with the fluid velocity calculator, the friction term h_L with the pressure drop calculator, and the pump duty with the pump power calculator. The Density Calculator helps with fluid properties.
- Continuity Equation Calculator
- Pressure Drop Calculator
- Pump Power Calculator
- Fluid Velocity Calculator
- Flow Rate Calculator
- Reynolds Number Calculator
- All chemical engineering calculators
Frequently asked questions
What does the Bernoulli equation calculator assume?
The Bernoulli equation states that in steady, incompressible, frictionless flow along a streamline, P + ½ρv² + ρgz is constant. When velocity rises, pressure falls, unless the elevation changes too. With a pump head and a loss term it becomes the mechanical energy balance used in pipe design.
Can the Bernoulli equation calculator include friction?
Yes. Enter the friction and fitting losses as the head loss h_L. In “Head loss” mode it works the other way and gives h_L from two measured pressures, velocities and elevations.
When is the Bernoulli equation not valid?
When the flow is unsteady, when a gas changes density appreciably (Mach number above about 0.3), across shocks, pumps or turbines without the work term, and where the liquid flashes or cavitates.
How fast does water flow out of a hole in a tank?
Ideally v = √(2gh): 4.43 m/s for 1 m of water above the hole, 7.67 m/s for 3 m. The volumetric flow is C_d·A·√(2gh) with C_d about 0.61 for a sharp-edged hole; the Torricelli panel of the Bernoulli equation calculator also gives the draining time.
Is this Bernoulli equation calculator free?
Yes. It runs in your browser, needs no sign-up and does not store or send the values you enter.