Density Calculator

0Density (g/cm3)
0Mass (g)
0Volume (cm3)
In water
Choose what to solve for.
0
Density (kg/m3)
Formula used
Part of the Everyday Calculators hubBrowse every everyday calculator in one place

How the density calculator works

Density is mass divided by volume. Choose which quantity to find, density, mass, or volume, enter the other two, and the tool solves the relationship. It works in grams and cubic centimeters, where one cubic centimeter equals one milliliter, and also reports density in kilograms per cubic meter.

The density formula

Density equals mass divided by volume. Rearranged, mass is density times volume, and volume is mass divided by density. Density tells you how much matter is packed into a given space, which is why a small lead weight feels heavier than a much larger block of foam.

Will it float?

An object floats in a fluid if it is less dense than that fluid. Pure water has a density of about one gram per cubic centimeter, so anything below that floats and anything above sinks. The tool flags whether your result would float or sink in water as a quick intuition check.

Common uses

Density calculations show up in chemistry labs, material identification, shipping and packing, jewelry and metals, and physics homework. Measuring an object mass and its volume, by dimensions or by water displacement, lets you identify a material or verify its purity by comparing to known densities.

Frequently asked questions

How do I calculate density? Divide the mass by the volume; the tool can also solve for mass or volume.

What is the density of water? About 1 gram per cubic centimeter, or 1000 kilograms per cubic meter.

Why does something float? Because it is less dense than the fluid it sits in.

Related calculators: Ohm Law, Molarity, pH.

Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.