Omni Calculator logo

Density Calculator

Created by Mateusz Mucha and Steven Wooding
Reviewed by Dominik Czernia, PhD and Jack Bowater
Last updated: Jan 30, 2024

The density calculator will help you estimate the relationship between the weight and volume of an object. This value, called density, is one of the most important physical properties of an object. It's also easy to measure.

If you want to know how to find density, keep reading. This article will provide you with the density formula on which this calculator is based on. You'll also learn how the density of water changes under different circumstances.

We will deal with these questions:

  • How to find density;
  • What density formula is; and
  • What affects the density of water.

How to use this density calculator

Here, we will guide you on putting this density calculator to good use:

  1. Enter the weight/mass of the object. To enter the mass in a different unit, click on the unit and change it before entering the value.

  2. Input the volume of the object. If the object is a cuboid, and you know its dimensions instead of the volume, click on the advanced mode button at the bottom left and enter the cuboid dimensions.

  3. Right away, the calculator will give you the density of the object. You can click on the unit to change it to any other unit. It also remarks on how high/low our density is compared to other materials or objects.

For example, consider an object that weighs 80 kg with a volume of 47 in³. Enter the weight of the object, changing the unit to kg first, if required. Next, click on the volume's unit and change it to cubic inches. Input the volume as 47 in³. Instantly, our calculator will show you the object's density is 103,870 kg/m³. It also remarks that this density is between our Sun's outer and inner core densities! Now, that's very dense!

You can use this calculator in reverse, too! Consider a 4 m³ aluminum cube. You can figure out its mass using this calculator. Enter the cube's volume and aluminum's density of 2,700 kg/m³. Immediately, our calculator tells you the cube weighs 10,800 kg.

You don't have to search for a separate reference to find the densities of common materials like aluminum. We have a look-up density section for this purpose:

  1. Select the material category. You can choose between:

    • Metals;
    • Non-metals;
    • Gases;
    • Liquids; or
    • Astronomy.
  2. Pick any material from the list in this category.

  3. Instantly, the calculator will populate the material's density value. You can change it to your desired unit by clicking on its unit.

Say you want to find iron's density. Select metals in the material category and iron in the materials list. You can see that iron's density is 7,870 kg/m³.

The following article is a fascinating read where you can learn the density formula and how density determines whether an object floats or sinks in water.

How to find density

  1. Determine the weight of an object. For example, a glass of water weights 200 grams200 \ \mathrm{grams} net (not including the glass).
  2. Find out the volume of an object, e.g., by using the volume calculator. In our example, it's 200 cm3200 \ \mathrm{cm^3}.
  3. Divide weight by volume. 200 g/200 cm3=1 g/cm3200 \ \mathrm{g / 200 \ cm^3} = 1 \ \mathrm{g/cm^3}
  4. Optionally, change the unit. 1 g/cm3=1(1/1000 kg)/(1/1000000) m3=1000 kg/m31 \ \mathrm{g/cm^3} = 1 (1/1000 \ \mathrm{kg}) / (1/1000000) \ \mathrm{m^3} = 1000 \ \mathrm{kg/m^3}

Or you can use our density calculator to make it a breeze!

The fastest way to find the density of an object is, of course, to use our density calculator. To make the calculation, you'll need to know a few other values to start with. Make a note of the object's weight and volume. After typing these values into the density calculator, it will give you the result in kilograms per cubic meter.

If all you need is to convert between different units, just click on the units for density and select your desired units from the list. If your unit is not there, you can use our density conversion tool. Plug in your result there; the tool will convert it into:

  • Kilograms per cubic decimeter;
  • Pound per cubic foot;
  • Pound per cubic yard; or
  • Pound per US gallon.

Sometimes people are looking to convert grams into cups. If you know the density of the product as well as its weight in grams, you can find the volume of the ingredient in cups. We have prepared the grams to cups calculator specifically for that purpose.

Allow us to throw in a bit of a curve ball here by reminding you that if you want to calculate the density of pixels on your screen, this is not the calculator you are looking for; try PPI calculator instead.

Density formula

Another way to calculate the weight to volume ratio of an object is to use the density formula. The calculation is not too complicated as you only need to do one operation to find it.

The density formula is as follows:

D=m/vD = m / v


  • DD - density;
  • mm - mass; and
  • vv - volume.

Density of water

For most purposes, it's enough to know that the density of water is 1,000 kg/m3. However, as with almost all materials, its density changes with temperature. However, we have a slight, but a super important anomaly when it comes to water. While the general rule is that as temperature goes up, the density lowers, water behaves differently between 0 °C and 4 °C.

If you cool water from room temperature, it becomes increasingly dense. However, at approximately 4 °C degrees, water reaches its maximum density. How's this important? It makes it much harder for lakes to freeze completely in the winter. Since the water at 4 °C is the heaviest, it falls to the bottom of the lake. The colder water stays at the surface and turns to ice. This phenomenon, coupled with a low thermal conductivity of ice, helps the bottom of the lake stay unfrozen, so that fish can survive. It is this same principle that scientists think helped life get started on Earth. If water froze from the bottom up, then life never would have gotten the chance.

There are other aspects that affect water density. It changes slightly whether it is tap, fresh, or salt water. Every dissolved particle inside a body of water affects its density. The water density calculator might give you more insights into this problem.

Meet the creators of this density calculator

This density calculator is the brainchild of our celebrated veterans, Mateusz and Steven. Mateusz came up with the idea for this calculator when explaining to his children that an object's density decides whether it floats on water or sinks in it. The calculator has helped many users over the years, and we hope you had fun with it, too!

We put strenuous effort into ensuring the quality of our content so that it is as accurate and reliable as possible. Each tool is peer-reviewed by a trained expert and then proofread by a native speaker. If you'd like to learn more about our standards, please check the Editorial Policies page.


What is density?

The density of a material is the amount of mass it has per unit volume. A material with a higher density will weigh more than another material with a lower density if they occupy the same volume.

How do I find density?

  1. Measure the object's mass (or weight) in kilograms.
  2. Measure the volume of the object in m3.
  3. Divide the mass by the volume.
  4. You will then have the density of the object in kg/m3.

How can I find volume with density and mass?

  1. Look up the density of the material the object is made of in kg/m3.
  2. Measure the mass (or weight) of the object in kilograms.
  3. Divide the mass by the density.
  4. You will then have the volume of the object in m3.

What is the formula for density?

The formula for density is the mass of an object divided by its volume. In equation form, that's d = m/v, where d is the density, m is the mass, and v is the volume of the object. The standard units are kg/m3.

How do I find density of a liquid?

  1. Measure the mass (or weight) of the liquid with some scales and convert to kilograms.
  2. Measure the volume of the liquid with a measuring jug and convert to m3.
  3. Divide the mass by the volume.
  4. You will then have the density of the liquid in units of kg/m3.

Which planet has the lowest density?

Of the eight planets in the Solar System, Saturn has the lowest density at 687 kg/m3. This is much less than the density of water at 1,000 kg/m3. So, if you could put Saturn on a body of water, it would float!

Which element has the greatest density at standard temperature and pressure?

Osmium is the densest element on the periodic table that occurs naturally, with a density of 22,590 kg/m3. It is combined with other metals to make the tips of fountain pen nibs, electrical contacts, and in other high-wear applications.

How do I measure the density of an irregular object?

  1. Measure the mass (or weight) of the irregular object using scales and convert to kilograms.
  2. Measure the volume of the irregular object. One way to do that is to submerge the object in a measuring jug of water and record how much the volume increases by. Convert the volume to m3.
  3. Divide the mass by the volume.
  4. You will then have the density of the object in units of kg/m3.

How do I calculate the density of the Earth?

  1. Note the mass of Earth in kilograms, which is 6×1024 kg.
  2. Look up the volume of the Earth in m3, which is 1.1×1021 m3.
  3. Divide the mass by the volume.
  4. You will then have calculated the average density of the Earth and get a value of 5,500 kg/ m3.

How can I find mass with density and volume?

  1. Look up the density of the material the object is made of in kg/m3.
  2. Measure the volume of the object in m3.
  3. Multiply the density by the volume.
  4. You will then have the mass of the object in kg.
Mateusz Mucha and Steven Wooding
Calculate density
cu ft
lb/cu ft
Lookup density
Material category
lb/cu ft
Will it float in fresh water?
Nope, it's gonna sink.
Check out 38 similar materials and continuum mechanics calculators 🧱
Angle of reposeAngle of twistBend allowance… 35 more
People also viewed…

Contact lens vertex

Find out what power contact lens will fit you using this contact lens vertex calculator!


The discount calculator uses a product's original price and discount percentage to find the final price and the amount you save.

Plastic footprint

Find out how much plastic you use throughout the year with this plastic footprint calculator. Rethink your habits, reduce your plastic waste, and make your life a little greener.

Voltage divider

The voltage divider calculator is a comprehensive tool that tells you about the characteristics of output signals produced in one of the simplest circuits, known as voltage dividers.