Hydraulic Diameter Calculator
Calculate hydraulic diameter (D_h = 4A/P) for rectangular, circular, annular, and custom cross-sections
This free online hydraulic diameter calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Supports both metric (SI) and imperial units with built-in unit selection dropdowns on every input field, so you can work in whatever units your problem provides. Designed for engineering students and professionals working through coursework, design projects, or quick reference calculations.
Hydraulic Diameter Calculator
D_h = 4A/P · A = cross-sectional area · P = wetted perimeter
Hydraulic Diameter D_h
0.3750 m
= 375.0 mm
Cross-Section Parameters
Area A
0.150000 m²
Wetted Perimeter P
1.6000 m
Formula
D_h = 4·(a·b) / (2·(a+b)) = 2ab/(a+b) = 2×0.3000×0.5000/0.8000
D_h = 4×0.150000/1.6000 = 0.3750 m
How to Use This Calculator
Enter your input values
Fill in all required input fields for the Hydraulic Diameter Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.
Review your inputs
Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.
Read the results
The Hydraulic Diameter Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.
Explore parameter sensitivity
Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.
Formula Reference
Hydraulic Diameter Calculator Formula
See calculator inputs for the governing equation
Variables: All variables and their units are labeled in the calculator interface above. Input fields accept values in multiple unit systems — select your preferred unit from the dropdown next to each field.
When to Use This Calculator
- •Use the Hydraulic Diameter Calculator when solving homework or exam problems that require quick numerical verification of your hand calculations — instant feedback helps identify arithmetic errors before they propagate.
- •Use it during the early design phase to rapidly iterate on parameters and narrow down feasible configurations before committing time to detailed finite element simulations or full design packages.
- •Use it when reviewing a colleague's calculation or checking a vendor's data sheet for plausibility — a quick sanity check can prevent costly downstream errors.
- •Use it to generate reference data for a technical report or presentation without manual computation, ensuring consistent, reproducible numbers throughout the document.
- •Use it in the field when a quick estimate is needed and a full engineering software package is not available.
About This Calculator
The Hydraulic Diameter Calculator is a precision engineering calculation tool designed for students, engineers, and technical professionals. Calculate hydraulic diameter (D_h = 4A/P) for rectangular, circular, annular, and custom cross-sections All calculations are performed using established engineering formulas from the relevant scientific literature and standards. Inputs support both metric (SI) and imperial unit systems, with unit conversion handled automatically — simply select your preferred unit from the dropdown next to each field. Results are computed instantly in the browser without sending data to a server, ensuring both speed and privacy. This calculator is intended as a supplementary tool for learning and design exploration; always verify results against authoritative references for safety-critical applications.
The Theory Behind It
The hydraulic diameter D_h = 4A/P is an equivalent-diameter concept used to apply pipe-flow correlations (Reynolds number, friction factor, Nusselt number) to non-circular conduits. A is the cross-sectional area of flow and P is the wetted perimeter (the length of the boundary in contact with the fluid). For a circular pipe, D_h = 4·(πD²/4)/(πD) = D — the hydraulic diameter equals the actual diameter, which is why it is called 'hydraulic diameter' rather than 'equivalent diameter' for circular pipes. For other shapes: rectangular duct of width a and height b → D_h = 2ab/(a+b); square duct with side a → D_h = a; annulus with outer diameter D_out and inner diameter D_in → D_h = D_out − D_in; triangular duct (equilateral) → D_h = a/√3. The factor of 4 in D_h = 4A/P comes from matching the pressure drop for a circular pipe: circular Darcy-Weisbach uses D as the characteristic length, and D_h = 4A/P is the value that makes non-circular conduit pressure drop match the circular formula when substituted into Darcy-Weisbach. The approximation is best for fully-developed turbulent flow in long passages; for laminar flow and short or irregular passages, D_h is less accurate but still commonly used for engineering estimates. The calculator computes D_h for rectangular, circular, annular, triangular, and other standard geometries given the shape dimensions.
Real-World Applications
- •HVAC duct pressure drop: compute friction loss in rectangular sheet-metal ducts using D_h in the Darcy-Weisbach equation. Typical residential duct 200×300 mm has D_h = 240 mm.
- •Heat exchanger tube analysis: shell-and-tube heat exchangers have the outer shell side flowing around tubes, creating an irregular cross-section. D_h captures the effective diameter for Nusselt number correlations.
- •Electronic cooling: rectangular and finned heat sink channels use D_h to compute Reynolds number and Nusselt number for convective cooling calculations.
- •Hydraulic channel design: open channel flow (rectangular irrigation ditch, trapezoidal canal) uses the hydraulic radius R_h = A/P (half of D_h/2), which is Manning's equation's natural length scale.
- •Process piping with non-circular channels: irregular channels in process equipment (annular preheaters, segmental baffles in shell-and-tube) use D_h to apply standard pipe-flow correlations.
Frequently Asked Questions
What is hydraulic diameter?
D_h = 4A/P, the equivalent circular diameter that gives the same hydraulic behavior as a non-circular conduit. A is the flow cross-sectional area, P is the wetted perimeter. For a circular pipe, D_h = D (actual diameter). For non-circular shapes, D_h is used in Reynolds number, friction factor, and heat transfer correlations as if the flow were in a circular pipe of that diameter.
What's the hydraulic diameter of a rectangular duct?
D_h = 2ab/(a+b), where a and b are the two sides of the rectangle. For a square (a = b), D_h = a (the side length). For a very flat rectangle (a >> b), D_h ≈ 2b (twice the short dimension). For a 200×400 mm duct, D_h = 2×200×400/(200+400) = 267 mm.
What's the difference between hydraulic diameter and hydraulic radius?
They differ by a factor of 4: D_h = 4·R_h, where R_h = A/P is the hydraulic radius. Hydraulic radius is the natural variable in open-channel flow equations (Manning, Chezy), while hydraulic diameter is used in closed conduit flow (Darcy-Weisbach). Both measure the same geometric property, just scaled differently by convention.
Why multiply by 4 for D_h = 4A/P?
The factor 4 makes D_h equal to D for circular pipes (where A = πD²/4 and P = πD, so 4A/P = D). This choice lets you use the standard Darcy-Weisbach equation f·(L/D)·(ρV²/2) without modification — just substitute D_h for D. Using R_h = A/P directly (without the factor 4) would require changing the friction factor formula. The factor 4 is a historical convention for compatibility with circular pipe equations.
When does hydraulic diameter fail as an approximation?
D_h is most accurate for fully-developed turbulent flow in long passages with roughly circular cross-sections (aspect ratio < 4:1). For laminar flow in rectangular ducts, the actual friction factor differs from the circular value by a geometric factor (f·Re varies from 56.9 for square to 96 for infinite parallel plates). For high-aspect-ratio channels, short channels with entrance effects, or highly irregular cross-sections, more detailed analysis using the specific geometry is needed.
Related Calculators
Reynolds Number Calculator
Calculate Reynolds number and classify flow as laminar, transitional, or turbulent with common fluid presets
Bernoulli Equation Calculator
Solve for any unknown in the Bernoulli equation given pressure, velocity, and elevation at two points
Darcy-Weisbach Calculator
Calculate head loss and pressure drop in pipes using the Darcy-Weisbach equation with friction factor
Moody Chart Calculator
Calculate Darcy friction factor from Reynolds number and relative roughness using Colebrook-White and Swamee-Jain
Pump Power Calculator
Calculate hydraulic power, shaft power, and NPSH for centrifugal pumps from flow rate, head, and efficiency
Orifice Flow Calculator
Calculate volumetric flow rate through an orifice from discharge coefficient, area, and pressure drop