This density calculator finds density, mass or volume from two known measurements and their units. Choose what to find, enter the known values, and open Working to check the equation and conversions.
Calculate density, mass or volume
Density describes mass per unit volume. Write it as ρ = m / V, where ρ is density, m is mass and V is volume. Rearranging the same relationship gives m = ρ × V and V = m / ρ. NIST SP 811 Chapter 8 defines mass density and its SI unit, .
Each row gives the mass in kilograms for a cubic meter at the stated density. The exact column therefore gives the equivalent density in . NIST dimensional definitions and the UK Schedule supply the factors.
| Density | Exact equivalent in | Decimal equivalent in |
|---|---|---|
| 1 | 1 | 1 |
| 1 | 1000 | 1000 |
| 1 | 1000 | 1000 |
| 1 | 1000 | 1000 |
| 1 | 1 | 1 |
| 1 | 1 | 1 |
| 1 | 28349523125/1769802912 | ≈ 16.018463374 |
| 1 | 56699046250/2048383 | ≈ 27679.9047102 |
| 1 | 28349523125/16387064 | ≈ 1729.99404439 |
| 1 | 45359237/454609 | ≈ 99.7763726631 |
| 1 | 736351250/6145149 | ≈ 119.826427317 |
| 1 | 1000000 | 1000000 |
| 1 | 1/1000 | 0.001 |
| 1 | 28349523125/47784678624 | ≈ 0.593276421258 |
Fractions and terminating decimals in the exact column are exact. The ≈ mark identifies rounded decimal equivalents. US gal means US liquid gallon; Imp gal means Imperial gallon. These are unit equivalences, not material densities.
Density uses known mass and volume. Mass uses known density and volume. Volume uses known mass and density.
Select the unit belonging to each known value, then choose the result unit. Open Working to inspect the conversions and exact result.
Choose measurements from the same sample
Choose the quantity you need, then enter the other known measurements with their units. Use the sample mass without its container and the volume of that same sample. Enter positive values; blank, zero and negative measurements do not give a result. A result from one sample should not be paired with a measurement from another.
Keep the measurement conditions consistent. A supplied density needs to apply at the conditions of the volume measurement, including temperature and pressure where relevant. The calculator does not correct a water or material density for changed conditions, identify a material, or supply a density from a material name.
If you have dimensions of a supported solid, calculate its volume with the Volume Calculator, then transfer the quantity and unit together. If a displacement measurement supplies the volume, use the measured displaced volume of the sample. The worksheet does not take shape dimensions or initial and final liquid levels. If an existing volume needs another unit, the Volume Converter handles that separate step.
Use mass rather than a force reading in newtons. Pounds and ounces here mean mass, and ounces are not fluid ounces. NIST distinguishes mass from weight as force. Freight class, dimensional shipping weight, specific gravity and float-or-sink predictions require other information and are outside this worksheet.
Check a mixed-unit calculation
For density, choose Density and load Density example. The known mass is 1 and the known volume is 1 . Choose for the density result.
Divide mass by volume: 1 / 1 = 1 . The selected result is ≈ 0.0624279605761 . Its exact value is 1769802912/28349523125 ; the ≈ mark shows that the decimal is rounded. Working shows the exact unit conversion.
For mass, choose Mass and load Mass example. A supplied density of 0.8 and volume of 250 give 0.8 × 250 = 200 g. The mL units cancel. This is an example measurement, not a density assigned to a material.
For volume, choose Volume and load Volume example. The supplied mass is 2.7 and the supplied density is 2.7 . The engine converts both to SI, divides mass by density, and returns 1 . The mass and density refer to the same sample.
Convert density units correctly
A density unit has a mass unit in its numerator and a volume unit in its denominator. Convert both parts before dividing. NIST's SI units and prefixes and liter definition give the metric relationships; the table above applies the same exact factors used by the calculator.
Select the unit that belongs to the number you entered. Changing an input unit reinterprets the number; it does not convert the existing entry. The unit for the unknown controls the result. US liquid gallons and Imperial gallons have different definitions, so use the explicitly labeled choice. NIST Handbook 44 gives the US customary relationships; the UK dimensional definitions give the Imperial gallon and exact customary factors.
is a mass unit, distinct from karat purity. NIST Handbook 44 defines one as 200 exactly.
Density, Mass and Volume all display up to 12 significant digits, with half-up rounding when needed. This is display formatting, not a claim about measurement accuracy. Working and Copy retain the exact result. When finding a required mass or volume, use that exact value rather than treating a rounded decimal as a minimum target. No rounding increment or measurement tolerance is assumed.
Decimal and scientific notation inputs are supported. Small nonzero results use scientific notation when needed rather than displaying zero. Keep the original measurements at their available precision; extra displayed digits do not make the measurements more accurate.
Frequently asked questions
How can I convert density to weight?
You also need the volume of the same sample. Choose Mass and enter the known density and volume; mass equals density multiplied by volume. This gives mass, which is often called weight in everyday use. NIST SP 811 Chapter 8 distinguishes that usage from scientific weight, a force measured in newtons. This calculator does not calculate force.