HomeCalculatorsPhysicsDensity Calculator

Density Calculator

Physics

Calculate density using ρ = m ÷ V. Enter mass and volume to instantly get density in kilograms per cubic meter, with a step-by-step formula breakdown.

01,000,000
01,000,000

Density

5

This calculator computes your Density from the values you enter.

Inputs
MassVolume
Outputs
Density

What is a Density?

The Density Calculator computes the density of any object or substance using ρ = m ÷ V — mass divided by volume. Enter a mass in kilograms and a volume in cubic meters, and the calculator instantly returns the density in kilograms per cubic meter.

Density is a fundamental physical property used across physics, chemistry, engineering, and everyday applications — from determining whether an object floats to identifying unknown materials by comparing calculated density against known reference values.

If you need to compute volume from basic dimensions first, use the Volume Calculator for common shapes like boxes, cylinders, and spheres.

How to use this Density calculator

  1. Enter the mass — the mass of the object or substance in kilograms.

  2. Enter the volume — the volume it occupies in cubic meters. Use the Volume Calculator first if you only have basic dimensions.

  3. Read the density result — the highlighted result shows the density in kilograms per cubic meter.

  4. Compare against reference values — check the result against known material densities to identify or verify a substance.

  5. Check the step-by-step breakdown — expand the calculation steps to see the exact formula substitution.

Formula & Methodology

Density formula:
ρ = m ÷ V

Variable definitions:
- m — mass (kilograms)
- V — volume (cubic meters)
- ρ — density (kilograms per cubic meter)

Worked example:

An object has a mass of 27 kg and a volume of 0.01 m³.

Step 1 — Apply the formula: ρ = 27 kg ÷ 0.01 m³ = 2,700 kg/m³

This density matches that of aluminum, suggesting the object could be made of that material — a common way density calculations are used for material identification.

Note: This calculator computes bulk density (mass over total volume). For porous or composite materials, the result reflects the overall average density, not the density of any individual component.

Frequently Asked Questions

Density is calculated as ρ = m ÷ V, where m is mass in kilograms and V is volume in cubic meters. The result is expressed in kilograms per cubic meter (kg/m³), the standard SI unit of density. This calculator applies that formula directly to whatever mass and volume you enter.
Mass is entered in kilograms (kg) and volume in cubic meters (m³), producing density in kilograms per cubic meter (kg/m³). If your measurements are in other units (grams, liters, cubic centimeters, etc.), convert them to kilograms and cubic meters first for an accurate result.
Divide the kg/m³ result by 1,000 to get grams per cubic centimeter (g/cm³), a common unit for material densities in chemistry and materials science. For example, water's density of 1,000 kg/m³ equals 1 g/cm³.
Water has a density of about 1,000 kg/m³, air at sea level is about 1.2 kg/m³, aluminum is about 2,700 kg/m³, and iron is about 7,870 kg/m³ — a wide range that reflects how tightly packed a material's atoms or molecules are.
Density determines whether an object floats or sinks in a fluid (an object less dense than the fluid floats), affects buoyancy calculations, is used to identify unknown materials, and is a key input for structural engineering, fluid dynamics, and material science calculations.
For simple shapes, calculate volume using the appropriate geometric formula (length × width × height for a rectangular box, or (4/3)πr³ for a sphere) before entering it here. Use the [Volume Calculator](/volume-calculator/) for a range of common shapes if you need help computing volume from dimensions.
Yes — by measuring an object's mass and volume and computing its density, you can compare the result against known reference densities for common materials (metals, plastics, liquids) to identify or narrow down what the material likely is, a common technique in introductory chemistry and materials labs.
Fluid pressure at a given depth depends on the fluid's density (along with gravity and depth), which is why denser fluids like mercury create much higher pressure at the same depth than less dense fluids like water. Use the [Pressure Calculator](/pressure-calculator/) for general force-over-area pressure calculations.
An object floats in a fluid if its overall density is less than the fluid's density, and sinks if its density is greater — this is the basis of Archimedes' principle. A steel ship floats not because steel is less dense than water (it isn't), but because the ship's overall shape (including air-filled space) gives it a lower average density than water.
Specific gravity is a unitless ratio comparing a substance's density to the density of a reference substance (usually water at 1,000 kg/m³), while density itself is expressed in units like kg/m³. To find specific gravity, divide your calculated density by 1,000 (water's density in kg/m³).
Density calculations are used in shipping and packaging (calculating dimensional weight), fuel and chemical storage (converting between mass and volume for tanks), cooking and food science (ingredient substitutions by density), and quality control (verifying material purity or composition).
Yes — most materials expand when heated and contract when cooled, which changes their volume and therefore their density, even though mass stays constant. This calculator computes density at the specific mass and volume you enter, so use measurements taken at the temperature relevant to your scenario.
Also known as
density formula calculatormass volume density calculatorrho calculatordensity in kg/m3 calculatormaterial density calculator