Density / Mass / Volume Calculator
Results
A density calculator connects mass and volume through a material property. Enter any two values to solve for the third, and verify that units describe the same sample and condition.
Density Calculator Formula and Volume Methods
ρ = m/V, with rearrangements m = ρV and V = m/ρ. Common units include kg/m³, g/cm³ and g/mL.
Density Calculator: Bulk Versus Material Density
One millilitre equals one cubic centimetre, so g/mL and g/cm³ have equal numerical values. Also, 1 g/cm³ equals 1,000 kg/m³.
Worked example
A sample with mass 540 g and volume 200 cm³ has density 2.70 g/cm³. The unit shows exactly which mass and volume scales were divided.
Measure volume correctly
Regular solids can use geometric dimensions. Irregular solids may use liquid displacement if the material does not dissolve, absorb liquid or trap bubbles.
Temperature and pressure matter
Materials expand or contract, so density can change with condition. Record temperature for liquids and gases; gas density is especially sensitive to both temperature and pressure.
Mixtures and porous objects
A bulk-density result may include air spaces and differs from the density of the solid material itself. Clearly define whether volume is external, displaced or particle volume.
Choose the correct volume method
Regular solids can use geometric dimensions, while irregular objects may require water displacement. For displacement, subtract the starting liquid volume from the final volume and account for meniscus reading and trapped air. Porous or soluble materials may absorb or react with the liquid, making that method unsuitable.
Bulk density versus material density
Material density describes the substance itself. Bulk density includes spaces between particles and therefore changes with packing, moisture and handling. Sand, grain and powder can have the same material composition but different bulk densities. Select the definition that matches the application instead of comparing unlike values.
Specific gravity and reference conditions
Specific gravity is a dimensionless ratio of a substance’s density to a reference density, commonly water for liquids and solids. Temperature matters because density changes as materials expand or contract. If a standard or product specification gives a reference temperature, measure and compare under that condition.
Worked unit check
A mass of 540 g occupying 200 cm³ has density 2.7 g/cm³. Because 1 g/cm³ equals 1,000 kg/m³, the same result is 2,700 kg/m³. Convert both numerator and denominator; changing only the mass unit creates an incorrect value.
Improve measurement reliability
- Tare the container before measuring mass.
- Use dimensions from the same unit system.
- Read liquid volume at eye level.
- Repeat measurements and investigate outliers.
- Report temperature and moisture when relevant.
A calculated density can help identify a material or check consistency, but mixtures, coatings, voids and instrument uncertainty can make a reference-table match ambiguous. Safety-critical material verification requires appropriate laboratory methods.
Mixtures and temperature-sensitive liquids
A mixture’s density is not always the simple average of its components because volumes can contract or expand when substances combine. Liquids also respond to temperature, and dissolved air or suspended solids can affect readings. Use a property table or laboratory method for precise process control. The mass–volume equation remains correct, but the measured inputs must represent the actual mixture and conditions. Clean and dry the vessel between samples, and wait for bubbles to escape before recording volume.
See OpenStax University Physics Volume 1 for foundational treatment of mass, volume and density.
density calculator FAQs
Can density identify an unknown material?
It can narrow possibilities, but purity, temperature and measurement uncertainty prevent a definitive identification alone.
Why is water near 1 g/mL?
Water is close to that value under common conditions, but exact density varies with temperature.
Can volume be zero?
No in this formula; division by zero is undefined.
Use the Volume Calculator for geometric shapes and keep full precision until the final density is reported.