# Bernoulli Equation Solver (Velocity / Pressure / Elevation)

Solve the Bernoulli equation p/(ρg) + v²/(2g) + z = const for steady, ideal, incompressible flow between two points on a streamline. Supply all three upstream quantities (p₁, v₁, z₁) and any two of the three downstream quantities; the tool solves for the third. Solve velocity: v₂ = √[v₁² + 2(p₁-p₂)/ρ + 2g(z₁-z₂)] — a negative radicand is physically impossible and is rejected. Solve pressure: p₂ = p₁ + ½ρ(v₁²-v₂²) + ρg(z₁-z₂). Solve elevation: z₂ = z₁ + (p₁-p₂)/(ρg) + (v₁²-v₂²)/(2g). g = 9.81 m/s². Density in kg/m³/g/cm³, pressure in Pa/kPa/bar/atm/psi, velocity in m/s, elevation in m/cm/ft. The upstream pressure/velocity/elevation heads and the total head are also reported.

> Canonical page: https://elysiatools.com/en/tools/bernoulli-equation-solver

- **Category:** Math & Numbers

- **Keywords:** Bernoulli, Bernoulli equation, streamline, pressure head, velocity head, elevation head, total head, fluid mechanics, ideal flow, incompressible

## Overview

The Bernoulli Equation Solver calculates downstream velocity, pressure, or elevation for steady, ideal, incompressible flow along a streamline. Enter the three upstream values, two downstream values, fluid density, and units to obtain the missing quantity along with upstream pressure, velocity, elevation, and total heads.

## Inputs

- **Unknown to Solve** (select): Which downstream quantity to solve for: velocity v₂, pressure p₂, or elevation z₂. Provide the other two downstream quantities.
- **Fluid Density ρ** (number): Fluid density ρ. Enter in the selected Density Unit.
- **Density Unit** (select)
- **Upstream Pressure p₁** (number): Upstream (point 1) pressure p₁. Enter in the selected Pressure Unit.
- **Upstream Velocity v₁** (number): Upstream (point 1) velocity v₁ in m/s.
- **Upstream Elevation z₁** (number): Upstream (point 1) elevation z₁. Enter in the selected Length Unit.
- **Pressure Unit** (select)
- **Velocity Unit** (select)
- **Length Unit** (select)
- **Downstream Pressure p₂ (leave blank if solving p₂)** (number): Downstream (point 2) pressure p₂. Enter in the selected Pressure Unit. Required unless solving for p₂.
- **Downstream Velocity v₂ (leave blank if solving v₂)** (number): Downstream (point 2) velocity v₂ in m/s. Required unless solving for v₂.
- **Downstream Elevation z₂ (leave blank if solving z₂)** (number): Downstream (point 2) elevation z₂. Enter in the selected Length Unit. Required unless solving for z₂.
- **Decimal Places** (number)

## When to use

- Calculate downstream velocity from pressure and elevation changes in an ideal flow.
- Find downstream pressure when velocity and elevation at both points are known.
- Determine the downstream elevation required to maintain the same Bernoulli head.

## How it works

- Select whether to solve for downstream velocity v₂, pressure p₂, or elevation z₂.
- Enter upstream pressure p₁, velocity v₁, elevation z₁, and fluid density.
- Enter the two downstream quantities that are known, leaving the selected unknown blank.
- Choose supported units and decimal places, then review the calculated result and reported upstream heads.

## Use cases

- Estimate velocity changes through a pressure-reducing or Venturi-style section.
- Check pressure and elevation relationships in ideal pipeline or channel-flow calculations.
- Verify fluid mechanics homework, design calculations, and streamline energy balances.

## Frequently asked questions

### What equation does the tool solve?

It solves p/(ρg) + v²/(2g) + z = constant using g = 9.81 m/s².

### Which downstream value can I calculate?

You can calculate downstream velocity v₂, pressure p₂, or elevation z₂.

### What values are required?

Provide p₁, v₁, z₁, fluid density, and two of p₂, v₂, and z₂.

### Which units are supported?

Density supports kg/m³ and g/cm³; pressure supports Pa, kPa, bar, atm, and psi; elevation supports m, cm, and ft; velocity uses m/s.

### What happens if the velocity calculation has a negative radicand?

The tool rejects it because a negative radicand is physically impossible for the velocity formula.

## Related tools

- [Mass Flow Rate Converter (kg/s / lb/h / t/h)](https://elysiatools.com/en/tools/flow-rate-mass-converter): Convert mass flow rate between kg/s (kilograms per second, SI base), lb/h (pounds per hour, 1 lb = 0.45359237 kg), and t/h (tonnes per hour, 1 t = 1000 kg). Converts via kg/s to the target unit and also lists the equivalent value in all three units for reference. Used for boiler feedwater, chemical dosing, fuel consumption, and compressed-gas metering.
- [Volumetric Flow Rate Converter (m³/h / L/min / gpm / cfm)](https://elysiatools.com/en/tools/flow-rate-volume-converter): Convert volumetric flow rate between m³/h (cubic metres per hour), L/min (litres per minute), gpm (US gallons per minute, 1 gal = 3.785411784 L), and cfm (cubic feet per minute, 1 ft³ = 28.3168466 L). Converts via m³/s to the target unit and also lists the equivalent value in all four units for reference. Used for pumps, HVAC, compressed air, and piping.
- [Orifice Flow Calculator (Bernoulli, Q=Cd·A·√(2ΔP/ρ))](https://elysiatools.com/en/tools/orifice-flow-calculator): Compute the flow rate through a thin-plate orifice for an incompressible fluid (ISO 5167 Bernoulli form with discharge coefficient C_d). Orifice area A=π·d²/4; volumetric flow Q=C_d·A·√(2·ΔP/ρ); mass flow ṁ=C_d·A·√(2·ρ·ΔP); throat velocity v_orifice=C_d·√(2·ΔP/ρ). If the upstream pipe diameter D is supplied the diameter ratio β=d/D is also returned. ΔP≥0, ρ>0, C_d in 0..1 (default 0.61 for a sharp-edged plate). Diameter in m/cm/mm, pressure in Pa/kPa/bar/atm/psi, density in kg/m³/g/cm³; volumetric flow reported in m³/s, L/s, L/min and m³/h.
- [Spring Compression Energy Calculator](https://elysiatools.com/en/tools/spring-compression-energy): Calculate the elastic potential energy and force of a spring in compression or extension. U = ½·k·x², F = k·x. Solve energy from displacement, or displacement from energy.
- [Stress & Strain Calculator](https://elysiatools.com/en/tools/stress-strain-calculator): Calculate engineering stress σ = F/A and engineering strain ε = ΔL/L₀ under uniaxial load. Choose what to solve: for stress, enter force F (N) and cross-section area A (mm²) → result in MPa; for strain, enter original length L₀ and elongation ΔL (negative for compression) → dimensionless ratio. Units are self-consistent (N, mm) so stress comes out directly in MPa.
- [Thermal Stress Calculator (σ = E·α·ΔT)](https://elysiatools.com/en/tools/thermal-stress-calculator): Thermal stress in a fully constrained member under a uniform temperature change: σ_th = E·α·ΔT. Built-in typical Young's modulus E and expansion coefficient α for carbon/alloy steel, aluminum, copper, austenitic stainless and titanium, plus custom values. ΔT in K or °C (same magnitude), result in MPa. Heating (ΔT>0) → compressive stress in the member.
- [Absolute Value Calculator](https://elysiatools.com/en/tools/absolute-value-calculator): Calculate the absolute value of positive, negative, or decimal numbers and explain the sign relationship
- [Active Earth Pressure (Rankine)](https://elysiatools.com/en/tools/active-earth-pressure): Calculate the Rankine active earth pressure on a smooth vertical wall backfilled with cohesionless soil. K_a = tan²(45°−φ/2). Optional uniform surcharge q. Returns the base pressure p₀, the total force P, and the resultant height.

## Samples

- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Web Image Processing Rust Samples](https://elysiatools.com/en/samples/web-image-processing-rust): Web Rust image processing examples including image read/save, scaling, and format conversion
