Density Calculator
Enter any two of mass, volume and density and this calculator solves for the third with the formula density = mass / volume. Choose the mass and volume units you prefer.
How to calculate density
- Choose your mass unit and volume unit.
- Enter any two of mass, volume and density.
- Read the missing value, shown in your units and in SI kg/m3.
Examples
Density from mass and volume
mass = 100 g, volume = 50 cm3
density = 2 g/cm3 (2000 kg/m3)
Mass from density and volume
density = 2 g/cm3, volume = 50 cm3
mass = 100 g
Frequently asked questions
What is the density formula?
Density equals mass divided by volume (d = m / V). Rearranged, mass = density x volume and volume = mass / density.
What units does the calculator use?
You pick the mass unit (kg, g, mg or lb) and volume unit (m3, cm3, L or mL). Density is shown in that pair and also in SI kg/m3.
How do g/cm3 and kg/m3 relate?
They differ by a factor of 1000: 1 g/cm3 equals 1000 kg/m3. Water is about 1 g/cm3, or 1000 kg/m3.
What is the density of water?
Pure water at 4 C is about 1 g/cm3, equal to 1000 kg/m3 or 1 kg per litre. This calculator reproduces that value.
Why can't volume be zero?
Density divides mass by volume, so a volume of zero would divide by zero. The calculator rejects that input.
Related tools
Speed Distance Time Calculator
Work out speed, distance or time from the other two with speed = distance / time. Supports m/s, km/h and mph, plus metres, kilometres and miles.
Kinetic Energy Calculator
Calculate kinetic energy, mass or velocity using KE = 1/2 m v^2. Enter any two values in SI units (kg, m/s, joules) to solve for the third.
Ohm's Law Calculator
Solve Ohm's law online. Enter any two of voltage, current, resistance or power and get the other two, with the V, I, R and P formulas shown.
555 Timer Calculator
Calculate 555 timer astable frequency, period, high and low times and duty cycle from R1, R2 and the timing capacitor. Free oscillator design helper.
Battery Life Calculator
Estimate how long a device runs on a battery from its capacity in mAh and current draw in mA. Includes a real-world efficiency factor for an honest figure.
Bernoulli Equation Calculator
Solve Bernoulli's equation for the downstream pressure from density, upstream pressure, two velocities and two elevations for steady incompressible flow.