Bernoulli’s Equation Diameter Calculator


calculate diamter using bernoulis equation

A professional tool to determine the downstream pipe diameter by applying Bernoulli’s principle and the continuity equation for incompressible, frictionless fluid flow.



Select the unit system for all inputs and results.

Point 1 (Upstream)



Pressure at the initial point (Pascals)



Fluid velocity at the initial point (m/s)



Pipe diameter at the initial point (meters)



Elevation at the initial point (meters)

Point 2 (Downstream) & Fluid Properties



Pressure at the final point (Pascals)



Elevation at the final point (meters)



Density of the fluid (kg/m³)


Calculated Results

Diameter at Point 2 (D₂): —

Velocity at Point 2 (v₂): — | Area at Point 1 (A₁): — | Area at Point 2 (A₂): —

Based on the principles of energy conservation (Bernoulli) and mass conservation (Continuity) for an ideal fluid.

Pressure Head
Velocity Head
Elevation Head
Chart: Components of Total Head at Point 2 (m)

What is the calculation of diameter using Bernoulli’s equation?

The calculation of a pipe’s diameter using Bernoulli’s equation is a fundamental task in fluid dynamics. It’s not a direct calculation; rather, it combines two core principles: Bernoulli’s principle (conservation of energy) and the continuity equation (conservation of mass). By analyzing the fluid’s state—pressure, velocity, and elevation—at two different points in a system, you can determine how the pipe’s geometry, specifically its diameter, must change. This process is crucial for designing efficient piping systems, ensuring that fluid moves at desired speeds and pressures. It’s a common problem for engineers sizing pipes for everything from water distribution networks to HVAC systems. A common misunderstanding is that Bernoulli’s equation alone can find the diameter; in reality, the continuity equation is essential to relate the velocities and areas at the two points.

The {primary_keyword} Formula and Explanation

To find the diameter at a second point (D₂), we must first find the velocity at that point (v₂) using Bernoulli’s equation, and then use the continuity equation to find the area (A₂) and subsequently the diameter. The process assumes the fluid is incompressible and has no viscosity (frictionless flow).

1. Bernoulli’s Equation: This equation states that the total energy along a streamline is constant.

P₁ + ½ρv₁² + ρgh₁ = P₂ + ½ρv₂² + ρgh₂

We rearrange it to solve for the velocity at point 2 (v₂):

v₂ = √[v₁² + 2/ρ * (P₁ – P₂ + ρg(h₁ – h₂))]

2. Continuity Equation: This equation states that the mass flow rate must be constant. For an incompressible fluid, this simplifies to the volume flow rate being constant:

A₁v₁ = A₂v₂

We rearrange this to solve for the area at point 2 (A₂):

A₂ = (A₁ * v₁) / v₂

3. Diameter from Area: Finally, we calculate the diameter at point 2 from its cross-sectional area:

D₂ = √(4 * A₂ / π)

Explanation of Variables
Variable Meaning Unit (Metric) Typical Range
P Static Pressure Pascals (Pa) 0 – 1,000,000
v Fluid Velocity meters/second (m/s) 0 – 50
h Elevation Height meters (m) -100 – 1000
ρ (rho) Fluid Density kg/m³ 1 (air) – 1000 (water)
g Acceleration due to Gravity m/s² 9.81 (constant)
A Cross-sectional Area Varies
D Pipe Diameter meters (m) 0.01 – 5

Practical Examples

Example 1: Water Flowing from a Tank

Imagine a large water tank where the water level is 5 meters high (h₁), open to the atmosphere (P₁ = 101325 Pa). The water at the surface is nearly still (v₁ ≈ 0). It flows out of a pipe at the bottom (h₂ = 0) that is also open to the atmosphere (P₂ = 101325 Pa). We want to find the velocity of the exiting water.

  • Inputs: P₁=P₂, h₁=5m, h₂=0, v₁=0, ρ=1000 kg/m³.
  • Calculation: Bernoulli’s equation simplifies to ½ρv₂² = ρgh₁. This gives v₂ = √(2gh₁) = √(2 * 9.81 * 5) ≈ 9.9 m/s. This is known as Torricelli’s law, a special case of Bernoulli’s equation.
  • Result: The velocity at the outlet is approximately 9.9 m/s. To find the diameter, we would need to know the initial pipe size and use the full continuity equation solver.

Example 2: Venturi Meter

A Venturi meter is used to measure flow speed. Consider a horizontal pipe (h₁=h₂) with a wide section (Point 1) and a narrow throat (Point 2). If water (ρ=1000 kg/m³) flows with v₁ = 2 m/s in the wide section (D₁ = 0.2m) where the pressure is P₁ = 150,000 Pa.

  • Inputs: D₁=0.2m, v₁=2 m/s, P₁=150,000 Pa, h₁=h₂. Let’s assume the pressure drops to P₂ = 140,000 Pa in the throat.
  • Calculation: First, find v₂ using Bernoulli’s: v₂ = √[v₁² + 2/ρ * (P₁ – P₂)] = √[2² + 2/1000 * (150000 – 140000)] = √[4 + 20] ≈ 4.9 m/s. Now use continuity. A₁ = π(0.2/2)² = 0.0314 m². A₂ = (A₁ * v₁) / v₂ = (0.0314 * 2) / 4.9 ≈ 0.0128 m². Finally, D₂ = √(4 * 0.0128 / π) ≈ 0.128 m.
  • Result: The diameter of the Venturi throat is approximately 12.8 cm. This demonstrates how a fluid dynamics calculator can be used for device design.

How to Use This {primary_keyword} Calculator

Using this tool is straightforward. Follow these steps to accurately calculate the downstream pipe diameter:

  1. Select Unit System: Choose between Metric and Imperial units. All input fields will update to the correct units.
  2. Enter Point 1 Data: Input the known pressure (P₁), velocity (v₁), diameter (D₁), and elevation (h₁) for the initial or upstream point of the fluid.
  3. Enter Point 2 and Fluid Data: Input the known pressure (P₂) and elevation (h₂) for the final or downstream point, along with the density (ρ) of the fluid being analyzed.
  4. Review the Results: The calculator will instantly update. The primary result is the required Diameter at Point 2 (D₂). You can also see important intermediate values like the velocity at point 2 (v₂) and the areas at both points.
  5. Interpret the Chart: The bar chart visualizes the components of the total energy head (pressure, velocity, elevation) at the downstream point, helping you understand how energy is distributed in the system.

Key Factors That Affect {primary_keyword}

Several factors can influence the outcome of this calculation. Understanding them is key to accurate fluid system design.

  • Pressure Differential (P₁ – P₂): This is the primary driver of fluid acceleration. A larger pressure drop will result in a higher velocity at point 2, and consequently, a smaller required diameter to maintain continuity. See our pressure drop calculation tool for more detail.
  • Elevation Change (h₁ – h₂): Gravity plays a significant role. If the pipe goes downhill (h₁ > h₂), potential energy is converted to kinetic energy, increasing v₂. If it goes uphill, flow will slow down.
  • Initial Velocity (v₁): The starting velocity provides initial kinetic energy. The higher the v₁, the more energy is already in the system.
  • Fluid Density (ρ): Denser fluids have more inertia. For the same pressure differential, a denser fluid will accelerate less, affecting the final velocity and diameter.
  • Friction (Not Included): This calculator assumes an “ideal” frictionless fluid. In the real world, friction from the pipe walls causes a pressure drop calculator would account for, which reduces the actual velocity. This means a real-world pipe would need to be slightly larger than the ideal calculation suggests.
  • Compressibility (Not Included): This model assumes the fluid is incompressible (like water). For gases at high velocity changes, density can change, which requires more complex calculations.

Frequently Asked Questions (FAQ)

What are the main assumptions for this calculation?
This calculator assumes steady, incompressible, and non-viscous (frictionless) flow along a streamline. Real-world results may vary due to friction.
Why does the diameter change when pressure changes?
A change in pressure or elevation causes a change in fluid velocity (Bernoulli’s principle). For the mass flow rate to remain constant, the pipe’s cross-sectional area (and thus its diameter) must change in response (continuity equation).
What happens if the calculated velocity (v₂) is negative?
The calculation for v₂ involves a square root. If the term inside the root is negative, it means there is not enough energy at Point 1 (pressure, velocity, elevation) to overcome the conditions at Point 2. This results in an error, as flow is not possible under those conditions.
How do I handle different units, like PSI and Pascals?
The calculator’s unit switcher handles all conversions automatically. Simply select ‘Metric’ or ‘Imperial’, and input your values in the corresponding units. The tool converts them to a consistent internal standard for calculation.
Can this be used for gases?
It can be used as an approximation for gases at low speeds where density changes are minimal. For high-speed gas flow (where compressibility is a factor), more advanced tools like an isentropic flow rate calculator are needed.
What is the continuity equation?
The continuity equation is an expression of the conservation of mass. It states that the amount of fluid entering a pipe section must equal the amount exiting it. For incompressible fluids, it simplifies to A₁v₁ = A₂v₂.
What is the difference between static pressure and dynamic pressure?
Static pressure (P) is the pressure of the fluid at rest, acting in all directions. Dynamic pressure (½ρv²) is the pressure component due to the fluid’s motion. Bernoulli’s equation shows the trade-off between them.
How can I account for friction loss?
To account for real-world friction, engineers use the Darcy-Weisbach equation in conjunction with Bernoulli’s. This adds a “head loss” term to the equation, which would require a more advanced pipe sizing tool.

Related Tools and Internal Resources

For more detailed fluid dynamics analysis, explore these related calculators:

© 2026 Engineering Calculators. For educational purposes only. Always consult a qualified professional for critical applications.


Leave a Reply

Your email address will not be published. Required fields are marked *