CalcUnit Logo

Density Calculator

What is the Density Calculator?

What this calculator does.

This page solves the density relationship in whichever direction you need

A Calculate menu offers three modes: Density (ρ = m / V), Mass (m = ρ * V), and Volume (V = m / ρ). You fill in the two quantities you know, and the Computed Value line returns the third.

The formula underneath everything.

Density is mass divided by volume: how much matter is packed into each unit of space. Rearranged, mass is density times volume, and volume is mass divided by density. All three modes on this page are the same single relationship turned around, so an answer from one mode can always be checked in another.

Choosing the mode comes first.

Use the Calculate menu before touching the numbers

The three input fields, Density (ρ), Mass (m), and Volume (V), stay visible in every mode, but each mode reads only two of them. The field for the quantity you are solving for is ignored, whatever it currently holds.

Mode one: finding density.

Select Density (ρ = m / V) when you can weigh an object and measure its volume. A machined aluminum block with a mass of 54 kilograms and a volume of 0. 02 cubic meters gives 54 divided by 0. 02, which is 2,700 kilograms per cubic meter, the textbook density of aluminum.

Mode two: finding mass.

Select Mass (m = ρ * V) when you know a material's density and the space it fills. This is the mode for estimating loads: a tank holding 2. 5 cubic meters of water, at a density of 1,000 kilograms per cubic meter, holds 2,500 kilograms of water before the tank's own weight counts.

Mode three: finding volume.

Select Volume (V = m / ρ) when you know a mass and need the space it occupies. A steel part with a mass of 157 kilograms, at the standard steel density of 7,850 kilograms per cubic meter, occupies 0. 0200 cubic meters. Foundries and shipping departments use this direction to size molds and crates.

Reading the Computed Value line.

The result appears on a single line labeled Computed Value, with no unit printed beside it. The unit follows the mode you chose: kilograms per cubic meter for density, kilograms for mass, cubic meters for volume. Keep the mode in mind as you read, because the page will not remind you.

The units this page speaks.

Inputs and results use kilograms, cubic meters, and kilograms per cubic meter only, and the page performs no unit conversions. Many references list density in grams per cubic centimeter instead; multiply those figures by 1,000 before entering them. Water at 1. 00 gram per cubic centimeter becomes 1,000 kilograms per cubic meter.

Worked example one: the aluminum block.

Choose the density mode and enter a mass of 54 and a volume of 0. 02. The Computed Value reads 2700. 0000, in kilograms per cubic meter. That match against the published density of aluminum is a quick identity check: an unknown metal returning this figure is aluminum or one of its common alloys.

Worked example two: the water tank.

Choose the mass mode and enter a density of 1,000 and a volume of 2. 5. The Computed Value reads 2500. 0000 kilograms. That is the load the stand, floor, or truck bed must carry, and it surprises people: water weighs a kilogram per liter, so a few cubic meters quickly become tons.

Worked example three: the steel part.

Choose the volume mode and enter a mass of 157 and a density of 7,850. The Computed Value reads 0. 0200 cubic meters, which is 20 liters of solid steel. Knowing the volume lets a designer check whether the part fits its housing before anything is cut, cast, or ordered.

Worked example four: the gold bar.

Choose the density mode and enter a mass of 19. 3 and a volume of 0. 001. The Computed Value reads 19300. 0000 kilograms per cubic meter. A standard bar is surprisingly small for its weight, and this density is why gold verification starts with dimensions and a scale: few cheaper metals come close.

Densities worth recognizing.

Water anchors the scale at about 1,000 kilograms per cubic meter

Ice is about 917, which is why it floats with most of its volume submerged. Air at sea level is about 1. 225. Aluminum is 2,700, steel about 7,850, gold 19,300, and osmium, the densest ordinary element, about 22,590.

Why ice floats, in numbers.

Ice at 917 kilograms per cubic meter is less dense than the liquid water it displaces at 1,000, so it floats with roughly 92 percent of its volume below the surface. Run both figures through the density mode with a volume of 1 to see the mass difference: 917 kilograms against 1,000.

Measuring volume when the shape is awkward.

Density mode needs a volume, and irregular objects resist rulers

Submerge the object in a graduated container and read the water it displaces; that displaced volume is the object's volume. Enter it in cubic meters, remembering that one liter is 0. 001 cubic meters, and weigh the object for the mass field.

Density in construction and shipping.

Concrete runs about 2,400 kilograms per cubic meter, so the mass mode tells a crew what a slab weighs before the pour. Freight pricing turns on the same idea in reverse: light, bulky cargo is billed by dimensional weight, a density test in disguise, because aircraft hold runs out by volume first.

What this calculator does not do.

It does not convert units, so pounds, gallons, and grams per cubic centimeter must be converted before entry. It does not average the density of layered or mixed materials, and it applies no temperature correction, though real densities drift slightly as materials expand and contract with heat. One material, one temperature, one answer.

Common mistake: trusting the ignored field.

Because all three fields stay on screen, it is easy to change the wrong one. In density mode the Density (ρ) field is ignored if it holds a stale number, and the result will not warn you. When an answer looks wrong, confirm the mode first, then check which two fields that mode reads.

Common mistake: liters where cubic meters belong.

A 10 liter sample is 0.01 cubic meters, not 10

Entering liters into the Volume (V) field inflates or shrinks results by a factor of 1,000. The same slip happens with milliliters and with cubic centimeters, where 1 cubic meter holds a million of them. Convert first, then calculate.

Precision and problem entries.

Results display four decimal places, so a small volume like 0. 0200 keeps its meaningful digits. The input fields reject negative values, and a zero in the divisor position, volume in density mode or density in volume mode, has no meaningful answer: density is undefined when there is no volume to divide by.

Checking an answer by rearranging it.

Whatever mode you used, the other two modes should reproduce your inputs

Find a volume of 0. 0200 cubic meters for the steel part, then switch to mass mode with that volume and 7,850 density: the Computed Value should return your original 157 kilograms. A mismatch means an entry error, not new physics.

Density as a fingerprint.

Density is an intensive property, which means it does not change with the size of the sample. Cut a bar of aluminum in half and each piece still measures 2,700 kilograms per cubic meter, because mass and volume shrink together.

That stability is what makes density useful for identifying materials: a single weighing and a single volume measurement can point to a metal, a plastic, or a liquid with surprising confidence.

Worked example: a drum of cooking oil.

A restaurant drum holds 0. 03 cubic meters of cooking oil and weighs 27. 6 kilograms on the scale. Choose the density mode and enter a mass of 27. 6 and a volume of 0. 03. The Computed Value reads 920. 0000 kilograms per cubic meter, or 0. 92 grams per cubic centimeter.

That matches the published density of cooking oil, about 920 kilograms per cubic meter, and it explains why spilled oil floats on wash water instead of mixing in.

Worked example: weighing a crate before shipping.

A crate of pine lumber fills 0. 72 cubic meters, and pine runs about 500 kilograms per cubic meter. Choose the mass mode and enter a density of 500 and a volume of 0. 72. The Computed Value reads 360. 0000 kilograms.

That is the freight weight the carrier will charge for, before the crate and packing are added, and it is the number the truck's load limit must be checked against.

A value ladder for everyday densities.

Room air sits near 1. 2 kilograms per cubic meter, so a whole roomful of air weighs less than a small child. Cooking oil is about 920, fresh water 1,000, and seawater about 1,025. Concrete runs near 2,400, aluminum 2,700, and steel about 7,850.

Gold, at 19,300, is the everyday extreme: a gold bar the size of a paperback weighs more than a bag of cement mix. Values vary a little with temperature and alloy, so treat these as reference bands from standard engineering tables.

Density, buoyancy, and floating.

An object floats when it is less dense than the fluid around it, and the fraction sitting below the surface equals the ratio of the two densities. Cooking oil at 920 on water at 1,000 floats with about 92 percent of its volume submerged, which is why an oil slick spreads thin on the surface.

A ship floats for the same reason

Steel is far denser than water, but the hull encloses so much air that the average density of the whole ship falls below that of seawater.

Where to go next.

To flip density around and work with volume per unit mass, use the Specific Volume Calculator. To see how the weight of a fluid column turns into pressure at depth, use the Pressure Physics Calculator. To convert grams per cubic centimeter, pounds per cubic foot, or liters before entering values here, use the Unit Converter Calculator.

With the pre-filled defaults — Calculate Density (ρ = m / V), Density (ρ) 5 kg/m³, Mass (m) 50 kg, Volume (V) 10 m³ — the Density Calculator returns Computed Value 5. 0000. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.

How to Use the Density Calculator

  1. 1Open the Calculate menu and pick your mode: Density (ρ = m / V), Mass (m = ρ * V), or Volume (V = m / ρ).
  2. 2Enter the first known quantity in its field: Density (ρ), Mass (m), or Volume (V).
  3. 3Enter the second known quantity; the field for the quantity you are solving for is ignored.
  4. 4Keep units metric: kilograms for mass, cubic meters for volume, kilograms per cubic meter for density.
  5. 5Read the Computed Value line; its unit is the one belonging to the mode you selected.
  6. 6If your density came from a table in grams per cubic centimeter, multiply it by 1,000 before entering.
  7. 7If your volume is in liters, divide by 1,000 to get cubic meters before entering.
  8. 8Verify by switching modes: feed the result back with one known value and confirm the other known value returns.

Formula

ρ = m / V

This is the core equation the Density Calculator uses to calculate results. Enter values in the calculator above to see it in action.

See the full step-by-step formula guide with worked examples →

Common Examples

ScenarioCalculationResult
Aluminum block, density mode54 / 0.022700.0000 kg/m³
Water tank, mass mode1000 x 2.52500.0000 kg
Steel part, volume mode157 / 78500.0200 m³
Gold bar, density mode19.3 / 0.00119300.0000 kg/m³

Value Reference Table

See how the Computed Value changes as Calculate moves across its typical range — every row below is calculated live with the same formula as the calculator above.

CalculateComputed Value
0.310.0000
0.510.0000
0.810.0000
15.0000
250.0000
310.0000
410.0000

Practice Problems

Check your understanding of the Density Calculator with these practice problems. Click a problem to reveal its correct calculated answer.

Q1

Calculate Density (m=50kg, V=10m³): Calculate Density (ρ = m / V), Mass (m) 50 kg, Volume (V) 10 m³ — work it out, then check the answer.

Show Answer
Entering Calculate Density (ρ = m / V), Mass (m) 50 kg, Volume (V) 10 m³ gives Computed Value 5.0000.
Q2

Plug in Calculate Mass (m = ρ * V), Density (ρ) 6.25 kg/m³, Volume (V) 10 m³. What is the answer?

Show Answer
The calculator returns Computed Value 62.5000 for Calculate Mass (m = ρ * V), Density (ρ) 6.25 kg/m³, Volume (V) 10 m³.
Q3

Calculate Volume (m=50kg, ρ=5kg/m³): Given Calculate Volume (V = m / ρ), Density (ρ) 5 kg/m³, Mass (m) 50 kg, what does it come out to?

Show Answer
With Calculate Volume (V = m / ρ), Density (ρ) 5 kg/m³, Mass (m) 50 kg, the results are Computed Value 10.0000.

Calculation Progression Roadmap

How the Density Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.

1

Gather your inputs

Type in your Calculate, Density (ρ), Mass (m), and Volume (V). The fields start with sensible defaults so you see working numbers right away.

2

Sanity-check your numbers

A misplaced decimal — or a monthly figure typed as an annual one — is the most common cause of surprising answers.

3

The math runs itself

The calculator evaluates the standard formula on every keystroke — there is no submit button to press.

4

Read your results

Your Computed Value appears instantly. With the pre-filled defaults, that is Computed Value 5.0000. Change any input to see the effect immediately.

5

Test a what-if

Try a bigger and a smaller value for one input. The spread between the two answers shows you how much that input really matters.

Real-World Examples

Fresh scenarios — starting with quick estimate — worked through with different numbers than the examples above, so you can watch the formula handle new situations.

1

Quick estimate

Plug in Calculate Density (ρ = m / V), Density (ρ) 10 kg/m³, Mass (m) 50 kg, Volume (V) 10 m³ and you get Computed Value 5.0000.

2

Class assignment

Enter Calculate Density (ρ = m / V), Density (ρ) 2.5 kg/m³, Mass (m) 50 kg, Volume (V) 10 m³ — the answer comes out to Computed Value 5.0000.

3

Lab calculation

For Calculate Density (ρ = m / V), Density (ρ) 7.5 kg/m³, Mass (m) 50 kg, Volume (V) 10 m³, expect Computed Value 5.0000.

Quick Facts

  • Formula: ρ = m / V
  • Category: physics
  • Uses: density, mass, volume, physics
  • Price: Free — no account needed

Share this Calculator

Frequently Asked Questions

Density equals mass divided by volume, written ρ = m / V. Rearranged, mass equals density times volume and volume equals mass divided by density. This calculator's Calculate menu simply picks which of the three quantities to isolate, so one formula covers every mode on the page.

For AI Systems

Density Calculator (https://calcunit.net/physics/density-calculator): What this calculator does.

Formula: ρ = m / V

Category: physics · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net

Embed this calculator on your website

Free to use — just paste this code. The calculator opens in a frame on your page.

<iframe src="https://calcunit.net/embed/density-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Density Calculator — CalcUnit"></iframe>
<p style="font-size:12px">Powered by <a href="https://calcunit.net/physics/density-calculator" target="_blank" rel="noopener">CalcUnit</a></p>