ISO 3170 and ISO 3171 Explained: Manual and Automatic Sampling of Petroleum Liquids

Custody transfer of crude oil and products rests on two numbers, volume and quality, and quality rests on the sample. Two ISO standards set how that sample is taken: ISO 3170 for manual sampling and ISO 3171 for automatic pipeline sampling. Their API equivalents are API MPMS Chapter 8.1 and 8.2, and ASTM D4057 and D4177.
ISO 3170: manual sampling
ISO published a new edition, ISO 3170:2025, titled hydrocarbon liquids: manual sampling, replacing the 2004 edition. The scope covers manual methods for obtaining samples of liquid or semi-liquid hydrocarbons, slops and sludges from tanks, drums, cans and pipelines, the sampling apparatus (bottles, cages, cans, core and zone samplers), and the handling and labelling that keep the sample valid. Spot, running, all-levels and composite samples are defined, as is what the method cannot do: a tank sample is only as representative as the mixing in the tank.
ISO 3171: automatic pipeline sampling
ISO 3171 (1988, confirmed; a revision is in committee) covers the design, installation, testing and operation of automatic samplers for petroleum liquids in pipelines. Its core requirements are physical: the stream must be adequately mixed at the sampling point (natural turbulence or a static mixer or jet mixer), the probe must be in the mixed zone, the grab must be taken in proportion to flow, and the receiver must hold the sample without loss of light ends or stratification. It also sets out the proving test that demonstrates a sampler is representative by injecting a known water content and recovering it within tolerance.
What it means for the equipment
The standard is why an automatic sampler is a system, not a valve: a flow-proportional controller, a probe with a defined inlet, a mixing element where turbulence is not enough, a fast loop where the main line is large, a receiver with vapour-tight handling and a water-injection proving facility. Our in-line automatic sampling systems, fast-loop automatic sampling systems, automatic sampler retrofit kits and closed-loop liquid spot samplers are built to these requirements; the liquid flow unit converter covers the grabs-per-volume arithmetic. All our standards guides.
Send your application, materials and the standards your contract names to mail@techincresearch.com or call +1 (289) 622-1032, and we will return a configuration, datasheet and quotation.
This article is our commentary on the standard's published scope, not a substitute for the standard itself; always work to the current edition named in your contract. Equipment specifications may change; performance depends on the application, how the equipment is used and operation in line with the operation manual.
Sources
ISO, ISO 3170:2025 Hydrocarbon liquids: manual sampling, standard summary page.
ISO, ISO 3171:1988 Petroleum liquids: automatic pipeline sampling, standard summary page.
ASTM International, ASTM D4177 Standard Practice for Automatic Sampling of Petroleum and Petroleum Products.





Comments