Density Calculator

Use this density calculator to find density, mass, or volume with unit conversion and an optional water displacement method for irregular objects.

Note: g/mL and g/cm3 are numerically equal because 1 mL = 1 cm3, but the calculator still converts units explicitly.
Advanced options
Volume method
Result display
Did we solve your problem today?

How to use our Density Calculator

  1. Choose Find which value: Density, Mass, or Volume.
  2. Enter Mass and pick the correct Mass unit for that number.
  3. If you are using direct volume, enter Volume and choose the matching Volume unit.
  4. Set Density output unit to the unit you want to use for density input or density output.
  5. If the object is irregular, open Advanced options, change Volume entry method to water displacement, then enter Initial liquid reading, Final liquid reading, and Displacement unit.
  6. Choose Display format if you want different rounding or scientific notation behavior.
  7. Click Calculate to see Calculated value, Same result in SI unit, Volume used in calculation, and Formula used.
  8. Sanity-check the result: make sure Volume used in calculation matches your intended volume and that the unit on Calculated value is the one you expected.

Definitions

Density: Mass per unit volume. It tells how much matter is packed into a certain space [2].

Mass: The amount of matter in an object. In this calculator, choose its unit with Mass unit.

Volume: The amount of space an object takes up. In this calculator, choose its unit with Volume unit.

Density output unit: The density unit used for the answer, or for the density input when you are solving for mass or volume.

Water displacement: A way to find an object's volume by subtracting the Initial liquid reading from the Final liquid reading.

SI unit: A standard science unit. For density, the SI unit shown here is kilograms per cubic meter, written as kg/m3.


Common mistakes and quick fixes

Mistake: Typing a mass in kilograms but leaving Mass unit set to grams.
Fix: Make Mass unit match the number entered in Mass before you calculate.

Mistake: Entering a direct Volume while Volume entry method is set to water displacement and expecting that direct value to be used.
Fix: In displacement mode, check Volume used in calculation . The calculator uses Initial liquid reading and Final liquid reading , not the direct Volume entry.

Mistake: Setting Final liquid reading equal to or smaller than Initial liquid reading .
Fix: Enter readings so Final liquid reading is greater than Initial liquid reading ; otherwise displacement volume is not valid.

Mistake: Treating Density output unit like only a display choice when solving for mass or volume.
Fix: When finding mass or volume, enter the known density value using the selected Density output unit so the conversion is correct.

Mistake: Getting a strange answer and only looking at Calculated value .
Fix: Also read Same result in SI unit and Formula used to confirm the unit system and equation match your homework or lab setup.


Limitations & Key Assumptions / Boundary Conditions

  • The calculator assumes positive real-world values. Mass, density, and any used volume must be greater than zero.
  • In water displacement mode, Final liquid reading must be greater than Initial liquid reading or the volume is invalid.
  • If Volume entry method is water displacement, the calculator ignores the direct Volume input and uses the displacement readings only.
  • Density can change with temperature and pressure, so results may differ from reference tables measured under other conditions.
  • Rounding depends on Display format, so a shown result may look slightly different from a full-precision classroom calculation.
  • Unit labels are binding. The number you enter must match the selected mass, volume, displacement, or density unit.

Methodology

Core formula

Density is mass divided by volume [2]. The calculator converts entered values to standard internal units first, solves for the missing quantity, and then converts the answer to the selected output unit.

ρ (density) = m (mass) / V (volume)

m (mass) = ρ (density) x V (volume)

V (volume) = m (mass) / ρ (density)

Water displacement mode

For irregular objects, the calculator can find volume from the rise in liquid level, then use that volume in the density formula.

V_object = V_final - V_initial

If displacement mode is active, that derived volume becomes the Volume used in calculation.

Unit conversion approach

Mass is converted to kilograms, volume is converted to cubic meters, and density is converted to kilograms per cubic meter before solving. After the calculation, the result is converted back to your selected unit. Common equivalences used here include 1 mL = 1 cm3 and 1 g/cm3 = 1000 kg/m3.

Worked mini-example

Suppose you want density, with mass = 100 g and volume = 50 cm3.

ρ = 100 / 50 = 2 g/cm3

The SI version is 2000 kg/m3, so the result cards would show 2 g/cm3 as the main answer and 2000 kg/m3 as the SI check.

If you use displacement instead, and the liquid rises from 40 mL to 52 mL, then the object volume is 12 mL. With mass = 54 g:

V_object = 52 - 40 = 12 mL

ρ = 54 / 12 = 4.5 g/mL

How to interpret the outputs

Calculated value is the missing quantity in your chosen unit. Same result in SI unit helps you compare with textbook formulas. Volume used in calculation is especially useful in displacement mode, because it confirms the exact volume the calculator used.

Assumptions used

The calculator assumes the sample is measured consistently, units are selected correctly, and displacement readings are read from the same scale. It does not correct for temperature effects, pressure effects, trapped air, or liquid sticking to the object, so lab results can differ slightly from ideal calculations.


Sources