Density Calculator
Calculate the density of any substance by entering its mass and volume. Density is the key that connects mass and volume conversions.
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.
For dedicated single-variable workflows, explore our volume to density calculator and mass to density calculator.
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.
Convert liquid volumes directly to grams using our volume to mass calculator or mL to g converter.
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.
Calculate required container volumes with our density to volume calculator or mass to volume calculator.
Which Formula Should You Use?
Click a target variable to dynamically reveal the required equation and live variable relationship:
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
Each bar shows density in g/mL — higher density means more mass per unit volume
Density Formula
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
Cover D → Mass over Volume gives Density
Cover M → Density times Volume gives Mass
Cover V → Mass over Density gives Volume
Density Units Explained
Common units used to express density across different fields
| Unit | Meaning |
|---|---|
| g/mL | Grams 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
Density Formula Rearrangement Guide
Master how to algebraically manipulate the density equation to solve for any physical property.
Density Formula
Density (ρ) equals mass divided by volume. Use this form when physical measurements of mass and container volume are recorded directly on laboratory instruments.
Mass Formula
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).
Volume Formula
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.
Calculate Density Example
An unknown metal block has a mass of 157.48 g and occupies a volume of 20 mL.
Calculate Mass Example
Calculate mass for 500 mL of olive oil (ρ = 0.918 g/mL).
Calculate Volume Example
Calculate required volume for 1,420 g of pure honey (ρ = 1.420 g/mL).
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
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
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)
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
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
Step-by-Step Example
Finding the density of an unknown liquid — 85 g in 100 mL:
- Measure the mass: 85 g
- Measure the volume: 100 mL
- 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.
Related Converters
Other conversions you may find useful.
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.001225 | 1.225 | Gas |
| Styrofoam | 0.030 | 30 | Solid |
| Cork | 0.120 | 120 | Solid |
| Pine Wood | 0.510 | 510 | Solid |
| Flour | 0.593 | 593 | Powder |
| Ethanol | 0.789 | 789 | Liquid |
| Vegetable Oil | 0.910 | 910 | Liquid |
| Olive Oil | 0.918 | 918 | Liquid |
| Ice | 0.917 | 917 | Solid |
| Water | 1.000 | 1000 | Liquid |
| Milk | 1.030 | 1030 | Liquid |
| Seawater | 1.025 | 1025 | Liquid |
| Sugar | 1.550 | 1550 | Solid |
| Honey | 1.420 | 1420 | Liquid |
| Salt | 2.165 | 2165 | Solid |
| Glass | 2.500 | 2500 | Solid |
| Aluminum | 2.700 | 2700 | Metal |
| Concrete | 2.400 | 2400 | Solid |
| Titanium | 4.507 | 4507 | Metal |
| Iron / Steel | 7.874 | 7874 | Metal |
| Copper | 8.960 | 8960 | Metal |
| Lead | 11.340 | 11340 | Metal |
| Mercury | 13.534 | 13534 | Liquid |
| Gold | 19.320 | 19320 | Metal |
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.000 | 1,000 | 62.43 | 8.34 |
| Ethanol | 0.789 | 789 | 49.25 | 6.58 |
| Olive Oil | 0.918 | 918 | 57.31 | 7.66 |
| Honey | 1.420 | 1,420 | 88.65 | 11.85 |
| Aluminum | 2.700 | 2,700 | 168.56 | 22.53 |
| Iron | 7.874 | 7,874 | 491.56 | 65.71 |
| Mercury | 13.534 | 13,534 | 844.89 | 112.94 |
| Gold | 19.320 | 19,320 | 1,206.10 | 161.23 |
Common Conversion Examples
1 g/mL × 62.428 = 62.43 lb/ft³
13.534 × 62.428 = 844.89 lb/ft³
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 |
|---|---|---|---|---|
| Density | Intensive | g/mL, kg/m³ | No | Mass per unit volume |
| Specific Gravity | Intensive | Unitless ratio | No | Ratio relative to water |
| Mass | Extensive | g, kg, lb | No | Total matter present |
| Weight | Extensive | N, lbf | Yes | Gravitational pull force |
| Volume | Extensive | mL, L, m³ | No | 3D spatial extent occupied |
Frequently Used Density Values
Reference densities for standard elements and essential materials at room temperature.
Water
Standard reference point for fluid mechanics (1,000 kg/m³).
Gold
Extremely dense noble metal (19,320 kg/m³).
Iron
Core structural element (7,874 kg/m³).
Copper
Conductive wiring metal (8,960 kg/m³).
Steel
Common structural alloy range (7.85-8.05 g/cm³).
Aluminum
Lightweight structural metal (2,700 kg/m³).
Mercury
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.
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.
mL to Grams Converter
Convert milliliters to grams using substance density. Perfect for cooking and lab work.
mL to Kilograms Converter
Convert milliliters to kilograms. Ideal for large-volume industrial conversions.
mL to Pounds Converter
Convert milliliters to pounds. Bridge metric volume to imperial weight instantly.
mL to Liters Converter
Convert milliliters to liters. Simple volume unit conversion — no density needed.
Volume to Mass Converter
Convert volume (mL) to mass (mg) using density. Essential for lab and kitchen.
Mass to Volume Converter
Convert mass (mg) to volume (mL) using density. Find how much space your substance takes.
Density Calculator
Calculate density from mass and volume. The key to all mass-volume conversions.
Volume to Density
Find density when you know volume and mass. Identify unknown substances.
Density to Volume
Calculate volume from density and mass. Find container size needed.
Mass to Density Converter
Calculate density from mass and volume. Determine substance identity from measurements.
Density to Mass Converter
Calculate mass from density and volume. Find the weight of any liquid instantly.
mL to Ounces Converter
Convert milliliters to fluid ounces. Bridge metric and imperial volume units.
Liquid Density Lookup
Search density values for 100+ common liquids. Reference tool for conversions.
Normality Calculator
Calculate normality (N) from molarity, equivalent weight, and volume for chemistry.
Molarity Calculator
Calculate solution molarity from mass, molar mass, and volume.
Cups in a Pint
Convert between cups and pints for cooking. US & Imperial support.
cc to mL Converter
Convert cubic centimeters to milliliters. 1 cc = 1 mL exactly.
mcg vs mg Converter
Convert micrograms to milligrams. Critical for medication dosing.
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.