Most flow formulas were written for round pipes, but real ducts, channels and gaps come in rectangles, triangles and rings. Hydraulic diameter is a single length that lets you treat any of those shapes as if it were a round pipe: four times the flow area divided by the wetted perimeter. For a round pipe it simply equals the actual diameter. It is a handy approximation rather than an exact equivalence, good enough for everyday flow and pressure-loss estimates, and less trustworthy for very flat or unusual shapes, where it can be off by roughly 10% or more.
The Hydraulic Diameter Formula
The standard formula, which works for any cross-section shape, is Dh = 4A/P.1CFDLAND. Hydraulic Diameter Calculator & Formula A is the cross-sectional area the fluid actually flows through.2Wikipedia. Hydraulic diameter P is the wetted perimeter, the length of wall around that cross-section that the fluid touches.1CFDLAND. Hydraulic Diameter Calculator & Formula The formula assumes the shape stays the same along the length of the pipe or channel.2Wikipedia. Hydraulic diameter
The ratio matters because fluid loses energy mostly by rubbing against walls. A narrow slot has lots of wall and little area, so it gets a small hydraulic diameter even if it is wide. For a given area, any shape with more wall around it has a smaller Dh, which is why a flattened duct acts like a narrower pipe than its area suggests. A circle gives the largest Dh for its area and a square comes close, so compact shapes are the lowest-friction choice.
Measuring the wetted perimeter is where most slips happen. Count only walls the fluid touches, not the air surface in a partly full pipe or open channel. For a full, closed duct, the wetted perimeter is simply the whole inside perimeter. Use inside dimensions, since wall thickness carries no flow, and keep units consistent so area and perimeter combine into a length in the same unit.
The factor of 4 is there so that a round pipe’s hydraulic diameter equals its real diameter. Without it you get the hydraulic radius, A/P, which is used in open-channel work. For a full round pipe the hydraulic radius is a quarter of the diameter, not half. Mixing the two up is a common source of fourfold errors.
For a shape you can measure, sketch the cross-section and write down the inside dimensions of the open part only. Work out the flow area first, then add up every edge of that shape to get the wetted perimeter, and only then compute 4A/P.
Why a Round Pipe’s Hydraulic Diameter Is Its Diameter
For a circle, the area is πD²/4 and the perimeter is πD. Put those into 4A/P and you get 4(πD²/4)/(πD), which simplifies to D. That’s why round-pipe formulas work unchanged when you substitute Dh for other shapes.
Hydraulic diameter asks which round pipe has the same area-to-wall ratio as your shape. It does not give a pipe with the same flow area as your duct. A square duct and a round pipe of equal Dh carry different amounts of fluid, so never use Dh to compute flow area; use the real area.
The round-pipe result also works as a check on your own work. If you compute 4A/P for a circular pipe and don’t get the inside diameter back, an input is wrong, usually an outside diameter or a mismatched unit. A square duct gives its side length, so you can test a spreadsheet or calculator on shapes whose answer you already know.
Hydraulic Diameter of Rectangles, Squares, Rings and Triangles
Applying 4A/P to each shape gives some handy shortcuts:
- Rectangle of height H and width W: Dh = 2HW/(H+W).3International Journal of Heat and Mass Transfer. Effect of cross-sectional aspect ratio on turbulent heat transfer in an orthogonally rotating rectangular smooth duct
- Square of side a: Dh = a.
- Annulus (the ring between two pipes): Dh = outer diameter minus inner diameter.
- Equilateral triangle of side s: Dh = s divided by the square root of 3, about 0.58s.
- Very wide flat slot of gap h: Dh is about 2h.
Use the rectangle shortcut only when fluid touches all four sides. If one side is open or a wall isn’t wetted, the perimeter changes and the shortcut no longer applies. As a check, the result should fall between the short side and twice the short side.
Take a 200 mm by 100 mm duct. The area is 20,000 mm² and the perimeter is 600 mm, so 4A/P gives about 133 mm. The shortcut 2HW/(H+W) gives the same 133 mm.
For an annulus, say a 50 mm outer pipe around a 30 mm inner pipe, Dh is 20 mm. Both the inner and outer walls count in the wetted perimeter, which is why a ring gap behaves like a narrow pipe, not a big one. That matters in pipe-in-pipe heat exchangers.
Each shortcut has its limits. Use the square formula only when all four sides are equal; a duct that is almost square is better handled with the rectangle formula. The annulus formula applies to the gap between two round pipes that share a center and are both wetted. The slot value of about 2h is an approximation for a gap much wider than it is tall, since the side walls then add little wall length.
A rectangle’s width-to-height ratio, often called aspect ratio, changes its behavior even at the same Dh.4Applied Thermal Engineering. Effect of hydraulic diameter and aspect ratio on single phase flow and heat transfer in a rectangular microchannel The speed profile near the walls shifts noticeably once one side is more than about twice the other.4Applied Thermal Engineering. Effect of hydraulic diameter and aspect ratio on single phase flow and heat transfer in a rectangular microchannel So two rectangles with the same Dh can flow differently, and Dh alone doesn’t describe the shape. A ratio near 1 behaves most like a round pipe, so Dh is most dependable there. As the ratio grows, the corners and long flat walls start to dominate and the round-pipe assumption weakens.
If you only have a photo or rough measurements of an irregular opening, fit an ellipse inside it and measure its short axis a: Dh is about 1.4a.5PubMed Central. MEASURING THE HYDRAULIC DIAMETER OF A PORE OR CONDUIT Fitting a rectangle instead gives Dh of about 2a.5PubMed Central. MEASURING THE HYDRAULIC DIAMETER OF A PORE OR CONDUIT This usually beats averaging the long and short sides or treating the opening as a circle.5PubMed Central. MEASURING THE HYDRAULIC DIAMETER OF A PORE OR CONDUIT
Using Hydraulic Diameter in Reynolds Number and Pressure Loss
The Reynolds number tells you whether flow will be smooth (laminar) or churning (turbulent). Its length term is the diameter for round pipes and the hydraulic diameter for non-round ducts like triangles or ovals.6SimScale. Reynolds Number Calculator – Predict Laminar & Turbulent Flow In pipe flow, values below about 2,300 are usually laminar and above about 4,000 turbulent. Between them is a transition zone where flow can switch back and forth, so no single friction value fits. The number combines speed, fluid properties and the length scale, so swapping in Dh only changes the length term. If your flow is laminar, the friction factor comes from a laminar relation rather than the Moody chart’s turbulent curves, so decide which regime you’re in first.
Pressure loss along a duct is calculated with Darcy-Weisbach: Δp = λ(l/Dh)(ρv²/2).7Engineering ToolBox. Darcy-Weisbach Equation: Flow Resistance & Pressure Loss Calculator The loss grows with duct length and shrinks as hydraulic diameter grows.8Production Technology. Pressure loss calculations through a conduit A long, narrow duct loses more pressure than a short, wide one. The velocity term grows with the square of speed, so doubling the speed roughly quadruples the loss. The friction factor λ depends on the Reynolds number and on wall roughness, so read it for the actual duct material. Narrower channels cost much more pumping pressure, a known downside of small-channel heat exchangers.9Elsevier. Pressure drop correlations for two-phase flow within horizontal rectangular channels with small heights
For a square duct, the steps run like this:
- Compute Dh from area and wetted perimeter.
- Use the real area to get average speed from flow rate.
- Compute the Reynolds number with Dh, then read the friction factor from a Moody chart.
- Plug into Darcy-Weisbach with length divided by Dh.
The most common error is in the speed. Dh goes into the Reynolds number and the length ratio, but average speed comes from the real flow area, not from the area of a round pipe of diameter Dh. A wrong area makes the speed wrong, and since speed is squared in the loss term, the pressure drop is off by a much larger factor.
How Accurate Hydraulic Diameter Is
For common shapes like triangles and regular polygons, hydraulic diameter is the natural length to use in turbulent friction.10Journal of Fluid Mechanics. On turbulent friction in straight ducts with complex cross-section: the wall law and the hydraulic diameter More refined methods change friction estimates by only a few percent for rectangles, annuli and rod bundles.10Journal of Fluid Mechanics. On turbulent friction in straight ducts with complex cross-section: the wall law and the hydraulic diameter In turbulent flow the fluid is mixed vigorously, so the speed profile is flat across most of the duct and wall friction depends mainly on the ratio of area to wall, which is what Dh captures.
Smooth flow is touchier. In laminar flow through rectangles, results stay within about 12.5% when the long side is under about four times the short side.11PubMed Central. Range of effectiveness of hydraulic diameter model as an analytical solution for rectangular microchannels For flatter rectangles the error can reach about 33%.11PubMed Central. Range of effectiveness of hydraulic diameter model as an analytical solution for rectangular microchannels Without mixing, the speed profile is set by the exact geometry, and corners hold slow fluid that Dh doesn’t account for. Round-pipe laminar equations therefore need a shape-specific correction for a rectangle or triangle. Using Dh in the standard smooth-flow equation tends to underestimate how much fluid flows,12American Journal of Botany. Estimating volume flow rates through xylem conduits so a design based on it errs toward being conservative about delivery.
Heat transfer is the weakest use. Borrowing round-tube heat transfer formulas with Dh can give large errors for polygon-shaped ducts in turbulent flow.13Journal of Heat Transfer. A New Heat Transfer Correlation for Turbulent Flow of Air With Variable Properties in Noncircular Ducts Heat moves through the fluid near the wall, and in a non-round duct that layer varies from the middle of a side to the corner, so one length scale can’t represent it. Condensing steam in a triangular channel, for example, can transfer heat much faster than in a round tube of the same Dh.14International Journal of Heat and Mass Transfer. Technical Note Theoretical analysis of film condensation heat transfer inside vertical mini triangular channels For heat calculations in rod bundles, engineers use a “heated diameter” instead.15Nuclear Technology. Hydraulic and Heated Equivalent Diameters Used in Heat Transfer Correlations When the heat result matters, as in a heat exchanger design, use a correlation published for that shape.
Hydraulic Diameter in Partly Full Pipes and Open Channels
When a pipe isn’t full, the top of the flow is a free surface that touches air, not wall, so it doesn’t count in the wetted perimeter. As the depth changes, both area and wetted perimeter change, so area, wetted perimeter and hydraulic radius must be recalculated for each flow depth.16CED Engineering. Spreadsheet Use for Partially Full Pipe Flow Calculations The Manning equation used for such flows also needs a roughness value that varies with depth.16CED Engineering. Spreadsheet Use for Partially Full Pipe Flow Calculations Drainage and sewer work usually uses hydraulic radius, A/P, rather than Dh. Gravity-driven flow in sewers and culverts is calculated that way because it’s the form Manning’s equation uses. If a formula asks for hydraulic radius and you supply Dh, that term comes out four times too large.
A half-full round pipe shows how it plays out. The area is half the full circle and the wetted perimeter is half the circumference, so the ratio is the same as full and Dh equals D at exactly half full. At other depths Dh differs, peaking a bit above 80% full. Near the top, the wetted perimeter grows quickly while the area gains little, so wall contact is the cost of depth there, and a pipe is not at its best when completely full.
Where Hydraulic Diameter Shows Up in Real Life
Compact heat exchangers use channels under 5 mm across because they transfer heat well.9Elsevier. Pressure drop correlations for two-phase flow within horizontal rectangular channels with small heights Smaller channels give more wall surface for a given volume, but each reduction in Dh raises the pumping pressure needed. Designers search for an optimal channel Dh to minimize pumping losses,17North-West University Repository. The optimum hydraulic diameter of semicircular and triangular shaped channels for compact heat exchangers balancing the heat gained against the pumping power spent instead of making channels as small as possible.
In HVAC, rectangular ducts are sized using an equivalent round diameter. Flatter ducts of the same area create more friction, so keeping ducts near square lowers fan energy. Duct charts are written for round ducts, so a rectangular duct is converted to a round diameter that would give the same friction at the same flow. That equivalent diameter is not the same as the hydraulic diameter, because it is chosen to match friction at equal flow, not the 4A/P ratio, so use the chart’s own conversion.

