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.

Reviewed by the thecalcu.com team · Last updated July 9, 2026

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.

Why Use a Density Calculator?

ρ = m ÷ V is simple division, but a dedicated calculator saves time when working through multiple materials or objects, and helps avoid unit conversion mistakes that are common when mixing grams, kilograms, liters, and cubic meters.

The result updates live as you adjust mass or volume, and the step-by-step breakdown shows the exact substitution, useful for verifying homework, lab measurements, or engineering material specifications.

Because density is a defining property of materials, this calculator is often used alongside reference density tables to identify unknown substances or verify material purity.

Who Should Use This Calculator?

Physics and chemistry students verifying homework problems or lab measurements involving mass, volume, and density.

Engineers and materials scientists calculating material properties for structural, mechanical, or quality-control purposes.

Shipping and logistics professionals computing density for dimensional weight calculations used in freight pricing.

Teachers demonstrating how density relates to buoyancy, material identification, and everyday phenomena like floating and sinking.

Hobbyists and DIY builders estimating the weight of materials given their volume, or checking material purity by comparing measured density to reference values.

What Insights Does This Calculator Give You?

Density, the single result of the formula, expressed in kilograms per cubic meter (kg/m³), representing how tightly mass is packed into the given volume.

Material comparison, by comparing your calculated density against known reference values (water at 1,000 kg/m³, aluminum at 2,700 kg/m³, etc.), you can estimate what material an object might be made of or verify its composition.

A building block for further calculations, density feeds directly into buoyancy and floating/sinking analysis, fluid pressure calculations (via the Pressure Calculator), and unit conversions like specific gravity.

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.

Show formula & methodology ↓Show less ↑

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

What is the formula for density?
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.
What units does this calculator use?
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.
How do I convert density to grams per cubic centimeter?
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³.
What is a typical density value for common substances?
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.
Why is density important?
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.
How do I find volume if I only have dimensions?
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.
Can density be used to identify an unknown material?
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.
How does density relate to pressure in fluids?
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.
Why do objects float or sink based on density?
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.
What is the difference between density and specific gravity?
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³).
How is density used in everyday and industrial applications?
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).
Does temperature affect density?
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