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

Calculate Density, Mass & Volume with One Calculator

Learn how a single universal density calculator solves for density, mass, or volume by applying the core equation Density = Mass ÷ Volume.

🧪

Find Density

When you know the mass of an object or fluid and the precise volume it occupies, divide mass by volume to find density. This is essential when identifying unknown liquids or validating purity.

Density = Mass ÷ Volume
⚖️

Find Mass

If you have a known volume of liquid (such as 250 mL of olive oil) and its density, multiply volume by density to determine total mass. This bridges volumetric recipes into weight measurements.

Mass = Density × Volume
🪣

Find Volume

When given a specific mass of substance, divide mass by density to calculate how much volumetric space it requires. Critical for sizing storage tanks, bottles, and laboratory vessels.

Volume = Mass ÷ Density

Which Formula Should You Use?

Click a target variable to dynamically reveal the required equation and live variable relationship:

Formula: ρ = m / V
Given Inputs: Mass (g), Volume (mL) Output Unit: g/mL or kg/m³
Practical Example: A 200 g solution occupying 200 mL has a density of 200 ÷ 200 = 1.000 g/mL (Pure Water).
Formula: m = ρ × V
Given Inputs: Density (g/mL), Volume (mL) Output Unit: Grams (g), Kilograms (kg)
Practical Example: 500 mL of Honey (1.42 g/mL) yields 1.42 × 500 = 710 g. Learn more at mL to kg.
Formula: V = m / ρ
Given Inputs: Mass (g), Density (g/mL) Output Unit: Milliliters (mL), Liters (L)
Practical Example: 918 g of Olive Oil (0.918 g/mL) occupies 918 ÷ 0.918 = 1000 mL (1 Liter).

Summary Decision Matrix

Target Variable Known Values Required Formula Primary Units Common Tool
Density (ρ) Mass & Volume ρ = m / V g/mL, kg/m³ Volume to Density
Mass (m) Density & Volume m = ρ × V g, kg, lb Volume to Mass
Volume (V) Mass & Density V = m / ρ mL, L, cm³ Mass to Volume

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 Formula Rearrangement Guide

Master how to algebraically manipulate the density equation to solve for any physical property.

Base Formula

Density Formula

ρ = m / V

Density (ρ) equals mass divided by volume. Use this form when physical measurements of mass and container volume are recorded directly on laboratory instruments.

Rearranged for Mass

Mass Formula

m = ρ × V

Multiplying both sides of the base formula by volume (V) isolates mass (m). Essential for recipes, pharmaceutical dosing, and freight shipping weights (mL to pound).

Rearranged for Volume

Volume Formula

V = m / ρ

Dividing mass (m) by density (ρ) isolates volume (V). Used in fluid dynamics and engineering design to calculate container displacement (density to volume).

When Should You Use Each Formula?

  • Use ρ = m / V: When verifying pure substance identity or measuring density of unknown sample solutions.
  • Use m = ρ × V: When you have a volumetric dispenser (mL) and need total weight in grams, kg, or pounds.
  • Use V = m / ρ: When given a weight target (e.g. 500 grams of liquid) and selecting the correct container capacity in milliliters.

Step-by-Step Density Calculation Examples

Follow detailed numeric walk-throughs illustrating variable substitution across all three formulas.

Example A

Calculate Density Example

An unknown metal block has a mass of 157.48 g and occupies a volume of 20 mL.

1. Formula: ρ = m / V
2. Substitute: ρ = 157.48 g ÷ 20 mL
Result: ρ = 7.874 g/mL (Pure Iron)
Example B

Calculate Mass Example

Calculate mass for 500 mL of olive oil (ρ = 0.918 g/mL).

1. Formula: m = ρ × V
2. Substitute: m = 0.918 g/mL × 500 mL
Result: m = 459 g (0.459 kg)
Example C

Calculate Volume Example

Calculate required volume for 1,420 g of pure honey (ρ = 1.420 g/mL).

1. Formula: V = m / ρ
2. Substitute: V = 1420 g ÷ 1.420 g/mL
Result: V = 1,000 mL (1 Liter)

Formula Substitution Explained

When substituting numerical values into density formulas, matching units is paramount. If density is expressed in g/mL, mass MUST be in grams (g) and volume in milliliters (mL). If your mass is given in kilograms (kg), convert to grams first by multiplying by 1,000, or use density in kg/L which is numerically identical to g/mL. Refer to our liquid density lookup for verified density figures.

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

Density Unit Conversion Reference

Understand and convert between global density measurement systems seamlessly.

Common Density Units

  • g/mL (g/cm³)Grams per milliliter / cubic centimeter (Laboratory standard)
  • kg/m³Kilograms per cubic meter (SI Base Unit)
  • kg/LKilograms per liter (Equivalent to g/mL)
  • lb/ft³Pounds per cubic foot (US Engineering Standard)

How to Convert Density Units

Converting between metric and imperial density relies on dimensional analysis:

  • g/mL to kg/m³: Multiply by 1,000 (1 g/mL = 1,000 kg/m³)
  • kg/m³ to g/mL: Divide by 1,000 (1,000 kg/m³ = 1 g/mL)
  • g/mL to lb/ft³: Multiply by 62.428 (1 g/mL = 62.428 lb/ft³)
  • lb/ft³ to g/mL: Divide by 62.428 (62.428 lb/ft³ = 1 g/mL)

Quick Density Conversion Table

Substance g/mL (g/cm³) kg/m³ lb/ft³ lb/gal (US)
Water (4 °C)1.0001,00062.438.34
Ethanol0.78978949.256.58
Olive Oil0.91891857.317.66
Honey1.4201,42088.6511.85
Aluminum2.7002,700168.5622.53
Iron7.8747,874491.5665.71
Mercury13.53413,534844.89112.94
Gold19.32019,3201,206.10161.23

Common Conversion Examples

Water Conversion 1 g/mL × 1,000 = 1,000 kg/m³
1 g/mL × 62.428 = 62.43 lb/ft³
Mercury Conversion 13.534 g/mL × 1,000 = 13,534 kg/m³
13.534 × 62.428 = 844.89 lb/ft³
Ethanol Conversion 0.789 g/mL × 1,000 = 789 kg/m³
0.789 × 62.428 = 49.25 lb/ft³

Common Density Calculation Mistakes

Avoid the five most frequent pitfalls when calculating density, mass, or volume.

Confusing Mass with Weight

Mass measures the exact quantity of matter (g, kg), whereas weight is gravitational force. Using force units without converting to mass causes errors when calculating density in scientific contexts.

📏

Using Incorrect Volume Units

Inserting volume in fluid ounces, gallons, or liters directly into a formula calibrated for g/mL without prior conversion corrupts the calculated result.

🔢

Forgetting Unit Conversion

Mixing kilograms (kg) with milliliters (mL) directly yields values off by a factor of 1,000. Always align units before performing multiplication or division.

🧪

Mixing Density Units

Combining imperial density (lb/ft³) with metric volume (mL) produces erroneous mass outputs. Ensure all inputs belong to a single consistent system.

🔄

Using the Wrong Formula

Dividing volume by mass (V / m) instead of mass by volume (m / V) is an extremely common algebraic inversion error. Use the formula triangle as a visual reference.

Tips to Avoid Errors

  • ✓ Always verify unit labels before starting math.
  • ✓ Check if your substance floats or sinks in water (ρ > 1.0).
  • ✓ Use our mg to mL converter for micro-dosing.
  • ✓ Double-check formula rearrangement with the triangle.

Real-Life Applications of Density

Explore how density calculations power critical real-world industries.

🏗️

Engineering

Aeronautical engineers calculate strength-to-weight ratios using material density (e.g. Titanium 4.51 g/cm³ vs Steel 7.87 g/cm³). Naval architects design ship hull buoyancy so overall displacement density remains less than water.

🪞

Chemistry

Chemists determine solution purity and solute concentrations via precise pycnometer density testing. Density gradient centrifugation separates cell components and blood fractions based on subtle density differentials.

🩸

Medicine

Urine specific gravity tests gauge patient hydration and renal concentrating capacity. Bone mineral density (BMD) scans evaluate skeletal strength to diagnose osteoporosis and track treatment progress.

🏢

Construction

Civil engineers verify soil compaction density prior to laying foundations. Lightweight concrete formulations optimize load distribution in high-rise skyscrapers.

🚢

Shipping & Logistics

Cargo carriers compute dimensional weight vs actual mass based on density to determine shipping container capacity and freight billing tiers.

💡

Why Density Matters

Density is an intensive physical property—it remains constant regardless of sample size. Understanding density prevents catastrophic engineering failures, ensures pharmaceutical safety, and enables fluid dynamics navigation worldwide.

Density vs Related Physical Properties

Clarify how density differs from specific gravity, mass, weight, and volume.

Density vs Specific Gravity

Density has units (g/mL, kg/m³), whereas specific gravity is a unitless ratio comparing a substance's density to water at 4 °C. Numerically, specific gravity equals density in g/mL.

Density vs Mass

Mass is an extensive property measuring total quantity of matter (g, kg), scaling with sample size. Density is an intensive property measuring how tightly packed that matter is per unit volume.

Density vs Weight

Weight is the force exerted on an object by gravity (N, lbf) and changes with location (Earth vs Moon). Density depends solely on mass and volume, remaining invariant to local gravity.

Density vs Volume

Volume measures three-dimensional space occupied (mL, L, m³). Density determines how much mass is compressed within that specific space.

Comparison Chart

Property Type Primary Units Depends on Gravity? Key Distinction
DensityIntensiveg/mL, kg/m³NoMass per unit volume
Specific GravityIntensiveUnitless ratioNoRatio relative to water
MassExtensiveg, kg, lbNoTotal matter present
WeightExtensiveN, lbfYesGravitational pull force
VolumeExtensivemL, L, m³No3D spatial extent occupied

Frequently Used Density Values

Reference densities for standard elements and essential materials at room temperature.

💧

Water

1.000 g/mL

Standard reference point for fluid mechanics (1,000 kg/m³).

👑

Gold

19.320 g/cm³

Extremely dense noble metal (19,320 kg/m³).

🧱

Iron

7.874 g/cm³

Core structural element (7,874 kg/m³).

Copper

8.960 g/cm³

Conductive wiring metal (8,960 kg/m³).

⚙️

Steel

7.850 g/cm³

Common structural alloy range (7.85-8.05 g/cm³).

✈️

Aluminum

2.700 g/cm³

Lightweight structural metal (2,700 kg/m³).

🌡️

Mercury

13.534 g/mL

Dense liquid metal used in barometers and manometers.

Effect of Temperature on Density

Thermal expansion dictates that as temperature increases, most substances expand in volume while mass remains constant—causing density (ρ = m / V) to decrease. Liquid water exhibits an anomaly: maximum density occurs at 3.98 °C (1.000 g/mL). Ice at 0 °C has a lower density (0.917 g/cm³), allowing ice to float on liquid water and preserve aquatic ecosystems during winter.

Density Formula Triangle

Use an interactive visual triangle to instantly solve for Mass, Density, or Volume.

Click M, D, or V in the triangle above to toggle equations

How to Use the Triangle

Cover the letter you want to calculate:

  • Cover D: Mass over Volume → ρ = m / V
  • Cover M: Density times Volume → m = ρ × V
  • Cover V: Mass over Density → V = m / ρ

Formula Memory Tips

Remember "Mass Drives Volume" (M at top, D and V at bottom) or "My Dear Valentine" (M over D × V).

Worked Example

Using the Triangle for Copper: A copper sample has a mass of 224 g and density of 8.96 g/cm³. To solve for Volume, cover V to reveal V = m / ρ. Substitute: 224 g ÷ 8.96 g/cm³ = 25 cm³ (25 mL).

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
🧪

Molarity Calculator

Calculate solution molarity from mass, molar mass, and volume.

Example: 58.44 g NaCl in 1 L → 1.0 M
🥛

Cups in a Pint

Convert between cups and pints for cooking. US & Imperial support.

Example: 2 cups → 1 pint
📐

cc to mL Converter

Convert cubic centimeters to milliliters. 1 cc = 1 mL exactly.

Example: 100 cc → 100 mL
⚖️

mcg vs mg Converter

Convert micrograms to milligrams. Critical for medication dosing.

Example: 1000 mcg → 1 mg

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.