Skip to main content

Density Calculator

Calculate density from mass and volume, mass from density and volume, or volume from mass and density (ρ = m ÷ V), with unit pickers for g/cm³, kg/m³, kg/L, lb/ft³, lb/in³, and common mass and volume units.

Input

Any two of density, mass and volume determine the third.

Output

Density, Mass & Volume
QuantityValueOther units
No data yet
Formula & Breakdown
Was this helpful?

Guides

The Density Calculator solves ρ = m ÷ V — density, mass, or volume — pick the quantity you're missing, supply the other two, and it converts between g/cm³, kg/m³, kg/L, lb/ft³, lb/in³, and the common mass and volume units along the way.

The formula

ρ = m ÷ V

where ρ is density, m is mass, and V is volume. Rearranged for the other two quantities:

m = ρ × V
V = m ÷ ρ

How to use it

  1. Pick what you want to Solve For — Density, Mass, or Volume.
  2. Fill in the other two fields, each with its own unit picker: kg, g, mg, lb, oz, metric tons, and US (short) tons for mass; m³, L, mL, ft³, in³, US gallons, and UK gallons for volume.
  3. The result shows the solved value in every supported unit at once, so you don't need to run the calculator again just to see the same figure in lb/ft³ instead of g/cm³.

Example

A steel bar with a density of 7.85 g/cm³ and a volume of 2 L:

m = ρ × V = 7.85 g/cm³ × 2000 cm³ = 15,700 g = 15.7 kg

Why does the density unit picker include both g/cm³ and kg/L?

They're numerically identical (1 g/cm³ = 1 kg/L = 1000 kg/m³) but different fields and references favor one name over the other — chemistry and materials science lean on g/cm³, while liquid density specs (fuels, food, industrial fluids) more often use kg/L. Both are offered so you can read the result in whichever your source material uses, without doing the conversion yourself.

What's a typical density range?

Water is 1 g/cm³ (1000 kg/m³) by definition near room temperature — a natural sanity check. Most metals fall between 2 and 20 g/cm³ (aluminum ~2.7, steel ~7.85, lead ~11.3, gold ~19.3); most everyday liquids and plastics sit under 2 g/cm³; gases at atmospheric pressure are a thousand times less dense still.

Privacy

All calculations run entirely in your browser. Your figures are never uploaded or stored.

density calculatormass volume calculatorg/cm3kg/m3specific gravitymaterial densityphysics calculatorunit conversion

More ways to use this tool

REST API

curl -X POST https://api.iotools.cloud/v1/tool/density-calculator \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "solveFor": "density",
    "density": "7.85",
    "densityUnit": "gcm3",
    "mass": "1000",
    "massUnit": "g",
    "volume": "1",
    "volumeUnit": "l"
  }'

Swap in your own key from your account. The tool's fields are the body — no wrapper.

Ask an AI agent

Use the IOTools `density-calculator` tool (Density Calculator) on this input:

YOUR_INPUT_HERE

Paste this at any agent connected to the IOTools MCP server, then add your input.

Embed widget

<iframe
  src="https://iotools.cloud/embed/density-calculator/"
  width="100%" height="520" frameborder="0" scrolling="no" loading="lazy"
  title="Density Calculator — iotools.cloud"
  sandbox="allow-scripts allow-forms allow-same-origin allow-downloads allow-popups allow-popups-to-escape-sandbox"
  allow="clipboard-write"
  style="width:100%;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden"></iframe>
<script src="https://iotools.cloud/embed.js" async></script>

Drop this into your own page — free, no key required, just a link back.

Cost per callFrom 5 credits

Also available with

Love the tools? Lose the ads.

One payment clears every ad from your account, for good. No subscription, no tracking.