Density Calculator
Enter any two values below to find the third using the density formula ρ = m / V. Use the tabs to choose whether to calculate Density, Mass or Volume, fill in the required fields, and get your result instantly.
| Mass (m) | — |
| Volume (V) | — |
| Density (ρ) | — |
| Unit | Value |
|---|---|
| Calculate first to see conversions | |
| Unit | kg/m³ |
|---|---|
| kilogram/cubic meter | 1 (SI Unit) |
| kilogram/cubic centimeter | 1,000,000 |
| gram/cubic meter | 0.001 |
| gram/cubic centimeter | 1,000 |
| kilogram/liter | 1,000 |
| gram/liter | 1 |
| pound/cubic inch | 27,680 |
| pound/cubic foot | 16.02 |
| pound/cubic yard | 0.5933 |
| pound/gallon (US) | 119.83 |
| pound/gallon (UK) | 99.78 |
| Material | kg/m³ |
|---|---|
| Air (sea level) | 1.2 |
| Water (STP) | 1,000 |
| Aluminum | 2,710 |
| Iron | 7,874 |
| Copper | 8,950 |
| Lead | 11,340 |
| Tungsten | 19,250 |
| Gold | 19,300 |
| Platinum | 21,450 |
| The Earth (avg) | 5,515 |
Density Calculator: Find Density, Mass or Volume Instantly
This density calculator can be used to solve for density, mass, or volume if you know the other two values. Select what you want to solve for, enter your values, and then choose your units from kg, g, or lb and m³, cm³, mL, or ft³. With the appropriate device attached, you will receive an immediate answer and no manual conversion is involved. Also, farther down this page you will discover two related but distinct calculators, population density and density altitude, as both use the word “density” but work fundamentally different than physical mass and volume. Whether you are a student reviewing homework, an engineer choosing a material, or a pilot planning a flight, this page offers the exact portion you need.
(Density Calculator Tool: Solve For – Density / Mass / Volume | Unit Dropdowns: kg, g, lb | m³, cm³, mL, ft³)
The Density Formula (Density Equation)
A density calculator calculates the amount of mass contained in a particular volume. In simple terms it tells you how “heavy for its size” something is. So you could have a brick and a sponge, which are the same size. But the brick has much more mass packed into the same size, so it feels so much heavier in your hand. Now the formula for density is simple:
Density (ρ) = Mass ÷ Volume, written as ρ = m ÷ V
Example: a rock has a mass of 450 grams and a volume of 150 cubic centimeters. Its density is 450 ÷ 150 = 3 g/cm³.
And that’s all. If your mass and volume are in compatible matching units, the full density equation is just one division. If you mix your units up, for example, grams with cubic meters instead of cubic centimeters, the figure you obtain will be technically right but practically meaningless. So always double-check your units line up before dividing.
How to Calculate Density, Mass or Volume (Step by Step)
The same formula but rearranged in different ways depending on what you already know and what you are solving for. It’s the same triangle method employed in tons of physics formulas: Knowing any two of the three values, a little algebra will bring you the third.
Solving for Density
ρ = m ÷ V
As above. Mass over volume. This works for any material, solid, liquid, or gas, as long as you have an exact mass and volume measurement. In a school lab setting this normally means weighing something on a scale and measuring its volume either by measuring the dimensions directly (for a regular shape, like a cube) or by water displacement (for an irregular shape, like a rock).
How Do You Calculate Mass With Density and Volume
Mass = Density × Volume
Example: A liquid has a density of 0.8 g/mL and you have 500 mL of it. Mass = 0.8 × 500 = 400 g.
This version of the formula is useful when you already know what material you’re working with and, therefore, its density from a reference table, and you just need to figure out how much a certain volume of it will weigh.
Solving for Volume
Volume = Mass ÷ Density
Example: a metal block has a mass of 270 grams and a density of 2.7 g/cm³. Volume = 270 ÷ 2.7 = 100 cm³.
This is important if you know the weight limit or goal mass of a substance and need to calculate out how much space it will take up, useful for anything from packing shipments to measuring a storage container.
If you know any two of the three numbers mass, volume, or density, you can always calculate density (or either of the other two) in one step of multiplication or division.
Density Unit Conversions
Density is present in a few different unit systems depending on where you work and what profession you are in. Scientists in metric-heavy disciplines (chemistry, physics, etc.) tend to go for g/cm³ or kg/m³. In US engineering and manufacturing contexts, lb/ft³ is common. These are the most frequent ones and their conversions:
Unit | Equivalent |
1 g/cm³ | = 1,000 kg/m³ |
1 g/cm³ | = 62.43 lb/ft³ |
1 g/cm³ | = 1 g/mL |
Worked mini-example: converting water’s density from g/cm³ to kg/m³. Water has a density of 1.00 g/cm³. Multiply by 1,000 to convert: 1.00 × 1,000 = 1,000 kg/m³.
Why is this conversion important? The conversion is most important if you are pulling data from two sources that use different unit systems. This is most typical when comparing US (imperial) references against UK, Australian, or Canadian (metric) sources. This is one of the more typical errors in density calculator. The arithmetic is easy, but if you forget about a unit mismatch, your answer might be off by a factor of a thousand, and you would not even know something went wrong.
Common Material Densities (Reference Table)
Here is a table of common material densities that you can use to compare your own answer to a known value:
Material | Density |
Water | 1.00 g/cm³ |
Ice | 0.92 g/cm³ |
Aluminum | 2.70 g/cm³ |
Steel | 7.85 g/cm³ |
Gold | 19.3 g/cm³ |
Air (sea level) | 0.0012 g/cm³ |
Keep in mind that water is thicker than ice. That’s the exact reason ice floats. Things float when they are less dense than the fluid they are in. Things that are more dense than the fluid they are in sink. The simplest way to explain Archimedes’ principle is this: an object pushes fluids away by the same amount that it weighs. To find out if an object floats or not, compare its density calculator to that of the fluid, not just its size or weight.
It makes sense that a big steel ship can float while a small steel bolt can sink for the same reason. Not your whole weight. The shape of a ship’s hull spreads its steel mass over a large area with lots of air, which makes it less dense generally than water. Since there is no such thing as empty space in a solid steel bolt, its density stays well above water’s, and it always sinks. When engineers build things that are meant to float, like ships, life jackets, and pool floats, they use the same kind of reasoning.
How to Calculate Population Density
Physical density is based on mass and volume. Population density on the other hand, is based on people and land area.
Population Density = Number of People / Area of Land
“People per square kilometer” or “people per square mile” are common ways to say this.
Worked example: 850,000 people live in a city that covers 400 km² of land. 850,000 divided by 400 equals 2,125 people per km².
It is possible for there to be several thousand people per km² in a city, but only a few people per km² in a rural country or region. This number is very important in areas like urban planning and resource sharing because it affects choices about housing, public transportation, infrastructure and emergency services. That’s exactly the math that a city’s planning department uses to decide where to build new schools or transportation lines by comparing a crowded city center to the areas around it.
A density calculator helps you see the scale. This could mean between 10,000 and 25,000 people per km² in a big global city center, crammed into small flats and streets that don’t have much room. In contrast, a typical rural county usually has fewer than 50 people per km², spread out among farms and homes with low densities. If you look at the difference between these two numbers, you can see why living in a small city apartment and living in the country feels so different every day. This includes things like how long it takes to get to work and how far the closest grocery store is.
Calculation of Density Altitude (For Pilots & Aviation Students)
Density altitude, which tells you how the air “feels” to an airplane, not how high the plane is above sea level, is an aviation term for a density calculator.
When the temperature goes up, the air gets thinner even at the same actual height. High elevation, hot weather, and humidity all make the density of the air higher. This makes the air behave as if the plane were higher than the airport that it is actually at. The engine, propellers, and wing lift all work less well when the air is lighter, which means the plane doesn’t perform as well. That’s why pilots have to plan more carefully when flying at high-elevation bases in the summer, even on a clear, quiet day.
Simplified method for work:
The difference between the actual temperature and the ISA standard temperature at that altitude is 120 times the density altitude.
At sea level, the ISA standard temperature is about 15°C, and it drops by about 2°C for every 1,000 feet in elevation.
For example, an airport is at a pressure level of 2,000 feet and the temperature is 30°C. At 2,000 feet, the ISA standard temperature is about 15 – (2 × 2) = 11°C. 30 – 11 = 19°C is the change.
Amount of Density: 2,000 plus (120 divided by 19) = 2,000 plus 6.32 = 2,006.32 feet
So, the plane is acting as if it were taking off from an airport 4,280 feet above ground instead of 2,000 feet above ground, even though the height hasn’t changed. Because of this, the takeoff roll is longer and the ability to climb is lower. This is why pilots often have trouble on hot summer afternoons at high-elevation airports. A student pilot training at a hot, high-altitude airport might notice that their plane needs more runway and climbs more slowly in the afternoon when it’s 30°C than in the morning when it’s only 10°C, even though the plane itself hasn’t changed.
Note for safety: This figure is just a rough guess to show you what it means. For real flight planning, you should use the Pilot’s Operating Handbook (POH) and up-to-date performance charts instead of this guess.
Conclusion
A density calculator can be found in more places than most people think, from a chemistry lab bench to a city planner’s chart to a pilot’s gear list before takeoff. No matter what version you’re working with, physical, population, or altitude the math is easy as long as you know the first two numbers. For a quick answer, use the above calculator. If you need to compare your answer to a known material density, look at the reference tables. If you work in more than one of these areas, save this page because it has all three in one place. You can then come back to it whenever you need a quick, reliable number for homework, a material choice, or a flight plan.
Frequently Asked Questions
Q1. What is the formula for density?
Density calculator is the mass of a material per unit volume. ρ=m/V For example, an item with a mass of 200 g and a volume of 100 cm³ has a density of 2 g/cm³.
Q2. How do you calculate mass if you know density and volume?
Density Volume. Mass = Volume x density = 200 mL x 1.5 g/mL = 300 g.
Q3. How do you calculate volume if you know mass and density?
Mass/overdensity. For example, a mass of 500 g and a density of 5 g/cm³ yields a volume of 100 cm.
Q4. Why does an object float or sink based on density?
An thing floats if it’s less dense than the fluid around it and sinks if it’s denser. This comes from Archimedes’ principle, which compares the object’s density directly to the density of the fluid it’s placed in.
Q5. How is population density calculated for a city or country?
Then divide the population by the area of land. Usually in terms of square kilometers or miles. A city of 500,000 people across 250 km² has a population density of 2,000 people per km².
Q6. What does density altitude mean for a pilot?
What does it all mean? High density altitude means that even though the actual elevation hasn’t changed, the air is effectively “thinner.” This in turn affects engine and wing performance and results in longer takeoff runs and slower climb rates.
