Density Volume Mass Calculator: How to Use It
- Mass
- kg
- Result
- Volume
- m³
- Result
- Density
- 1000 kg/m³
- You entered
A density volume mass calculator lets you enter any two of the three values—density, volume, or mass—and instantly gets the third using the formula density = mass ÷ volume. You choose which value to solve for, type in the two known numbers with their units, and the calculator returns the missing one, along with the unit conversion if you need it.
Formula
The core relationship is density (�) = mass (m) ÷ volume (V). Rearranged, it gives:
- Mass = density × volume
- Volume = mass ÷ density
Each variable has a standard unit in the metric system: density in kilograms per cubic meter (kg/m³), mass in kilograms (kg), and volume in cubic meters (m³). In everyday use, you might see grams per cubic centimeter (g/cm³) for density, grams (g) for mass, and milliliters (mL) or liters (L) for volume. Because 1 g/cm³ equals 1,000 kg/m³, and 1 mL equals 1 cm³, conversions are straightforward but essential for correct results.
Worked Example
Using the default values from the calculator above, let’s find the density when mass is 2 kg and volume is 0.002 m³.
- Start with the formula: density = mass ÷ volume.
- Plug in the numbers: density = 2 kg ÷ 0.002 m³.
- Divide: 2 ÷ 0.002 = 1,000.
- Result: density = 1,000 kg/m³, which is the density of water.
The calculator’s first output shows exactly that: 1,000.00 kg/m³. If you instead entered density and volume, the mass output would be 2.00 kg; with density and mass, the volume output would be 0.002 m³.
When to Use This Calculator
You would reach for this tool in any situation where you know two of the three properties and need the third. Common examples include:
- Checking whether an object will float by comparing its density to water’s 1,000 kg/m³.
- Calculating the mass of a liquid you need to fill a tank of known volume, using the liquid’s density.
- Finding the volume of a sample from its mass and density, useful in material identification.
- Converting between mass and volume for cooking or mixing chemicals, where density is known.
The calculator works for solids, liquids, and gases, as long as you use the correct density for the substance at its current temperature and pressure. For gases, density changes significantly with temperature and pressure, so you must use the value that matches your conditions.
How to Choose the Right Inputs
The key to getting a correct answer is consistent units. If you enter mass in grams and volume in liters, the density comes out in g/L, not kg/m³. Here are common unit pairs that work together without extra conversion:
- kg and m³ → kg/m³
- g and cm³ → g/cm³
- g and mL → g/mL (same as g/cm³)
- kg and L → kg/L (same as g/cm³)
If your inputs are in mismatched units, convert first. For example, to get density in kg/m³ from a mass in grams and volume in cm³, divide the mass by 1,000 and the volume by 1,000,000 before using the formula. Most online calculators, including this one, let you pick units, but always double-check the output unit label.
Common Mistakes and Misconceptions
One frequent error is mixing up mass and weight. Mass is the amount of matter, measured in kilograms or grams; weight is the force of gravity on that mass, measured in newtons or pounds-force. On Earth, 1 kg weighs about 9.8 N, but the calculator deals only with mass. If you have a weight in newtons, divide by 9.8 to get mass in kg before using the formula.
Another mistake is forgetting that density changes with temperature. Water at 4°C has a density of 1,000 kg/m³, but at 20°C it is about 998 kg/m³. For most everyday purposes, the difference is negligible, but for precise scientific work, use the density at your exact temperature.
A third misconception is that volume and capacity are the same. Volume is the space an object occupies; capacity is the amount a container can hold. Both are measured in cubic units or liters, but they refer to different things. The formula works for both, as long as you use the correct volume value.
Limits of the Formula
The density formula assumes a uniform substance. If you have a mixture or a porous object, the calculated density is an average, not the density of any single component. For example, a sponge has a bulk density that includes air pockets, which is lower than the density of the solid material it is made of.
The formula also assumes the substance is incompressible, which is true for most solids and liquids under normal conditions. Gases are compressible, so their density varies with pressure. If you are working with a gas, you need the density at the specific pressure and temperature, not just at standard conditions.
Finally, the calculator gives a mathematical result, but real-world measurements always have uncertainty. If your mass or volume reading is off by a small amount, the density will be off too. Always consider the precision of your measuring tools.
Frequently Asked Questions
How do I convert between g/cm³ and kg/m³?
Multiply the value in g/cm³ by 1,000 to get kg/m³. For example, 2.5 g/cm³ equals 2,500 kg/m³. Conversely, divide kg/m³ by 1,000 to get g/cm³. This works because 1 g/cm³ = 1,000 kg/m³.
What is the density of water?
Pure water has a density of approximately 1,000 kg/m³ (1 g/cm³) at 4°C, its maximum density. At room temperature (20°C), it is about 998 kg/m³. This value is often used as a reference for comparing other substances.
Can I use this calculator for gas?
Yes, but you must use the density of the gas at your specific temperature and pressure. Gas density changes significantly with conditions, so look up the value for your situation. For example, air at sea level and 15°C has a density of about 1.225 kg/m³.
What if I only know the weight, not the mass?
Convert weight to mass first. On Earth, divide the weight in newtons by 9.8 to get mass in kilograms. If your weight is in pounds-force, multiply by 0.4536 to get mass in kg (since 1 lb-force is roughly the weight of 0.4536 kg). Then use the mass in the calculator.
Why does the calculator give different units for density?
Because density is a ratio, its unit depends on the units you use for mass and volume. The calculator lets you choose from common unit pairs, but the underlying formula stays the same. Always read the output unit to interpret the result correctly.