Calculate Diameter using Bernoulli’s Equation | Engineering Calculator


Calculate Diameter using Bernoulli’s Equation

A precise engineering tool to determine changes in pipe diameter based on the principles of fluid dynamics and conservation of energy.



Select your preferred unit system for inputs.

Fluid Properties



Enter the density of the fluid. Default is for water.

Point 1 (Initial Conditions)



Absolute pressure at the initial point.


Fluid velocity at the initial point.


Inner pipe diameter at the initial point.


Elevation (height) at the initial point.

Point 2 (Final Conditions)



Absolute pressure at the final point.


Elevation (height) at the final point.


Resulting Diameter at Point 2

m


Velocity at Point 2

m/s

Flow Rate (Q)

— m³/s

Total Energy Head

m

Energy Distribution (Bernoulli’s Principle)

This chart visualizes the conservation of energy between Point 1 and Point 2, broken down into pressure head, velocity head, and elevation head.

What is the Bernoulli Diameter Calculation?

To calculate diameter using Bernoulli’s equation is to apply fundamental principles of fluid dynamics to determine how a pipe’s diameter changes in response to variations in pressure, velocity, and elevation. Bernoulli’s principle states that for an inviscid (frictionless) flow, an increase in the speed of the fluid occurs simultaneously with a decrease in pressure or a decrease in the fluid’s potential energy. This concept is a cornerstone of hydraulic and aerodynamic engineering, derived from the conservation of energy principle.

This calculator is designed for engineers, students, and technicians who need to analyze fluid flow in pipes. By providing the conditions at an initial point (Point 1) and the pressure and elevation at a second point (Point 2), the tool solves for the unknown diameter at Point 2. It leverages both Bernoulli’s equation and the continuity equation, which states that the mass flow rate must remain constant in a closed system.

The Formula to Calculate Diameter Using Bernoulli’s Equation

The calculation involves two primary physics equations: Bernoulli’s Equation and the Equation of Continuity.

1. Bernoulli’s Equation

This equation describes the conservation of energy in a moving fluid. It relates pressure, velocity, and height between two points in a streamline:

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

First, we rearrange this equation to solve for the velocity at the second point (v₂).

2. Equation of Continuity

This equation relates the area and velocity at two different points, based on the principle of mass conservation for an incompressible fluid:

A₁v₁ = A₂v₂

Since the area (A) of a circular pipe is π(D/2)², we can substitute this into the continuity equation and solve for the final diameter (D₂).

Variables Table

Variable Meaning Typical SI Unit Typical Range
P Absolute Pressure Pascals (Pa) 10⁵ – 10⁷ Pa
ρ (rho) Fluid Density kg/m³ 800 – 13,600 kg/m³
v Fluid Velocity m/s 0.5 – 20 m/s
g Acceleration due to Gravity m/s² 9.81 m/s² (constant)
h Elevation Height meters (m) 0 – 1000 m
D Pipe Diameter meters (m) 0.01 – 5 m

Find more tools on our Fluid Dynamics Principles page.

Practical Examples

Example 1: Horizontal Pipe Constriction (Venturi Effect)

Imagine water flowing through a horizontal pipe that narrows. We want to find the diameter of the narrow section.

  • Inputs (Point 1):
    • Pressure (P₁): 200,000 Pa
    • Velocity (v₁): 1.5 m/s
    • Diameter (D₁): 0.2 m
    • Elevation (h₁): 10 m
  • Inputs (Point 2):
    • Pressure (P₂): 180,000 Pa
    • Elevation (h₂): 10 m (since it’s horizontal)
  • Fluid Property:
    • Density (ρ): 1000 kg/m³ (water)
  • Result: The calculator would first find the increased velocity (v₂) due to the pressure drop, and then use the continuity equation to find that the new diameter (D₂) is approximately 0.11 meters. This demonstrates the Venturi Effect Calculator in action.

Example 2: Pumping Water to a Higher Elevation

Consider a system where water is pumped from a large pipe at a lower elevation to a higher one, with a known pressure at the destination.

  • Inputs (Point 1):
    • Pressure (P₁): 500,000 Pa
    • Velocity (v₁): 2 m/s
    • Diameter (D₁): 0.5 m
    • Elevation (h₁): 2 m
  • Inputs (Point 2):
    • Pressure (P₂): 150,000 Pa
    • Elevation (h₂): 20 m
  • Fluid Property:
    • Density (ρ): 1000 kg/m³ (water)
  • Result: The significant increase in potential energy (due to height) and decrease in pressure will result in a higher velocity at Point 2. The calculator will determine the corresponding diameter required, which would be approximately 0.36 meters. A related tool is the Pipe Flow Rate Calculator.

How to Use This Bernoulli Diameter Calculator

  1. Select Unit System: Choose between Metric and Imperial units. All input fields will update automatically.
  2. Enter Fluid Density: Input the density of the fluid you are analyzing. The default is 1000 kg/m³ for water.
  3. Provide Initial Conditions (Point 1): Fill in the pressure, velocity, diameter, and elevation for the starting point of your analysis.
  4. Provide Final Conditions (Point 2): Enter the known pressure and elevation at the endpoint.
  5. Analyze the Results: The calculator instantly provides the resulting diameter at Point 2. It also shows intermediate values like the new velocity (v₂), the volumetric flow rate (Q), and the total energy head, which must be conserved between the two points.
  6. Interpret the Chart: The dynamic bar chart visualizes the energy balance. It shows how the total energy (sum of pressure, kinetic, and potential energy) remains constant, while the distribution among the three components may change.

Key Factors That Affect Diameter Calculation

  • Pressure Difference (P₁ – P₂): This is the primary driver of velocity change. A large pressure drop results in a significant velocity increase, which, according to the continuity equation, requires a smaller diameter.
  • Elevation Change (h₁ – h₂): Pumping a fluid to a higher elevation converts kinetic and pressure energy into potential energy, often slowing the fluid and requiring a larger diameter to maintain flow.
  • Initial Velocity (v₁): A higher initial velocity means more kinetic energy is in the system, influencing the final state significantly.
  • Fluid Density (ρ): Denser fluids have more inertia and potential energy per unit volume, making them more sensitive to changes in elevation.
  • Friction (Not Included): This calculator assumes an ideal, frictionless fluid. In real-world systems, friction causes energy loss (head loss), which would lead to a lower actual velocity than predicted. See our Pressure Drop Calculation tool for more advanced analysis.
  • Compressibility: The model assumes the fluid is incompressible (constant density). For gases at high velocity changes, compressibility effects become important. For such cases, you might need a Reynolds Number Calculator to assess the flow regime.

Frequently Asked Questions (FAQ)

1. What does it mean if I get a negative or invalid result?

An invalid result (e.g., NaN or a negative number under a square root) means the specified conditions are physically impossible. This usually happens if the pressure and elevation at Point 2 would require more energy than is available from Point 1. For example, trying to pump water to a very high elevation without enough initial pressure.

2. How do I handle different units like kPa or Bar?

You must convert them to the base units of the selected system before inputting them. For Metric, convert all pressures to Pascals (1 kPa = 1000 Pa, 1 Bar = 100,000 Pa). For Imperial, use pounds per square inch (psi).

3. Why is this called an “ideal” calculator?

It assumes an “ideal fluid,” which means there is no viscosity (friction) and the flow is laminar (smooth). In reality, friction along pipe walls causes energy loss. For long pipes or high-viscosity fluids, these losses are significant.

4. Can I use this for gases like air?

Yes, but with caution. Bernoulli’s equation as presented here is for incompressible fluids. It is a good approximation for gases only when the flow velocity is low compared to the speed of sound (typically below Mach 0.3). At higher velocities, density changes become significant.

5. What is the continuity equation?

The continuity equation (A₁v₁ = A₂v₂) represents the conservation of mass. It means that for an incompressible fluid, the volume of fluid passing through any point in a pipe per second is constant. If the pipe narrows (area A decreases), the velocity v must increase to compensate.

6. What if the pipe is horizontal?

If the pipe is horizontal, the elevation at both points is the same (h₁ = h₂). The potential energy term (ρgh) cancels out on both sides of Bernoulli’s equation, simplifying the calculation.

7. How does this relate to a Venturi meter?

A Venturi meter is a direct application of this principle. It’s a tube with a constricted section (a “throat”) used to measure flow rate. By measuring the pressure difference between the wide and narrow parts, one can calculate the fluid’s velocity and, subsequently, its flow rate. Check our Orifice Plate Flow Meter guide for another example.

8. What is “Total Energy Head”?

Total Head is the total energy per unit weight of the fluid, expressed as a height of fluid column. It’s the sum of the elevation head (h), pressure head (P/ρg), and velocity head (v²/2g). In an ideal system, the total head remains constant along a streamline.

© 2026 Engineering Calculators Inc. All rights reserved. This tool is for educational purposes and assumes ideal fluid conditions.




Leave a Reply

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