Enter mass and volume to calculate density in g/cm³.
Enter mass and volume to find density in g/cm³ or kg/m³. You can also rearrange to find mass from density and volume, or volume from density and mass. Water sits at exactly 1 g/cm³, which makes it a useful reference for everything else.
Density tells you how much matter is packed into a given space. Water has a density of 1.0 g/cm³. Objects less dense than water float; denser ones sink. Density is used in chemistry, engineering, materials science, and everyday tasks like identifying unknown substances.
You came here because
Common situations
- Material identification: Measure mass and volume, then compare density to a reference table to identify metals, minerals, or liquids.
- Buoyancy problems: Determine if an object will float or sink by comparing its density to water.
- Chemistry lab: Calculate the density of liquids or solids as part of lab experiments.
- Quality control: Density checks can verify material purity. Impurities change density, making it a useful quick test.
Under the hood
How the calculation works
- 1Enter the mass of the object in grams.
- 2Enter the volume in cubic centimeters (cm³ = mL).
- 3The calculator divides mass by volume to get density in g/cm³.
- 4The result is also shown in kg/m³ and compared to water.
Show me
A real example
Example: A metal block weighs 270 g and occupies 100 cm³
- 1D = 270 g / 100 cm³ = 2.7 g/cm³
- 2This matches aluminum (density ≈ 2.7 g/cm³)
- 32.7 g/cm³ = 2,700 kg/m³
Watch out for
What can go wrong
- Confusing volume units: Density in g/cm³ requires mass in grams and volume in cm³ (same as mL for liquids). If your volume is in liters, convert first: 1 L = 1,000 cm³.
- Using weight instead of mass: Density uses mass, not weight. On Earth, grams and kilograms measure mass. Newtons measure force (weight). For most lab and everyday calculations, the distinction does not matter, but it matters for physics problems.
- Not accounting for temperature: Density of liquids and gases changes with temperature. Water is densest at 4°C (1.000 g/cm³) and less dense when colder or warmer. Specify temperature when recording density measurements for comparison.
- Mixing mass and density units: If mass is in kg and volume is in mL, the result will be in kg/mL, not g/cm³. Convert both to the same unit system before dividing.
Glossary
Related concepts
| Term | Definition |
|---|---|
| Density | Mass per unit volume. SI unit: kg/m³. Common chemistry unit: g/cm³ (= g/mL). |
| Specific gravity | Ratio of a substance's density to water's density. A substance with SG = 2.5 is 2.5× denser than water. |
| Buoyancy | The upward force on an object submerged in a fluid, equal to the weight of displaced fluid. Objects float when buoyancy exceeds their weight. |
| Archimedes' principle | A body submerged in a fluid is buoyed up by a force equal to the weight of the displaced fluid. |
Make it better
Pro tips
- Use water as your reference point: Pure water has a density of 1 g/cm³ at 4°C. Materials denser than 1 sink in water; less dense materials float. This quick check verifies whether a result is physically plausible.
- Rearrange to find mass or volume: If you know density and one other value, enter the known values. The calculator solves for the third. This is useful for finding the volume of a material from its mass and known density.
- Use for material identification: Many materials have characteristic densities. If you measure the mass and volume of an unknown metal, comparing the calculated density to known values (aluminum: 2.7 g/cm³, iron: 7.87 g/cm³) can help identify it.
- Check units before submitting a lab report: Density reported in g/mL and g/cm³ are numerically equivalent (1 mL = 1 cm³), but kg/m³ differs by a factor of 1,000. Double-check which unit your teacher or client expects.
Common questions
Frequently asked questions
For related calculations, try the Force Calculator, or Ohm's Law Calculator. Browse all Calculator Online calculators for the full catalog.
Methodology
This calculator uses the standard density calculator formula. Results match those from established financial, scientific, and health references.
Reviewed by
Calculator Online Editorial Team. All formulas verified against authoritative sources before publication.
Last updated
2026-01-15