Audited 31 Jul 2026·Last updated 15 Sept 2026·3 citations·Tier 2·0 uses

Specific Gravity Calculator

Specific gravity calculator: sample density ÷ reference density. Covers water-referenced SG, floating and sinking, and the API gravity conversion for petroleum.

Specific Gravity Calculator

kg/m³
kg/m³
Specific gravity
0.85
Result of SG = ρ_sample / ρ_reference using the entered coherent-SI magnitudes.
Model scope
Pure density ratio. The reference density is user-visible because water density and petroleum reference conditions vary with temperature and convention.

Background.

Specific gravity strips the units off density: divide a sample's density by a reference density — nearly always water — and the dimensionless number that remains tells you instantly how the material stands relative to that reference. SG < 1 floats on it, SG > 1 sinks in it, and the digits carry real trade information: 0.79 reads as an alcohol or light solvent, 1.03 as seawater, 2.65 as quartz sand, 13.5 as mercury.

Because it is a pure ratio, specific gravity is what hydrometers actually measure, and whole industries are built on that convenience. Brewers track fermentation as SG falls from a sugary 1.050 toward 1.010 while yeast converts dense sugar to lighter alcohol; clinical labs flag urine outside 1.005–1.030; battery service judges charge from electrolyte near 1.28; and the petroleum trade prices crude with API gravity, a rescaled inverse of SG at 60 °F.

The quiet variable underneath is temperature. Water's density is not one number: 999.97 kg/m³ at 4 °C but 998.21 kg/m³ at 20 °C, and the sample's density drifts with temperature too. That is why standards name their conditions — petroleum's 60/60 °F convention measures both sample and reference at 15.6 °C — and why this calculator makes you enter the reference density explicitly instead of assuming one silently. Two SG values only compare when their temperature conventions match.

Enter both densities in the same unit and the ratio comes out convention-free; the model-scope note beside the result records that everything else — which water, which temperature, which standard — travels with your inputs, not the arithmetic.

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: SG = ρ_sample / ρ_reference. With water as reference — the default for solids and liquids — it is a dimensionless restatement of density that reads directly as buoyancy: less than 1 floats, greater than 1 sinks. Gas work uses air as the reference instead, and precise usage always names the temperature of both substances, since both densities drift with temperature.

How to use this calculator.

  1. Measure or look up the sample's density and convert it to kg/m³ (g/cm³ × 1,000; g/mL is the same as g/cm³).
  2. Enter the reference density at your convention's temperature: 999.97 kg/m³ for water at 4 °C, 998.21 at 20 °C, 999.02 at 15.6 °C (60 °F), or air ≈ 1.204 for gas-phase SG.
  3. Read the ratio: it has no units, and any value within a few percent of 1 deserves a second look at temperature effects before you conclude float or sink.
  4. For petroleum work, convert to API gravity with 141.5/SG − 131.5 — the industry quotes crudes that way.
  5. Record the temperature pair (e.g. 20/4 °C, 60/60 °F) beside the result; an SG without its convention is not comparable to a tabulated one.

The formula.

SG = ρ_sample / ρ_reference

The formula is a single division, SG = ρ_sample / ρ_reference, and its value lies in what division removes: units and instrument calibration factors cancel, leaving a number every lab reproduces regardless of measurement system — the reason century-old hydrometer scales still work. The subtleties are all in the reference. Water's density peaks at 4 °C, which made 4 °C the scientific reference of choice (SG there is numerically almost identical to density in g/cm³), while trade standards prefer matched-temperature conventions like petroleum's 60/60 °F, encoded in ASTM D1298. Derived scales are simple transforms of the ratio: API gravity = 141.5/SG − 131.5, Baumé and Plato likewise. The engine performs the division in Decimal arithmetic and rounds once to twelve significant digits — overkill for a hydrometer reading, but it guarantees the rounding never contributes to a float/sink call near SG = 1.

A worked example.

Example

A fuel-oil sample measures 850 kg/m³ at the lab bench, and the chosen reference is water rounded to 1,000 kg/m³. The ratio is SG = 850 / 1,000 = 0.85. No units survive the division — the same 0.85 would emerge from 0.850 g/cm³ over 1.000 g/cm³. Reading the number: 0.85 sits squarely in the diesel/gas-oil range (petrol runs ≈0.72–0.78, heavy fuel oils push past 0.96), and being below 1 it floats on water — the reason oil spills spread as surface slicks. In trade terms, API gravity = 141.5/0.85 − 131.5 ≈ 35.0, which the petroleum market classifies as a light crude/product. One measured density, divided once, places the sample commercially and physically at the same time.

reference Density Kg M31,000
sample Density Kg M3850

Frequently asked questions.

What is the difference between specific gravity and density?
Density carries units (kg/m³, g/cm³); specific gravity is that density divided by a reference's and is dimensionless. Numerically they nearly coincide when density is quoted in g/cm³ against 4 °C water — quartz at 2.65 g/cm³ has SG 2.65 — which is convenient and also the source of endless unit confusion when kg/m³ enters.
Which water temperature should the reference density use?
Whichever your convention names — and it must be named. Science defaults to 4 °C water (999.97 kg/m³, its density maximum); petroleum uses 60/60 °F, both fluids at 15.6 °C; brewing hydrometers are typically calibrated at 20 °C. Across 4–20 °C water changes by only 0.18%, irrelevant for identifying a mineral but decisive in excise duty on spirits.
Does specific gravity below 1 always mean the material floats?
For a solid, only if the bulk stays intact: SG compares densities, and a dense material shaped to enclose air (a steel hull) floats while its SG of 7.85 says the metal itself sinks. For immiscible liquids the rule is reliable — the 0.85 oil of the example forms a slick on water. Miscible liquids like ethanol (0.79) simply mix instead.
How does specific gravity relate to API gravity?
API gravity = 141.5/SG(60/60 °F) − 131.5. The scale runs backwards — lighter oil scores higher — and water lands at exactly 10° API. The example's SG 0.85 converts to ≈35° API, on the light side of the market where crudes command premium prices because they yield more petrol and diesel per barrel.
Can I use this calculator for gases?
Yes, but the reference switches to air (≈1.204 kg/m³ at 20 °C, 101.325 kPa) rather than water, and both densities must be taken at the same temperature and pressure since gases compress. Natural gas near 0.6 rises from a leak and pools at ceilings; propane near 1.5 sinks into basements and drains — the SG of a fuel gas is literally a safety datum.

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