Calculate liquid density in g/mL from mass and volume, find mass or volume from density, or convert specific gravity to density, with typical liquids.

Weigh and measure the same liquid sample.

Optional settings
A similar density does not identify an unknown liquid.

Blank uses 20ยฐC. Water lookup supports 5โ€“40ยฐC at 101.325 kPa. Other lookup liquids require 20ยฐC; enter custom density at other temperatures.

API gravity requires petroleum density and reference water both at 60ยฐF. Select the 60ยฐF water reference and enter sample temperature 60ยฐF.


Related Calculators

Liquid Density Formula

The calculator uses the standard density relationship and rearranges it for the value you need.

density = mass / volume mass = density ร— volume volume = mass / density
  • density: mass per unit volume of the liquid (g/mL, kg/mยณ, lb/gal, etc.)
  • mass: mass of the liquid sample (g, kg, lb, oz); weight is a force and is not entered here
  • volume: space the liquid occupies (mL, L, mยณ, US gal, fl oz, ftยณ)

Find density: enter mass and volume. The calculator converts mass to kilograms and volume to cubic meters, then divides. Tare mode subtracts the empty container mass before dividing.

Find mass: pick a liquid (or enter a custom density) and a volume. The calculator multiplies density by volume.

Find volume: pick a liquid (or enter a custom density) and a mass. The calculator divides mass by density.

Reference Tables

These rounded values match the nominal 20ยฐC lookup estimates. They are rough starting points, not validated specifications for every product or mixture. Real density depends on temperature, pressure and composition. Use measured or manufacturer density when accuracy matters.

Liquid g/mL kg/mยณ lb/US gal
Gasoline0.7457456.22
Acetone0.7908790.86.60
Isopropyl alcohol0.7855785.56.56
Ethanol0.7897896.58
Olive oil0.9159157.64
Vegetable oil0.929207.68
Water (20ยฐC)0.998201998.2007718.33
Seawater1.02481024.88.55
Milk1.0310308.60
Glycerin1.261126110.52
Honey1.42142011.85
Mercury13.53413534112.95

Common density unit conversions:

From To Multiply by
g/mLkg/mยณ1000
g/mLlb/US gal8.3454
g/mLlb/ftยณ62.428
kg/mยณlb/ftยณ0.06243
lb/US galg/mL0.11983

Examples and FAQ

Example 1. A graduated cylinder holds 250 mL of an unknown liquid weighing 197.25 g. Density = 197.25 / 250 = 0.789 g/mL. This is close to the nominal ethanol lookup density, but density alone does not identify the liquid.

Example 2. Using the nominal gasoline lookup density of 745 kg/mยณ at 20ยฐC, what is the mass of 5 US gallons? Volume = 5 ร— 0.003785411784 = 0.01892705892 mยณ. Mass = 745 ร— 0.01892705892 = 14.1006588954 kg, or about 31.09 lb. Actual gasoline blend density varies.

Does temperature change density? Yes. Most liquids expand as they warm, so density drops. Water is about 1.000 g/mL at 4ยฐC and 0.998 g/mL at 20ยฐC. The fresh-water lookup uses the NIST Jonesโ€“Harris air-saturated-water approximation from 5โ€“40ยฐC at 101.325 kPa. Nonwater lookups are nominal 20ยฐC values, with no automatic temperature correction. Enter a sample-specific density for other conditions. The separately tabulated 4ยฐC water reference is approximately 999.972 kg/mยณ (NIST reference tables).

What is specific gravity? It is the density of a liquid divided by the density of water. The sample and reference-water temperatures must be stated. A specific gravity of 1.26 means 1.26 times the selected reference-water density; it does not establish whether liquids will form separate layers. Glycerin and water mix. For qualified petroleum samples only, API gravity = 141.5 / SG(60ยฐF/60ยฐF) โˆ’ 131.5; the calculator requires both reference and sample temperatures to be 60ยฐF.

Why does my measured density differ from a reference value? Common reasons are temperature, dissolved solids or gases, contamination, and measurement error in the scale or volume. Calibrate the equipment and check the temperature before assuming the liquid is off-spec.

Can I use this for gases or solids? The formula is the same, but the unit ranges and density values built into this tool are tuned for liquids. For gases you also need pressure and temperature to get a meaningful number.