API Gravity Calculator

Convert between API gravity and specific gravity to classify petroleum products per American Petroleum Institute standards.

Use the API Gravity Calculator

Input

Enter either value — the other is calculated automatically.

dimensionless
°API

Quick Examples

Enter a value above to see results

API Formulas

SG → API gravity

°API = (141.5 ÷ SG) − 131.5

API gravity → SG

SG = 141.5 ÷ (°API + 131.5)

Crude Oil Classification

Grade API Gravity
Light crude > 31.1°
Medium crude 22.3° – 31.1°
Heavy crude 10° – 22.3°
Extra-heavy crude < 10°
Copied to clipboard

Summary

API gravity is a measure of how heavy or light petroleum liquid is compared to water, expressed on the American Petroleum Institute scale. This calculator converts between API gravity and specific gravity (SG) using the standard formulas defined by the API. Results are automatically classified into crude oil grades (light, medium, heavy, extra-heavy) so you can instantly identify the petroleum type.

How it works

  1. Enter a specific gravity value (dimensionless ratio relative to water at 60°F) or an API gravity value.
  2. The calculator applies the API formula: API = (141.5 / SG) − 131.5.
  3. To convert back, the inverse formula is used: SG = 141.5 / (API + 131.5).
  4. Results are rounded to two decimal places for practical field use.
  5. The petroleum grade classification (light, medium, heavy, extra-heavy crude) is determined from the computed API gravity.

Use cases

  • Determining crude oil grade before purchase or refining decisions.
  • Converting laboratory specific gravity readings to API gravity for reporting.
  • Classifying petroleum products (gasoline, diesel, kerosene, fuel oil) by API gravity.
  • Checking whether a crude oil meets pipeline or refinery intake specifications.
  • Educational use in petroleum engineering courses covering fluid properties.
  • Field calculations when appraising oil wells or production streams.

Frequently Asked Questions

Last updated: 2026-06-19 · Reviewed by Nham Vu