Density Calculator
Density, mass or volume from the other two.
Runs in your browser. Nothing is uploaded — your input is processed on this device and discarded when you close the tab.
Density Calculator
Units used here: mass in grams, volume in cubic centimetres, density in grams per cubic centimetre. Keep both inputs in those units for the answer to match.
How to use this tool
- Choose what to solve for: density, mass or volume.
- Enter the other two values in grams and cubic centimetres (or matching units).
- Press Generate for the answer with its formula.
Worked example
Solving for density with mass 500 g and volume 250 cm3 gives 500 / 250 = 2 g/cm3. Solving for mass with density 2 g/cm3 and volume 250 cm3 gives 2 x 250 = 500 g.
What this tool does not do / Limits
This tool uses the single formula density = mass / volume only. It does not adjust for temperature, pressure or mixtures, and it assumes both inputs use matching units (grams with cubic centimetres, or kilograms with cubic metres).
Frequently asked questions
What units should I use?
Grams and cubic centimetres give density in grams per cubic centimetre. Kilograms and cubic metres also work together and give kilograms per cubic metre; do not mix the two systems.
Why is volume zero rejected?
Because dividing by zero has no answer. Volume and density must be above zero when they are the divisor.
Related tools
CSV Cleaning Studio
Remove duplicates, fix missing values, standardise dates and export a clean CSV. Your file never leaves your device.
LiveChart Builder
Build charts from CSV data with aggregation, sorting and accessible colour palettes. Export as PNG or SVG.
LiveLength Converter
Convert lengths between metric and imperial units and see the full table of equivalents.
Live