PHYSICS · LOCAL CALCULATOR

Density Calculator

Calculate average density from mass and volume.

Enter values

Formula and method

Average density is mass divided by volume:

ρ = m ÷ V

ρ (rho) = density, in kg/m³ for the input units on this page

m = mass, in kilograms (kg)

V = volume, in cubic metres (m³)

Rearranging gives m = ρV when solving for mass, or V = m/ρ when solving for volume. This page specifically calculates ρ from mass and volume.

Worked examples

Example 1 — SI units

A sample has mass 2 kg and volume 0.001 m³.

ρ = 2 kg ÷ 0.001 m³ = 2,000 kg/m³.

Check the units: kg divided by m³ produces kg/m³.

Example 2 — convert grams and millilitres first

A liquid sample has mass 250 g and volume 250 mL. Convert mass: 250 g = 0.250 kg. Convert volume: 250 mL = 0.000250 m³.

ρ = 0.250 ÷ 0.000250 = 1,000 kg/m³, equivalent to 1 g/cm³.

How to use this calculator

  1. Measure the sample's mass and express it in kilograms. Convert grams to kilograms by dividing by 1,000.
  2. Measure the sample's volume in cubic metres. For liquids, use a calibrated volume measurement; for an irregular solid, a suitable displacement method may be used.
  3. Enter the mass and volume in the labelled fields.
  4. Select Calculate. The result is shown in kg/m³.
  5. Keep the sample conditions, measurement method and units with the result so another person can reproduce it.

Unit checks and conversions

The National Institute of Standards and Technology describes volume as three-dimensional space measured in cubic units and identifies the cubic metre (m³) as the SI unit. See NIST — SI Units: Volume.

Assumptions and limitations

Related concepts and calculators

Density links mass to volume. Use the Cube Density Calculator for a cube-specific geometry workflow, Density to Mass Calculator to rearrange the relationship, or Cuboid Volume Calculator to estimate a rectangular solid's volume.

Scientific reference

OpenStax defines average density as mass per unit volume and gives the SI unit kg/m³. See OpenStax — University Physics Volume 1, Section 14.1: Fluids, Density, and Pressure.

These examples illustrate the displayed equation only. Measurement uncertainty and sample conditions are not estimated by this calculator.

class="content" aria-labelledby="industry-related-heading">

Industry calculator hub · Metal Weight Calculator · Steel Weight Calculator · Size to Weight Calculator (Rectangular Box)