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
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.
- 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³).
- 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.
- 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.
- For petroleum work, convert to API gravity with 141.5/SG − 131.5 — the industry quotes crudes that way.
- 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.
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.
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.
Frequently asked questions.
What is the difference between specific gravity and density?
Which water temperature should the reference density use?
Does specific gravity below 1 always mean the material floats?
How does specific gravity relate to API gravity?
Can I use this calculator for gases?
References& sources.
- [1]NIST Special Publication 811, Guide for the Use of the International System of Units, 2008 edition.
- [2]ASTM D1298-12b (2017), Standard Test Method for Density, Relative Density, or API Gravity (PAYWALL/BIBLIOGRAPHIC).
- [3]BIPM, The International System of Units (SI Brochure), 9th ed., version 3.01, coherent derived units and quantity equations.
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