Density calculator
Density Calculator — Find Density, Mass, or Volume Accurately
The Density Calculator helps you solve one of the most common measurement problems in physics, chemistry, engineering, and everyday material comparison: how much matter is packed into a certain amount of space. Enter any two known values — mass, volume, or density — and the tool will calculate the missing one.
This is useful when you need to compare materials, estimate liquid quantities, check laboratory measurements, convert between unit systems, or understand why two objects with the same size can have very different weights.
The Basic Density Relationship
Density describes the relationship between mass and volume. In simple terms, it tells you whether a material is light and spread out, or compact and heavy for its size.
Density: ρ = m / V
Mass: m = ρ × V
Volume: V = m / ρ
In these formulas, ρ means density, m means mass, and V means volume. For example, if an object has a mass of 500 g and a volume of 250 cm³, its density is:
500 ÷ 250 = 2 g/cm³
When Should You Use a Density Calculator?
Density calculations are not only for school exercises. They are used in many practical situations where weight, space, and material type matter.
- Students can check physics and chemistry homework.
- Engineers can compare material properties before choosing a component.
- Laboratory users can calculate liquid or solid sample density.
- DIY and construction users can estimate the weight of wood, metal, concrete, or plastic.
- Shipping and storage planning can benefit from knowing how compact or heavy a material is.
Supported Density, Mass, and Volume Units
The calculator supports common metric and imperial units, so you do not need to manually convert values before calculating. This is especially helpful when working with international data sheets, engineering tables, or mixed measurement systems.
| Measurement | Common Units |
|---|---|
| Density | kg/m³, g/cm³, g/mL, lb/ft³, oz/in³ |
| Mass | g, kg, lb, oz |
| Volume | m³, cm³, mL, L, ft³, in³ |
How to Use the Density Calculator
- Choose what you want to calculate: density, mass, or volume.
- Enter the two values you already know.
- Select the correct units for each value.
- Click Calculate to get the result.
- Review the converted result and repeat the calculation if needed.
Example Density Calculations
Example 1: Finding Density
A metal sample has a mass of 780 g and a volume of 100 cm³.
Density = 780 ÷ 100 = 7.8 g/cm³
Example 2: Finding Mass
A liquid has a density of 0.8 g/mL and a volume of 500 mL.
Mass = 0.8 × 500 = 400 g
Example 3: Finding Volume
A material has a mass of 2 kg and a density of 1000 kg/m³.
Volume = 2 ÷ 1000 = 0.002 m³
Why Unit Choice Matters
One common mistake in density calculations is mixing units. For example, using grams for mass and cubic meters for volume without converting them can produce a result that looks correct mathematically but is physically wrong.
A density of 1 g/cm³ is the same as 1000 kg/m³. The number changes because the unit scale changes, not because the material itself changes.
Typical Density Values
| Material | Approximate Density |
|---|---|
| Air at room temperature | About 1.2 kg/m³ |
| Water | About 1 g/cm³ or 1000 kg/m³ |
| Aluminum | About 2.7 g/cm³ |
| Steel | About 7.8 g/cm³ |
| Gold | About 19.3 g/cm³ |
Common Mistakes to Avoid
- Using volume in liters while density is entered in kg/m³.
- Forgetting that temperature can affect the density of gases and liquids.
- Confusing mass with weight. Mass is the amount of matter, while weight depends on gravity.
- Rounding too early during multi-step calculations.
- Comparing density values without checking whether the units are the same.
Density, Floating, and Sinking
Density also explains why some objects float while others sink. If an object is less dense than the liquid around it, it tends to float. If it is denser, it tends to sink. This is why wood can float on water, while a small piece of metal usually sinks even if it is much smaller.
References
Density Calculator FAQ
What does a density calculator do?
A density calculator finds density, mass, or volume when two of the three values are known. It uses the relationship between mass and volume to calculate the missing value.
What is the formula for density?
The density formula is ρ = m / V, where ρ is density, m is mass, and V is volume.
How do I calculate mass from density?
To calculate mass, multiply density by volume. The formula is m = ρ × V.
How do I calculate volume from density?
To calculate volume, divide mass by density. The formula is V = m / ρ.
What is the SI unit of density?
The SI unit of density is kilograms per cubic meter, written as kg/m³.
Is density the same as weight?
No. Density compares mass with volume, while weight is the force caused by gravity acting on mass.
Why does water have a density of about 1 g/cm³?
Water is commonly used as a reference material because its density is close to 1 g/cm³ under standard conditions. The exact value changes slightly with temperature.
Can density change with temperature?
Yes. Temperature can affect density, especially for gases and liquids. Warmer substances often expand, which can lower density.