Density Calculator
Compute density ρ = m/V with mass in g and volume in mL. Result in g/mL.
ρ = — g/mL
Density: ρ = m/V
Density tells you how much mass sits in a given volume: ρ = m/V. The SI unit is kg/m³, though at the bench you'll usually reach for g/cm³ or g/mL, which mean the same thing (1 g/cm³ = 1,000 kg/m³). Distilled water at 4 °C comes out to exactly 1.000 g/cm³, and that was how the gram was first defined. Air sits around 1.2 kg/m³, mercury at 13.6 g/cm³, and gold at 19.3 g/cm³, which explains why a real gold bar feels absurdly heavy for its size. Archimedes' principle says that a submerged body pushes aside a volume of fluid equal to its own volume. That's how you measure the volume of an awkwardly shaped object, and it's also where buoyancy comes from.
Applications
Density gives away a material's identity (a "gold" piece reading 8.5 g/cm³ is almost certainly brass, since real gold sits at 19.3). It drives hydrometry in dairies and distilleries, where you compare relative density against water, along with hydrostatic balances. Airships and balloons rely on it too: helium at 0.17 kg/m³ and natural gas around 0.8 kg/m³ both rise in air. Add to that mineral separation by density and quality control of concrete and soils.
FAQ
Is g/cm³ the same as g/mL? In practice, yes. One cm³ equals one mL, and you'll see both units used in the lab.
Why does ice float on water? Ice (≈ 0.917 g/cm³) is actually less dense than liquid water (1.000 g/cm³). That's unusual, and it happens because of how hydrogen bonding spaces the molecules out when water freezes.
What is relative density? It's the ratio between a substance's density and that of a reference, usually water at 4 °C. Because it's dimensionless, it shows up everywhere in hydrometers used for milk, juices and alcoholic drinks.
Related Tools
Solution Density Mass Volume
Computes solution density in g/mL from total mass and total volume of the sample.
Asteroid Mean Density Calculator
Computes mean density of an asteroid in g/cm3 from mass in kg and mean diameter in km assuming spherical geometry.
Molarity by Mass and Volume
Computes molar concentration (mol/L) from solute mass, molar mass and volume.
PETG Filament Weight Calculator
Calculate the mass in grams and the length of PETG filament needed to 3D print a part, from the volume and the material density.
Silt Density Index (SDI)
Computes the silt density index of ASTM D4189, the test that measures the fouling potential of the feed water of a reverse osmosis membrane: the sample is filtered through a 0.45 µm membrane at 207 kPa, the time to collect 500 mL is measured at the start and again at the end of the test, and the index is the percentage of flow loss divided by the duration. The expression is SDI = (1 − initial time ÷ final time) × 100 ÷ duration, and the number tells how much the filter plugged per minute of test: membrane makers usually require under 5 for a spiral wound element and under 3 for extended warranty, and water above that forces stronger coagulation or filtration upstream. The test is only valid if the flow loss stays below 75%; if the filter plugs before that, run it again with a shorter duration. The duration was adopted as an input instead of fixing 15 minutes, the standard value, precisely because poor water demands repeating at 10 or 5 minutes — results from different durations are not comparable, which is why the value is recorded as SDI₁₅, SDI₁₀ or SDI₅. Enter the initial time, the final time and the test duration.
ABS Filament Weight Calculator
Calculate the mass in grams and the length of ABS filament needed to 3D print a part, from the volume and the material density.
The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.