Complete Guide to API to Density Conversion
API gravity and density are two of the most important physical properties used in petroleum engineering, refinery operations, hydrocarbon accounting, quality control, and trading documentation. If you work with crude oil, diesel, naphtha, condensate, fuel oils, or blended petroleum streams, you routinely need to convert between API gravity and density. This page gives you an accurate API to density conversion calculator and a practical reference guide you can use in daily technical work.
On this page
What API gravity means Formula for API ↔ density conversion How to use the calculator correctly Worked conversion examples Quick API-to-density table Why temperature reference matters Where these calculations are used Common mistakes to avoid Frequently asked questionsWhat API Gravity Means
API gravity is a scale developed by the American Petroleum Institute to express how heavy or light a petroleum liquid is relative to water. Instead of directly reporting density, API gravity transforms the specific gravity value into a scale where larger API numbers indicate lighter fluids. A product with high API gravity is generally less dense and often associated with lighter hydrocarbon fractions. A low API gravity indicates denser material and is often associated with heavier crudes or residual products.
At the core of API gravity is specific gravity at a standard reference condition, typically 60°F. Specific gravity is dimensionless and defined as the fluid density divided by the density of water at the same reference temperature. Because specific gravity has no unit, it is convenient for consistent calculations across measurement systems.
Formula for API to Density and Density to API Conversion
The standard relationship is:
API = (141.5 / SG) − 131.5
where SG is specific gravity at 60°F.
To go from API to specific gravity:
SG = 141.5 / (API + 131.5)
To calculate density from specific gravity:
Density = SG × Density of Water at 60°F
This calculator uses a default water density of 999.016 kg/m³ at 60°F, and then converts to g/cm³ and lb/ft³ automatically. If your organization uses a slightly different constant for alignment with internal standards, you can edit the water density field before calculating.
How to Use the Calculator Correctly
- Select conversion mode: API → Density or Density → API.
- Enter one primary input value (API or density depending on mode).
- Choose the density input unit if converting from density.
- Set the desired decimal precision.
- Click Calculate to generate API gravity, specific gravity, and density in three common units.
The output classification badge provides a practical interpretation: extra light, light, medium, heavy, or extra heavy oil range. These categories are operationally useful for screening but may vary by company or region.
Worked Conversion Examples
Example 1: API to density
Suppose API gravity is 35.0. First compute specific gravity:
SG = 141.5 / (35.0 + 131.5) = 0.84985 (approx).
Then density in kg/m³ at 60°F is approximately 0.84985 × 999.016 = 848.99 kg/m³.
So 35 API corresponds to about 849 kg/m³.
Example 2: Density to API
Suppose measured density is 920 kg/m³ at 60°F.
SG = 920 / 999.016 = 0.92091.
API = (141.5 / 0.92091) − 131.5 = 22.15 (approx).
So 920 kg/m³ corresponds to about 22.2 API.
Example 3: Density in g/cm³
If density is 0.750 g/cm³, convert to kg/m³ first: 750 kg/m³.
SG = 750 / 999.016 = 0.75074.
API = (141.5 / 0.75074) − 131.5 = 56.94.
This is a very light hydrocarbon stream.
Quick API to Density Reference Table (Approximate at 60°F)
| API Gravity (°API) | Specific Gravity (60°F) | Density (kg/m³) | General Class |
|---|---|---|---|
| 10 | 1.000 | ~999 | Very heavy / near water |
| 15 | 0.966 | ~965 | Heavy |
| 20 | 0.934 | ~933 | Heavy |
| 25 | 0.904 | ~903 | Medium-heavy |
| 30 | 0.876 | ~875 | Medium |
| 35 | 0.850 | ~849 | Light |
| 40 | 0.825 | ~824 | Light |
| 45 | 0.802 | ~801 | Very light |
| 50 | 0.780 | ~779 | Very light |
Why Temperature Reference Matters in Density Conversion
Density is temperature dependent. As temperature rises, most petroleum liquids expand and become less dense. As temperature falls, they contract and become denser. This is why API and density must be compared at the same reference condition. In custody transfer, product certification, and laboratory reporting, data is often corrected to standard temperature before final documentation.
The calculator on this page assumes the value is already referenced to 60°F (15.6°C), which is the conventional API standard condition. If your field measurements are taken at a different temperature, first apply the appropriate temperature correction method (commonly ASTM-based procedures in industry workflows), then convert between API and density.
Where API-Density Conversions Are Used
- Refineries: crude assay interpretation, blending targets, and feedstock planning.
- Terminals and storage: stock reconciliation, tank volume-to-mass conversions, reporting consistency.
- Trading and contracts: quality specs and pricing structures linked to crude grade characteristics.
- Laboratories: QA/QC reporting and cross-checking hydrometer or digital density meter results.
- Production operations: quick screening of wellstream or stabilized condensate quality.
- Education and training: process engineering, petroleum chemistry, and field operations courses.
Common Mistakes to Avoid
- Mixing temperature bases: converting raw field density without temperature correction can produce inaccurate API values.
- Using wrong unit assumptions: always confirm whether density is in kg/m³, g/cm³, or lb/ft³ before conversion.
- Confusing specific gravity with density: SG is dimensionless; density has units.
- Rounding too early: keep additional decimal places in intermediate steps for better final precision.
- Applying non-standard water constants inconsistently: align the water density reference with your technical standard.
Frequently Asked Questions
Is higher API gravity always better?
Not always. Higher API means lighter fluid, which can be advantageous for certain product yields, but “better” depends on refinery configuration, product slate, sulfur content, and economics.
What API value means oil is heavier than water?
Fluids with API below 10° are denser than water at the reference condition and may sink in water.
Can I use this calculator for fuels other than crude oil?
Yes, as long as the fluid behavior and reporting basis are compatible with API gravity conventions and your density is standardized to the same reference temperature.
Does this page replace official custody transfer standards?
No. It is a practical engineering calculator for quick, consistent conversion. For legal metrology or contract settlement, follow the formal standards and procedures required by your organization.
Final Notes
Reliable API-to-density conversion is a small calculation with a big operational impact. Correct values support better process decisions, better reporting consistency, and fewer downstream corrections in laboratory, scheduling, and commercial workflows. Use the calculator at the top of this page for immediate conversion and keep this guide as a reference when validating petroleum property data.
Technical note: This tool uses standard API gravity and specific gravity equations at 60°F (15.6°C). Results are intended for engineering estimation and workflow support.