Skip to main content
Calcimator

API Gravity Calculator

Convert specific gravity to API gravity for crude oil classification and pricing.

About this calculator

API gravity is the petroleum industry's standard measure of how light or heavy a crude oil is, developed by the American Petroleum Institute specifically to spread out the readings for typical crude oils more usefully than raw specific gravity does. It's computed with the formula °API = (141.5 / SG) - 131.5, where SG is specific gravity (the oil's density relative to water). Because of the way that formula is built, °API and specific gravity move in OPPOSITE directions: a lower specific gravity (lighter oil) produces a HIGHER API gravity number, and a denser, heavier oil produces a lower API gravity. Since specific gravity itself shifts slightly with temperature (fluids expand and become less dense as they warm), this calculator also applies a standard temperature correction to reference every measurement back to 60°F, the industry-standard reference temperature, so that oils measured on different days or in different climates can be fairly compared.

This calculator uses a simplified linear correction (a fixed 0.00065 SG per °F) as a stand-in for the density-dependent volume-correction-factor tables published in API MPMS Ch. 11.1 -- it is not itself an official API procedure. The corrected API gravity then determines the crude's classification -- light (above 31.1°API), medium (22.3-31.1), heavy (10-22.3), or extra heavy (below 10) -- a classification that directly affects refining difficulty, transportation cost, and market price, since lighter crudes generally yield more valuable refined products per barrel.

Inputs

°F

Results

API Gravity (at 60°F)

30.03°API

API Gravity (Uncorrected)30.03°API
Corrected Specific Gravity0.88
Crude ClassificationMedium
Crude Classification Code3
Density7.31 lb/gal
Barrels per Metric Ton7.18 bbl/MT
How to Use This Calculator
  1. Enter Specific Gravity and Observed Temperature.
  2. Review the API Gravity (at 60°F) (°API) result.
  3. Use API Gravity (Uncorrected) (°API) and Corrected Specific Gravity to inform your decision.
  4. Check the Crude Classification (Light, Medium, Heavy, or Extra Heavy) to see how the corrected API gravity is categorized.

How the result changes with Specific Gravity

Specific GravityAPI Gravity (at 60°F)
0.5151.5°API
0.6683.87°API
1.31-23.48°API
1.5-37.17°API

What each input means

Specific Gravity
Ratio of oil density to water density at 60°F. Lighter crudes have lower SG values.
Observed Temperature
Temperature at which the specific gravity was measured. Standard reference is 60°F.

What each result means

Crude Classification Code
1=Extra Heavy, 2=Heavy, 3=Medium, 4=Light

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    Specific Gravity = 0.876, Observed Temperature = 60 = 2 input(s) provided
  2. Calculate API Gravity
    API Gravity
    30.03 = 30.03
  3. Calculate API Gravity
    30.03 = 30.03
  4. Calculate Corrected Specific Gravity
    Corrected Specific Gravity
    0.876 = 0.876

Engine last updated . Checked against 2 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.

Frequently Asked Questions

Why does a lower specific gravity produce a HIGHER API gravity number?

Because specific gravity (SG) sits in the DENOMINATOR of the formula °API = (141.5 / SG) - 131.5. As SG gets smaller (the oil is lighter, closer to or less dense than water), 141.5/SG gets larger, which pushes the final API gravity number up. This inverse relationship is why "light" crude oils have HIGH API gravity numbers (typically above 31) while "heavy" crudes have low numbers -- it can feel backwards at first since higher API gravity means lower density.

Why does the observed measurement temperature matter for API gravity?

Petroleum, like most liquids, expands and becomes slightly less dense as it warms, which shifts the raw specific gravity reading depending on when and where it was measured. This calculator corrects that using a simplified linear approximation of the standard temperature-correction procedure, adjusting every reading back to the industry-standard reference temperature of 60°F so that two samples measured on a hot day and a cold day can be compared on equal footing. A sample measured warmer than 60°F reads LOWER specific gravity than it truly has at the reference temperature, so the correction adds back what the warmth subtracted; a sample measured colder than 60°F gets a small downward correction instead.

What API gravity range counts as "light" crude oil versus "heavy"?

This calculator classifies corrected API gravity above 31.1° as Light, 22.3-31.1° as Medium, 10-22.3° as Heavy, and below 10° as Extra Heavy. These bands follow commonly-used industry conventions; light crudes generally command a price premium because they yield a higher proportion of valuable refined products like gasoline with less refining effort than heavy crudes do.

Does temperature affect the Uncorrected API Gravity figure shown at the top?

No -- the Uncorrected API Gravity output is calculated directly from the specific gravity you entered, with no temperature adjustment applied at all. Only the Corrected API Gravity (at 60°F) result, along with the Corrected Specific Gravity, Density, and Barrels per Metric Ton figures, factor in the Observed Temperature input.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Energy & Utilities.