Audited 31 Jul 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

Specific Gravity Calculator

Divide a sample's density by water's, air's or any reference density to get specific gravity, with the temperature conventions, API gravity and floating rules.

Specific Gravity Calculator

kg/m³
kg/m³
Specific gravity
0.85
The sample's density divided by the reference density, a dimensionless number: below 1 the sample is less dense than the reference, above 1 it is denser.
Model scope
Pure density ratio. The reference density is user-visible because water density and petroleum reference conditions vary with temperature and convention.

Background.

About nine-tenths of an iceberg sits below the waterline, and specific gravity explains the figure. Glacier ice has a density of about 917 kg/m³ and seawater about 1,025 kg/m³. Divide one by the other and you get 0.89, which is also the fraction of a floating berg that must be submerged for it to displace its own weight.

Specific gravity is that comparison made general: a density divided by a reference density, usually water's, leaving a number without units. Below 1 a solid floats in the reference liquid and above 1 it sinks, and the value itself works as a fingerprint. Ethanol sits near 0.79, quartz sand near 2.65, steel near 7.85, mercury near 13.5. A hydrometer reads the ratio directly, which is why brewers, winemakers, fuel traders and gemmologists speak in specific gravity rather than in kg/m³.

The subtle part is the reference. Water has no single density: it peaks at 999.97 kg/m³ near 4 °C and falls to 998.21 kg/m³ at 20 °C. That 0.18 percent difference is irrelevant when you are identifying a mineral and decisive when a refinery or an excise officer is reading the third decimal place. Standards therefore name their conditions as a pair, such as 20/4 °C (sample at 20 °C, water at 4 °C) or the petroleum industry's 60/60 °F, and two specific gravities can only be compared when their pairs match. That is why both densities are entered here rather than one being assumed.

What is specific gravity calculator?

Specific gravity, also called relative density, is the ratio of a substance's density to the density of a reference substance under stated conditions: SG = ρ_sample ÷ ρ_reference. For liquids and solids the reference is water; for gases it is usually dry air at the same temperature and pressure. Both densities carry the same units, so the units cancel and the ratio is dimensionless. Measured against water near 4 °C, specific gravity is numerically almost identical to density in g/cm³, which is convenient and is also why the two are so often confused.

How to use this calculator.

  1. Enter the sample's density in kg/m³. A value in g/cm³ or g/mL is multiplied by 1,000, so 0.85 g/mL becomes 850.
  2. Enter the reference density for the convention you are following: 999.97 kg/m³ for water at 4 °C, 998.21 at 20 °C, about 999.0 at 15.6 °C (60 °F), or about 1.204 for dry air at 20 °C and 101.325 kPa when the sample is a gas.
  3. Check that the sample density belongs to the temperature your convention names. A hydrometer read at a different temperature from its calibration needs the instrument's correction table first.
  4. Read the ratio and record its temperature pair beside it, for example 0.8508 at 60/60 °F, so anyone comparing it with a published figure knows what was measured.

The formula.

SG = ρ_sample / ρ_reference

SG = ρ_sample ÷ ρ_reference, and nothing else enters. Because the division cancels units, any matching pair gives the same result: 850 kg/m³ over 1,000 kg/m³ and 0.850 g/cm³ over 1.000 g/cm³ are both 0.85.

Several working scales are transforms of this one ratio. API gravity, used to grade crude oil and petroleum products, is 141.5 ÷ SG − 131.5 with both fluids at 60 °F; it runs backwards, so lighter oils score higher, and water scores exactly 10. For a floating object, its specific gravity divided by that of the liquid gives the fraction of its volume below the surface. When the density is not known, Archimedes' method gives the ratio directly: weigh the object in air and again hanging in water, and SG = W_air ÷ (W_air − W_water), because the weight lost equals the weight of the water displaced.

The calculator performs only the division. It does not convert to API, Baumé or Plato values, and it applies no temperature correction, which is why the reference density is something you choose rather than a fixed constant. Both densities must be positive.

A worked example.

Example

A fuel-oil sample measures 850 kg/m³, and the reference is taken as water at a round 1,000 kg/m³. The specific gravity is 850 ÷ 1,000 = 0.85. The units cancel, so 0.850 g/cm³ over 1.000 g/cm³ would give the same number. At 0.85 the oil floats on water, which is why fuel spills spread as surface slicks. In API terms, 141.5 ÷ 0.85 = 166.47, and subtracting 131.5 leaves about 35.0° API. The round reference hides a choice. If the 850 kg/m³ had been measured at 60 °F and compared with water at the same temperature, about 999.0 kg/m³, the ratio would be 0.8508 and the API gravity 34.8°. Against water at 4 °C (999.97 kg/m³) it would still read 0.8500, the shift appearing only in the fifth decimal place. Differences in the third or fourth decimal place are precisely what the named temperature pairs in trade standards are there to settle.

reference Density Kg M31,000
sample Density Kg M3850

Frequently asked questions.

How much of a floating object sits below the surface?
Divide its specific gravity by the liquid's. Ice at about 917 kg/m³ floats with 917 ÷ 998.21 = 0.92 of its volume submerged in fresh water at 20 °C, but only 917 ÷ 1,025 = 0.89 in seawater, because the denser sea needs less displaced volume to support the same weight.
How do I find specific gravity if I can only weigh the object?
Use Archimedes' method. A ring that weighs 21.0 g in air and 19.0 g hanging from a thread in water has SG = 21.0 ÷ (21.0 − 19.0) = 10.5. That matches silver at about 10.5 and rules out solid gold at about 19.3. Remove air bubbles from the surface first, since they add buoyancy and make the result read low.
What does an API gravity of 35 tell me about an oil?
API gravity is 141.5 ÷ SG − 131.5 at 60 °F, so higher numbers mean lighter oil. Water scores 10, and any oil below 10° API is denser than water and sinks in it. The example's 0.85 converts to about 35° API, a light oil by that scale.
What do labels like 20/4 °C or 60/60 °F mean?
The first temperature is the sample's and the second is the reference water's. A 20/4 °C value compares the sample at 20 °C with water at its densest, so it closely equals the sample's density in g/cm³ at 20 °C. A 60/60 °F value compares both at the same temperature, which is the petroleum convention for hydrometer and API readings.
Which reference should I use for a gas, and why does it matter?
Use dry air at the same temperature and pressure as the gas. Methane comes out near 0.55 and propane near 1.5. The difference is a safety matter: leaking natural gas rises and disperses towards ceilings, while leaking propane sinks and collects in basements, drains and low ground.
Can I estimate the alcohol in beer or wine from specific gravity?
A common homebrewing approximation multiplies the fall in gravity by 131.25. A brew that starts at 1.050 and finishes at 1.010 drops by 0.040, giving roughly 5.25 percent alcohol by volume. Read the hydrometer at the temperature marked on its stem, or correct the reading first.

How this page was produced

Published by
Quanta Calculator
Primary sources
3 cited below
Method
SG = ρ_sample / ρ_reference
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon