Snap Diameter to Standard Size

Input data

Raw value

Units

Output data

Standard value

Units

Standard NPS value

Units

Description

Converts an input diameter to the corresponding standard nominal size based on a pipe reference table.

 

The calculation compares the input diameter against tabulated outside diameter ODOD values and selects the row with the smallest absolute difference. It then returns the associated DN and NPS values.

 

There are 2 calculation options:

  • Single value
  • Series of values

 

This tool is useful for matching calculated or specified diameters to standardized nominal sizes used in engineering design, specifications, and component selection.


Adjustment criterion

The input diameter DinD_{in} is compared against the reference outside diameter values ODiOD_i in the table. For each row ii, the following is evaluated:

Δi=DinODi\Delta_i = \left| D_{in} - OD_i \right|

The selected row is the one that minimizes this difference:

i=argminiDinODii^* = \arg\min_i \left| D_{in} - OD_i \right|

The outputs are then taken directly from the selected row:

DN=DNiDN = DN_{i^*}
NPS=NPSiNPS = NPS_{i^*}

Note: the snapping is based on the reference outside diameter ODOD, not on direct rounding of the DNDN value.


Reference table used

DN (mm)NPS (in)OD (mm)
61/810.3
81/413.7
103/817.1
151/221.3
203/426.7
25133.4
321 1/442.2
401 1/248.3
50260.3
652 1/273.0
80388.9
903 1/2101.6
1004114.3
1255141.3
1506168.3
2008219.1
25010273.0
30012323.9
35014355.6
40016406.4
45018457.2
50020508.0
60024609.6
70028711.2
75030762.0
80032812.8
90036914.4
1000401016.0
1050421066.8
1200481219.2

Reference: table based on ASME B36.10M / ISO 4200.


Calculation method: Single value

Input data

ParameterDefault unitsDescription
Input diameter DinD_{in}mmDiameter provided by the user, to be adjusted to the nearest standard nominal size based on the reference outside diameter.

Output data

ParameterDefault unitsDescription
Nominal diameter DNDNmmStandard nominal size corresponding to the selected row in the reference table.
Nominal pipe size NPSNPSinNPS designation corresponding to the selected row in the reference table.

Calculation method: Series of values

Input data

ParameterDefault unitsDescription
Input diameter DinD_{in}mmSeries of diameters provided by the user for batch adjustment to standard nominal sizes.

Output data

ParameterDefault unitsDescription
Nominal diameter DNDNmmSeries of standard nominal sizes obtained from the reference table.
Nominal pipe size NPSNPSinSeries of corresponding NPS designations.