Density, Mass and Volume Calculator
Calculate density, mass, or volume from the other two quantities.
Calculator InputsFormula v1.0
Density = mass / volume
Density
Formula and method
Density = mass / volumeMass and volume must use compatible units.
Variables
- solveFor
- Calculate
- mass
- Mass
- volume
- Volume
- density
- Density
Worked example
A 200 g sample occupying 50 cm³ has a density of 4 g/cm³.
Who this calculator is for
Students, laboratory users, and engineers.
Complete guide to the density, mass and volume calculator
Every figure below comes from this calculator itself. The method is Density = mass / volume, applied to the tool's default inputs and then stress-tested one input at a time.
What the Density, Mass and Volume Calculator works out
Density, Mass and Volume Calculator answers one specific question: Calculate density, mass, or volume from the other two quantities. It is written for students, laboratory users, and engineers.
The method is Density = mass / volume. The inputs are Calculate, Mass (g), Volume (cm³), Density (g/cm³). With the default values - Calculate = density, Mass = 200 g, Volume = 50 cm³, Density = 4 g/cm³ - the result is Density: 4.0000 g/cm³. Raising Mass from 200 g to 220.00 g moves the headline result from 4.0000 g/cm³ to 4.4000 g/cm³.
Working through the reported figures
Alongside 4.0000 g/cm³ this method reports 2 supporting quantities: Mass: 200 g; Volume: 50 cm³. Taken together they show which input moved the answer and by how much.
The worked example is: A 200 g sample occupying 50 cm³ has a density of 4 g/cm³. Use it to confirm the direction of the calculation before entering your own figures, and keep intermediate values unrounded until the final step.
How to interpret the answer
Mass and volume must use compatible units.
Applying that reading here: 4.0000 g/cm³ alongside mass of 200 g describes one specific scenario, not a range of possibilities. Adjust the quantity that is genuinely uncertain in your case, then read both figures again.
The same formula can be run backwards: begin with the answer you need and solve for whichever input is under your control. Starting from 4.0000 g/cm³ is the quickest way to see which lever matters.
Run one deliberately rough version of this calculation first; if 4.0000 g/cm³ moves in the direction and by the order of magnitude you expect, the inputs were read as intended.
Common mistakes to avoid
Pairing grams with litres or kilograms with cubic centimetres, which silently rescales the answer by a factor of 1,000. Using the volume of a container rather than the displaced volume when measuring an irregular solid.
Before you act on the result, re-read Calculate, Mass (g), Volume (cm³), Density (g/cm³) and confirm each entry matches its label, including whether a quantity is entered in the unit the label names. Change Mass deliberately and check that the result moves the way the formula predicts - here 4.0000 g/cm³ should shift smoothly rather than jump.
Limitations and responsible use
Assumes a uniform material; alloys, composites and porous solids have local density variations. Temperature is not modelled, even though density changes measurably with it for liquids and gases.
The figures above hold within those limits and not outside them. The formula, the substitution and the units are all printed so you can check the arithmetic yourself; whether the inputs describe your real situation is something only you can confirm. For a consequential decision, verify the operative figures against a primary source before relying on the answer.
Frequently asked questions
A 200 g sample occupies 50 cm³. What is its density?
200 ÷ 50 = 4 g/cm³, which is 4,000 kg/m³. Water is 1 g/cm³, so the sample is about four times denser than water and will sink.
How do I find mass when I know density and volume?
Multiply density by volume, keeping units consistent: 4 g/cm³ × 50 cm³ = 200 g. The same calculator solves for whichever of the three quantities you leave blank.
Related Science Calculators
Explore another calculator in this subject.
Significant Figures Calculator – Count, Round and Sig Fig Rules
Count the significant figures in any number, round to a chosen number of significant digits, and see the standard sig-fig arithmetic for addition and multiplication.
Scientific Notation Converter – Decimal, E-Notation and Scientific Form
Convert any number between decimal notation, scientific notation (a × 10ⁿ) and E-notation, with engineering notation and significant-figure awareness.
Subnet Calculator – IPv4 Network, Mask, Hosts and Broadcast
Enter an IPv4 address and prefix length to get the network address, broadcast address, usable host range, host count, wildcard mask and CIDR notation.