If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

What is Bernoulli's equation?

This equation will give you the powers to analyze a fluid flowing up and down through all kinds of different tubes.

What is Bernoulli's principle?

Bernoulli's principle is a seemingly counterintuitive statement about how the speed of a fluid relates to the pressure of the fluid. Many people feel like Bernoulli's principle shouldn't be correct, but this might be due to a misunderstanding about what Bernoulli's principle actually says. Bernoulli's principle states the following,
Bernoulli's principle: Within a horizontal flow of fluid, points of higher fluid speed will have less pressure than points of slower fluid speed.
So within a horizontal water pipe that changes diameter, regions where the water is moving fast will be under less pressure than regions where the water is moving slow. This sounds counterintuitive to many people since people associate high speeds with high pressures. But, we'll show in the next section that this is really just another way of saying that water will speed up if there's more pressure behind it than in front of it. In the section below we'll derive Bernoulli's principle, show more precisely what it says, and hopefully make it seem a little less mysterious.

How can you derive Bernoulli's principle?

Incompressible fluids have to speed up when they reach a narrow constricted section in order to maintain a constant volume flow rate. This is why a narrow nozzle on a hose causes water to speed up. But something might be bothering you about this phenomenon. If the water is speeding up at a constriction, it's also gaining kinetic energy. Where is this extra kinetic energy coming from? The nozzle? The pipe?
The only way to give something kinetic energy is to do work on it. This is expressed by the work energy principle.
Wexternal=ΔK=12mvf212mvi2
So if a portion of fluid is speeding up, something external to that portion of fluid must be doing work it. What force is causing work to be done on the fluid? Well, in most real world systems there are lots of dissipative forces that could be doing negative work, but we're going to assume for the sake of simplicity that these viscous forces are negligible and we have a nice continuous and perfectly laminar (streamline) flow. Laminar (streamline) flow means that the fluid flows in parallel layers without crossing paths. In laminar streamline flow there is no swirling or vortices in the fluid.
OK, so we'll assume we have no loss in energy due to dissipative forces. In that case, what non-dissipative forces could be doing work on our fluid that cause it to speed up? The pressure from the surrounding fluid will be causing a force that can do work and speed up a portion of fluid.
Consider the diagram below which shows water flowing along streamlines from left to right. As the outlined volume of water enters the constricted region it speeds up. The force from pressure P1 on the left side of the shaded water pushes to the right and does positive work since it pushes in the same direction as the motion of the shaded fluid. The force from pressure P2 on the right side of the shaded fluid pushes to the left and does negative work since it pushes in the opposite direction as the motion of the shaded fluid.
We know that the water must speed up (due to the continuity equation) and therefore have a net positive amount of work done on it. So the work done by the force from pressure on the left side must be larger than the amount of negative work done by the force from pressure on the right side. This means that the pressure on the wider/slower side P1 has to be larger than the pressure on the narrow/faster side P2.
This inverse relationship between the pressure and speed at a point in a fluid is called Bernoulli's principle.
Bernoulli's principle: At points along a horizontal streamline, higher pressure regions have lower fluid speed and lower pressure regions have higher fluid speed.
It might be conceptually simplest to think of Bernoulli's principle as the fact that a fluid flowing from a high pressure region to a low pressure region will accelerate due to the net force along the direction of motion.
The idea that regions where the fluid is moving fast will have lower pressure can seem strange. Surely, a fast moving fluid that strikes you must apply more pressure to your body than a slow moving fluid, right? Yes, that is right. But we're talking about two different pressures now. The pressure that Bernoulli's principle is referring to is the internal fluid pressure that would be exerted in all directions during the flow, including on the sides of the pipe. This is different from the pressure a fluid will exert on you if you get in the way of it and stop its motion.
Note that Bernoulli's principle does not say that a fast moving fluid can't have significantly high pressures. It just says that the pressure in a slower region of that same flowing system must have even larger pressure than the faster moving region.

What is Bernoulli's equation?

Bernoulli's equation is essentially a more general and mathematical form of Bernoulli's principle that also takes into account changes in gravitational potential energy. We'll derive this equation in the next section, but before we do, let's take a look at Bernoulli's equation and get a feel for what it says and how one would go about using it.
Bernoulli's equation relates the pressure, speed, and height of any two points (1 and 2) in a steady streamline flowing fluid of density ρ. Bernoulli's equation is usually written as follows,
P1+12ρv12+ρgh1=P2+12ρv22+ρgh2
The variables P1, v1, h1 refer to the pressure, speed, and height of the fluid at point 1, whereas the variables P2, v2, and h2 refer to the pressure, speed, and height of the fluid at point 2 as seen in the diagram below. The diagram below shows one particular choice of two points (1 and 2) in the fluid, but Bernoulli's equation will hold for any two points in the fluid.
When using Bernoulli's equation, how do you know where to choose your points? Choosing one of the points at the location where you want to find an unknown variable is a must. Otherwise how will you ever solve for that variable? You will typically choose the second point at a location where you have been given some information, or where the fluid is open to the atmosphere, since the absolute pressure there is known to be atmospheric pressure Patm=1.01×105Pa.
Note that the h refers to the height of the fluid above an arbitrary level that you can choose in any way that is convenient. Typically it is often easiest to just choose the lower of the two points (1 or 2) as the height where h=0. The P refers to the pressure at that point. You can choose to use gauge pressure or absolute pressure, but whichever kind of pressure you choose (gauge or absolute) must also be used on the other side of the equation. You can't insert the gauge pressure at point 1, and the absolute pressure at point 2. Similarly, if you insert the gauge pressure at point 1 and solve for the pressure at point 2, the value you obtain will be the gauge pressure at point 2 (not the absolute pressure).
The terms 12ρv2 and ρgh in Bernoulli's equation look just like kinetic energy 12mv2 and potential energy mgh, only with the mass m replaced with density ρ. So it may not come as much of a surprise that Bernoulli's equation is the result of applying conservation of energy to a flowing fluid. We'll derive Bernoulli's equation using conservation of energy in the next section.

How do you derive Bernoulli's equation?

Consider the following diagram where water flows from left to right in a pipe that changes both area and height. As before, water will speed up and gain kinetic energy K at constrictions in the pipe, since the volume flow rate must be maintained for an incompressible fluid even if those constricted sections move upward. But now since the constriction also causes the fluid to move upward, the water will be gaining gravitational potential energy Ug as well as kinetic energy K. We will derive Bernoulli's equation by setting the energy gained by the fluid equal to the external work done on the fluid.
Let's assume the energy system we're considering is composed of the volumes of water 1 and 2 as well as all the fluid in between those volumes. If we assume the fluid flow is streamline, non-viscous, and there are no dissipative forces affecting the flow of the fluid, then any extra energy Δ(K+U)system added to the system will be caused by the external work (Wexternal) done on the fluid from pressure forces surrounding it.
We can express this mathematically as,
Wexternal=Δ(K+U)system
First we'll try to find the external work done Wexternal on the water. None of the water between points 1 and 2 can do external work since that water is all part of our energy system. The only pressures that can directly do external work on our system are P1 and P2 as shown in the diagram. The water at P1 to the left of volume 1 will do positive work since the force points in the same direction as the motion of the fluid. The water at P2 to the right of volume 2 will do negative work on our system since it pushes in the opposite direction as the motion of the fluid.
For simplicity's sake we'll consider the case where the force from water pressure to the left of volume 1 pushes volume 1 through its entire width d1. Assuming the fluid is incompressible, this must displace an equal volume of water everywhere in the system, causing volume 2 to be displaced through its length a distance d2.
Work can be found with W=Fd. We can plug in the formula for the force from pressure F=PA into the formula from work to get W=PAd. So, the positive work done on our system by the water near point 1 will be W1=P1A1d1 and the work done by the water near point 2 will be W2=P2A2d2.
Plugging these expressions for work into the left side of our work energy formula Wnet=Δ(K+U)system we get,
P1A1d1P2A2d2=Δ(K+U)system
But the terms A1d1 and A2d2 have to be equal since they represent the volumes of the fluid displaced near point 1 and point 2. If we assume the fluid is incompressible, an equal volume of fluid must be displaced everywhere in the fluid, including near the top. So, V1=A1d1=A2d2=V2. We can just write the volume term simply as V since the volumes are equal. This simplifies the left side of the work energy formula to,
P1VP2V=Δ(K+U)system
That takes care of the left hand side. Now we have to address the right hand side of this equation. This is a crucial and subtle part of the derivation. Remember that our system includes not only the shaded portions of water near point 1 and 2, but also all the water in between those two points. How will we ever be able to account for all the change in kinetic energy and gravitational potential energy of all parts of that large and winding system?
Well, we have to make one more assumption to finish the derivation. We're going to assume that the flow of the fluid is steady. By "steady flow" we mean that the speed of the fluid passing by a particular point in the pipe doesn't change. In other words, if you stood and stared at any one particular section of the transparent pipe, you would see new water moving past you every moment, but if there's steady flow, then all the water would have the same speed when it moves past that particular point.
So how does the idea of steady flow help us figure out the change in energy of the big winding system of fluid? Consider the diagram below. Our energy system consists of the greyed out fluid (volume 1, volume 2, and all fluid in between). In the first image, the system has some amount of total energy (K+U)initial. In the second image the entire system had work done on it, gains energy, shifts to the right, and now has some different total energy (K+U)final. But notice that the energy of the fluid between the dashed lines will be the same as it was before the work was done assuming a steady flow. Water changed position and speed in the region between the dashed lines, but it did so in such a way that it will be moving with the exact same speed (e.g. va and vb) and have the same height as the previous water had in that location. The only thing that's different about our system is that volume 2 now extends into a section of the pipe it wasn't in previously, and now nothing in our system is occupying the old position behind volume 1.
Overall this means that the total change in the energy of the system can be found by simply considering the energies of the end points. Namely, we can take the kinetic and potential energy (K2+U2) that now exists in volume 2 after the work was done and subtract the kinetic and potential energy (K1+U1) that no longer exists behind volume 1 after the work was done. In other words, Δ(K+U)system=(K2+U2)(K1+U1).
Plugging this into the right hand side of the work energy formula P1VP2V=Δ(K+U)system we get,
P1VP2V=(K2+U2)(K1+U1)
Now we'll substitute in the formulas for kinetic energy K=12mv2 and gravitational potential energy Ug=mgh to get,
P1VP2V=(12m2v22+m2gh2)(12m1v12+m1gh1)
In this equation P1 and P2 represent the pressures of the fluid in volumes 1 and 2 respectively. The variables v1 and v2 represent the speeds of the fluid in volumes 1 and 2 respectively. And h1 and h2 represent the height of the fluid in volumes 1 and 2 respectively.
But since we are assuming the fluid is incompressible, the displaced masses of volumes 1 and 2 must be the same m1=m2=m. So getting rid of the subscript on the m's we get,
P1VP2V=(12mv22+mgh2)(12mv12+mgh1)
We can divide both sides by V and drop the parenthesis to get,
P1P2=12mv22V+mgh2V12mv12Vmgh1V
We can simplify this equation by noting that the mass of the displaced fluid divided by volume of the displaced fluid is the density of the fluid ρ=mV. Replacing mV with ρ we get,
P1P2=12ρv22+ρgh212ρv12ρgh1
Now, we're just going to rearrange the formula using algebra to put all the terms that refer to the same point in space on the same side of the equation to get,
P1+12ρv12+ρgh1=P2+12ρv22+ρgh2
And there it is, finally. This is Bernoulli's equation! It says that if you add up the pressure P plus the kinetic energy density 12ρv2 plus the gravitational potential energy density ρgh at any 2 points in a streamline, they will be equal.
Bernoulli's equation can be viewed as a conservation of energy law for a flowing fluid. We saw that Bernoulli's equation was the result of using the fact that any extra kinetic or potential energy gained by a system of fluid is caused by external work done on the system by another non-viscous fluid. You should keep in mind that we had to make many assumptions along the way for this derivation to work. We had to assume streamline flow and no dissipative forces, since otherwise there would have been thermal energy generated. We had to assume steady flow, since otherwise our trick of canceling the energies of the middle section would not have worked. We had to assume incompressibility, since otherwise the volumes and masses would not necessarily be equal.
Since the quantity P+12ρv2+ρgh is the same at every point in a streamline, another way to write Bernoulli's equation is,
P+12ρv2+ρgh=constant
This constant will be different for different fluid systems, but for a given steady state streamline non-dissipative flowing fluid, the value of P+12ρv2+ρgh will be the same at any point along the flowing fluid.

How is Bernoulli's principle a result of Bernoulli's equation?

We should note here that Bernoulli's principle is contained within Bernoulli's equation. If we start with,
P1+12ρv12+ρgh1=P2+12ρv22+ρgh2
and assume that there is no change in the height of the fluid, the ρgh terms cancel if we subtract them from both sides.
P1+12ρv12=P2+12ρv22
Or we could write it as,
P+12ρv2=constant
This formula highlights Bernoulli's principle since if the speed v of a fluid is larger in a given region of streamline flow, the pressure P must be smaller in that region (which is Bernoulli's principle). An increase in speed v must be accompanied by a simultaneous decrease in the pressure P in order for the sum to always add up to the same constant number.

What do solved examples involving Bernoulli's equation look like?

Example 1: Root Beer blueprints

You own a restaurant that is investigating new ways to deliver beverages to customers. One proposal is for a tube that will deliver root beer of density 1,090kgm3 throughout the restaurant. A section of the tube is shown below. The blueprints say that the speed and gauge pressure of the root beer at point 1 are 3.00 m/s and 12,300 Pa respectively. The root beer at point 2 is 1.20 m higher than the fluid at point 1 and is traveling at a speed of 0.750 m/s. You can't make out the number on the blueprints for the pressure of the root beer at point 2.
Use Bernoulli's equation to figure out the gauge pressure of the root beer at point 2.
P1+12ρv12+ρgh1=P2+12ρv22+ρgh2(first, start with Bernoulli’s equation)
P2=P1+12ρv12+ρgh112ρv22ρgh2(algebraically solve Bernoulli’s equation for P2)
At this point we need to choose an h=0 reference line. We'll choose the height at point 1 to be h=0. This makes the value h1=0 and h2=1.2 m. Plugging in these values for the height we get,
P2=P1+12ρv12+ρg(0 m)12ρv22ρg(1.2m)(we plug in the values of h1 and h2)
We can get rid of the term with the zero in it and plug in numerical values for the other variables to get,
P2=12,300 Pa+12(1,090kgm3)(3.00 m/s)212(1,090kgm3)(0.750 m/s)2(1,090kgm3)g(1.20 m)
P2=4,080 Pa(calculate and celebrate)
Note: We know this is the gauge pressure at point 2, rather than the absolute pressure, since we plugged in the gauge pressure for point 1. If we wanted the absolute pressure we could add atmospheric pressure (1.01×105 Pa) to our answer.

Example 2: Water fountain engineering

A large hotel has asked you build a water fountain that is fed by a 15 cm diameter cylindrical pipe that carries water horizontally 8.00 m below the ground. The pipe turns upwards and eventually fires water out of the 5.00 cm diameter end of the cylindrical pipe, which is located 1.75 m above the ground, with a speed of 32.0 m/s. Water has a density of 1,000kgm3.
What gauge pressure is required in the large underwater horizontal pipe for this fountain?
These Bernoulli's equation problems are complicated so we should draw a diagram of the situation and pick two points of interest. (this diagram is not to scale)
We'll pick the point near the bottom of the pipe as point 1, since that's where we want to determine the pressure, and we'll pick the top of the pipe where the water emerges as point 2 since we have been given information about the speed of the water at that point.
P1+12ρv12+ρgh1=P2+12ρv22+ρgh2(first, start with Bernoulli’s equation)
P1=P2+12ρv22+ρgh212ρv12ρgh1(algebraically solve for the pressure P1)
We don't know the speed of the water at point 1. We'll need to figure out the speed v1 first before we can use Bernoulli's equation to solve for unknown pressure at point 1.
We can do this by using the equation of continuity A1v1=A2v2 since water is incompressible. We know the cross sectional area of a cylindrical pipe can be found with A=πr2 so plugging areas into the equation of continuity we get,
(πr12)v1=(πr22)v2
When we solve this for the speed v1 the π's cancel and we're left with,
v1=(r22r12)v2
Plugging in the radii of the pipes we can solve for the speed at point 1 to get,
v1=(2.50 cm)2(7.50 cm)2(32.0 m/s)=3.56 m/s
Now that we have the speed at point 1, we can plug this into our rearranged Bernoulli's equation to get,
P1=P2+12ρ(32 m/s)2+ρgh212ρ(3.56 m/s)2ρgh1(we plugged in the speeds)
We can choose the h=0 reference line at point 1, which makes h1=0 m and h2=8.00 m+1.75 m=9.75 m.
Plugging these into our rearranged Bernoulli equation makes the ρgh1 term go away (since it's zero) and we get,
P1=P2+12ρ(32 m/s)2+ρg(9.75 m)12ρ(3.56 m/s)2(we plugged in the h values)
All we have to do now is figure out the pressure P2 at point 2. We are going to argue that the pressure at point 2 must be atmospheric pressure since the water emerged out into the atmosphere. This is an assumption that needs to be made in many Bernoulli equation problems. Whenever a point is open to the atmosphere, that point should be at atmospheric pressure. We can either use absolute pressures in Bernoulli's equation and say that P2=1.01×105Pa, or we can use gauge pressures and say that P2=0 (since gauge pressure measures pressure above atmospheric pressure). Anytime we can include zeros it makes our life easier so we'll use gauge pressure and use P2=0. This makes our rearranged Bernoulli equation look like,
P1=12ρ(32 m/s)2+ρg(9.75 m)12ρ(3.56 m/s)2(we plugged in P2=0)
Now we can plug in the density of water ρ=1,000kgm3 and the magnitude of the acceleration due to gravity g=+9.8ms2 to get,
P1=12(1,000kgm3)(32 m/s)2+(1,000kgm3)(+9.8ms2)(9.75 m)12(1,000kgm3)(3.56 m/s)2
P1=6.01×105Pa(calculate and celebrate)
Note: What we found was the gauge pressure since we plugged in P2=0. If we would have plugged in P2=1.01×105 Pa we would have solved for the absolute pressure at point 1.

Want to join the conversation?

  • aqualine tree style avatar for user CodeLoader
    It's a lot more difficult than the videos, and if I hadn't watched the videos before, I probably couldn't understand this.
    But I have a question about "steady flow", Do you mean that all molecules have the same velocity at any chosen point? Then, if all the water moves along the pipe, every molecule has its velocity directed along the pipe. Then there's NO molecule moving towards the walls and applying pressure on them, how is that not contradicting with the rest?
    (32 votes)
    Default Khan Academy avatar avatar for user
    • blobby green style avatar for user davidsantopietro
      Hmm, sorry it was confusing. If other people feel the same way I'll rewrite it.
      As for the steady flow question, the water molecules have randomly directed velocities that can be quite high and cause pressure on the walls of the container, but since these are randomly directed they add nothing to the bulk motion of the fluid along the pipe. The velocity I'm referring to is the overall bulk motion of the fluid causing it to move along the pipe. This is similar to the difference between air pressure caused by the random motion of air molecules, and the bulk motion of air across large distances which we would call wind.
      (39 votes)
  • piceratops seed style avatar for user Kash J
    Under the explanation of the question "Wait, does that really follow?", I have a question on why when the fluid flows from right to left (From the narrow to wide region), the pressure P1 still acts to the right and P2 still acts to the left? Or why does P2 do negative work?

    Im confused here, would anyone clarify?
    (7 votes)
    Default Khan Academy avatar avatar for user
    • aqualine ultimate style avatar for user Retla Alter
      Fluids exert pressure in all directions. So the parts of the fluid on the left (P1) of the highlighted region are exerting a pressure on the highlighted region from the left. They still exert a pressure in all directions, but the only part of this pressure that is relevant is the part that is pushing the highlighted region. So when the fluid flows from right to left, the parts of the fluid on the left (P1) still exert a pressure on the highlighted region from the left. Similarly, P2 always exerts a pressure from the right because it is on the right side of the highlighted region (the section we are interested in).

      Whether work done is negative or positive depends on which direction the fluid is flowing and whether the work done is helping the movement or hindering it.
      When the fluid is moving from left to right, work done to the right is positive (as it is in the same direction as the flow) and work done to the left is negative (as it hinders the flow).
      When the fluid is moving from right to left, work done to the left is positive and work done to the right is negative.

      At least, that's how I understood it. Hope that helps.
      (8 votes)
  • piceratops seedling style avatar for user jump.samuelluke
    Hi,

    I was wondering why it is that according to Bernoulli's equation, that pressure drops as velocity increases (in a situation where the radius of a tube decreases), but when looking at blood flow, vasoconstriction is correlated with a rise in blood pressure despite the fluid increasing in velocity?
    (7 votes)
    Default Khan Academy avatar avatar for user
    • male robot hal style avatar for user pizza
      I think that in the case of vasoconstriction, external work is being done on the blood vessel system. Although blood is probably an incompressible liquid since it is mostly water, the vasoconstriction increases the velocity of the blood because of the continuity equation, AND increases the pressure of the blood by increasing the squeeze of the blood vessels on the blood. Think of it like increasing the pressure of the atmosphere on a vertical pipe while also forcing it into a squeeze. Both pressure and velocity will increase.
      (1 vote)
  • aqualine tree style avatar for user Julius Alphonso
    Hang on, Isn't the pressure always supposed to be constant? I mean, I know from the previous videos that P1 = P2. (Pascal's law). Are we talking about different pressures here?
    (3 votes)
    Default Khan Academy avatar avatar for user
  • purple pi purple style avatar for user nidhi bharadwaj
    how is pressure on static fluid different from that of a moving fluid?
    (3 votes)
    Default Khan Academy avatar avatar for user
  • female robot ada style avatar for user mistarobotics
    Why would we use +9.8 as our gravity, when it acts in the negative direction?
    (1 vote)
    Default Khan Academy avatar avatar for user
  • aqualine ultimate style avatar for user Muhammad Imran Siddiqui
    i think work-energy principle is applicable when there is constant Force. so how we are dealing it here?
    (3 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user Matthijs Dijkgraaf
    The numbers of the last question don't add. I get a pressure of about 613,890 Pa. Anyone else got that problem?
    (1 vote)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user hamzamanioc
    what do you mean by when you say You can say the force of gravity does external work on the fluid, in which case you would not say the system includes the gravitational potential energy between the water and the Earth and what is the meaning of we can say our system includes the gravitational potential energy between the water and the Earth, in which case the work done by the force of gravity is internal to the system rather than external. Since the work done by gravity is internal, it does not affect the overall energy (K+U_g)(K+U
    ​g
    ​​ )left parenthesis, K, plus, U, start subscript, g, end subscript, right parenthesis of our system. ? please answer this
    (2 votes)
    Default Khan Academy avatar avatar for user
    • aqualine seed style avatar for user Rohan Joshi
      The way i understand it, all that means is that work done by gravity can be considered in the equation if one wants...However, if one considers work done by gravity,then gravitational potential energy should not be included...This is because when we consider work done by gravity in our equation,we include the energy stored in the body(the fluid in this case)-earth system and hence,there is no need to include gravitational potential energy... In this case,however,we have chosen to include gravitational potential energy instead and hence, we don't need to worry about the work done by gravity...
      Change in gravitational potential energy of the object and earth system= -(work done by gravitational force)
      (1 vote)
  • primosaur ultimate style avatar for user Prateek Amana Gurjar
    I still don't understand "Incompressible fluids have to speed up when they reach a narrow constricted section in order to maintain a constant volume flow rate. This is why a narrow nozzle on a hose causes water to speed up. But something might be bothering you about this phenomenon. If the water is speeding up at a constriction, it's also gaining kinetic energy. Where is this extra kinetic energy coming from? The nozzle? The pipe?" ?
    (1 vote)
    Default Khan Academy avatar avatar for user