Utinzo

Density Calculator

Calculate density, mass, or volume using D = m/V. Enter any two values to find the third. Includes a reference table of common material densities.

Did this tool work for you?

How to use this calculator

D = m / V

D = density (kg/m³ or g/cm³), m = mass (kg or g), V = volume (m³ or cm³). Enter any two to solve for the third.

  1. 1

    Enter any two of: mass (g), volume (cm³), or density (g/cm³).

  2. 2

    Set the unknown value to 0 — the calculator solves for it.

  3. 3

    The material hint shows which common substance has a similar density.

Frequently asked questions

Which units must I use?

Mass in grams, volume in cubic centimetres and density in grams per cubic centimetre. The results add a line converting density to kg/m³ by multiplying by 1000, so 2.7 g/cm³ shows as 2700.00 kg/m³. Because 1 mL equals 1 cm³, a volume read from a measuring cylinder in millilitres can be typed in unchanged.

How do I tell it which quantity to solve for?

Leave the unknown at 0 and fill in the other two. Mass 500 with density 7.87 gives a volume of 63.5324 cm³. If all three fields hold non-zero numbers, the density field wins and volume is recalculated from mass and density: entering mass 100, volume 50 and density 5 reports a volume of 20.0000 cm³, not 50.

What is the "Material hint"?

The tool compares your density with eight reference values (water 1.00, aluminium 2.70, iron or steel 7.87, copper 8.96, lead 11.34, gold 19.32, oak 0.70 and glass 2.50 g/cm³) and names the closest one only if you are within 5%. A result of 0.917 g/cm³ gets no hint at all because nothing on the list is that close. A hint means similar density, not that the sample is that material.

Why are zero and negative inputs rejected?

Zero is the "solve for this" marker, so you cannot supply a real zero, and fewer than two non-zero values gives "Enter at least two values". Negative mass, volume or density produces a "must be positive" message, since none of them is physically negative.

Can a density match prove a gold bar is genuine?

It can only argue against it. A sample of 193.2 g and 10 cm³ returns 19.3200 g/cm³ and triggers the gold hint, but alloys and plated fakes can be built to hit the same figure, and a 10 cm³ volume measured by water displacement is only as precise as your cylinder. A mismatch is more informative than a match.

How do temperature and purity affect the answer?

Most materials expand when warm, so the same mass occupies more volume and the density drops. Water is the familiar example, at its densest near 4°C. Alloys, wood moisture and air pockets in powders all shift the figure. The tool calculates from your numbers and cannot correct for any of these.

Will it work for gases?

Mathematically yes, but the units become awkward. 1 g of a gas occupying 833.3333 cm³ has a density of 0.0012 g/cm³, which the tool shows as 1.20 kg/m³, roughly the figure for air at room conditions. Small densities lose precision in the 4-decimal g/cm³ line, so read the kg/m³ row instead.

About density calculator

Density calculator — mass, volume and density from any two

One equation, three unknowns

Density is mass divided by volume, D = m ÷ V. The calculator rearranges it to m = D × V or V = m ÷ D depending on which field you set to 0, and always reports all three plus the density in kg/m³. A density of 1 g/cm³ is the same as 1000 kg/m³. Keeping units consistent is the main source of mistakes: grams with cubic centimetres give g/cm³, while kilograms with cubic metres would give kg/m³. The tool fixes the first pairing and prints the SI conversion for you.

Worked example: an unknown metal block

A block weighs 270 g and displaces 100 cm³ of water. The default entries return a density of 2.7000 g/cm³, which is 2700.00 kg/m³, and the hint reports similarity to aluminium. A 193.2 g sample with a volume of 10 cm³ returns 19.3200 g/cm³ and a hint for gold. The hint is deliberately cautious: it appears only when your result lies within five percent of one of the listed materials, and stays blank for anything in between.

Worked example: how much space for 500 g of steel

Using the 7.87 g/cm³ steel figure from the hint list, 500 g occupies 63.5324 cm³. In the opposite direction, 250 cm³ of ice at 0.917 g/cm³ has a mass of 229.2500 g. These solve-for-volume and solve-for-mass runs both need only the two values you actually know. In practice mass comes from a scale, and the volume of an irregular object is measured by the rise of water in a graduated cylinder, with one millilitre counting as one cubic centimetre.

Reference densities used for hints

These are the eight reference materials built into the tool.

Values in g/cm³
MaterialDensity
Oak wood0.70
Water1.00
Glass2.50
Aluminium2.70
Iron / steel7.87
Copper8.96
Lead11.34
Gold19.32

Floating and sinking

An object floats in a liquid when its average density is lower than the liquid’s. Ice, near 0.917 g/cm³, rides on water at 1.00. A steel ship floats because its hollow hull makes the average density of the whole vessel lower than water’s, even though solid steel at 7.87 g/cm³ would sink. The same reasoning explains why a cargo ship rides lower when loaded: adding mass without adding hull volume raises its average density towards that of the water.

Density Calculator – Utinzo

Learn more from an authoritative source:

Wikipedia
Related tools

Results are estimates for informational purposes only and do not constitute professional financial, medical, legal, or technical advice. Read full disclaimer →