Calcady
Home / Scientific / Bernoulli's Equation Solver

Bernoulli's Equation Solver

Solve Bernoulli's fluid dynamics equation for unknown pressure, velocity, or elevation at any point in a pipe or flow system. Includes continuity equation for area changes.

Solve for unknown fluid dynamics across varying pipe diameters, pressures, and elevations using aerodynamic energy balance equations.

kg/m³

Location 1

Pa
m/s
m

Location 2

Pa
m/s
m

Solved Output

v₂ (Velocity at Point 2)

Calculation Result

10.1980
m/s
Email LinkText/SMSWhatsApp

Quick Answer: How do you use Bernoulli's Equation to solve for unknown pressure or velocity?

Bernoulli's Equation: P1 + ½ρv1² + ρgh1 = P2 + ½ρv2² + ρgh2. The equation states that the sum of pressure energy, kinetic energy, and potential energy is constant along a streamline. To use it: know 5 of the 6 variables (P1, v1, h1, P2, v2, h2) and solve for the 6th. Worked example — water pipe narrows from 4″ to 2″ diameter at the same elevation, entering at 5 ft/s and 30 psi: Continuity gives v2 = 5 × (4/1)² = 20 ft/s. Bernoulli gives P2 = 30 psi − ½ρ(v2²−v1²) = 27.5 psi. The 4:1 area ratio quadrupled velocity and dropped pressure by 2.5 psi — this pressure drop is exactly how Venturi meters measure flow rate.

Common Fluid Densities & Vapor Pressures for Bernoulli Calculations

Density (ρ) is the most critical input after pressure and velocity. Use actual process temperature — water density drops from 1000 to 983 kg/m³ between 4°C and 60°C, shifting your kinetic energy term by 1.7%. Vapor pressure matters for cavitation analysis at pump inlets and Venturi throats.

Fluid Density (kg/m³) Density (slug/ft³) Vapor Pressure at 20°C
Water (20°C)998 kg/m³1.936 slug/ft³2,337 Pa (0.339 psi)
Water (60°C)983 kg/m³1.907 slug/ft³19,940 Pa (2.89 psi) — cavitation risk rises sharply
Air (sea level, 20°C)1.204 kg/m³0.00234 slug/ft³N/A (gas, no vapor pressure)
Air (2,000 m altitude)1.007 kg/m³0.00195 slug/ft³N/A (16% less dense than sea level)
Gasoline720–750 kg/m³1.40–1.45 slug/ft³~55,000 Pa (8 psi) — very high cavitation risk
Hydraulic Oil (ISO 32)860–880 kg/m³1.67–1.71 slug/ft³< 1 Pa (essentially zero)
For air and compressible gases at velocities above Mach 0.3 (~102 m/s or 335 ft/s), Bernoulli's incompressible form introduces significant error. Use the compressible isentropic flow equations instead. Below Mach 0.3, the incompressible Bernoulli error is less than 0.5% and can be safely ignored.

Real-World Bernoulli Applications

Application Which Terms Dominate Key Relationship
Venturi Flow MeterP and v — same elevationQ = A2√(2ΔP / ρ(1−(A2/A1)²)) — measure ΔP, calculate volumetric flow
Pitot Tube (Airspeed)P and v — same elevationv = √(2ΔP/ρ) — stagnation pressure minus static pressure gives dynamic pressure
Water Tank Drainh and v — P = atm both endsv = √(2gh) (Torricelli's theorem) — drain velocity depends only on head height
Pump Pressure RiseP and h — v often equals at suction/dischargeP2 = P1 + ρgHpump − ρgΔh — add head loss term for real systems
Airfoil Lift (simplified)P and v — same elevation top/bottomvupper > vlower → Pupper < Plower → net upward lift force
Note: the airfoil lift calculation using Bernoulli alone (circulation not included) gives the correct pressure distribution but requires the Kutta-Joukowski theorem to correctly sum total lift force. Bernoulli describes why faster-moving air has lower pressure — but the reason the upper surface has faster air is due to circulation, not simply the longer path length (the “longer path” explanation is a common misconception in textbooks).

Pro Tips & Common Bernoulli Mistakes

Do This

  • Always apply the continuity equation first to find the unknown velocity before using Bernoulli. If you know pipe diameters at both points and one velocity, the continuity equation (A1v1 = A2v2) gives you the second velocity for free. Then Bernoulli has only one unknown. Skipping continuity and trying to solve Bernoulli with two unknowns requires additional information that may not be available.
  • Check for cavitation after solving: verify P2 > vapor pressure at operating temperature. At a Venturi throat, pump suction, or valve orifice, the calculated static pressure can go below the fluid's vapor pressure — meaning the liquid will flash to vapor. For water at 20°C, Pvapor = 2,337 Pa (absolute). If your Bernoulli result gives a static pressure below this, the flow will cavitate and the actual flow rate will be significantly lower than calculated.

Avoid This

  • Don't apply the ideal Bernoulli equation to long pipe runs without adding head loss. Bernoulli assumes frictionless flow. Real pipes have viscous friction losses (Darcy-Weisbach: hL = f × (L/D) × v²/(2g)) that reduce outlet pressure. For a 100-ft pipe at moderate velocity, friction losses can easily exceed 5–10 psi — more than the static head or kinetic energy terms you're trying to calculate. The extended Bernoulli (sometimes called the energy equation) adds hL to the right-hand side. Always include friction when pipe length is more than ∼20 pipe diameters.
  • Don't confuse static pressure, dynamic pressure, and total pressure. Static pressure (P): what a pressure gauge reads — the force per unit area on a surface parallel to flow. Dynamic pressure (½ρv²): the pressure rise when flow is brought to rest (stagnation). Total (stagnation) pressure: P + ½ρv² — what a Pitot tube reads. Bernoulli says total pressure is constant (for inviscid flow). A pressure gauge on a pipe wall reads static pressure — not total pressure.

Frequently Asked Questions

What are the assumptions of Bernoulli's equation and when does it break down?

The four assumptions are: 1) Steady flow (flow conditions don't change with time at any point). 2) Incompressible flow (density is constant — valid for liquids and gases below Mach 0.3). 3) Inviscid (frictionless) flow (no viscous losses along the streamline). 4) Along a streamline (you cannot apply Bernoulli between two points that are not on the same streamline unless the flow is also irrotational). It breaks down in: long pipe runs with significant friction; turbulent mixing zones; flow through pumps, fans, or turbines (which add/remove energy); high-speed compressible gas flow; and near flow separations where streamlines diverge. For real pipe networks, use the extended Bernoulli equation (energy equation) which adds pump head and subtracts head loss terms.

How does Bernoulli's equation explain the Venturi effect and flow metering?

When a pipe narrows (Venturi throat), the continuity equation forces velocity to increase: v2 = v1(A1/A2). Then Bernoulli says the increased kinetic energy (½ρv2²) must come at the expense of pressure: P2 = P1 − ½ρ(v2²−v1²). The resulting pressure difference ΔP = P1−P2 is measurable with a differential pressure gauge. Solving for volumetric flow rate: Q = A2√(2ΔP / ρ(1−(A2/A1)²)). In practice, multiply by a discharge coefficient Cd (typically 0.95–0.98 for well-designed Venturi meters) to correct for real-fluid friction losses at the throat. This is the most accurate and lowest-pressure-loss flow measurement method available for large pipes — which is why Venturi meters are standard on major water mains and industrial process lines.

What is cavitation and how do I check for it using Bernoulli?

Cavitation occurs when the local static pressure drops below the fluid's vapor pressure, causing the liquid to vaporize and form vapor bubbles. These bubbles collapse violently when they move to higher-pressure zones downstream, causing intense localized pressure spikes (>10,000 psi) that erode metal surfaces within hours. To check: solve Bernoulli for P2 at the minimum-pressure point (usually the throat or pump suction), then compare to Pvapor at operating temperature. For water: Pvapor = 2,337 Pa at 20°C; 19,940 Pa at 60°C; 101,325 Pa at 100°C (boiling). If P2 (absolute) < Pvapor, cavitation will occur. Fixes: increase upstream pressure, reduce flow velocity, increase throat/orifice area, lower fluid temperature, or use a back-pressure valve to raise system pressure. Cavitation is the leading cause of premature pump failure in process industries.

Is Bernoulli's equation valid for air and gas flow?

Yes, for low-speed airflow (below Mach 0.3 — approximately 102 m/s or 335 ft/s at sea level). At these speeds, air compressibility is negligible and the density can be treated as constant. This covers the vast majority of HVAC duct flows, wind tunnel speeds below ∼70 m/s, low-speed aerodynamics (cars, buildings, drones), and most industrial ventilation. For speeds above Mach 0.3, compressibility effects become significant and the standard Bernoulli equation systematically overpredicts dynamic pressure. At Mach 0.5, the error is about 6%; at Mach 1.0, it is completely invalid. For compressible flow, use the isentropic flow relations: P0/P = (1 + (γ−1)/2 × M²)γ/(γ−1) where γ = 1.4 for air and M is the local Mach number.

Related Calculators