Home/Science & Engineering/General Science & Measurement
General Science & Measurement

Density Calculator

Calculate density, mass or volume with unit conversion, significant figures, worked steps and a printable report. Runs locally in your browser.

Science & Engineering

Calculate density, mass or volume using transparent unit conversion and fully worked steps.

Local calculationNo account requiredNo values uploaded

Calculation setup

Result

Density (calculated)
4 g/cm³

4 g/cm³ describes how much mass is packed into each unit of volume for the values entered.

Mass: 500 g · Volume: 125 cm³

Equivalent values

  • 4000 kg/m³
  • 4 g/mL
  • 250 lb/ft³

Worked calculation

  1. Formula.

    Density = Mass ÷ Volume (ρ = m / V)

    Density is mass per unit volume.

  2. Convert mass to the internal SI unit.

    500 g = 0.5 kg

    Converted to the internal SI unit (kg) before applying the formula.

  3. Convert volume to the internal SI unit.

    125 cm³ = 0.000125 m³

    Converted to the internal SI unit (m³) before applying the formula.

  4. Substitute into the formula.

    ρ = 0.5 kg / 0.000125 m³

    The SI-normalised mass and volume are substituted into ρ = m / V.

  5. Calculate the unrounded SI result.

    ρ = 4000 kg/m³

    The division is performed at full floating-point precision - nothing is rounded yet.

  6. Convert to the selected output unit.

    4000 kg/m³ = 4 g/cm³

    The SI result is converted to the unit selected for the density output - still unrounded.

  7. Apply display precision.

    4 g/cm³

    The result is rounded only for display, using the selected significant-figure precision.

  8. Dimensional check.

    kg / m³ = kg/m³ - mass divided by volume gives density.

    Confirms the units on both sides of the formula are consistent before the result is trusted.

Formula

Density = mass ÷ volume (selected)

Mass = density × volume

Volume = mass ÷ density

Density is mass per unit volume. The calculator converts entered values to consistent internal units before applying the selected relationship.

Conditions and limitations

Density can vary with temperature, pressure, phase, composition, porosity and moisture content. This calculator uses only the mass, volume and density values entered and does not apply material-specific or environmental corrections.

Local processing

All calculations run locally in your browser. This tool does not upload or store the values you enter.

Assumptions and limitations

Entered values represent mass, volume or absolute mass density. Unit conversions use fixed published conversion factors. Density may vary with temperature, pressure, phase, composition, porosity and moisture content - this calculator applies no environmental corrections. The calculator does not identify materials. The calculator does not determine whether an object will float or sink. The calculator does not calculate bulk, tapped, apparent, particle or true density. The calculator does not calculate relative density or specific gravity. Results are informational and should be independently checked for regulated, laboratory, engineering or safety-critical work.

Related tools