Everyday · FREE ONLINE TOOL

Density Calculator

Find density from mass and volume, or solve for mass or volume using the labeled SI-unit relationship.

What would you like to calculate?

Your inputs

How it works

Calculate

Density = mass/volume.

Use the units printed beside each input. Mass and gravitational weight are different physical quantities.

Calculations run in your browser. No account needed.

EXAMPLE RESULTCalculated locally
Density
5 kg/m³
Clear inputs. Transparent methods.
My workspace

Calculate with your inputs to save a result or compare scenarios.

How it works

Illustration for Density Calculator: a container; a ruler and scales.
CalculateDensity = mass/volume.
A useful distinction

Volume errors amplify density estimates

If mass is correct but measured volume is 10% too low, calculated density is about 11.1% too high. Recheck small-volume measurements before interpreting a surprising density; the denominator can explain the discrepancy without a different material.

Check what an underfilled measuring cylinder does

Mass
100 g
Calculated density. A (50 mL) → 2 g/mL. B (45 mL) → 2.22 g/mL.
Check what an underfilled measuring cylinder does
Measured volumeCalculationCalculated density
A 50 mL100 ÷ 502 g/mL
B 45 mL100 ÷ 452.22 g/mL

Density describes mass per unit volume

Density is ρ = m/V. In the basic mode, enter mass in kilograms and volume in cubic meters to obtain kilograms per cubic meter. The denominator must be a positive volume. Select the inverse mode when density and one other quantity are known.

A density value applies to a material or a sample under stated conditions. It does not by itself identify the substance, and the density of a loose bulk material can include spaces between particles.

Worked example: convert the sample before dividing

A 0.54 kg sample occupying 0.0002 m³ has density 0.54/0.0002 = 2,700 kg/m³. The same volume is 200 cm³ and the same mass is 540 g, so the equivalent density is 2.7 g/cm³.

Entering 200 as a cubic-meter value would produce a result a million times too small. The unit printed beside each input is part of the calculation.

One sample written in compatible unit systems
MassVolumeDensity
0.54 kg0.0002 m³2,700 kg/m³
540 g200 cm³2.7 g/cm³

Rearrange the equation to find mass or volume

With a density of 2,700 kg/m³, a 0.01 m³ portion has mass 2,700 × 0.01 = 27 kg. Conversely, 27 kg occupies 27/2,700 = 0.01 m³ under the same density assumption. These are algebraic rearrangements of one relationship.

If density or volume varies across the sample, one representative value may not describe every part. Add masses of separate portions when their densities differ.

Distinguish density from weight and specific gravity

Mass density uses mass per volume. Weight density uses force per volume and depends on gravitational acceleration. Specific gravity is a ratio to a stated reference density and is dimensionless; it is not automatically the same numerical input as kg/m³.

When a specification gives g/mL, note that 1 g/mL = 1,000 kg/m³. Convert the supplied value before using the basic SI inputs.

Keep measurement conditions with the result

Temperature, pressure, moisture and compaction can affect a measured density, depending on the material. Use the value appropriate to the sample and its state. A geometric volume estimate and a measured displaced volume may also describe different boundaries for a porous object.

Record how mass and volume were measured when comparing samples. Extra decimal places from division cannot correct an inaccurate volume measurement.

Calculate: formula and assumptions

Density = mass/volume.

Use the units printed beside each input. Mass and gravitational weight are different physical quantities.

Use Calculate

Find mass or volume: formula and assumptions

Mass=density×volume; volume=mass/density.

All inputs use SI units as labeled.

Use Find mass or volume

Worked example

Using the Calculate example:

Inputs
Mass (kg)
10
Volume (m³)
2
Method

Density = mass/volume.

Result

Example result

Density: 5 kg/m³

These are illustrative inputs. Change the values to explore a different scenario.

Formula references

References explain the underlying methods; they do not imply endorsement or individual professional review of Finflo.

Common questions

What is the density formula?

Density equals mass divided by volume. For the basic fields, kilograms divided by cubic meters gives kg/m³.

How do I convert g/cm³ to kg/m³?

Multiply by 1,000. Thus 2.7 g/cm³ equals 2,700 kg/m³.

Can the calculator find volume?

Yes. Select the inverse mode and solve for volume using V = m/ρ.

Is density the same as weight?

No. Density relates mass to volume; weight is a force that also depends on gravity.

Why might a supplier’s density differ from my measurement?

The material state, moisture, temperature, compaction or measurement boundary may differ. Check that both values describe the same conditions.

See our methodology and editorial policy.