Free to Use

Density Calculator

Calculate density, mass, or volume using the density formula ρ = m / V. With unit support for kg/m³, g/cm³, g/mL, and lb/ft³, plus a comprehensive table of common material densities.

Density Calculator
ρ = m / V  |  m = ρ × V  |  V = m / ρ
Enter any two values to calculate the third. Choose your units.
Result
Enter two values and click Calculate
Tip: The density of water at 4°C is 1000 kg/m³ = 1 g/cm³ = 1 g/mL. Substances with density less than water will float; those with greater density will sink.

Common Material Densities

Density values at standard temperature and pressure (20°C, 1 atm) unless otherwise noted.

Material Density (kg/m³) Density (g/cm³) Category
Air (at sea level)1.2250.001225Gases
Helium0.1790.000179Gases
Hydrogen0.0900.000090Gases
Wood (pine)420–5000.42–0.50Woods
Wood (oak)600–9000.60–0.90Woods
Wood (balsa)100–2000.10–0.20Woods
Ice (0°C)9170.917Solids
Water (4°C)10001.000Liquids
Seawater10251.025Liquids
Ethanol7890.789Liquids
Gasoline720–7800.72–0.78Liquids
Olive Oil9100.910Liquids
Milk1020–10501.02–1.05Liquids
Mercury1355013.55Liquids
Aluminum27002.700Metals
Brass8400–87008.40–8.70Metals
Copper89608.960Metals
Gold1932019.32Metals
Iron78707.870Metals
Lead1134011.34Metals
Platinum2145021.45Metals
Silver1049010.49Metals
Steel (mild)78507.85Metals
Titanium45004.50Metals
Concrete24002.40Building Materials
Brick1600–20001.60–2.00Building Materials
Glass2500–28002.50–2.80Building Materials
Granite2600–28002.60–2.80Building Materials
Rubber1100–12001.10–1.20Polymers
Polypropylene850–9200.85–0.92Polymers
PVC1300–14501.30–1.45Polymers
Polystyrene (foam)16–6400.016–0.64Polymers
Asphalt2200–24002.20–2.40Building Materials
Diamond35003.50Materials
Human Body (avg)985–10700.985–1.07Biological
Blood10601.060Biological

Note: Density values may vary based on temperature, pressure, and material composition. These are approximate reference values.

Density Formula & Related Equations

Core Formula

ρ = m / V

Where ρ (rho) = density, m = mass, V = volume

Derived Formulas

m = ρ × V

Mass equals density multiplied by volume

V = m / ρ

Volume equals mass divided by density

Related Formulas

Specific Gravity (SG) = ρsubstance / ρwater

Specific gravity compares density to water (1000 kg/m³)

Buoyant Force: Fb = ρ × V × g

Where g = acceleration due to gravity (9.8 m/s²)

Ideal Gas Law: ρ = (P × M) / (R × T)

Gas density from pressure P, molar mass M, gas constant R, temperature T

Unit Conversions

1 g/cm³ = 1 g/mL = 1000 kg/m³
1 kg/m³ = 0.06243 lb/ft³
1 lb/ft³ = 16.018 kg/m³

Step-by-Step Examples

Example 1: Calculating Density

Problem: A metal cube has a mass of 270 g and a volume of 100 cm³. What is its density?

  1. Formula: ρ = m / V
  2. Values: m = 270 g, V = 100 cm³
  3. Calculation: ρ = 270 / 100 = 2.70 g/cm³
  4. Result: 2.70 g/cm³ (2700 kg/m³) — this matches the density of aluminum
Example 2: Calculating Mass

Problem: A tank holds 500 L of gasoline with a density of 740 kg/m³. What is the mass of the gasoline?

  1. Formula: m = ρ × V
  2. Convert volume: 500 L = 0.5 m³
  3. Calculation: m = 740 × 0.5 = 370 kg
  4. Result: The gasoline has a mass of 370 kg
Example 3: Calculating Volume

Problem: A gold bar has a mass of 1 kg. What is its volume if gold has a density of 19,320 kg/m³?

  1. Formula: V = m / ρ
  2. Calculation: V = 1 / 19320 = 0.00005176 m³
  3. Convert: 0.00005176 m³ = 51.76 cm³
  4. Result: The gold bar has a volume of approximately 51.8 cm³
Example 4: Buoyancy Application

Problem: Will a 0.5 m³ block of oak wood (density 750 kg/m³) float in fresh water?

  1. Oak density: 750 kg/m³
  2. Water density: 1000 kg/m³
  3. Compare: 750 < 1000, so the wood is less dense than water
  4. Result: Yes, the oak block will float. The fraction submerged = 750/1000 = 75%

Density Calculator Features

⚖️
Three-in-One Calculator
Calculate density, mass, or volume from any two known values. Switch modes instantly with one click.
📐
Multiple Unit Support
Supports kg/m³, g/cm³, g/mL, and lb/ft³ for density. Mass and volume units auto-convert for accurate results.
📊
Common Densities Table
Quick reference table with densities of 35+ common materials from metals to gases and biological substances.
🎓
Educational Examples
Step-by-step worked examples show the calculation process, unit conversions, and real-world applications.
📱
Mobile Optimized
Responsive design works perfectly on phones, tablets, and desktops for studying on the go.
🔒
Privacy Protected
All calculations performed locally in your browser. No data is sent to any server.

Related Physics Calculators

More from Science & Engineering

How to Use the Density Calculator

Step 1: Choose What to Calculate

Use the mode buttons to select whether you want to calculate density, mass, or volume. The active mode determines which two values you need to provide.

Step 2: Enter Two Known Values

For density mode, enter mass and volume. For mass mode, enter density and volume. For volume mode, enter mass and density. Fill in only the two input fields that correspond to your known values.

Step 3: Select Your Units

Choose appropriate units for each value from the dropdown menus. The calculator will automatically convert between units and display the result in your chosen density unit.

Step 4: Click Calculate

Press the Calculate button to get your result. The answer will be displayed with the formula used, including unit conversions and the step-by-step calculation process.

Real-World Applications of Density

Material Identification

Density is a key property for identifying unknown materials. By measuring mass and volume, you can match calculated density against known values to determine composition.

Shipbuilding & Marine Design

Buoyancy depends on density. Ships are designed with average density less than water to float. Engineers calculate displacement and cargo capacity using density principles.

Quality Control

Manufacturers use density measurements to check material purity and consistency. Variations from expected density can indicate contamination or manufacturing defects.

Aerospace Engineering

Weight is critical in aerospace. Lightweight, high-strength materials with specific densities are selected for aircraft and spacecraft components to maximize fuel efficiency.

Environmental Science

Density drives ocean currents, atmospheric circulation, and pollutant dispersion. Density stratification in lakes affects oxygen distribution and aquatic life.

Medical Diagnostics

Bone density scans (DEXA) diagnose osteoporosis. Density measurements of body fluids help diagnose medical conditions and monitor treatment effectiveness.

Oil & Gas Industry

API gravity measures petroleum density. This determines crude oil quality, pricing, and refining processes. Density also affects pipeline transport and storage.

Food & Beverage

Density measurements ensure product consistency, from sugar content in beverages (specific gravity of wort in brewing) to fat content in dairy products.

Frequently Asked Questions (FAQ)

How do I calculate density? +
Density is calculated by dividing mass by volume using the formula ρ = m / V. For example, if an object has a mass of 10 kg and a volume of 2 m³, its density is 10 ÷ 2 = 5 kg/m³. Our calculator can compute density, mass, or volume when you provide any two values.
What are the common units for density? +
Common density units include kilograms per cubic meter (kg/m³) which is the SI unit, grams per cubic centimeter (g/cm³), grams per milliliter (g/mL), and pounds per cubic foot (lb/ft³). Note that 1 g/cm³ = 1 g/mL = 1000 kg/m³.
What is the density of water? +
The density of pure water at 4°C is approximately 1000 kg/m³, or equivalently 1 g/cm³ or 1 g/mL. This makes water a convenient reference point — substances with density less than water float, while those with greater density sink.
How do I convert between density units? +
To convert between density units: 1 g/cm³ = 1 g/mL = 1000 kg/m³. To convert g/cm³ to kg/m³, multiply by 1000. To convert kg/m³ to lb/ft³, multiply by 0.06243. To convert lb/ft³ to kg/m³, multiply by 16.018.
What is the difference between density and specific gravity? +
Specific gravity is the ratio of a substance's density to the density of a reference substance (usually water for liquids and solids, or air for gases). It is dimensionless — a specific gravity of 2 means the substance is twice as dense as water. Density has units (e.g., kg/m³), while specific gravity is a pure number.
Does temperature affect density? +
Yes, temperature significantly affects density for most substances. As temperature increases, most materials expand (volume increases), causing density to decrease. Water is a notable exception between 0°C and 4°C, where it becomes denser as temperature rises. Always note the temperature when reporting density values.
What is the formula for density? +
The density formula is ρ = m / V, where ρ (rho) is density, m is mass, and V is volume. From this, you can derive: m = ρ × V (mass equals density times volume) and V = m / ρ (volume equals mass divided by density).
Can I calculate the density of irregular objects? +
Yes, use the water displacement method: measure the object's mass on a scale, then submerge it in a graduated cylinder of water and measure the volume of water displaced. Density is then mass divided by the displaced volume. This works for objects that sink and don't dissolve in water.
What is the density of common materials? +
Common material densities (in g/cm³): Air: 0.0012, Wood (oak): 0.75, Water: 1.00, Ice: 0.92, Plastic: 0.9–1.5, Aluminum: 2.70, Iron/Steel: 7.87, Copper: 8.96, Lead: 11.34, Gold: 19.32, Mercury: 13.55. Our calculator includes a comprehensive table of common densities.
Why is density important in engineering? +
Density is crucial in engineering for material selection, structural design, buoyancy calculations, fluid dynamics, thermal analysis, quality control, and determining material purity. It affects everything from building materials to fuel efficiency in transportation.

About This Density Calculator

Our density calculator is a comprehensive tool designed for students, engineers, scientists, and anyone who needs to perform density-related calculations quickly and accurately. Whether you're studying physics, working in materials science, or just curious about the properties of different substances, this calculator provides everything you need.

Why Choose Our Density Calculator?

  • Three Calculation Modes: Calculate density, mass, or volume from any two known values
  • Flexible Unit Support: Multiple units for mass, volume, and density with automatic conversion
  • Comprehensive Reference Data: 35+ common material densities at your fingertips
  • Educational Resources: Detailed formulas, step-by-step examples, and unit conversion guides
  • Real-World Context: Practical applications across multiple industries and disciplines
  • Privacy First: All calculations happen locally in your browser

Density is a fundamental property of matter that affects everything from whether an object floats to how materials are selected for engineering projects. Understanding density is essential for physics, chemistry, materials science, and countless practical applications.

Important Note: Density values can vary based on temperature, pressure, and material purity. While our calculator uses standard reference values and provides accurate calculations, always verify critical measurements with calibrated laboratory instruments. This tool is for educational and general reference purposes.