Specific Gravity Formula

Specific gravity = density of the substance / density of the reference (water). Enter a density to get the specific gravity, API gravity and Baume degrees.

How it works

Specific gravity (relative density) compares the density of a material with that of a reference, usually water for liquids and solids and air for gases. It has no units, so it is the same in every system of measure. Values below 1 float on water; values above 1 sink.

SG = ρsubstance ÷ ρreference

API° = 141.5 ÷ SG − 131.5

Baumé (heavier than water) = 145 − 145 ÷ SG

SymbolMeaningSI unit
SGSpecific gravity–
ρ_substanceDensity of the materialkg/m³
ρ_referenceDensity of the reference (water at 4 °C is 999.97 kg/m³)kg/m³
API°American Petroleum Institute gravity (SG at 60 °F)°API

Typical values: gasoline 0.74, diesel 0.83 to 0.85, crude oil 0.8 to 0.95, seawater 1.025, glycerin 1.26, concrete 2.4, aluminum 2.7, steel 7.85, mercury 13.6. API gravity above 10 floats on water; light crude oil is above 31°. Sugar and acid solutions use the Baumé scale.

Related: Density formula, Engineering Fundamentals guide. All formulas are listed in the Formulas library.

Worked example

Diesel fuel at 850 kg/m³: SG = 850 ÷ 999.97 = 0.850, which is 35.0° API. Because it is below 1 it floats on water.

Use it to find mass from volume: 1 m³ of this fuel has a mass of about 850 kg, and a 200 L drum holds about 170 kg.

Things to know

The reference matters. Gas specific gravity uses air at the same temperature and pressure; liquids and solids use water at 4 °C (or 60 °F for API gravity).

Specific gravity changes with temperature as the density does. Quote the temperature for liquids.

API gravity runs backwards: a lighter oil has a higher API degree. Baumé has two scales, one for liquids heavier and one for liquids lighter than water.

Common questions

What is the specific gravity formula?

SG = ρ_substance ÷ ρ_reference. For liquids and solids the reference is water at 4 °C (about 1,000 kg/m³).

What is the specific gravity of steel?

About 7.85, so a steel part is 7.85 times heavier than the same volume of water.

What is API gravity?

A scale for petroleum: API° = 141.5 ÷ SG − 131.5. Oil with an API above 10 is lighter than water.

Does specific gravity have units?

No. It is a ratio of two densities, so the units cancel.

Sources

  • ASTM D1298, Density, Relative Density and API Gravity of Crude Petroleum.
  • Perry’s Chemical Engineers’ Handbook: specific gravity and Baumé relations.

Last reviewed: November 10, 2026

Published by Nick Peterson, mechanical engineer.