# Natural Gas Flow Measurement: AGA3, ISO 5167 and Custody Transfer

> How natural gas flow is measured with orifice meters under AGA3 and ISO 5167. Covers the AGA8 compressibility factor (detailed vs. gross method), iterative flow calculation, custody-transfer requirements, pressure and temperature compensation, and impulse-line design for gas service.

- Category: Standards & Compliance
- Published: 2026-07-07
- Reading time: 18 min
- Canonical article: https://www.shizhongflow.com/blog/natural-gas-flow-measurement-aga3-iso5167

A pipeline operations manager once described natural gas metering as "the only measurement where a 0.1% error changes the quarterly earnings call." He was not exaggerating. A 42-inch transmission pipeline carrying 1.5 billion standard cubic feet per day at USD 3.50 per MMBtu moves approximately USD 5.25 million of product every 24 hours. At that throughput, a 0.1% systematic under-measurement represents USD 5,250 per day — USD 1.92 million per year — in unrecovered revenue. Natural gas is the highest-value fluid measured by DP flow meters in routine industrial service, and the measurement standards reflect that financial gravity. AGA Report No. 3 (AGA3) and ISO 5167-2:2022 together define the most rigorous metering framework in the process industries: an iterative flow calculation, a composition-dependent compressibility factor from AGA8, and an installation specification that governs every millimeter of straight pipe, every tap diameter, and every plate tolerance. This guide explains how natural gas flow measurement works under these standards, what distinguishes custody-transfer metering from process measurement, and how to specify a gas meter run that will survive an audit.

## The AGA3 Calculation Framework: Four Parts, One Measurement

AGA Report No. 3 — Orifice Metering of Natural Gas and Other Related Hydrocarbon Fluids — is the North American standard for orifice-plate gas flow measurement, published by the American Gas Association and incorporated by reference into API MPMS Chapter 14.3. It consists of four parts. Part 1: General Equations and Uncertainty Guidelines — defines the mass flow equation, the iterative solution procedure, and the uncertainty framework. Part 2: Specification and Installation Requirements — defines orifice plate geometry, meter-tube dimensions, pressure tap locations, straight-run requirements, and flow-conditioner specifications. These requirements are functionally equivalent to ISO 5167-2:2022 for the same tap type (flange taps at 25.4 mm). Part 3: Natural Gas Applications — defines the density calculation using AGA8 (detailed characterization method or gross method) and the expansibility factor using the ISO 5167-2 empirical correlation. Part 4: Background, Development, Implementation — provides the technical basis, historical calibration data, and example calculations. The mass flow equation is: q_m = (C / √(1−β⁴)) × ε × (π/4)d² × √(2ΔP × ρ). The iteration is required because Cd depends on ReD, which depends on the mass flow rate — the unknown. Step 1: assume an initial Cd (0.60 is standard). Step 2: calculate q_m. Step 3: calculate ReD = 4q_m/(πμD). Step 4: recalculate Cd from the Reader-Harris/Gallagher equation. Step 5: repeat until Cd converges to within 0.01%. Three iterations are normally sufficient.

For allocation metering — where production from multiple wells is combined into a single pipeline and each producer's share must be determined — the same AGA3 framework applies but with relaxed uncertainty requirements. Allocation uncertainty is typically ±1.0–1.5%, achievable with AGA8 gross density and the ISO 5167-2 uncertainty budget without individual calibration. The key difference from custody transfer is the audit frequency and the sealing requirements: allocation meters may be audited annually rather than continuously, and tamper-evident sealing requirements are less stringent. However, the meter must still be dimensionally compliant with ISO 5167-2 or AGA3 Part 2 — a non-compliant meter in an allocation system creates disputes that are proportionally as expensive as custody-transfer disputes.

## AGA8 Compressibility: Detailed vs. Gross Method

The compressibility factor Z = pV/(nRT) quantifies how much a real gas deviates from ideal-gas behavior. For pipeline-quality natural gas at 60 bar and 15°C, Z is typically 0.85–0.90 — the gas is 11–18% denser than the ideal-gas law predicts (for Z = 0.85–0.90). Using Z = 1.0 would produce a 5–9% flow error (flow error = √(1/Z) − 1). AGA8 provides two methods. The detailed characterization method (AGA8-DC) requires the complete gas composition: mole fractions of methane through C6+, nitrogen, CO2, and H2S. The gross method (AGA8-G, based on SGERG-88) requires only the relative density, CO2, N2, and heating value. Across practical natural-gas applications, Z-factor uncertainty is typically 0.1–0.5%, depending on the calculation method and the accuracy and representativeness of the composition analysis; the detailed method is used for custody transfer, while the gross method is adequate for allocation and many process measurements.

The gas composition is obtained from an online gas chromatograph (GC) that samples the pipeline gas every 4–12 minutes. For custody transfer, the GC must be calibrated against a certified reference gas standard at least weekly. If the GC is offline for more than 24 hours, the flow computer should hold the last valid composition and flag an alarm. The sample probe must extract gas from the center third of the pipe cross-section, where velocity is highest and composition is most representative. A wall-tap sample may be biased toward heavier components that stratify near the pipe wall. The sample line must be heated to at least 10°C above the hydrocarbon dew point to prevent condensation of C6+ components, which would bias the calculated density low.

## ISO 5167 vs. AGA3: Where They Differ

The orifice geometry, beta-ratio limits (0.10–0.75), straight-run requirements, and tap specifications in ISO 5167-2:2022 and AGA3 Part 2 are functionally equivalent for flange taps. Three critical differences. (1) Density: ISO 5167-2 does not specify a density method — any valid equation of state may be used. AGA3 mandates AGA8 for natural gas custody transfer. (2) Expansibility: both use the same ISO 5167-2 ε correlation, but AGA3 Part 3 specifies that the isentropic exponent κ must be calculated from the gas composition using AGA8, not from a fixed value. Using κ = 1.31 (a common fixed value) can produce a 0.2–0.5% error in ε at ΔP/P = 0.10. (3) Tap type: AGA3 requires flange taps for custody transfer. Corner taps and D and D/2 taps are permitted under ISO 5167-2 but are not AGA3-compliant for custody transfer. For international projects specifying "AGA3 or ISO 5167," design the meter run to satisfy both: flange taps, AGA8 detailed density, ISO 5167-2 ε with AGA8 κ, and the more conservative straight-run requirements.

## Custody Transfer: The Meter Run as a Legal Document

Custody transfer (fiscal metering) is the measurement point where ownership of the gas changes — and with it, the financial obligation. The specification differs from process measurement in eight dimensions. (1) Uncertainty: ±0.5–0.7% (k=2) vs. ±1.0–2.5%. (2) Calibration: dimensional verification to tighter tolerances plus periodic wet calibration. (3) Redundancy: dual or triple DP transmitters with median selection. (4) Flow computer: dedicated, audit-trailed, recording hourly/daily averages and all configuration changes. (5) Sealing: tamper-evident seals on the plate carrier, transmitter manifold, flow computer port, and instrument connections. (6) Straight run: zero-additional-uncertainty column in ISO 5167-2 Table 3. (7) GC: online chromatograph with certified reference gas, heated sample line, centerline probe. (8) Documentation: full uncertainty budget, calibration certificates, meter-factor history, GC calibration records. The custody-transfer specification should be a standalone document — it will be audited by the buyer's engineer, the seller's engineer, and possibly a third-party measurement consultant.

## Pressure, Temperature, and Impulse Lines for Gas Service

Natural gas density is a strong function of pressure and temperature. At 60 bar and 15°C, a 1°C error shifts density by ~0.35%, producing ~0.18% flow error. For custody transfer, the pressure transmitter should have ±0.1% of span, and the temperature measurement ±0.2°C. The pressure tap must be on the side of the pipe, not the top, to avoid trapping condensate or compressor oil. For gas service, install the transmitter above the pressure taps and route each impulse line with a continuous downward slope toward the pipe (equivalently, upward from each tap to the transmitter) at ≥1:12 so condensate drains back into the process line. Minimize impulse-line volume at pressures above 20 bar to avoid pneumatic lag. The thermowell should be installed downstream (2D–5D) with immersion depth ≥ 8× its diameter. Natural gas impulse lines face two enemies: condensate and hydrates. If the gas temperature drops below the hydrate-formation temperature (up to 20°C at 70 bar), solid methane hydrates block the lines within hours. Prevention: heat-trace to maintain 5°C above hydrate-formation temperature; maintain the transmitter-above-taps arrangement and continuous drainage slope; use seamless 316L tubing, 12 mm OD minimum. For custody transfer, dual transmitters with independent tap sets (90° apart) provide redundancy — a discrepancy exceeding 0.5% indicates blockage or leak.

## Natural Gas Metering RFQ Checklist

Gas composition: mole% of methane through C6+, N2, CO2, H2S, water content. Flow rates in standard volume units with reference T and P. Operating pressure and temperature at the meter. Pipe ID at operating temperature, material, schedule, surface finish. Allowable permanent pressure loss. Available straight run with fitting description. Tap type: flange taps (AGA3 custody transfer). Carrier: dual-chamber orifice fitting for custody transfer. Flow conditioner type if required. NACE MR0175 for sour gas. Measurement purpose. Density method: AGA8 detailed or gross. Require supplier to return: β, bore diameter, Cd and ReD table, ΔP at each flow, permanent loss, ε and κ, straight-run assessment, material certificates, and AGA3 compliance statement.

## Summary: Natural Gas Demands Rigor

Natural gas metering is the most financially consequential DP flow measurement in routine industrial use. The standards — AGA3 and ISO 5167-2 — are mature, validated, and accepted worldwide. The errors that persist in gas service are not from the standards — they are from deviations in installation, composition sampling, impulse-line maintenance, and audit discipline. Four questions define a gas meter's compliance: (1) Is density calculated from live gas composition using AGA8? (2) Are pressure and temperature compensated in real time? (3) Are the impulse lines dry, heated, and sloped? (4) Is the meter run dimensionally verified, sealed, and documented? Answer these four honestly, and you will know whether your gas meter is a measurement or an approximation. For project-specific natural gas metering design, send your gas composition and pipeline conditions through our Contact page for a sizing report and AGA3/ISO 5167 compliance review at no cost.

## Engineering support

For project-specific selection, send the fluid, minimum/normal/maximum flow, pressure, temperature, pipe size, viscosity, allowable pressure loss and available straight run through https://www.shizhongflow.com/contact.
