ASTM D1250-04 · API MPMS Chapter 11.1-2004

Calculation methods

VCFAPI returns the Volume Correction Factor (VCF) using the density-based correction tables of ASTM D1250-04 / API MPMS Chapter 11.1-2004 — the same methodology used for custody transfer worldwide. Tables 6/24/54/60 return the VCF directly; tables 5/23/53/59 return the base density or gravity.

How VCF is calculated

1 · Input

Send the observed density and temperature in the table's native units — °API at °F for tables 5/6, relative density at °F for 23/24, and kg/m³ at °C for 53/54/59/60. C tables take the thermal expansion coefficient (α60, α15, or α20) instead of a density.

2 · Correct

The density is corrected to standard conditions using the ASTM table for the product type. Tables 6/24/54/60 yield the Volume Correction Factor directly; tables 5/23/53/59 yield the density or gravity at base conditions.

3 · Apply

Multiply your observed volume by the returned VCF to get the standard volume that enters custody transfer and inventory records. This step runs in your system.

VCF = ρobserved / ρbase

The API returns VCF directly for tables 6/24/54/60. Multiply it by your observed volume to get the standard volume. For tables 5/23/53/59 the API returns the base density/gravity. You can compute VCF from it directly (VCF = ρobserved / ρbase), or pass it into a 6/24/54/60 call if you need the VCF at a different temperature.

Supported product types

Each product type maps to the ASTM D1250-04 product group, which determines the table family and the applicable density ranges. The °API ranges shown below are the standard's commodity classification ranges; the exact input limits accepted per table are listed in the reference tables section below.

Group A

Crude Oil

Crude petroleum between -10 and 100 °API. Density is typically measured in the field at tank or pipeline temperature and corrected to base conditions.

Examples
Brent, WTI, and other crude grades
API range
-10 to 100 °API
Tables
5A6A23A24A53A54A59A60A
Group B

Refined Products

Finished petroleum products split into three commodity groups: gasoline, jet fuels, and fuel oils. Density-based correction applies across the full range.

Examples
Gasoline, diesel, kerosene, fuel oil
API range
Gasoline 50–85 · Jet 37–50 · Fuel oil -10–37 °API
Tables
5B6B23B24B53B54B59B60B
Group D

Lube Oil

Lubricating oils between -10 and 45 °API. Corrected using the lube-oil density tables for custody transfer and blending accounting.

Examples
Base oils, finished lubricants
API range
-10 to 45 °API
Tables
5D6D23D24D53D54D59D60D
Group C

Special Applications

Liquids with an experimentally derived thermal expansion coefficient (α60, α15, or α20), used when the generalized commodity groups do not represent the liquid's thermal expansion. Requires a tested α for the specific fluid.

Examples
Pure products or homogeneous mixtures with a measured α
API range
α60: 0.00023–0.00093 /°F · α15/α20: 0.000414–0.001674 /°C
Tables
6C24C54C60C

Reference tables

Tables 5–24 use temperatures in °F; tables 53–60 use °C. The API takes the table identifier and the temperature in the table's native unit — °F for 5/6/23/24, °C for 53/54/59/60. Temperatures outside −58 to 302 °F (−50 to 150 °C) are rejected, as are densities outside each table's published range.

Fahrenheit tables (5–24)

TableProduct groupInputInput rangeOutputPrecision
5ACrudeObserved API gravity-13.4 to 168.9 °APIAPI gravity at 60 °F0.1 °API
5BRefinedObserved API gravity-14.2 to 168.9 °APIAPI gravity at 60 °F0.1 °API
5DLube oilObserved API gravity-14.1 to 66.3 °APIAPI gravity at 60 °F0.1 °API
6ACrudeAPI gravity at 60 °F-10 to 100 °APIVCF0.00001
6BRefinedAPI gravity at 60 °F-10 to 100 °APIVCF0.00001
6CSpecialThermal expansion coefficient α₆₀0.0002300–0.0009300 /°FVCF0.00001
6DLube oilAPI gravity at 60 °F-10 to 45 °APIVCF0.00001
23ACrudeObserved relative density0.4710–1.1989Relative density at 60 °F0.0001
23BRefinedObserved relative density0.4709–1.2065Relative density at 60 °F0.0001
23DLube oilObserved relative density0.7151–1.2053Relative density at 60 °F0.0001
24ACrudeRelative density at 60 °F0.6113–1.1646VCF0.00001
24BRefinedRelative density at 60 °F0.6113–1.1646VCF0.00001
24CSpecialThermal expansion coefficient α₆₀0.0002300–0.0009300 /°FVCF0.00001
24DLube oilRelative density at 60 °F0.8017–1.1646VCF0.00001

Celsius tables (53–60)

TableProduct groupInputInput rangeOutputPrecision
53ACrudeObserved density470.6–1197.7 kg/m³Density at 15 °C0.1 kg/m³
53BRefinedObserved density470.5–1205.4 kg/m³Density at 15 °C0.1 kg/m³
53DLube oilObserved density714.5–1204.1 kg/m³Density at 15 °C0.1 kg/m³
54ACrudeDensity at 15 °C611.2–1163.7 kg/m³VCF0.00001
54BRefinedDensity at 15 °C611.2–1163.8 kg/m³VCF0.00001
54CSpecialThermal expansion coefficient α₁₅0.0004140–0.0016740 /°CVCF0.00001
54DLube oilDensity at 15 °C801.3–1163.8 kg/m³VCF0.00001
59ACrudeObserved density470.6–1197.7 kg/m³Density at 20 °C0.1 kg/m³
59BRefinedObserved density470.5–1205.4 kg/m³Density at 20 °C0.1 kg/m³
59DLube oilObserved density714.5–1204.1 kg/m³Density at 20 °C0.1 kg/m³
60ACrudeDensity at 20 °C606.2–1161.1 kg/m³VCF0.00001
60BRefinedDensity at 20 °C606.2–1160.6 kg/m³VCF0.00001
60CSpecialThermal expansion coefficient α₂₀0.0004140–0.0016740 /°CVCF0.00001
60DLube oilDensity at 20 °C798.2–1160.7 kg/m³VCF0.00001

Group C tables apply to special applications with an experimentally derived thermal expansion coefficient (α60, α15, or α20) and are available through the API.

API request

A single request returns the result for the requested table — the VCF for tables 6/24/54/60, or the base density/gravity for tables 5/23/53/59. One credit is deducted per successful calculation.

If the input values fall outside the valid range for the requested table, the API returns422with an invalid_input error. Out-of-range requests are not charged — no credit is deducted.

# Table 6A, 86 °F, 35 °API — returns the VCF for custody transfer

POST /v1/vcf

{
  "table": "6A",
  "temp": 86,
  "density": 35
}

# 200 OK — one credit consumed:

{
  "request_id": "…",
  "table": "6A",
  "result": 0.98765,
  "credits_used": 1,
  "remaining_credits": 12,
  "metered_via": "credits",
  "remaining_quota": null
}

metered_via indicates how the call was billed:quota(subscription quota consumed),credits(credit balance debited), oroverage(metered billing via Polar).

remaining_quota is the number of calls left in your current billing period (rollover + remaining monthly quota). It isnullwhen the call was billed via credits (no active subscription quota).

FieldTypeRequiredDescription
tablestringyesTable identifier — e.g. 6A, 54B, 60C. Selects the ASTM D1250-04 table and product group.
tempnumberyesObserved temperature. °F for tables 5/6 and 23/24, °C for tables 53/54/59/60.
densitynumberyesObserved density. °API for tables 5/6, relative density for 23/24, kg/m³ for 53/54/59/60. For C tables, the thermal expansion coefficient (α60, α15, or α20).

Glossary

API gravity
A density scale where lower API values mean denser liquid. Calculated from specific gravity: the higher the API gravity, the lighter the product.
VCF
Volume Correction Factor — the multiplier that converts a volume measured at observed conditions to the equivalent volume at standard (base) conditions.
Observed conditions
The temperature at which the liquid density or volume was measured. VCFAPI corrects for temperature only (API MPMS Chapter 11.1-2004); pressure correction (Chapter 11.2) is not applied.
Standard / base conditions
The reference temperature to which volumes are corrected for custody transfer — typically 60 °F, 15 °C, or 20 °C depending on the table family.
Relative density
The ratio of the density of the liquid to the density of water at a reference temperature (60 °F).
Standard volume
The corrected volume at base conditions, computed as observed volume × VCF. This is the value used for transactions and inventory.
Thermal expansion coefficient (α)
A measured property of a specific liquid (α60, α15, or α20) used by Group C tables instead of a density input. VCFAPI accepts the coefficient directly in the density field for tables 6C/24C/54C/60C.

Start calculating

Create an account and get 20 free credits to try the calculation API.