Hydraulic Diameter Calculator

Find the hydraulic diameter D_h for circular pipes, rectangular ducts, annular gaps, and open channels.

📐 Hydraulic Diameter Calculator
mm
mm
mm
mm
mm
m
m
Hydraulic Diameter (Dh)
Formula used

📐 What is the Hydraulic Diameter Calculator?

This hydraulic diameter calculator finds D_h = 4A/P, the equivalent diameter of a non-circular flow cross-section, where A is the flow area and P is the wetted perimeter. Choose from four modes, circular pipe, rectangular duct, annular gap, or open rectangular channel, enter the relevant dimensions, and it returns the hydraulic diameter along with the exact formula used.

Hydraulic diameter exists because nearly every practical fluid mechanics correlation, Reynolds number, the Darcy friction factor from the Moody chart, and Nusselt number heat transfer correlations, was originally derived and validated for flow through a circular pipe. Real ducts and channels are rarely circular: HVAC systems use rectangular sheet-metal ducts, heat exchangers use annular gaps between concentric tubes, and irrigation or stormwater systems use open rectangular or trapezoidal channels. Hydraulic diameter gives engineers a single physically motivated number to substitute for D in all of those circular-pipe formulas, so the same Reynolds number and friction factor tools work reasonably well for non-circular geometry.

A common point of confusion is that hydraulic diameter is not simply an average of the cross-section's width and height. It is defined from the ratio of area to wetted perimeter, and for very elongated shapes it approaches twice the short dimension rather than any kind of average. Another subtlety is the open-channel case: the free liquid surface at the top is never included in the wetted perimeter, because it does not touch a solid wall and generates essentially no friction compared to the channel bed and sides.

This calculator is useful for HVAC engineers sizing rectangular ductwork, process engineers designing shell-and-tube heat exchangers with annular flow paths, and civil and irrigation engineers analyzing open-channel flow, anywhere a non-circular flow path needs to be converted into an equivalent diameter for use with standard pipe-flow correlations.

📐 Formula

Dh  =  4A / P
A = flow cross-sectional area
P = wetted perimeter (the perimeter in contact with the fluid)
Circular: Dh = D  |  Rectangular: Dh = 2ab/(a+b)
Annular: Dh = Do − Di
Open channel (rectangular): Dh = 4bh / (b+2h), top surface excluded from P
Example: rectangular duct a=400 mm, b=200 mm: Dh = 2(400)(200)/(400+200) = 266.667 mm.

📖 How to Use This Calculator

Steps

1
Choose the cross-section shape.
2
Enter the shape's dimensions.
3
Read the hydraulic diameter.

💡 Example Calculations

Example 1 - Rectangular HVAC duct

1
a = 400 mm, b = 200 mm
2
Dh = 2ab/(a+b) = 2(400)(200)/(400+200) = 160,000/600
3
Dh = 266.667 mm
Dh = 266.7 mm
Try this example →

Example 2 - Shell-and-tube heat exchanger annulus

1
Do = 150 mm, Di = 100 mm
2
Dh = Do − Di = 150 − 100
3
Dh = 50 mm (exact)
Dh = 50 mm
Try this example →

Example 3 - Open irrigation channel

1
b = 2 m, h = 0.5 m
2
A = bh = 1 m², P = b+2h = 2+1 = 3 m (top surface excluded)
3
Dh = 4A/P = 4/3 = 1.3333 m
Dh = 1.33 m
Try this example →

Example 4 - Full circular pipe (trivial case)

1
D = 150 mm
2
For a full circular pipe, Dh = D exactly, no correction is needed
3
Dh = 150 mm
Dh = 150 mm
Try this example →

❓ Frequently Asked Questions

What is hydraulic diameter?+
Hydraulic diameter D_h is a single equivalent-diameter value, D_h = 4A/P, where A is the flow cross-sectional area and P is the wetted perimeter (the perimeter actually in contact with the fluid). It lets engineers apply circular-pipe formulas like Reynolds number and the Darcy friction factor to non-circular ducts and channels by substituting D_h wherever the formula calls for diameter D.
Why do we need hydraulic diameter instead of just using actual dimensions?+
Most fluid mechanics correlations, including Reynolds number, the Moody chart friction factor, and Nusselt number heat transfer correlations, were derived and validated for circular pipes. Rectangular ducts, annular gaps, and open channels have no single natural diameter, so hydraulic diameter gives a consistent, physically motivated substitute that keeps those correlations reasonably accurate for non-circular shapes.
What is the hydraulic diameter formula for a rectangular duct?+
For a full rectangular duct with sides a and b, D_h = 2ab / (a+b). This comes from A = ab and P = 2(a+b), so D_h = 4A/P = 4ab / (2(a+b)) = 2ab/(a+b). For a square duct where a = b, this simplifies exactly to D_h = a.
What is the hydraulic diameter formula for an annular gap?+
For a concentric annular gap between an outer diameter D_o and inner diameter D_i, such as a shell-and-tube heat exchanger, D_h = D_o - D_i. This comes from A = pi/4 (D_o^2 - D_i^2) and P = pi(D_o + D_i), and the pi terms cancel exactly to leave a simple difference.
How is hydraulic diameter calculated for an open channel?+
For a rectangular open channel with width b and flow depth h, the free top surface is excluded from the wetted perimeter because it touches air, not a solid wall. So P = b + 2h (bottom plus two sides only) and A = bh, giving D_h = 4A/P = 4bh / (b+2h). This differs from a fully enclosed rectangular duct, which includes all four sides in P.
What is the hydraulic diameter of a circular pipe?+
For a full circular pipe of diameter D, D_h = D exactly. This is because A = pi D^2/4 and P = pi D, so 4A/P = 4(pi D^2/4)/(pi D) = D. Hydraulic diameter is designed so it reduces to the ordinary diameter for the circular case that all the underlying correlations were originally built for.
Can I use hydraulic diameter with the Reynolds number and Moody chart?+
Yes, this is the primary use case. Compute D_h for your duct or channel shape here, then use it as the length scale D in the Reynolds Number Calculator and the Moody Chart Friction Factor Calculator. The resulting Reynolds number and friction factor are approximate for non-circular shapes but are the standard engineering practice for HVAC ducts, heat exchangers, and open channels.
Why is hydraulic diameter for an elongated rectangular duct smaller than expected?+
As a rectangular duct becomes very elongated (aspect ratio b/a approaching zero, a thin slot), hydraulic diameter approaches 2b, twice the short side, not the long side. This is because the wetted perimeter grows almost linearly with the long side a, while the area only grows linearly with the short side b, so the 4A/P ratio collapses toward the narrow dimension.
Is hydraulic diameter exact or an approximation?+
Hydraulic diameter is exact as a geometric definition (it is always precisely 4A/P for any shape), but its use as a substitute for D in circular-pipe correlations is an approximation. It works very well for shapes reasonably close to circular or square, and less accurately for highly elongated or irregular cross-sections, where more advanced non-circular duct correlations may be needed for precise engineering work.
What is the difference between hydraulic diameter and hydraulic radius?+
Hydraulic radius R_h = A/P (area over wetted perimeter, without the factor of 4), commonly used in open-channel hydraulics and the Manning equation. Hydraulic diameter D_h = 4A/P = 4R_h. The factor of 4 exists specifically so that D_h reduces to the ordinary diameter D for a full circular pipe, matching the convention used in pipe-flow formulas.

What is hydraulic diameter?

Hydraulic diameter D_h is a single equivalent-diameter value, D_h = 4A/P, where A is the flow cross-sectional area and P is the wetted perimeter (the perimeter actually in contact with the fluid). It lets engineers apply circular-pipe formulas like Reynolds number and the Darcy friction factor to non-circular ducts and channels by substituting D_h wherever the formula calls for diameter D.

Why do we need hydraulic diameter instead of just using actual dimensions?

Most fluid mechanics correlations, including Reynolds number, the Moody chart friction factor, and Nusselt number heat transfer correlations, were derived and validated for circular pipes. Rectangular ducts, annular gaps, and open channels have no single natural diameter, so hydraulic diameter gives a consistent, physically motivated substitute that keeps those correlations reasonably accurate for non-circular shapes.

What is the hydraulic diameter formula for a rectangular duct?

For a full rectangular duct with sides a and b, D_h = 2ab / (a+b). This comes from A = ab and P = 2(a+b), so D_h = 4A/P = 4ab / (2(a+b)) = 2ab/(a+b). For a square duct where a = b, this simplifies exactly to D_h = a.

What is the hydraulic diameter formula for an annular gap?

For a concentric annular gap between an outer diameter D_o and inner diameter D_i, such as a shell-and-tube heat exchanger, D_h = D_o - D_i. This comes from A = pi/4 (D_o^2 - D_i^2) and P = pi(D_o + D_i), and the pi terms cancel exactly to leave a simple difference.

How is hydraulic diameter calculated for an open channel?

For a rectangular open channel with width b and flow depth h, the free top surface is excluded from the wetted perimeter because it touches air, not a solid wall. So P = b + 2h (bottom plus two sides only) and A = bh, giving D_h = 4A/P = 4bh / (b+2h). This differs from a fully enclosed rectangular duct, which includes all four sides in P.

What is the hydraulic diameter of a circular pipe?

For a full circular pipe of diameter D, D_h = D exactly. This is because A = pi D^2/4 and P = pi D, so 4A/P = 4(pi D^2/4)/(pi D) = D. Hydraulic diameter is designed so it reduces to the ordinary diameter for the circular case that all the underlying correlations were originally built for.

Can I use hydraulic diameter with the Reynolds number and Moody chart?

Yes, this is the primary use case. Compute D_h for your duct or channel shape here, then use it as the length scale D in the Reynolds Number Calculator and the Moody Chart Friction Factor Calculator. The resulting Reynolds number and friction factor are approximate for non-circular shapes but are the standard engineering practice for HVAC ducts, heat exchangers, and open channels.

Why is hydraulic diameter for an elongated rectangular duct smaller than expected?

As a rectangular duct becomes very elongated (aspect ratio b/a approaching zero, a thin slot), hydraulic diameter approaches 2b, twice the short side, not the long side. This is because the wetted perimeter grows almost linearly with the long side a, while the area only grows linearly with the short side b, so the 4A/P ratio collapses toward the narrow dimension.

Is hydraulic diameter exact or an approximation?

Hydraulic diameter is exact as a geometric definition (it is always precisely 4A/P for any shape), but its use as a substitute for D in circular-pipe correlations is an approximation. It works very well for shapes reasonably close to circular or square, and less accurately for highly elongated or irregular cross-sections, where more advanced non-circular duct correlations may be needed for precise engineering work.

What is the difference between hydraulic diameter and hydraulic radius?

Hydraulic radius R_h = A/P (area over wetted perimeter, without the factor of 4), commonly used in open-channel hydraulics and the Manning equation. Hydraulic diameter D_h = 4A/P = 4R_h. The factor of 4 exists specifically so that D_h reduces to the ordinary diameter D for a full circular pipe, matching the convention used in pipe-flow formulas.