DN / Piping Standards Calculator — Dimensions, Flanges, Barlow Pressure & Flow (ASME B36.10M / EN 1092-1 / ASME B16.5)
Governing standard: ASME B36.10M / EN 1092-1 / ASME B16.5· ASME B36.10M-2018 & B36.19M-2018 (pipe dimensions) · EN 10220:2002 (steel tube sizes) · EN 1092-1:2007 (PN flanges, PN 6–40) · ASME B16.5-2017 (class flanges, Class 150–1500) · Barlow formula per ASME B31 design-factor convention · Darcy-Weisbach / Swamee-Jain (turbulent friction)
The MechanixCalc DN / Piping Standards calculator is a unified piping reference and sizing tool built around the principal international standards. Select any nominal bore from DN 15 to DN 600, choose a wall-thickness schedule, and the tool instantly returns outside diameter, inside diameter, flow area, section modulus, moment of inertia and pipe mass per metre to ASME B36.10M / B36.19M and EN 10220. Switch to the flange tab to retrieve bolt-circle diameter, flange OD, bolt count and size for any PN rating (EN 1092-1, PN 6 to PN 40) or ASME class (ASME B16.5, Class 150 to Class 1500), complete with a to-scale bolt-circle diagram.
The integrated Barlow calculator applies the thin-wall pressure formula with the ASME B31 design factor to give the allowable operating pressure for the selected pipe and material, and flags over-pressure conditions. The Darcy-Weisbach panel — using the Swamee-Jain explicit friction-factor approximation — computes flow velocity, Reynolds number, regime (laminar/turbulent) and pressure drop per 100 m for water, oil, steam, air or a custom fluid. Together these panels replace the piping handbook lookups and back-of-envelope checks that precede every detailed pipe-stress or hydraulic analysis.
What this calculator does
- Pipe dimensions and section properties per ASME B36.10M / B36.19M / EN 10220 — all standard schedules (STD, XS, XXS, Sch 10–160)
- EN 1092-1 flange dimensions (PN 6 to PN 40) with to-scale bolt-circle diagram and downloadable PDF datasheet
- ASME B16.5 flange dimensions (Class 150 to Class 1500) with bolt-circle diagram and PDF datasheet
- Barlow allowable pressure with ASME B31 design factor, SMYS material presets and utilisation check
- Darcy-Weisbach flow velocity and pressure drop with Swamee-Jain friction factor, Reynolds number and flow-regime classification
- Bearing DN speed-limit comparison across all common bearing types with thermal reference-speed analysis
- Branded PDF engineering report with the full method, inputs and results cited to the governing standard
Method & formulas
Pipe dimensions and section properties (ASME B36.10M / EN 10220)
Nominal pipe sizes in the DN system are defined by a nominal outside diameter (OD) that is fixed across all wall schedules; only the wall thickness t changes with schedule. The inside diameter ID = OD − 2t, and all geometric section properties — flow area, moment of inertia, section modulus and radius of gyration — follow from these two values. The tool carries the tabulated OD and t values from ASME B36.10M (carbon and alloy steel) and B36.19M (stainless steel) for schedules STD through XXS and Sch 10 to Sch 160; pipe masses use ρ = 7 850 kg/m³ for carbon steel and 8 000 kg/m³ for stainless.
I = π / 64 · (OD⁴ − ID⁴)where I = second moment of area (cm⁴ when OD, ID are in cm); OD = outside diameter; ID = inside diameter = OD − 2t; t = wall thickness
m = π · t · (OD − t) · ρwhere m = mass per metre (kg/m); t = wall thickness (m); OD = outside diameter (m); ρ = material density (kg/m³); 7 850 for carbon steel, 8 000 for stainless steel
Barlow allowable pressure (ASME B31 design-factor convention)
The Barlow thin-wall formula is the industry-standard screening equation for the maximum allowable operating pressure (MAOP) of a straight pipe run. It relates the allowable pressure to the specified minimum yield strength (SMYS) of the pipe material, the wall thickness, the outside diameter and a design factor F that embeds the code safety margin. ASME B31.3 (process piping) typically uses F = 0.72 for normal service; ASME B31.4 / B31.8 (liquid / gas transmission) use location-class-dependent factors. The result is a screening value — a full code design must also account for the mill-tolerance deduction, weld efficiency, temperature de-rating and corrosion allowance per the applicable code edition.
P_allow = 2 · SMYS · t · F / ODwhere P_allow = allowable operating pressure (MPa when SMYS in MPa, t and OD in mm — units cancel); SMYS = specified minimum yield strength (MPa); t = wall thickness (mm); F = design factor (dimensionless, 0 < F ≤ 1); OD = pipe outside diameter (mm). Multiply by 10 to convert MPa to bar.
Darcy-Weisbach pressure drop (Swamee-Jain friction factor)
Pipe pressure drop is computed from the Darcy-Weisbach equation, which is exact for steady, incompressible, fully-developed flow in a circular pipe. The friction factor f is calculated using the Swamee-Jain explicit approximation (within ~3% of the Colebrook implicit equation) with a roughness of ε = 0.046 mm for commercial carbon steel. For laminar flow (Re < 2 300) the exact result f = 64/Re is used. The calculator outputs flow velocity, Reynolds number, friction factor, pressure drop in Pa/m and the equivalent bar per 100 m, and raises a velocity warning when the result exceeds 3 m/s for liquids or 20 m/s for gases.
ΔP / L = f · (ρ · v² / 2) / dwhere ΔP/L = pressure drop per metre (Pa/m); f = Darcy friction factor (dimensionless); ρ = fluid density (kg/m³); v = mean flow velocity (m/s); d = pipe inside diameter (m)
f = 0.25 / [ log₁₀ ( ε / (3.7·d) + 5.74 / Re^0.9 ) ]²where f = Darcy friction factor; ε = absolute pipe roughness (m); d = inside diameter (m); Re = Reynolds number = ρ·v·d/μ; μ = dynamic viscosity (Pa·s). Valid for Re > 4 000.
Worked example
Find the Barlow allowable pressure for a steel pipe with OD = 100 mm, wall thickness t = 5 mm, SMYS = 250 MPa, and an ASME B31 design factor F = 0.72.
Given
- Outside diameter OD100 mm
- Wall thickness t5 mm
- SMYS (specified minimum yield strength)250 MPa
- Design factor F0.72
Result
- Barlow allowable pressure P_allow18 MPa (180 bar)
- Apply the Barlow formula: P_allow = 2 · SMYS · t · F / OD.
- Substitute values: P_allow = 2 × 250 × 5 × 0.72 / 100 = 1 800 / 100 = 18 MPa.
- Convert to bar: 18 MPa × 10 = 180 bar.
- This is the allowable operating pressure for this pipe-material combination at the given design factor. A full code design (e.g. ASME B31.3) must additionally deduct the mill tolerance, apply the weld efficiency and temperature de-rating factors, and include a corrosion allowance.
Illustrative — these are round-number inputs. Always verify OD, t and SMYS against the mill certificate and apply the code-specific allowable stress, temperature de-rating and tolerance deduction for the final design.
Frequently asked questions
Which standards does this piping calculator use?
Pipe dimensions follow ASME B36.10M-2018 (carbon and alloy steel) and B36.19M-2018 (stainless steel), and EN 10220:2002. Flanges follow EN 1092-1:2007 (PN-designated, PN 6 to PN 40) and ASME B16.5-2017 (class-designated, Class 150 to Class 1500). Allowable pressure is screened with the Barlow formula using ASME B31 design factors. Pressure drop uses the Darcy-Weisbach equation with the Swamee-Jain explicit friction-factor approximation. The governing standard and method are cited in the generated PDF report.
What is the difference between PN and Class flange ratings?
PN (Pressure Nominale) is the European system defined in EN 1092-1; it assigns a nominal pressure rating (PN 6, 10, 16, 25, 40) to the flange at 20 °C for carbon steel, and the actual allowable pressure reduces with temperature. ASME Class (150, 300, 600, 900, 1500) is the North American system from ASME B16.5; the class number is not itself the allowable pressure in psi but a step in a pressure-temperature table that also depends on the material group. The tool presents both systems side by side so you can cross-reference or specify to either standard.
How accurate is the Barlow allowable-pressure result?
The Barlow formula P = 2·SMYS·t·F/OD is the standard screening equation used in ASME B31 piping codes. It is a thin-wall approximation (valid when t < OD/10) and gives the governing pressure before code-specific deductions — notably the mill-tolerance (typically −12.5% on t), the weld efficiency factor E, and the temperature de-rating factor for elevated service. Always apply the full code method (ASME B31.3, B31.4, B31.8 or EN 13480 as applicable) for the final design.
Can I use this tool for a detailed pipe-stress or ASME B31 code check?
The DN tool is a piping-reference and screening calculator, not a full B31 code checker. It gives the correct tabulated dimensions, section properties and flange data, and the Barlow formula is a recognised ASME B31 screening step. For sustained-load and thermal-expansion stress analysis (SIF, flexibility, support reactions), use the Pipe Stress calculator on this platform, which applies the ASME B31 sustained and displacement stress equations.
Is the DN / Piping Standards calculator free?
You can use it during a free 30-minute preview with no sign-up required, and a free 14-day account trial unlocks every calculator with no credit card needed. The branded PDF engineering report and saved calculations are part of a paid plan.
Related calculators
- Pipe Flow (Darcy-Weisbach / Moody)Full pipe-network flow analysis — friction losses, minor losses and pump sizing.
- Pipe Stress (ASME B31)Sustained and thermal-expansion stress checks (SIF, flexibility) per ASME B31.1 / B31.3.
- Pressure VesselsShell and head thickness for pressure vessels to ASME VIII / EN 13445.
- Hydraulic CylindersCylinder bore, rod and pressure sizing — uses the same Barlow / pipe-schedule logic for cylinder bodies.
- Bearing Analysis (ISO 281)Full L10 bearing life calculation — extends the DN speed-limit check with load and life analysis.
Run the DN / Piping Standards on your own numbers
Free 30-minute preview — no sign-up. A free 14-day account trial unlocks every tool and the branded PDF report, no credit card required.
Start free