Density Calculator

Calculate the density of any substance by entering its mass and volume. Density is the key that connects mass and volume conversions.

g
mL
1.0000 g/mL
100 g ÷ 100 mL = 1.0000 g/mL

What Does Density Look Like?

Compare how different densities affect the mass-volume relationship

Mercury
13.534 g/mL
Honey
1.420
Water
1.000
Olive Oil
0.918
Ethanol
0.789
Flour
0.593

Each bar shows density in g/mL — higher density means more mass per unit volume

Density Formula

Density = Mass ÷ Volume
ρ = m / V
ρ
Rho (ρ) Density — how much mass is packed into a given volume
m
Mass (m) The amount of matter in an object, measured in grams (g) or kilograms (kg)
V
Volume (V) The space an object occupies, measured in milliliters (mL) or cubic meters (m³)

SI Units

In the International System of Units (SI), density is measured in kilograms per cubic meter (kg/m³). In everyday science and chemistry, grams per milliliter (g/mL) or grams per cubic centimeter (g/cm³) are more commonly used. Since 1 mL = 1 cm³, these two units are interchangeable.

Density Formula Triangle

A simple visual trick to remember how to rearrange the density formula

M
D × V
ρ = M ÷ V

Cover D → Mass over Volume gives Density

M = D × V

Cover M → Density times Volume gives Mass

V = M ÷ D

Cover V → Mass over Density gives Volume

Density Units Explained

Common units used to express density across different fields

Unit Meaning
g/mLGrams per milliliter — most common in chemistry labs
kg/m³Kilograms per cubic meter — the SI standard unit
g/cm³Grams per cubic centimeter — identical to g/mL
lb/ft³Pounds per cubic foot — used in US engineering

Density Calculator Examples

See the density formula in action with step-by-step calculations

Example 1
Mass100 g
Volume50 mL
Density = 100 ÷ 50
Density = 2 g/mL
Example 2
Mass250 g
Volume125 mL
Density = 250 ÷ 125
Density = 2 g/mL
Example 3
Mass500 g
Volume400 mL
Density = 500 ÷ 400
Density = 1.25 g/mL

Density Practice Problems

Try solving these density problems, then reveal the answer

Problem 1

A liquid has a mass of 200 g and occupies a volume of 100 mL. What is its density?

Density = Mass ÷ Volume

Density = 200 g ÷ 100 mL

Density = 2 g/mL

Problem 2

A metal cube has a mass of 540 g and a volume of 200 cm³. Calculate its density.

Density = Mass ÷ Volume

Density = 540 g ÷ 200 cm³

Density = 2.7 g/cm³ (aluminum)

Problem 3

A gas fills a 500 mL container and has a mass of 0.65 g. What is its density?

Density = Mass ÷ Volume

Density = 0.65 g ÷ 500 mL

Density = 0.0013 g/mL

Applications of Density

Density plays a vital role across many industries and everyday life

🏥

Density in Medicine

Medical professionals use density to analyze body fluids like blood and urine. A urine density test (specific gravity) helps diagnose dehydration, kidney disease, and diabetes insipidus. Bone density scans (DEXA) measure how much mineral content is in bones to detect osteoporosis. IV fluid preparation also relies on precise density calculations.

🍳

Density in Cooking

In baking and cooking, density determines how ingredients are measured by volume vs. weight. A cup of flour (≈0.59 g/mL) weighs much less than a cup of honey (≈1.42 g/mL). Understanding density helps bakers convert recipes between metric and imperial, and explains why oil floats on water-based sauces and vinaigrettes.

⚙️

Density in Engineering

Engineers select materials based on density for structural and aerospace applications. Aluminum (2.7 g/cm³) is preferred over steel (7.8 g/cm³) in aircraft because it's lighter. Naval architects design ship hulls so the average density of the vessel is less than water, ensuring buoyancy. Civil engineers consider soil density for foundation stability.

🧫

Density in Chemistry

Chemists use density to identify unknown substances, verify solution concentrations, and calculate molar volumes. Density columns — layered liquids of different densities — are used to separate mixtures. In titration, density helps convert between mass and volume of reagents for precise stoichiometric calculations.

🏭

Density in Manufacturing

Quality control teams measure product density to ensure consistency in food, beverage, pharmaceutical, and material production. For example, the density of a plastic batch reveals whether the correct polymer blend was used. In metalworking, density checks detect porosity or voids in cast parts that could compromise structural integrity.

Density Conversion Tool

Instantly convert between common density units

1000 kg/m³

Popular Conversions

Understanding Density

Density is a fundamental physical property that describes how much mass is contained in a given volume. It is the bridge between mass and volume measurements.

The Formula

Density = Mass ÷ Volume

Step-by-Step Example

Finding the density of an unknown liquid — 85 g in 100 mL:

  1. Measure the mass: 85 g
  2. Measure the volume: 100 mL
  3. Divide: 85 ÷ 100 = 0.850 g/mL

The substance has a density of 0.850 g/mL, which is close to sugar.

If you only have one measurement, use the volume to density calculator or the mass to density calculator instead. To skip the math entirely, look up a known value in our liquid density lookup. Once you have a density, apply it in the milliliters to milligrams tool or the main mL to mg converter.

Why Is Density Important?

  • Identification — Density helps identify unknown substances in the lab.
  • Quality control — Manufacturing uses density to verify product consistency.
  • Conversions — Density is required for any mass ↔ volume conversion.
  • Buoyancy — Density determines whether objects float or sink.

Density of Common Materials

Reference table of densities for everyday substances and engineering materials

Material Density (g/mL) Density (kg/m³) Category
Air (at sea level)0.0012251.225Gas
Styrofoam0.03030Solid
Cork0.120120Solid
Pine Wood0.510510Solid
Flour0.593593Powder
Ethanol0.789789Liquid
Vegetable Oil0.910910Liquid
Olive Oil0.918918Liquid
Ice0.917917Solid
Water1.0001000Liquid
Milk1.0301030Liquid
Seawater1.0251025Liquid
Sugar1.5501550Solid
Honey1.4201420Liquid
Salt2.1652165Solid
Glass2.5002500Solid
Aluminum2.7002700Metal
Concrete2.4002400Solid
Titanium4.5074507Metal
Iron / Steel7.8747874Metal
Copper8.9608960Metal
Lead11.34011340Metal
Mercury13.53413534Liquid
Gold19.32019320Metal

Conversion Tools

Choose the right converter for your needs.

🧪

mg to mL Converter

Convert milligrams to milliliters. Find volume from mass with density.

Example: 5,000 mg → 5 mL (water)
⚖️

mL to Grams Converter

Convert milliliters to grams using substance density. Perfect for cooking and lab work.

Example: 100 mL → 100 g (water)
🏗️

mL to Kilograms Converter

Convert milliliters to kilograms. Ideal for large-volume industrial conversions.

Example: 1,000 mL → 1 kg (water)
🏋️

mL to Pounds Converter

Convert milliliters to pounds. Bridge metric volume to imperial weight instantly.

Example: 500 mL → 1.10 lb (water)
📐

mL to Liters Converter

Convert milliliters to liters. Simple volume unit conversion — no density needed.

Example: 1,000 mL → 1 L
🧪

Volume to Mass Converter

Convert volume (mL) to mass (mg) using density. Essential for lab and kitchen.

Example: 100 mL → 100,000 mg (water)
⚖️

Mass to Volume Converter

Convert mass (mg) to volume (mL) using density. Find how much space your substance takes.

Example: 5,000 mg → 5 mL (water)
🔬

Density Calculator

Calculate density from mass and volume. The key to all mass-volume conversions.

Example: 100 g ÷ 100 mL = 1.0 g/mL
📏

Volume to Density

Find density when you know volume and mass. Identify unknown substances.

Example: 250 mL, 229.5 g → 0.918 g/mL
🫧

Density to Volume

Calculate volume from density and mass. Find container size needed.

Example: 1.0 g/mL, 500 g → 500 mL
🧲

Mass to Density Converter

Calculate density from mass and volume. Determine substance identity from measurements.

Example: 150 g ÷ 120 mL = 1.25 g/mL
⚖️

Density to Mass Converter

Calculate mass from density and volume. Find the weight of any liquid instantly.

Example: 1.42 g/mL × 100 mL = 142 g
🥤

mL to Ounces Converter

Convert milliliters to fluid ounces. Bridge metric and imperial volume units.

Example: 250 mL → 8.45 fl oz
📖

Liquid Density Lookup

Search density values for 100+ common liquids. Reference tool for conversions.

Example: Honey → 1.42 g/mL
🧬

Normality Calculator

Calculate normality (N) from molarity, equivalent weight, and volume for chemistry.

Example: 0.5 M × 2 eq = 1.0 N

Density Calculator FAQ

Common questions about calculating density.

Density is a measure of how much mass is packed into a given volume. It is calculated by dividing mass by volume: Density = Mass ÷ Volume. Common units are grams per milliliter (g/mL) or kilograms per liter (kg/L).

The density of pure water at 4 °C is exactly 1.000 g/mL (or 1 kg/L). This makes water the standard reference — substances denser than 1.0 sink in water, and less dense substances float.

Yes. Most substances expand when heated, which increases volume while mass stays constant — lowering the density. Water is unusual: its maximum density occurs at 4 °C, not at 0 °C. For most everyday conversions, room temperature density values are accurate enough.

Yes. Density applies to solids, liquids, and gases. For solids, you'd measure the mass on a scale and determine volume by water displacement or geometric calculation. The formula is the same: Density = Mass ÷ Volume.

Specific gravity is a dimensionless ratio — it compares a substance's density to water's density. Since water's density is 1.000 g/mL, the numerical value of specific gravity equals the density in g/mL. The difference is that specific gravity has no units.