Skip to main content

Calcu.fit

Density Calculator: Find Density, Mass, or Volume

Use this free density calculator to find density, mass, or volume when you know the other two. It uses the formula density = mass ÷ volume, works with common units (g/cm³, kg/m³, g/mL, kg/L, lb/ft³), and can find the volume of a box, cylinder, or sphere for you. It also includes a density table of common materials and shows the steps. No signup needed.

Density Calculator

Calculate the density of an object using its mass and volume. Choose your preferred units and get accurate results instantly.

Enter Values

Calculation Result

Density
2 g/cm³
Mass in kg
0.1 kg
Volume in m³
0.00005 m³
Density in kg/m³
2,000 kg/m³
Density in g/cm³
2 g/cm³

Formula

Density = Mass ÷ Volume

Calculation Steps

Mass = 100 g Volume = 50 cm³ Density = 100 ÷ 50 Density = 2 g/cm³

Understanding Density

Density measures how much mass is contained in a given volume. A higher density means more mass is packed into the same amount of space. The standard SI unit of density is kilograms per cubic meter (kg/m³).

How to Use This Density Calculator

You can also choose a material from the list to use its typical density.

  1. Choose what you want to find: density, mass, or volume.
  2. Enter the two values you know, and choose their units.
    • To enter a volume from dimensions, choose a shape (box, cylinder, or sphere) and enter its sizes.
  3. Click Calculate.

What You’ll See in Your Results

  • The value you asked for (density, mass, or volume)
  • The result in several units (such as g/cm³, kg/m³, and lb/ft³)
  • The specific gravity (density compared with water)
  • Whether the object would float or sink in water
  • Steps with your numbers

What Is Density?

Density tells you how much mass is packed into a given volume. A dense material has a lot of mass in a small space, and a less dense material has less.

Density = Mass ÷ Volume

The symbol for density is ρ (the Greek letter “rho”):

ρ = m ÷ V

For example, 200 g of a material that takes up 80 cm³ has a density of 200 ÷ 80 = 2.5 g/cm³.

Density does not depend on the amount: a small piece and a large piece of the same pure material have the same density.

Density Formulas

Density: ρ = m ÷ V

Mass: m = ρ × V

Volume: V = m ÷ ρ

Specific gravity: SG = ρ(material) ÷ ρ(water). It has no units.

Volumes of common shapes:

ShapeVolume
Box (cuboid)length × width × height
Cylinderπ × radius² × height
Sphere(4/3) × π × radius³
Cubeside³

Mixture (if the volumes add up): ρ = (m₁ + m₂) ÷ (V₁ + V₂)

Units of Density

UnitEquals
1 g/cm³= 1 g/mL = 1 kg/L = 1,000 kg/m³
1 kg/m³= 0.001 g/cm³
1 g/cm³= 62.43 lb/ft³
1 lb/ft³= 16.018 kg/m³
1 lb/in³= 27.68 g/cm³

Mass is not weight. Density uses mass (in grams or kilograms). Weight is a force that depends on gravity.

Density Calculator Examples

All answers are rounded for display.

Example 1: Find the Density

A sample has a mass of 200 g and a volume of 80 cm³.

  • ρ = 200 ÷ 80 = 2.5 g/cm³ (2,500 kg/m³)

Example 2: Find the Mass

Aluminum has a density of about 2.70 g/cm³. What is the mass of 150 cm³?

  • m = 2.70 × 150 = 405 g

Example 3: Find the Volume

Ethanol has a density of about 0.789 g/mL. What volume is 500 g?

  • V = 500 ÷ 0.789 = 633.7 mL

Example 4: An Irregular Object (Water Displacement)

An object with a mass of 54 g is put into a measuring cylinder. The water level rises from 40 mL to 60 mL.

  • Volume = 60 − 40 = 20 mL = 20 cm³
  • ρ = 54 ÷ 20 = 2.7 g/cm³ (close to aluminum)

Example 5: A Box

A block that is 10 cm by 5 cm by 2 cm has a mass of 250 g.

  • Volume = 10 × 5 × 2 = 100 cm³
  • ρ = 250 ÷ 100 = 2.5 g/cm³

Example 6: A Cylinder

A cylinder with a radius of 3 cm and a height of 10 cm has a mass of 2.2 kg (2,200 g).

  • Volume = π × 3² × 10 = 282.74 cm³
  • ρ = 2,200 ÷ 282.74 = 7.78 g/cm³ (about the density of steel)

Example 7: Converting Units

  • 1 g/cm³ = 1,000 kg/m³ = 62.43 lb/ft³
  • Iron at 7.87 g/cm³ = 7,870 kg/m³ = 491.3 lb/ft³

Example 8: A Concrete Slab

Concrete has a density of about 2,400 kg/m³. What is the mass of 1.2 m³?

  • m = 2,400 × 1.2 = 2,880 kg

(See our Concrete Calculator for estimating volume and materials.)

Example 9: The Air in a Room

Air at about 20 °C has a density of about 1.204 kg/m³. A room is 4 m by 5 m by 3 m.

  • Volume = 60 m³
  • Mass = 1.204 × 60 = 72.2 kg

Example 10: Floating or Sinking

An object floats in a liquid if its density is less than the liquid’s, and sinks if it is more.

  • Ice (about 0.917 g/cm³) in water (about 1.00 g/cm³): ice floats, with about 92% of it below the surface (0.917 ÷ 1.00).
  • Iron (7.87 g/cm³) in water: iron sinks.

Example 11: Mixing Two Liquids

Mix 300 g of liquid A (density 1.0 g/mL) with 200 g of liquid B (density 0.8 g/mL).

  • Volume of A = 300 ÷ 1.0 = 300 mL
  • Volume of B = 200 ÷ 0.8 = 250 mL
  • Total volume = 550 mL (if the volumes add up), and total mass = 500 g
  • ρ = 500 ÷ 550 = 0.909 g/mL

Real mixtures can shrink or expand a little, so the volumes may not add up exactly.

Example 12: Specific Gravity

Ethanol has a density of 0.789 g/cm³, and water has about 1.00 g/cm³.

  • SG = 0.789 ÷ 1.00 = 0.789 (less than 1, so ethanol floats on water if the two do not mix)

Example 13: Copper

What is the mass of 100 cm³ of copper (8.96 g/cm³)?

  • m = 8.96 × 100 = 896 g

Example 14: Lead

What is the mass of 50 cm³ of lead (11.34 g/cm³)?

  • m = 11.34 × 50 = 567 g

Density of Common Materials (Approximate)

Values are at room temperature (about 20 °C) unless stated. Real values vary.

MaterialDensity (g/cm³)Density (kg/m³)
Air (20 °C, sea level)0.0012041.204
Gasoline (varies)about 0.74about 740
Ethanol0.789789
Ice (0 °C)0.917917
Olive oilabout 0.91about 910
Water (4 °C)1.0001,000
Water (20 °C)0.998998
Seawaterabout 1.025about 1,025
Milkabout 1.03about 1,030
Wood (varies by type)about 0.4 to 0.9about 400 to 900
Concreteabout 2.4about 2,400
Glass (typical)about 2.5about 2,500
Aluminum2.702,700
Titaniumabout 4.5about 4,500
Iron7.877,870
Steel (typical)about 7.85about 7,850
Copper8.968,960
Silver10.4910,490
Lead11.3411,340
Mercury13.5313,530
Gold19.3219,320
Platinum21.4521,450

Alloys, woods, glass, and fuels vary a lot, so use the value from your own material’s data sheet when you can.

What Changes Density?

  • Temperature: most materials expand when heated, so their density falls. Water is unusual: it is densest at about 4 °C.
  • Pressure: this matters a lot for gases, and very little for solids and liquids.
  • Composition and purity: alloys, mixtures, and impurities change density.
  • Porosity and moisture: wood, soil, and concrete can hold air or water.
  • State: the same substance can have different densities as a solid, a liquid, or a gas.

Density and Identifying a Material

A measured density can hint at what a material is. A block with a density near 2.7 g/cm³ might be aluminum. But different materials can have similar densities, and alloys and impurities change the value. Density alone cannot confirm the identity or purity of a material, and it is not a reliable test for valuable items such as jewelry or metals. For those, use proper testing by qualified people.

Where Density Is Used

  • Science and school labs: identifying materials and understanding floating and sinking
  • Engineering and construction: the mass of concrete, steel, soil, and other materials
  • Shipping and logistics: mass and volume of goods
  • Cooking and brewing: liquids and solutions
  • Weather and flying: air density
  • Swimming and boats: buoyancy
  • Chemistry: concentrations and solutions

Common Mistakes

  • Mixing units (for example, grams with cubic meters). Convert first.
  • Using weight instead of mass. Density uses mass.
  • Using the wrong volume for a hollow object. Density formulas use the volume the material actually occupies, not the volume of the outer shape.
  • Using the density of a pure material for a mixture or an alloy.
  • Forgetting temperature for precise work.
  • Dividing the wrong way. Density = mass ÷ volume, not volume ÷ mass.
  • Rounding too early.
  • Assuming that a high-density object always sinks. A ship floats because its overall shape holds a lot of air.

Tips for Using a Density Calculator

  • Use consistent units, or let the calculator convert them for you.
  • For an irregular object, measure volume by water displacement (if the object does not absorb or react with water).
  • Estimate first: a value near 1 g/cm³ should be close to water.
  • Use the right material value for your temperature and type.
  • Keep extra digits until the final step.
  • Check that your answer is reasonable: gold should be much denser than aluminum.

Density Calculator vs. Other Tools

  • Concrete Calculator: the volume and materials for a pour.
  • Surface Area Calculator: the surface of cubes, cylinders, spheres, and more.
  • Circle Calculator: area and circumference (useful for cylinder bases).
  • Conversion Calculator: convert length, weight, volume, and more.
  • Ratio Calculator: simplify and scale ratios.

Frequently Asked Questions (FAQ)

What is density?

Density is the mass of a material per unit of volume. The formula is density = mass ÷ volume.

Divide the mass by the volume. For a mass of 200 g and a volume of 80 cm³, the density is 2.5 g/cm³.

Multiply the density by the volume. For aluminum (2.70 g/cm³) and a volume of 150 cm³, the mass is 405 g.

Divide the mass by the density. For 500 g of ethanol (0.789 g/mL), the volume is 633.7 mL.

 About 1.000 g/cm³ (1,000 kg/m³) at 4 °C, and about 0.998 g/cm³ at 20 °C.

Common units are g/cm³, g/mL, kg/L, kg/m³, and lb/ft³. 1 g/cm³ equals 1,000 kg/m³.

Measure its mass with a scale, and its volume by water displacement. The difference in water level is the volume. Then divide the mass by the volume.

Ice has a lower density (about 0.917 g/cm³) than liquid water (about 1.00 g/cm³).

 The density of a material divided by the density of water. It has no units. A specific gravity below 1 means the material floats on water.

Yes. Most materials expand when warmed, so their density falls.

It can give a hint, but it cannot confirm the identity or purity. Alloys and impurities change density.

 Yes. It is free, with no registration and no limits.

It uses the standard formula and the numbers you enter. Material densities in the table are approximate.

Disclaimer

This calculator is for general and educational use. Density values for materials are approximate and change with temperature, pressure, composition, and purity. Use data from your own material’s data sheet for engineering, safety, or trade. Density alone cannot confirm the identity or purity of a material. For valuable items, use proper testing by qualified people.