Mass to Density Calculator
Enter the mass (g) and volume (mL) of any substance to instantly calculate its density. Density is the bridge between mass and volume.
See How Densities Compare
Your calculated density compared to common substances
Each bar shows density in g/mL — higher density means more mass per unit volume
How to Calculate Density from Mass
Density measures how much mass is packed into a given volume. By dividing mass by volume you get the density — a fundamental property used to identify substances and convert between mass and volume units.
The Formula
Step-by-Step Example
Finding the density of a sample — 142 g in 100 mL:
- Measure the mass: 142 g
- Measure the volume: 100 mL
- Divide: 142 ÷ 100 = 1.420 g/mL (≈ honey)
This is one mode of the full density calculator. To work from volume instead, use the volume to density calculator, or reverse the process with the density to mass calculator. You can also look up a known value in the liquid density lookup, then apply it in the main mL to mg converter.
Why Calculate Density?
- Substance 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.
Conversion Tables
Quick reference tables for common mL to mg conversions by substance.
Water
Density: 1.000 g/mL| mL | mg |
|---|---|
| 1 mL | 1,000 mg |
| 5 mL | 5,000 mg |
| 10 mL | 10,000 mg |
| 25 mL | 25,000 mg |
| 50 mL | 50,000 mg |
| 100 mL | 100,000 mg |
| 250 mL | 250,000 mg |
| 500 mL | 500,000 mg |
Milk (whole)
Density: 1.030 g/mL| mL | mg |
|---|---|
| 1 mL | 1,030 mg |
| 5 mL | 5,150 mg |
| 10 mL | 10,300 mg |
| 25 mL | 25,750 mg |
| 50 mL | 51,500 mg |
| 100 mL | 103,000 mg |
| 250 mL | 257,500 mg |
| 500 mL | 515,000 mg |
Honey
Density: 1.420 g/mL| mL | mg |
|---|---|
| 1 mL | 1,420 mg |
| 5 mL | 7,100 mg |
| 10 mL | 14,200 mg |
| 25 mL | 35,500 mg |
| 50 mL | 71,000 mg |
| 100 mL | 142,000 mg |
| 250 mL | 355,000 mg |
| 500 mL | 710,000 mg |
Olive Oil
Density: 0.918 g/mL| mL | mg |
|---|---|
| 1 mL | 918 mg |
| 5 mL | 4,590 mg |
| 10 mL | 9,180 mg |
| 25 mL | 22,950 mg |
| 50 mL | 45,900 mg |
| 100 mL | 91,800 mg |
| 250 mL | 229,500 mg |
| 500 mL | 459,000 mg |
Flour
Density: 0.593 g/mL| mL | mg |
|---|---|
| 1 mL | 593 mg |
| 5 mL | 2,965 mg |
| 10 mL | 5,930 mg |
| 25 mL | 14,825 mg |
| 50 mL | 29,650 mg |
| 100 mL | 59,300 mg |
| 250 mL | 148,250 mg |
| 500 mL | 296,500 mg |
Sugar
Density: 0.845 g/mL| mL | mg |
|---|---|
| 1 mL | 845 mg |
| 5 mL | 4,225 mg |
| 10 mL | 8,450 mg |
| 25 mL | 21,125 mg |
| 50 mL | 42,250 mg |
| 100 mL | 84,500 mg |
| 250 mL | 211,250 mg |
| 500 mL | 422,500 mg |
Alcohol (Ethanol)
Density: 0.789 g/mL| mL | mg |
|---|---|
| 1 mL | 789 mg |
| 5 mL | 3,945 mg |
| 10 mL | 7,890 mg |
| 25 mL | 19,725 mg |
| 50 mL | 39,450 mg |
| 100 mL | 78,900 mg |
| 250 mL | 197,250 mg |
| 500 mL | 394,500 mg |
Coconut Oil
Density: 0.880 g/mL| mL | mg |
|---|---|
| 1 mL | 880 mg |
| 5 mL | 4,400 mg |
| 10 mL | 8,800 mg |
| 25 mL | 22,000 mg |
| 50 mL | 44,000 mg |
| 100 mL | 88,000 mg |
| 250 mL | 220,000 mg |
| 500 mL | 440,000 mg |
Maple Syrup
Density: 1.330 g/mL| mL | mg |
|---|---|
| 1 mL | 1,330 mg |
| 5 mL | 6,650 mg |
| 10 mL | 13,300 mg |
| 25 mL | 33,250 mg |
| 50 mL | 66,500 mg |
| 100 mL | 133,000 mg |
| 250 mL | 332,500 mg |
| 500 mL | 665,000 mg |
Mercury
Density: 13.534 g/mL| mL | mg |
|---|---|
| 1 mL | 13,534 mg |
| 5 mL | 67,670 mg |
| 10 mL | 135,340 mg |
| 25 mL | 338,350 mg |
| 50 mL | 676,700 mg |
| 100 mL | 1,353,400 mg |
| 250 mL | 3,383,500 mg |
| 500 mL | 6,767,000 mg |
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 Formula and Equations
Learn the fundamental mathematical equations that govern how density is calculated from mass and volume.
Density Formula
The primary equation for density expresses mass per unit volume. In standard physics and chemistry notation:
Where ρ (rho) represents density, m represents mass, and V represents volume.
Rearranged Density Equations
Depending on which variable is unknown, the fundamental density triangle yields three distinct algebraic forms:
- Solve for Density: ρ = m / V
- Solve for Mass: m = ρ × V
- Solve for Volume: V = m / ρ
Meaning of Each Variable
Each term in the density equation represents a distinct physical measurement:
- Mass (m): The total quantity of matter in an object, measured in grams (g) or kilograms (kg).
- Volume (V): The 3D space occupied by matter, measured in milliliters (mL), cubic centimeters (cm³), or liters (L).
- Density (ρ): The mass compactness ratio, measured in g/mL, g/cm³, or kg/m³.
Interactive Formula Triangle & Variable Inspector
Click on D (Density), M (Mass), or V (Volume) to inspect derivations:
Density (ρ) = Mass ÷ Volume
Covering D in the triangle leaves M over D. Divide mass by volume to determine material density. In metric units, grams ÷ milliliters = g/mL.
How to Calculate Density from Mass and Volume
Follow this 4-step procedure to reliably compute density from raw physical measurements.
Measure the Mass
Use an accurate digital scale or analytical balance to measure sample mass in grams (g) or kilograms (kg). Tare out container weight first.
Measure the Volume
Determine volume using a graduated cylinder for liquids, geometric dimensions for regular solids, or liquid displacement for irregular solids.
Divide Mass by Volume
Apply the formula ρ = m ÷ V by dividing the measured mass value by the corresponding volume figure.
Express in Correct Units
Combine mass and volume unit tags appropriately (e.g., g/mL, g/cm³, kg/m³, or lb/ft³). Convert to SI base units if required.
Step-by-Step Solved Example
Problem: A solid metal cube has a measured mass of 270 grams and occupies a volume of 100 cubic centimeters (cm³). What is its density?
Live Mass to Density Calculation Simulator
Adjust mass and volume inputs to instantly observe calculated density and water buoyancy state:
Common Density Units
Understand the standard metric and imperial unit pairs used to express substance density worldwide.
Metric Units
Metric density scales combine grams/kilograms with milliliters/liters/cubic meters:
- g/mL (Grams per Milliliter): Laboratory standard liquid unit (water = 1.00 g/mL).
- g/cm³ (Grams per Cubic Centimeter): Solid material metric standard (1 g/cm³ = 1 g/mL).
- kg/m³ (Kilograms per Cubic Meter): Official SI baseline unit (1 g/mL = 1,000 kg/m³).
- kg/L (Kilograms per Liter): Commercial fluid unit (1 kg/L = 1 g/mL).
Imperial Units
US Customary and British Imperial density standards:
- lb/ft³ (Pounds per Cubic Foot): Structural engineering and masonry unit (water = 62.43 lb/ft³).
- lb/gal (Pounds per US Gallon): Chemical and fluid cargo unit (water = 8.345 lb/gal).
- oz/in³ (Ounces per Cubic Inch): Precision aerospace and tooling unit (1 oz/in³ = 108.0 lb/ft³).
Unit Conversion Notes
Essential identity relations for fast mental conversion:
- 1 g/mL ≡ 1 g/cm³ ≡ 1 kg/L (Direct 1:1 equivalence).
- To convert g/mL → kg/m³, multiply by 1,000.
- To convert g/mL → lb/ft³, multiply by 62.428.
- To convert g/mL → lb/gal, multiply by 8.345.
Interactive Density Unit Converter Tool
Density Conversion Reference Table
Examine exact mathematical conversion multipliers across major metric and imperial density measurement units.
The table below provides direct conversion factors between grams per milliliter (g/mL), kilograms per cubic meter (kg/m³), pounds per cubic foot (lb/ft³), and pounds per gallon (lb/gal). Multiply any input value by the specified factor to obtain the equivalent density value in your target unit.
| From Unit | To Target Unit | Exact Conversion Factor | Example Conversion |
|---|---|---|---|
| g/mL (g/cm³) | kg/m³ | Multiply by 1,000 | 1.000 g/mL = 1,000 kg/m³ |
| kg/m³ | g/mL | Divide by 1,000 | 1,000 kg/m³ = 1.000 g/mL |
| g/mL | lb/ft³ | Multiply by 62.42796 | 1.000 g/mL = 62.428 lb/ft³ |
| lb/ft³ | kg/m³ | Multiply by 16.01846 | 62.428 lb/ft³ = 1,000 kg/m³ |
| g/mL | lb/gal (US) | Multiply by 8.345404 | 1.000 g/mL = 8.345 lb/gal |
| lb/gal (US) | g/mL | Divide by 8.345404 | 8.345 lb/gal = 1.000 g/mL |
Density of Common Materials
Reference verified density values for liquids, metals, and gases measured at standard room temperature and pressure.
Substance density is an intrinsic physical property determined by atomic mass and molecular packing tightness. Liquids and solids exhibit high density due to close molecular proximity, whereas gases have sparse molecular arrangement resulting in densities roughly 1,000 times smaller.
Liquids
Fluid densities dictate container sizing and buoyancy at 20 °C:
- Water (Pure, 4°C): 1.000 g/mL (1,000 kg/m³)
- Whole Milk: 1.030 g/mL (1,030 kg/m³)
- Honey: 1.420 g/mL (1,420 kg/m³)
- Olive Oil: 0.918 g/mL (918 kg/m³)
- Ethanol: 0.789 g/mL (789 kg/m³)
- Mercury: 13.534 g/mL (13,534 kg/m³)
Metals
Structural metals possess dense crystalline lattices:
- Gold (24K): 19.30 g/cm³ (19,300 kg/m³)
- Lead: 11.34 g/cm³ (11,340 kg/m³)
- Copper: 8.96 g/cm³ (8,960 kg/m³)
- Steel (Carbon): 7.85 g/cm³ (7,850 kg/m³)
- Iron: 7.87 g/cm³ (7,870 kg/m³)
- Aluminum: 2.70 g/cm³ (2,700 kg/m³)
Gases
Gas densities measured at STP (0 °C, 1 atm pressure):
- Air (Dry): 0.00129 g/mL (1.29 kg/m³)
- Oxygen (O₂): 0.00143 g/mL (1.43 kg/m³)
- Nitrogen (N₂): 0.00125 g/mL (1.25 kg/m³)
- Carbon Dioxide (CO₂): 0.00198 g/mL (1.98 kg/m³)
- Helium (He): 0.000179 g/mL (0.179 kg/m³)
- Hydrogen (H₂): 0.000089 g/mL (0.089 kg/m³)
Interactive Material Density Database
| Material | Category | Density (g/mL or g/cm³) | Density (kg/m³) | Water Buoyancy |
|---|---|---|---|---|
| Water (Pure) | Liquid | 1.000 | 1,000 | Neutral Baseline |
| Honey | Liquid | 1.420 | 1,420 | Sinks quickly |
| Milk | Liquid | 1.030 | 1,030 | Sinks slowly |
| Olive Oil | Liquid | 0.918 | 918 | Floats on top |
| Ethanol | Liquid | 0.789 | 789 | Floats / Mixes |
| Mercury | Liquid Metal | 13.534 | 13,534 | Sinks rapidly |
| Gold (24K) | Metal | 19.300 | 19,300 | Sinks rapidly |
| Lead | Metal | 11.340 | 11,340 | Sinks rapidly |
| Steel | Metal | 7.850 | 7,850 | Sinks rapidly |
| Aluminum | Metal | 2.700 | 2,700 | Sinks |
| Concrete | Construction | 2.400 | 2,400 | Sinks |
| Oak Wood | Construction | 0.750 | 750 | Floats |
| Pine Wood | Construction | 0.500 | 500 | Floats high |
| Air (Dry, STP) | Gas | 0.00129 | 1.29 | Rises as bubbles |
| Helium (STP) | Gas | 0.000179 | 0.179 | Floats in air |
Real-World Applications of Density
Discover how mass-to-density calculations power engineering, medicine, manufacturing, and scientific research.
Physics
Physicists evaluate density to calculate Archimedes buoyancy forces, determine planetary interior compositions, and analyze fluid dynamics in aerodynamics and oceanography.
Chemistry
Chemists use density to identify unknown pure compounds, calculate solution molarity from mass percent concentrations, and monitor chemical reaction progress in liquid mixtures.
Engineering
Aerospace and mechanical engineers calculate structural mass-to-volume ratios to design lightweight aircraft alloys, optimize vehicle weight distribution, and select buoyant hull materials.
Construction
Civil engineers compute concrete mix bulk density, soil compaction parameters, and load-bearing capacities for structural foundations and asphalt paving.
Food Industry
Food technologists measure sugar Brix density in fruit juices, alcohol proof in brewing, and fat density in dairy production for recipe standardization and automated filling line accuracy.
Medical Laboratories
Clinical diagnosticians measure urine specific gravity and blood plasma density via refractometry and hydrometry to diagnose patient dehydration, kidney function, and metabolic disorders.
Common Mistakes When Calculating Density
Avoid these 4 frequent mathematical and experimental errors to ensure accurate density results.
Incorrect Unit Conversion
Dividing mass in kilograms by volume in milliliters without adjusting units yields a figure off by 1,000. Always match mass and volume units (e.g. grams with mL, or kg with L).
Using Weight Instead of Mass
Weight is gravitational force (Newtons), whereas mass is matter quantity. Scale readings taken in non-standard gravity or ignoring air buoyancy displacement introduce minor errors.
Mixing Metric & Imperial Units
Dividing mass in pounds (lb) by volume in milliliters (mL) yields non-standard units (lb/mL) that cannot be directly compared against standard reference tables.
Incorrect Volume Measurement
Misreading liquid meniscuses in graduated cylinders or ignoring trapped air bubbles in solid displacement tests distorts volume inputs, creating significant density errors.
Calculation Pitfall vs. Correct Method Diagnostic
❌ Pitfall: Unmatched Units
Mass = 1.5 kg, Volume = 500 mL
ρ = 1.5 ÷ 500 = 0.003 (Mass was not converted to grams!)
✅ Correct: Matched Units
Mass = 1,500 g (1.5 kg × 1000), Volume = 500 mL
ρ = 1500 ÷ 500 = 3.000 g/mL (Accurate density result!)
Density Calculation Examples
Master density calculations with 5 fully solved real-world problems across liquids, solids, and oils.
Density of Pure Water
Calculate the density of a 500 g water sample occupying 500.9 mL at 20 °C.
Density of Honey
Find the density of a jar containing 710 grams of honey in a 500 mL volume.
Density of Aluminum Alloy
Compute the density of an aluminum component with a mass of 1,350 g and volume of 500 cm³.
Density of Engine Oil
Calculate the density of 880 grams of automotive motor oil measuring 1,000 mL.
Density of Bulk Dry Sand
A construction container holds 3,200 kilograms of dry aggregate sand occupying a volume of 2.0 cubic meters (m³). What is the bulk density?
Density vs Mass vs Volume
Understand the key distinctions between mass, volume, and density in physical science.
In physics and thermodynamics, physical properties are classified as either extensive (dependent on sample quantity) or intensive (inherent material traits independent of sample size). Mass and volume are extensive properties, whereas density is an intensive ratio derived by combining both.
| Physical Property | Symbol | Standard SI Unit | Property Classification | Physical Meaning |
|---|---|---|---|---|
| Mass | m | Kilogram (kg) / Gram (g) | Extensive Property | Measures total matter content within an object |
| Volume | V | Cubic Meter (m³) / Milliliter (mL) | Extensive Property | Measures 3D spatial capacity occupied by matter |
| Density | ρ | kg/m³ or g/mL | Intensive Property | Measures matter compactness ratio (Mass per unit Volume) |
Frequently Asked Questions
Comprehensive answers to common questions about calculating density from mass and volume.
To calculate density from mass and volume, divide total mass by total volume: Density = Mass ÷ Volume (ρ = m / V). For example, 150 g of liquid occupying 100 mL yields 150 ÷ 100 = 1.50 g/mL.
The standard density formula is ρ = m / V, where ρ represents density, m represents mass, and V represents volume.
For laboratory metrics, use grams for mass and milliliters for volume (g/mL). In SI units, use kilograms for mass and cubic meters for volume (kg/m³). Note that 1 g/mL is equal to 1,000 kg/m³.
Pure water reaches its maximum density of exactly 1.0000 g/mL (1,000 kg/m³) at 4 °C (39.2 °F). At room temperature (20 °C), water density is 0.9982 g/mL.
Heating a substance increases atomic kinetic energy, causing thermal expansion that increases volume while mass remains constant. A larger volume for the same mass results in lower density.
Density has physical units (e.g. g/mL or kg/m³). Specific gravity is a unitless ratio comparing substance density directly to water's density (1.000 g/mL).
Density is an intensive property. It remains constant regardless of sample size—a drop of water has the exact same density as an entire ocean.
Use Archimedes' water displacement method: Submerge the irregular object in a graduated cylinder filled with water. The change in water level (final volume - initial volume) equals object volume.
Yes. Because pure metals possess distinct characteristic densities (e.g. Gold = 19.3 g/cm³, Lead = 11.34 g/cm³, Steel = 7.85 g/cm³), calculating sample density helps identify metals.
True density measures solid particle mass per solid volume without air gaps. Bulk density measures total mass divided by bulk volume including inter-particle void spaces.
Multiply density in g/mL by 62.42796. For example, water (1.000 g/mL) equals 1.000 × 62.428 = 62.428 lb/ft³.
When water freezes, hydrogen bonding forms an open hexagonal crystal lattice that expands volume by ~9%, lowering ice density to 0.9167 g/mL (less dense than liquid water's 1.000 g/mL).