Pipe is made of a wide variety of materials - like galvanized steel, black steel, copper, cast iron, concrete, and various plastics such as ABS, PVC, CPVC, polyethylene, polybutylene and more.
Pipes are identified by "nominal" or "trade" names that are loosely related to the actual dimensions. For instance, a 2-inch galvanized steel pipe has an inside diameter of about 2 1/8 inches and an outside diameter of about 2 5/8 inches.
In plumbing pipe size is referred to as nominal pipe size - NPS, or "Nominal Pipe Size". The metric equivalent is called DN or "diametre nominel". The metric designations conform to International Standards Organization (ISO) usage and apply to all plumbing, natural gas, heating oil, and miscellaneous piping used in buildings. The use of NPS does not conform to American Standard pipe designations where the term NPS means "National Pipe Thread Straight".
Convert the pipe diameters with the inner and outer diameter in millimeters, the inner surface and wall thickness.