Density Calculator
Calculate density, mass, or volume from any two known values. The calculator normalizes units, shows the formula with substituted numbers, compares the result with familiar materials, and includes geometry helpers for common shapes.
Enter your values
Tip: choose the quantity to solve, then enter the other two values.
Density Calculator chart
The graph updates from the calculator result so you can compare the answer visually instead of staring at one lonely number like civilization intended.
Key terms
Density
Density describes how much mass is packed into a given volume. It is calculated as mass divided by volume.
Mass
Mass is the amount of matter in an object. In SI calculations it is commonly expressed in kilograms.
Volume
Volume is the three-dimensional space occupied by an object or substance. Common units include m³, cm³, mL and L.
Weight
Weight is a force caused by gravity acting on mass. It is not the same quantity as mass or density.
What is density?
Density tells you how concentrated matter is inside a volume. Two objects can have the same size but very different masses because their densities are different. A steel block and a foam block may occupy the same space, yet the steel block contains far more mass.
Density (ρ) = Mass (m) ÷ Volume (V)In the SI system, density is expressed in kilograms per cubic metre (kg/m³). Laboratory and chemistry work often uses g/cm³ or g/mL. Because 1 mL equals 1 cm³, g/mL and g/cm³ have the same numerical value.
How to use this density calculator
Choose the quantity you want to solve for: density, mass, or volume. Enter the other two known values, select their units, and calculate.
To calculate density
- Enter mass.
- Enter volume or use the optional shape helper.
- Select the mass and volume units.
- Choose Density as the target.
To calculate mass
Enter density and volume, then solve m = ρV.
To calculate volume
Enter mass and density, then solve V = m/ρ.
The material preset is useful for estimates. For critical engineering, laboratory or commercial work, use the actual density of the specific grade, temperature and condition rather than a generic handbook value.
The three density formulas
The density relationship can be rearranged three ways:
ρ = m/Vm = ρVV = m/ρThese are not three different physical laws. They are the same relationship rearranged depending on which variable is unknown. The calculator converts inputs to a consistent internal unit system before applying the equation, which avoids the common mistake of dividing grams by cubic metres or kilograms by millilitres without conversion.
How to calculate density with mass and volume
Measure the mass with a suitable balance, determine the volume, then divide mass by volume.
Example
A sample has a mass of 500 g and occupies 200 cm³.
ρ = 500 g ÷ 200 cm³ = 2.5 g/cm³The same value is 2500 kg/m³.
For a regular object, volume can be found from dimensions. For an irregular solid that does not dissolve or absorb the liquid, water displacement is often more practical: record the initial liquid volume, submerge the object, record the final volume, and subtract.
How to find the density of an object or liquid
Regular solid
Measure its dimensions, calculate geometric volume, weigh it, then use ρ=m/V.
Irregular solid
Use a displacement method when appropriate. The displaced liquid volume is the object volume.
Liquid
Weigh an empty container, add a measured liquid volume, subtract the container tare, and divide the liquid mass by its measured volume.
Density units and conversions
The coherent SI density unit is kg/m³. Other common units are g/cm³, g/mL, kg/L and lb/ft³.
| Relationship | Equivalent |
|---|---|
| 1 g/cm³ | 1000 kg/m³ |
| 1 g/mL | 1000 kg/m³ |
| 1 kg/L | 1000 kg/m³ |
| 1 kg/m³ | 0.062428 lb/ft³ |
The trap is that volume units are cubed. Since 1 m = 100 cm, 1 m³ = 1,000,000 cm³, not 100 cm³.
Average density and material density
Average density describes the total mass divided by total external volume. It is especially useful for porous, hollow or composite objects where the internal material density is not uniform.
A hollow steel part can therefore have an average density much lower than solid steel. A composite panel can have a different average density from every individual ingredient. For dedicated material lookup, composite estimates and a searchable reference table, use the Material Density Calculator.
Density of water and common reference points
Pure water is often used as an intuitive benchmark because its density is close to 1000 kg/m³ under ordinary conditions, but it is not exactly 1000 kg/m³ at every temperature.
| Material | Approx. density |
|---|---|
| Air near sea level | ~1.2 kg/m³ |
| Water near room temperature | ~998 kg/m³ |
| Aluminum | ~2700 kg/m³ |
| Carbon steel | ~7850 kg/m³ |
| Gold | ~19,300 kg/m³ |
These values are orientation points, not substitutes for specification-grade property data.
How to measure density accurately
Good density work is mostly good measurement discipline. Use a balance appropriate to the sample mass, avoid trapped air when measuring liquid displacement, read graduated glassware at the proper meniscus, and keep units consistent.
Useful quality checks
- Record temperature for liquids and gases.
- Record pressure for gases.
- Use enough significant figures for the least-precise measurement.
- Repeat measurements when the sample is non-uniform.
- Distinguish bulk density from particle or true material density.
Common density calculation mistakes
Common errors include mixing mass and weight, forgetting cubic unit conversions, using outside dimensions for a hollow part, using a generic material value for a different alloy or moisture condition, and treating gas pressure as gauge pressure when an equation requires absolute pressure.
The calculator helps with arithmetic and units, but it cannot determine whether your measured inputs represent the right physical quantity. That part, inconveniently, still belongs to the human.
Frequently asked questions
What information do you need to calculate density?
You need mass and volume. Density is mass divided by volume.
How do you calculate density?
Use ρ = m/V after converting mass and volume to compatible units.
What are the three density formulas?
ρ=m/V, m=ρV, and V=m/ρ.
How do I use a density calculator?
Choose the unknown variable, enter the other two values with units, then calculate and review the substituted formula.
How do I find weight from density?
First calculate mass with m=ρV. If you need weight force, multiply mass by local gravitational acceleration: W=mg.
What are five examples of density?
Examples include air, water, wood, aluminum and steel. Each has a different mass per unit volume.
Does density change with shape?
For a homogeneous material at the same conditions, changing only shape does not change material density.
Does density change if you cut an object in half?
Not if the material remains homogeneous and the physical conditions are unchanged. Mass and volume both halve, so their ratio stays the same.
Does density increase with size?
Not automatically. Density is an intensive property; a larger piece of the same homogeneous material normally has the same density.
What object has a density of 1?
If the unit is g/cm³, liquid water is approximately 1 g/cm³ near ordinary temperatures, though its exact density depends on temperature.
Sources & references
We prefer standards bodies, government/scientific agencies and primary technical references. Reference values can vary with conditions, grade, composition or measurement method.
Related calculators & guides
DensityCalcs · [email protected]