Navigation
🏠 Home🧮 All Tools🧪 Density

Density Calculator

Calculate density, mass, or volume — enter any two values and find the third using the density formula.

🧪Enter your details
Result—

What is a Density Calculator?

A Density Calculator computes the density of a material or object, which is its mass per unit of volume, based on any two of the three related quantities: mass, volume, and density. Density is a fundamental physical property used across science, engineering, and everyday applications, from identifying unknown materials, to designing objects that float or sink, to calculating shipping weights based on package volume.

Formula Used

The core relationship is Density = Mass ÷ Volume, commonly expressed in units like kilograms per cubic meter or grams per cubic centimeter. Rearranging this formula allows solving for any of the three variables: Mass = Density × Volume, or Volume = Mass ÷ Density, depending on which two values are already known.

How to Use This Tool

Enter any two of the three values, mass, volume, or density, and the calculator computes the missing third value. This is useful for identifying an unknown material by comparing its calculated density against known reference values, or for practical tasks like determining how much a given volume of a specific substance will weigh.

Examples

Example 1: An object with a mass of 500 grams and a volume of 200 cubic centimeters has a density of 500 ÷ 200 = 2.5 grams per cubic centimeter.

Example 2: Knowing that water has a density of approximately 1 gram per cubic centimeter, a container holding 2 liters (2,000 cubic centimeters) of water would have a mass of approximately 2,000 grams, or 2 kilograms.

Frequently Asked Questions

How can density help identify an unknown material?

Since different materials have well-documented, characteristic densities, gold at roughly 19.3 g/cm³ versus aluminum at roughly 2.7 g/cm³, for example, calculating an unknown sample's density and comparing it to reference tables can help narrow down or confirm what the material likely is.

Why do some objects float while others sink in water?

An object floats in water if its overall density is less than water's density (approximately 1 g/cm³) and sinks if its density is greater, which is why materials like wood and ice float while metals like iron and lead sink.

Does temperature affect an object's density?

Yes, most materials expand slightly when heated and contract when cooled, which changes their volume without significantly changing their mass, meaning density typically decreases slightly as temperature rises and increases slightly as temperature falls.

Why does an object's shape not affect its density?

Density is a ratio of mass to volume, and both properties change together when an object's shape changes without altering its material or overall mass, so reshaping a fixed quantity of material into a different form doesn't alter its fundamental density.

How is density used in shipping and logistics?

Shipping companies often calculate "dimensional weight" based on package volume and a standard density assumption, charging based on whichever is greater between actual weight and dimensional weight, since bulky lightweight packages still take up valuable cargo space.

What is the difference between density and specific gravity?

Specific gravity is the ratio of a substance's density to the density of a reference substance, usually water, making it a unitless comparison value, whereas density itself is expressed in specific units like kilograms per cubic meter.

Why is density important in engineering material selection?

Engineers frequently need to balance strength against weight, so knowing a material's density alongside its mechanical properties helps determine whether it's suitable for applications like aircraft components, where minimizing weight while maintaining strength is critical.

Can density calculations help with cooking and baking measurements?

Yes, since many recipes specify ingredients by volume (cups, milliliters) while others use weight (grams), knowing an ingredient's density allows accurate conversion between these two measurement systems for more precise, consistent baking results.

How is density used to check the purity of a substance?

Impurities or air pockets in a material typically shift its measured density away from the known pure-substance value, which is why density testing is a simple, non-destructive way to check for adulteration or manufacturing defects in materials like metals and liquids.

Why do liquids of different densities separate into visible layers?

When two immiscible liquids of different densities are combined, such as oil and water, the less dense liquid naturally floats above the denser one, forming distinct layers, a principle used in processes ranging from cooking to industrial separation techniques.

How is population density calculated, and is it related to physical density?

Population density measures the number of people per unit of land area rather than mass per unit volume, so while it borrows the same conceptual ratio structure as physical density, it is a distinct measurement used in geography and urban planning rather than physics.

Why is density an important consideration in aircraft and vehicle design?

Engineers select materials with favorable strength-to-density ratios to minimize overall weight while maintaining structural integrity, since lower density directly translates to lighter components, which improves fuel efficiency and performance in aerospace and automotive applications.