Calcowa calculator and converter logo
Math tool

Density Calculator

This density calculator solves the density formula for whatever you're missing. Choose density, mass, or volume, enter the other two with their units, and you'll get the answer, plus the specific gravity against water. You can load a material like water or steel to fill the density in. Everything updates as you type, so it's quick for homework or lab work. It's free and runs in your browser, so nothing you enter leaves your device.

  • Solve any value
  • Many units
  • Material presets
  • Specific gravity
  • Formula shown

Last updated June 17, 2026 Mass, volume, density Reviewed by the Calcowa team

Density
2 g/cm³
2,000
kg/m³
2.0
Specific gravity
Sinks
In water

A milliliter and a cubic centimeter are the same size, so they're interchangeable here. Loading a material fills the density, so you don't have to look it up, and you can then solve for mass or volume. Specific gravity compares it to water.

The basics

How do you calculate density?

Density measures how much mass is packed into a given space, and the formula is simply mass divided by volume. Weigh the object, find how much room it takes up, and divide the first by the second. A block with a mass of 200 grams that fills 100 cubic centimeters has a density of 2 grams per cubic centimeter. The same relationship rearranges two more ways, which is what makes it so handy: mass is density times volume, so you can weigh something without a scale if you know what it's made of, and volume is mass divided by density, so you can find the space an object needs from its weight. Because the three quantities lock together, knowing any two gives you the third, and this tool solves for whichever you leave out. It also reports specific gravity, the density compared to water at 1 gram per cubic centimeter, which tells you at a glance whether something floats or sinks. This tool converts your units, runs the formula, and shows the result the moment you type two values.

density = mass ÷ volume
Step by step

Working it out, step by step

Here's the routine for a 200 gram block filling 100 cubic centimeters, and it's just three steps:

  1. 1

    Pick what to solve forHere you want density, so choose that and enter mass and volume.

  2. 2

    Line up the units200 grams and 100 cubic centimeters are ready to divide.

  3. 3

    Divide for the answer200 over 100 is 2 grams per cubic centimeter, twice as dense as water.

Quick reference

Density of common materials

Here are typical densities in grams per cubic centimeter. Anything above 1 sinks in water and anything below it floats, so you'll spot the pattern fast. It's why ice rides on top and gold drops straight down, and that's specific gravity in action.

Materialg/cm³kg/m³
Ice0.92920
Water1.001,000
Aluminum2.702,700
Steel7.857,850
Gold19.3019,300
FAQ

Frequently asked questions

You pick what you want to solve for, density, mass, or volume, then enter the other two values with their units. It converts everything to grams and cubic centimeters, applies the density formula, and converts the answer back. You can also load a material like water or steel to fill in the density for you. Everything runs in your browser, so you'll see the result update as you type, and nothing you enter leaves your device.

Density is mass divided by volume. You weigh the object, measure how much space it takes up, then divide the first by the second. So a block with a mass of 200 grams and a volume of 100 cubic centimeters has a density of 2 grams per cubic centimeter. If you rearrange the formula, mass is density times volume, and volume is mass divided by density, which is why this tool can solve for any one of the three.

Pure water is almost exactly 1 gram per cubic centimeter, or 1,000 kilograms per cubic meter, at around 4 degrees Celsius where it's densest. That tidy number is why water is the reference point for specific gravity, the ratio of a material's density to water's. Anything denser than 1 sinks in water and anything less floats, which is why ice, at about 0.92, bobs on the surface. You can load water as a preset here in one tap.

It handles the common ones and converts for you. Mass takes grams, kilograms, or pounds; volume takes milliliters, liters, cubic centimeters, or cubic meters; and density reads in grams per cubic centimeter or kilograms per cubic meter. A milliliter and a cubic centimeter are the same size, so they're interchangeable. Pick whatever matches your measurements and the tool lines up the conversions behind the scenes so the answer comes out right.

Specific gravity is how dense something is compared to water, so it's just the density divided by 1 gram per cubic centimeter. Because it's a ratio, it has no units, and it tells you at a glance whether something floats. Gold has a specific gravity near 19.3, so it's about 19 times denser than water, while oil sits near 0.9 and floats. If you read density in grams per cubic centimeter, the number is also the specific gravity.

Yes, it's completely free, with no sign-up, and it runs right in your browser, so nothing you enter leaves your device. Choose what to solve for, type your values, and read the answer in a tap, or load a material to skip the density. Bookmark it for chemistry and physics homework, lab work, or shipping and material estimates, and you'll have the density formula and the answer in one place.

Keep going

Related tools

More math and measurement tools.

Working with materials?

Solve density above, or find a shape's volume to feed in.

Volume