What Bernoulli's equation says
Bernoulli's equation is an energy balance for a moving fluid. Along a streamline in steady flow, the sum of the pressure, the kinetic energy per unit volume and the potential energy per unit volume stays constant. Written for two points, it states that p1 plus one half rho v1 squared plus rho g h1 equals p2 plus one half rho v2 squared plus rho g h2. This calculator solves that statement for the final pressure p2. You provide the initial pressure, the density, the two speeds, the two heights and the gravitational acceleration, and the page returns the pressure at the second point. It is the standard tool for pipe contractions, siphons, Venturi meters and tank outlets, within the limits listed below. OpenStax College Physics presents the equation in its section on Bernoulli's equation.
The formula and the default example
The page uses p2 equals p1 plus rho times (v1 squared minus v2 squared) divided by 2 plus rho times g times (h1 minus h2). The defaults describe water with a density of 1,000 kilograms per cubic meter. The initial pressure is 100,000 pascals, the speed rises from 2 to 4 meters per second, both points are at 1 meter of height and gravity is 10 meters per second squared. The speed term is 1,000 times (4 minus 16) divided by 2, which is minus 6,000. The height term is zero. The final pressure is 100,000 minus 6,000, which is 94,000 pascals. The pressure falls because the fluid has sped up: some of the pressure energy has become kinetic energy. This pressure drop in fast-moving fluid is the basic effect behind a Venturi tube.
Units and the gravity input
Every input uses SI units: pressure in pascals, density in kilograms per cubic meter, speed in meters per second, height in meters and gravity in meters per second squared. The default gravity is 10, a round number that is convenient for hand calculation. Standard gravity is 9.80665 meters per second squared, and 9.81 is the usual textbook value, so enter that for a more precise result. The difference matters when the heights are large: for a 10 meter drop in water, the height term is 98,100 pascals with 9.81 and 100,000 with 10. Pressures may be absolute or gauge, as long as both are on the same basis. If p1 is a gauge pressure, then p2 is a gauge pressure. One atmosphere is exactly 101,325 pascals.
A Venturi example
In a Venturi meter, a pipe narrows and the water speeds up. Suppose water enters at 1.5 meters per second at a pressure of 120,000 pascals and reaches a throat where it moves at 6 meters per second, at the same height. The speed term is 1,000 times (2.25 minus 36) divided by 2, which is minus 16,875. The final pressure is 103,125 pascals. By measuring the pressure drop between the wide section and the throat, an instrument can infer the speed, and from the pipe area, the flow rate. The speed in the throat comes from continuity. A pipe that narrows from 5 centimeters diameter to 2.5 centimeters has an area ratio of 4, so a speed of 2 meters per second in the wide section becomes 8 meters per second in the throat, assuming incompressible flow.
Height changes
The height term accounts for the weight of the fluid column. Imagine water flowing at a steady 2 meters per second through a pipe that climbs 10 meters, with the same pipe size at both ends so that the speeds match. With a starting pressure of 150,000 pascals and g equal to 9.81, the final pressure is 150,000 plus 1,000 times 9.81 times (0 minus 10), which is 150,000 minus 98,100, or 51,900 pascals. Going up costs about 9.81 kilopascals for each meter in water. Going down gains the same amount. This is why water towers deliver pressure to houses below: a tank 30 meters above a tap provides roughly 294 kilopascals of gauge pressure at a standstill, since 1,000 times 9.81 times 30 is 294,300.
Air and other fluids
The density input lets you apply the equation to any fluid. For air at roughly sea-level conditions the density is about 1.2 kilograms per cubic meter. Take air at rest at a pressure of 101,325 pascals that flows past a point where its speed is 50 meters per second at the same height. The speed term is 1.2 times (0 minus 2,500) divided by 2, which is minus 1,500, and the final pressure is 99,825 pascals. The drop is about 1.5 percent of atmospheric pressure, small but measurable, and it is the principle of a Pitot-static tube used on aircraft to estimate airspeed. At speeds approaching about 100 meters per second or more, compressibility starts to matter and the incompressible assumption loses accuracy. For heavy liquids like mercury, which has a density near 13,600 kilograms per cubic meter, the same speed change produces a pressure change about 13.6 times larger than water.
The assumptions behind the result
The page states that the model assumes steady incompressible inviscid flow along a streamline, with no pumps or losses. Steady means the flow pattern does not change with time. Incompressible means the density is constant. Inviscid means that viscosity is neglected, so there is no friction loss. A real pipe has friction, fittings and turbulence, which cause pressure to fall along the way beyond what Bernoulli predicts, and the equation then overestimates the downstream pressure. A pump adds energy and a turbine removes it, and neither appears here. The equation applies along one streamline, and it can be applied between any two points in a region of smooth, steady flow without rotation. Use it for short, smooth sections and for rough estimates in long ones, and add loss terms from a hydraulics reference where precision is needed.
Cavitation and negative pressures
The calculator can return any number, including negative values, if the speed term is large. A negative absolute pressure has no physical meaning. When the pressure at a throat drops to the vapor pressure of the liquid, the liquid starts to form vapor bubbles, a process called cavitation, and the incompressible single-phase model no longer applies. For water at 20 degrees Celsius the vapor pressure is about 2.3 kilopascals. Cavitation damages pumps and propellers because the bubbles collapse violently. If your result for the absolute pressure approaches zero or goes negative, the design or the numbers need a second look. A result in gauge pressure can be negative without a problem, because it only means pressure below atmospheric.
Tank draining and Torricelli's result
Bernoulli's equation gives the speed of liquid leaving a tank through a small opening. Take point 1 at the open surface, where the speed is nearly zero and the pressure is atmospheric, and point 2 at the outlet, also at atmospheric pressure. The pressure terms cancel, and rho v2 squared over 2 equals rho g times the height difference, so v2 equals the square root of 2 g h. This is Torricelli's law. For a water level 2 meters above the outlet with g equal to 9.81, the speed is the square root of 39.24, about 6.26 meters per second. You can check the calculator against this: enter p1 as 0 (gauge), v1 as 0, v2 as 6.26, h1 as 2, h2 as 0 and g as 9.81, and the final pressure comes out near zero (about 26 pascals, the rounding of 6.26). Real outflow is a bit slower because of the contraction of the jet.
A common misuse: lift on wings
Bernoulli's equation is sometimes used to explain lift on an aircraft wing by saying that air moves faster over the top, so pressure is lower there. The equation does relate speed and pressure along a streamline, and a pressure difference between the upper and lower surfaces does exist. But the statement that the air over the top must travel farther to meet the air below at the same time is not correct, and the equation alone does not tell you why the speeds differ. A complete explanation involves the shape of the wing, its angle to the flow and the conservation of momentum, and it is covered in aerodynamics texts. Use the calculator for flow in pipes, nozzles and tanks, where the assumptions are close to satisfied.
Limits of the page
The model is a scalar, educational one and requires a finite output. It handles one streamline between two points. It does not determine the speed from a flow rate or pipe area, so use continuity first. It does not include friction, fittings, compressibility, heat transfer, rotating flow or unsteady effects such as water hammer. It does not know whether the pressures are absolute or gauge, so keep them consistent. Treat the examples as illustrative. For a design that involves safety, such as a pressurized system, follow the codes and guidance for your field, because a clean ideal-flow estimate does not replace a proper analysis with losses.
Continuity and getting the speeds
The speeds in the equation often come from continuity, which says that for incompressible flow the volume flow rate is the same at every cross-section of a pipe. The flow rate equals area times speed, so A1 v1 equals A2 v2. A garden hose with an inside diameter of 16 millimeters has an area of about 2.01 square centimeters. Water at 1.5 meters per second through it carries about 0.000302 cubic meters per second, or 0.30 liters per second. If the nozzle narrows to a diameter of 8 millimeters, the area is a quarter as large and the speed is 6 meters per second. Use these speeds in the calculator. If the pipe height also changes, add the heights. Working out the speeds first and then entering them is the usual workflow, and it keeps the two parts of the problem separate.