InchesCalculator

Science / Physics

Density Calculator

Enter an object's mass and volume to find its density — useful for identifying materials, checking if something will float, and general physics and chemistry problems.

Density
2.5000 g/cm³

Density = Mass ÷ Volume. All unit conversions are handled internally by normalising to grams and cm³ before dividing, then converting to your chosen result unit.

I
Written by
Inchs Calculator Team
Editorial Team

What density tells you about an object

Density describes how tightly mass is packed into a given volume. Two objects can be the same size and look identical, but if one is much heavier, it has a higher density — this is why a solid steel ball sinks in water while a same-sized foam ball floats. Density is one of the most basic ways to identify or compare materials, since every substance has a roughly consistent, well-documented density under normal conditions.

Common mistakes happen when mixing up units — grams with kilograms, or cubic centimeters with liters — which can throw a result off by a factor of 1,000. This calculator eliminates that problem by letting you choose your input and output units independently; all conversions happen internally.

How this calculator works

Enter mass and volume in whatever units you have on hand, pick your desired result unit, and the calculator normalises everything to a common base (grams and cm³) before dividing. The result is then converted to your selected density unit.

How to Calculate Density (step by step)

Step One: Convert mass to grams

Take the entered mass and multiply by the selected mass-unit factor to get grams.

mass in grams = mass × mass unit factor

For 500 g (factor 1): 500 × 1 = 500 g. For 500 kg (factor 1000): 500 × 1000 = 500,000 g.

Step Two: Convert volume to cubic centimeters

Take the entered volume and multiply by the selected volume-unit factor to get cm³.

volume in cm³ = volume × volume unit factor

For 200 cm³ (factor 1): 200 × 1 = 200 cm³. For 200 L (factor 1000): 200 × 1000 = 200,000 cm³.

Step Three: Divide to get density in g/cm³

Apply the core density formula.

density (g/cm³) = mass in grams ÷ volume in cm³

For the defaults: 500 ÷ 200 = 2.5 g/cm³.

Step Four: Convert to your chosen result unit

Divide by the density-unit conversion factor to express the result in your preferred unit.

density in chosen unit = density (g/cm³) ÷ density unit factor

For g/cm³ (factor 1): 2.5 ÷ 1 = 2.5 g/cm³. For kg/m³ (factor 0.001): 2.5 ÷ 0.001 = 2,500 kg/m³.

Common uses

Density comparisons come up constantly — identifying an unknown metal or mineral, checking whether a material will float or sink, calculating shipping weight from a known volume, or verifying that a manufactured part matches its specified material.

About the formula: Density = Mass ÷ Volume. All unit conversions are handled internally by normalising to grams and cm³ before dividing, then converting to your chosen result unit.

Frequently Asked Questions

What is the formula for density?+

Density equals mass divided by volume (ρ = m/V). It tells you how much mass is packed into a given amount of space.

How do I know if something will float in water?+

Compare its density to water's density, which is 1 g/cm³ (or 1000 kg/m³). If an object's density is lower than 1 g/cm³, it will float; if higher, it will sink.

Why do g/cm³ and kg/m³ give different-looking numbers for the same object?+

They're just different unit scales for the same density — 1 g/cm³ always equals exactly 1000 kg/m³, so both numbers describe the same physical density.

Can I enter mass in pounds and volume in liters?+

Yes. Pick any combination of units from the dropdowns and the calculator handles the conversion automatically before computing density.

Related calculators