Enter duty flow to get practical diameters fast. Check velocities against refinery design targets easily. Download tables to support piping reviews and approvals daily.
These examples show typical inputs and the resulting nominal size using common schedules.
| Service case | Flow | Design velocity | Schedule | Suggested NPS | Notes |
|---|---|---|---|---|---|
| Light hydrocarbon transfer | 120 m³/h | 2.0 m/s | 40 | NPS 8 | Balanced velocity and pressure drop. |
| Cooling water supply | 300 m³/h | 2.5 m/s | 40 | NPS 12 | Check pump head margin for long runs. |
| Viscous product loading | 60 m³/h | 1.2 m/s | 80 | NPS 6 | Lower velocity helps limit shear losses. |
| Slop oil circulation | 90 m³/h | 1.6 m/s | 40 | NPS 6 | Validate with line routing and fittings. |
This tool supports preliminary sizing. Confirm final selection with project specifications, corrosion allowance, fittings, elevation, and applicable codes.
Pipe size begins with continuity: Q equals velocity times area. The calculator converts the entered flow to m³/s, applies your design velocity, and computes internal diameter as D = √(4Q/(πV)). In refinery liquid lines, 1–3 m/s is common for transfer and circulation, while 0.6–1.5 m/s often suits suction and viscous services. Validate velocities against erosion, noise, and cavitation limits always.
The safety margin increases the computed diameter by a chosen percentage before selecting a nominal size. Use 5–10% when duty is well defined, and 10–20% when routing, fouling, or product slate may change. A modest margin can reduce later tie-ins and helps preserve pump head during debottlenecking.
Reynolds number Re = ρVD/μ indicates flow regime and friction sensitivity. Below Re 2,300, laminar flow produces higher friction dependence on viscosity and may justify a lower velocity target. Most refinery process lines are turbulent, where friction depends more on diameter and roughness than on viscosity changes. Tracking Re also supports heat-transfer assumptions and helps flag unusually high shear rates in sensitive products.
Absolute roughness ε affects turbulent losses. New carbon steel is often approximated near 0.045 mm, while aged or scaled pipe can be higher. Schedule selection changes inside diameter; thicker walls reduce ID, raising velocity and pressure drop for the same nominal size. Use the schedule that meets pressure and mechanical needs, then confirm hydraulics remain acceptable. If corrosion allowance is large, treat the reduced end-of-life ID as the controlling case.
Pressure drop is estimated with Darcy–Weisbach: ΔP = f(L/D)(ρV²/2). The calculator uses laminar f = 64/Re and a fast turbulent correlation (Swamee–Jain) for screening. For detailed design, add equivalent length for elbows, valves, strainers, and control elements, then include elevation changes, vapor pressure margin, and pump curve checks. Fittings can contribute 20–60% of total loss on congested pipe racks, so confirm with a line list and isometric count.
Use the unit from your datasheet. The calculator converts inputs to m³/s internally, so results remain consistent across m³/h, L/s, L/min, gpm, and bbl/h.
For many liquid services, 1–3 m/s is a common starting range. Use lower targets for suction, viscous products, or erosion-prone streams, and verify against your project specification.
Different schedules have different inside diameters. A smaller ID raises velocity and pressure drop at the same flow, which can move the selection to the next larger nominal size.
No. The pressure drop uses straight length only. Add equivalent lengths or K-values for elbows, tees, valves, strainers, and control devices during detailed hydraulic calculations.
0.045 mm is a typical screening value for clean new carbon steel. Increase it for aged, scaled, or internally corroded lines, or follow your company’s standard roughness assumptions.
Download CSV or PDF after a successful calculation. Attach it to line sizing notes, then update inputs as routing, fittings, and operating conditions become better defined.
Inside diameters shown are typical values used for quick selection.
| NPS | Sch 40 ID (mm) | Sch 80 ID (mm) |
|---|---|---|
| 1/2 | 15.8 | 13.7 |
| 3/4 | 20.9 | 18.6 |
Fatal error: Uncaught TypeError: Argument 1 passed to h() must be of the type string, int given, called in /home/u294241901/domains/codingace.net/public_html/construction/refinery_pipe_size.php on line 634 and defined in /home/u294241901/domains/codingace.net/public_html/construction/refinery_pipe_size.php:9 Stack trace: #0 /home/u294241901/domains/codingace.net/public_html/construction/refinery_pipe_size.php(634): h(1) #1 {main} thrown in /home/u294241901/domains/codingace.net/public_html/construction/refinery_pipe_size.php on line 9 |