Sizing a duct or flow passage with a non-circular cross-section means you need a substitute for "diameter" that actually reflects how the shape resists flow. This Hydraulic Diameter Calculator lets you work out a hydraulic diameter for pipes, rectangular ducts, annular gaps, or any cross-section, provided you know the area and wetted perimeter. That matters if you're working out friction, pressure drop, or which regime the flow’s in—such as in HVAC, heat exchangers, or microfluidic channels. Below you’ll find the formulas, an example, the background, and common questions.
What is hydraulic diameter?
Hydraulic diameter boils a non-circular duct's shape down to a single length you can use in flow and pressure drop equations. It's calculated as 4 times the flow area divided by the wetted perimeter, so both the area the fluid can move through and the surface it rubs against are factored in.
Simple Explanation
Hydraulic diameter gets you to the heart of the question: “If this oddly shaped duct were replaced by a round pipe, what size would give a similar flow resistance?” For example, you can move the same air through a round or flat duct, but a flat duct has more wall in contact with the flow, so it causes more friction. Hydraulic diameter lets you fold that difference into one number you can plug into most standard pipe flow equations.
📐 Browse all 1000+ Interactive Calculators
Table of Contents
How to Use This Calculator
- Pick your geometry from the dropdown: circular, rectangular, annular, general cross-section, or a reverse calculation.
- Fill in the geometry dimensions—width and height for rectangular, inner/outer diameters for annular, etc.
- Use millimeters for every input (if in doubt, convert first).
- Click Calculate and get the answer.
Visual Diagram
Hydraulic Diameter Calculator
This calculator is intended for education, concept evaluation, and preliminary design. Results are based on the equations and assumptions described on this page, but cannot account for every real-world load case, tolerance, material property, environmental condition, installation detail, safety factor, code, or regulatory requirement. Verify all inputs, assumptions, units, and results independently before selecting components or using the result in a real application. Safety-critical, structural, medical, lifting, transportation, or regulated applications must be reviewed by a qualified engineer.
📹 Video Walkthrough — How to Use This Calculator
Hydraulic Diameter Interactive Visualizer
You can see here how the ratio of area to perimeter drives hydraulic diameter depending on cross-section shape. Change the dimensions to see how easy or hard it is to push fluid through different ducts—even with the same area, more perimeter means more resistance because of surface friction, straight from the 4A/P formula.
HYDRAULIC DIAMETER
133 mm
FLOW AREA
20000 mm²
WETTED PERIMETER
600 mm
FIRGELLI Automations — Interactive Engineering Calculators
Equations & Formulas
Fundamental Hydraulic Diameter Equation
The core equation is shown below. If you know area and wetted perimeter, plug into this and you've got Dh.
Dh = 4A / P
Where:
- Dh = Hydraulic diameter (mm, m, inches, ft)
- A = Cross-sectional flow area (mm², m², in², ft²)
- P = Wetted perimeter (mm, m, inches, ft)
Circular Pipe
For a round pipe, hydraulic diameter is just the geometric diameter. Area and perimeter are standard pipe formulas for reference:
Dh = D
A = πD² / 4
P = πD
Where:
- D = Pipe inside diameter (mm, m, inches, ft)
Rectangular Duct
For a rectangular duct, you can use these shortcuts. Remember, a and b are just width and height:
Dh = 2ab / (a + b)
A = ab
P = 2(a + b)
Where:
- a = Duct width (mm, m, inches, ft)
- b = Duct height (mm, m, inches, ft)
Note: For a square duct where a = b, Dh = a
Annular Space (Concentric Tubes)
For an annular (ring-shaped) gap between two tubes, the formula is simply the difference in diameters. Area and perimeter formulas are below for completeness:
Dh = Do - Di
A = π(Do² - Di²) / 4
P = π(Do + Di)
Where:
- Do = Outer tube inside diameter (mm, m, inches, ft)
- Di = Inner tube outside diameter (mm, m, inches, ft)
Reynolds Number Using Hydraulic Diameter
This is how you work out Reynolds number for non-circular ducts—just substitute Dh for pipe diameter in the classic formula:
Re = ρVDh / μ = VDh / ν
Where:
- Re = Reynolds number (dimensionless)
- ρ = Fluid density (kg/m³, lbm/ft³)
- V = Mean flow velocity (m/s, ft/s)
- μ = Dynamic viscosity (Pa·s, lbm/ft·s)
- ν = Kinematic viscosity (m²/s, ft²/s)
Simple Example
Rectangular duct: width = 200 mm, height = 100 mm.
Area = 200 × 100 = 20,000 mm²
Wetted perimeter = 2(200 + 100) = 600 mm
Hydraulic diameter = 4 × 20,000 / 600 = 133.3 mm
Theory & Engineering Applications
Fundamental Concept and Physical Meaning
Hydraulic diameter gives you a length scale you can use for friction and Reynolds number where the passage isn't a simple circle. It’s built so that if you use it in pipe flow formulas, you’ll get about the right results for pressure drop or heat transfer—even if the actual pipe or duct is square, rectangular, or much more complicated. The “4” comes from what happens when you do the calculation for a real pipe: you get D = 4A/P, which reduces to just D for a circle. It’s not magic, but it works well when the shape isn’t too extreme.
The important part is that hydraulic diameter reflects both the area the fluid can move through and the length of surface creating wall friction. For example: a 200 mm × 100 mm duct has the same area as a 159.6 mm round pipe, but its hydraulic diameter is only 133.3 mm—so it will show higher friction loss for the same flow, even if the areas match.
Critical Non-Obvious Limitation in Aspect Ratio
Hydraulic diameter is practical for most shapes and flows, but it's not perfect. In rectangular ducts with an aspect ratio above 8:1, and in flows that aren’t fully turbulent (Reynolds number below about 4000), it tends to underreport friction losses because it misses complex corner effects. Experiments show you may need to add a correction factor—sometimes up to 1.35× versus a round pipe prediction—even when using Dh. This comes from how corners and wide flats disrupt boundary layers; the entry length grows with the largest dimension, not Dh, so turbulence starts later and friction is higher than theory suggests. When designing very flat duct runs, make sure you check these limitations—especially in anything close to laminar or transition regimes.
In practical terms, if you’re doing airside design for HVAC and have a flat ceiling duct, bump your expected transition point upwards, using Re around 3500–4000 (not the standard 2300) to judge if you’ve entered turbulent flow.
Applications Across Engineering Disciplines
HVAC and Building Systems: Most commercial ductwork isn’t round—it’s rectangular, to fit in constrained spaces. You’ll often find a big supply duct, such as 600 mm × 300 mm, comes out to Dh = 400 mm. For equivalent velocity or pressure loss, this is notably less than a 478 mm round duct with the same area. Using hydraulic diameter and standard velocity limitations helps avoid both noise and excessive pressure drop; with fittings, elbows, and transitions, expect real-world differences around 5–10% compared to the clean calculation.
Heat Exchanger Design: For annular passages (like shell-and-tube exchangers), you’ll use the difference in diameters as Dh. This diameter feeds straight into the Nusselt and Reynolds equations for heat transfer. Get it wrong, and you’ll misjudge both pressure drop and heat transfer rates.
Microfluidics and Lab-on-Chip: Microchannels (often rectangular, hundreds of microns wide or deep) always operate at low Reynolds numbers. Hydraulic diameter lets you estimate the pressure drop and required pump sizing with basic Poiseuille flow assumptions. It’s sensitive to both width and depth tolerances, so a machining variation can end up affecting the time your reaction spends in the channel by more than you might expect—use the actual numbers from as-built measurements.
Hydraulic Engineering: Open channel flows like irrigation ditches often use the same formula but leave the free surface out of the wetted perimeter. Again, Dh = 4A/P, but “P” counts only the parts in contact with the fluid. The same number shows up in formulas like Manning’s for channel velocity prediction.
Worked Example: Rectangular Duct System Design
Problem Statement: You need to size a 35 m long, 800 mm × 400 mm steel exhaust duct to move 2.5 m³/s of air at 25°C. Is the flow turbulent, and what's the pressure drop?
Step 1: Hydraulic Diameter
A = 0.800 m × 0.400 m = 0.320 m²
P = 2(0.800 + 0.400) = 2.400 m
Dh = 4 × 0.320 / 2.400 = 0.533 m = 533 mm
Step 2: Mean Velocity
Q = 2.5 m³/s, so V = Q/A = 2.5 / 0.320 = 7.81 m/s
Step 3: Reynolds Number
ν (kinematic viscosity, air, 25°C) = 15.7 × 10-6 m²/s
Re = 7.81 × 0.533 / (15.7 × 10-6) = 265,200
Fully turbulent (well above 4000)
Step 4: Friction Factor
ε (roughness) = 0.15 mm → ε/Dh ≈ 0.000281
Use Colebrook or Swamee-Jain; get f ≈ 0.0178–0.0179
Step 5: Pressure Drop
ρ (air at 25°C) = 1.184 kg/m³
ΔP = f(L/Dh)(ρV²/2) = 0.0179 × 65.67 × 36.11 = 42.4 Pa across 35 m
Step 6: Engineering Assessment
Pressure drop is only 1.21 Pa/m—acceptable for industrial ducting. Velocity is fine for a factory but would be noisy in an office (aim for <5 m/s). The aspect ratio (2:1) balances area efficiency and manageable friction effects. Always double-check your assumptions if the duct gets flatter or longer.
Hydraulic Diameter in Computational Fluid Dynamics
In CFD, hydraulic diameter typically sets the scale for boundary layer and turbulence models. For setup, you want your first mesh cell at the wall to hit y⁺ < 1 for good boundary layer resolution, with friction velocity and mesh count referenced to hydraulic diameter. It's standard practice to use at least 30–40 cells across Dh for velocity, more if heat transfer is critical. If you’re getting odd results, it’s often because the aspect ratio or mesh is too coarse—a reminder that Dh is a practical, but not perfect, substitute when shapes get extreme.
For more calculators (pressure drop, Reynolds, flow rate and more), visit the engineering calculator hub.
Practical Applications
Scenario: HVAC System Retrofit
Marcus, an engineer, needs to take out round ductwork (300 mm diameter) and fit a rectangular duct into a much lower ceiling space (350 mm plenum height). With the calculator, he lands on 450 mm × 250 mm (Dh = 321 mm)—giving nearly the same airflow resistance as before but squeezed into the new height. That stops the client from having to alter the building—saving months and thousands in the process.
Scenario: Heat Exchanger Performance Analysis
Dr. Rodriguez checks why her shell-and-tube exchanger is losing performance. The annular gap should be Dh = 38.1 mm, giving Re = 12,400. However, pressure drop is far higher than design, even at identical flow rates. By inspecting the assembly, she finds the tubes have warped off-center, creating a smaller hydraulic diameter and uneven flow. Correcting the mechanical supports fixes both the pressure drop and the heat transfer rate.
Scenario: Microfluidic Device Development
Raj’s microfluidic channel is etched 150 μm deep × 80 μm wide. Dh = 104.3 μm, and for his chosen flowrate, Re = 0.87. That’s in the laminar range, as intended. If the etch ends up a little deeper (165 μm), Dh jumps to 111.8 μm—requiring a tweak to pump flow to keep residence time steady. Not catching this could result in poor test chip yield.
Frequently Asked Questions
Why is hydraulic diameter different from equivalent diameter? +
Does hydraulic diameter work for laminar flow in rectangular ducts? +
How do I calculate hydraulic diameter for open channel flow? +
What hydraulic diameter should I use for an oval or elliptical duct? +
Can I use hydraulic diameter for heat transfer calculations in tubes? +
How does surface roughness affect hydraulic diameter calculations? +
Free Engineering Calculators
Explore our complete library of free engineering and physics calculators.
Browse All Calculators →🔗 Explore More Free Engineering Calculators
About the Author
Robbie Dickson — Chief Engineer & Founder, FIRGELLI Automations
Robbie Dickson brings over two decades of engineering expertise to FIRGELLI Automations. With a distinguished career at Rolls-Royce, BMW, and Ford, he has deep expertise in mechanical systems, actuator technology, and precision engineering.
Need to implement these calculations?
Explore the precision-engineered motion control solutions used by top engineers.
