Mass, density, and volume are three ways of describing the same physical thing, and if you know any two of them you can always find the third. Density equals mass divided by volume (D = m ÷ V). Rearranged, mass equals density times volume (m = D × V), and volume equals mass divided by density (V = m ÷ D). Those three formulas are the whole system.
The reason this matters beyond a science class is that these numbers show up in medicine every day. Body mass index, medication concentrations, and even the way a doctor reads a lab value all rest on the relationship between how much stuff you have and how much space it takes up.
What Do Mass, Density, and Volume Actually Mean?
Mass is the amount of matter in an object. It is measured in grams, kilograms, or pounds. Mass does not change if you move an object to the moon, though its weight would.
Volume is the amount of space that matter occupies. It is measured in milliliters, liters, cubic centimeters, or cubic meters. A cubic centimeter and a milliliter describe the same volume, which is a handy fact when you are working in a kitchen or a clinic.
Density is how tightly packed that matter is. It is mass per unit of volume. A kilogram of feathers and a kilogram of lead have the same mass, but the lead takes up far less space because its density is much higher.
One point that trips people up: mass and weight are not the same thing. Weight is the force gravity pulls on a mass. On Earth we use the terms almost interchangeably, but in physics they are distinct. For everyday calculations on Earth, treating them as the same gives you the right answer.
How To Calculate Mass Density And Volume Using the Three Core Formulas
Every calculation starts by identifying which two values you already have.
- Density: Divide mass by volume. D = m ÷ V
- Mass: Multiply density by volume. m = D × V
- Volume: Divide mass by density. V = m ÷ D
Units matter more than most people expect. If mass is in grams and volume is in milliliters, density comes out in grams per milliliter. If you mix units — say grams with liters — you will get a number that looks fine but is wrong by a factor of 1,000. Convert first, then calculate.
Here is a worked example. Suppose you have 200 grams of a liquid that fills 250 milliliters. Density is 200 ÷ 250, which equals 0.8 grams per milliliter. That is close to the density of common cooking oil, which is why oil floats on water.
Now reverse it. You know a substance has a density of 1.0 grams per milliliter and you have 500 milliliters of it. Mass is 1.0 × 500, which equals 500 grams. Water has a density of about 1.0 grams per milliliter at room temperature, so this is essentially a half-liter bottle of water.
Why Is Water’s Density Used as a Reference Point?
Water has a density of approximately 1 gram per milliliter at 4 degrees Celsius, which is the temperature at which water is densest. That single fact makes water the benchmark for comparing other substances.
Anything with a density below 1 gram per milliliter floats on water. Anything above it sinks. Ice is the famous exception in everyday life — it floats because water expands slightly when it freezes, dropping its density to about 0.92 grams per milliliter. That is unusual. Most substances get denser as they solidify.
This reference point has real consequences in health and medicine. Human body density sits close to that of water, which is why body composition testing often uses underwater weighing. Fat tissue is less dense than muscle and bone, so a person with more body fat has a slightly lower overall body density. Researchers use that difference to estimate body fat percentage.
It is worth being honest about the limits here. Underwater weighing is accurate but not practical for most clinics, and the formulas that estimate body fat from density rely on assumptions about tissue composition that do not hold for every person. It is a useful tool, not a perfect one.
How Do You Calculate Density of Irregular Objects?
For a regularly shaped object, you measure length, width, and height and multiply. A rectangular block of 2 centimeters by 3 centimeters by 4 centimeters has a volume of 24 cubic centimeters.
For an irregular object, you use water displacement. Fill a graduated cylinder with water, record the level, submerge the object, and record the new level. The difference between the two readings is the object’s volume.
This method works because the object pushes aside exactly its own volume of water. It is the same principle behind the story of Archimedes and the golden crown, and it is still used in laboratories today.
One caveat: the object must not dissolve in water or absorb it. A sponge or a sugar cube will give you a misleading volume reading because water enters the material or breaks it down.
What Are the Most Common Units and Conversions?
Getting units right is where most errors happen. The table below covers the conversions that come up most often.
| Measurement | Common Units | Conversion |
|---|---|---|
| Mass | gram, kilogram, pound | 1 kg = 1,000 g; 1 lb ≈ 454 g |
| Volume | milliliter, liter, cubic centimeter | 1 L = 1,000 mL; 1 mL = 1 cm³ |
| Density | g/mL, g/cm³, kg/m³ | 1 g/mL = 1,000 kg/m³ |
The kilogram per cubic meter unit shows up often in physics and engineering. The gram per milliliter unit is more common in chemistry and medicine. They describe the same property at different scales.
A quick way to check your work: if you divide grams by milliliters and get a number near 1, you are probably looking at something similar to water. If you get a number in the thousands, you likely have a unit mismatch somewhere.
How Does This Apply to Medication Dosing?
Medication concentrations are density calculations in disguise. When a label says a liquid medicine contains 5 milligrams per milliliter, that is a concentration — mass per unit volume.
If a prescribed dose is 15 milligrams, you divide 15 by 5 to get 3 milliliters. That is the volume you measure out. The math is identical to the density formula; only the labels change.
This is where unit errors become genuinely dangerous. Confusing milligrams with micrograms, or milliliters with teaspoons, can produce a dose that is many times too high or too low. This is a well-documented source of medication errors, and it is why many health systems now use standardized dosing charts and double-check procedures.
If you are calculating a dose at home, follow the instructions on the label or from your pharmacist exactly. Do not convert between units on your own unless you are certain of the conversion, and never estimate a dose for a child or an infant without specific guidance. No general rule substitutes for the instructions that come with a prescribed medication.
Where Do People Go Wrong Most Often?
The single most common mistake is mixing units without converting. Grams and kilograms, milliliters and liters — each mismatch throws the answer off by a power of ten or more.
The second mistake is treating density as a fixed number for all conditions. Density changes with temperature and pressure. Water is denser at 4 degrees Celsius than at 100 degrees Celsius. Air density drops as you go up in altitude. For most everyday calculations the difference is small enough to ignore, but in laboratory work and engineering it is not.
The third mistake is confusing mass with volume. A cup of flour and a cup of sugar have the same volume but different masses, because their densities differ. This is why serious bakers weigh ingredients instead of scooping them.
None of these are hard to avoid once you know to look for them. Check your units, note your temperature if precision matters, and remember that volume tells you how much space something takes up while mass tells you how much matter is there.
Frequently Asked Questions
What is the formula for density?
Density equals mass divided by volume, written as D = m ÷ V. If you know any two of the three values, you can always solve for the third.
How do you find volume if you only know mass and density?
Divide the mass by the density: V = m ÷ D. For example, 500 grams of a substance with a density of 2 grams per milliliter has a volume of 250 milliliters.
Why does ice float on water if it is made of water?
Water expands when it freezes, so ice has a lower density than liquid water — about 0.92 grams per milliliter versus roughly 1.0. Anything less dense than the liquid it sits in will float.
Can you calculate density without measuring volume directly?
Yes, for irregular objects you can use water displacement to find volume, then divide mass by that volume. The object must not dissolve in or absorb the water for the reading to be accurate.

