Physics · Science

Density Calculator

Calculate density from mass and volume, with common unit conversions.

Live resultFormula shownStep-by-stepNo sign-up
Inputs

Density Calculator

Live
Updates as you type. Nothing leaves your browser.
ResultLive
Density—
Explain my calculation

Each substitution is shown so you can check the arithmetic.

Enter values to see the step-by-step working.

Density formula

Formula
ρ = m ÷ V

The live calculator applies this equation with full precision and rounds only for display.

What the variables mean

m = mass; V = volume.

Worked example

Example

2 kg occupying 0.001 m³ has a density of 2,000 kg/m³, or 2 g/cm³.

How to interpret the result

Density compares how much mass is packed into a volume. Objects with density below the surrounding fluid float; above it, they sink.

Common mistakes

  • Use SI units throughout: metres, kilograms, seconds, newtons, joules and kelvin. Mixing centimetres with metres or grams with kilograms is the classic source of factor-of-10 and factor-of-1,000 errors. Angles in trigonometry are usually radians in code but degrees in everyday use.

Frequently asked questions

What formula does this calculator use?
The calculator uses ρ = m ÷ V. The variables and units are listed on this page, and the live result shows the substituted working.
Are the results rounded?
Yes. Intermediate calculations use full precision, and the displayed result is rounded for readability. Small differences in the last digit can appear depending on the inputs.
Is this calculator free to use?
Yes. FormulasWorld calculators are free, require no account, and run in your browser. The formula and method are shown so you can verify the result independently.
Sources and standards

The formula, classification ranges and assumptions on this page follow the definitions and guidance of the bodies below.

How these are used: sources and standards.

Reviewed November 2026 · This tool is for education and estimation. See the disclaimer and methodology.

FormulasWorld

Need the theory behind density?

Read the formula entry for the derivation, units and related equations.