Density Calculator Online Free Tool

    Density Calculator

    Calculate density (ρ = m/V), volume, or mass. Provide any two values to calculate the third using the density equation.

    Density Formula

    ρ = m / V

    ρ (rho) = density

    m = mass

    V = volume

    Select Calculation Mode

    Choose what you want to calculate

    Input Values

    Enter mass and volume to calculate density

    Calculation Result

    Density (ρ)
    0 kg/m³

    Values Summary

    Density
    kg/m³
    Volume
    1
    Mass
    8900
    kg

    Common Material Densities

    Compare densities of common materials (kg/m³)

    Density is mass divided by volume, expressing how much matter is packed into a given space. This calculator solves for density, mass, or volume when you know any two of the three values. Density determines whether objects float or sink, explains why a kilogram of feathers takes up far more space than a kilogram of lead, and is fundamental in chemistry, materials science, and engineering. Any time you need to identify a material, check if something will float, or calculate how much a volume of material will weigh, density is the key property.

    Density Formula

    The density triangle is a memory tool: place D at the top, M and V side by side at the bottom. To find any variable, cover it with your finger. Covering D reveals M over V (divide mass by volume). Covering M reveals D times V (multiply). Covering V reveals M over D. All three rearrangements come from the same fundamental relationship.

    Density: ρ = m / V Mass: m = ρ × V Volume: V = m / ρ SI unit: kg/m³ Common unit: g/cm³ or g/mL (note: 1 g/cm³ = 1,000 kg/m³)

    Water at 4°C: 1 g/cm³ (or 1,000 kg/m³). Objects denser than water sink; less dense objects float.

    Density of Common Materials

    Densities span many orders of magnitude across different materials. Gases are far less dense than liquids, which are generally less dense than solids. Metals vary widely: aluminum is light enough to use in aircraft, while lead is dense enough to block radiation. Gold's high density (nearly twice that of lead) made it historically difficult to fake with cheaper metals.

    MaterialDensity (g/cm³)Notes
    Air (sea level)0.00120Varies with temperature and pressure
    Styrofoam0.01-0.05Mostly trapped air
    Wood (balsa)0.12Lightest structural wood
    Ice0.917Less dense than liquid water
    Water1.00Reference standard at 4°C
    Concrete2.3Varies by mix design
    Aluminum2.70Structural metal, aircraft
    Iron / Steel7.87Common structural metal
    Lead11.34Radiation shielding, batteries
    Gold19.32One of the densest metals

    Buoyancy and the Float-or-Sink Rule

    An object floats when its average density is less than the fluid it is placed in. This is why a hollow steel ship floats even though steel itself sinks: the ship's total volume (including air-filled interior) gives it an average density below that of water. A submarine controls buoyancy by adjusting how much water fills its ballast tanks, changing its average density above or below 1.0 g/cm³ to dive or surface.

    Buoyant Force = fluid density × volume submerged × g Object floats if: object average density < fluid density Object sinks if: object average density > fluid density

    Average density = total mass / total volume (including any hollow interior).

    Temperature and Density

    Density changes with temperature for all materials. Most substances expand when heated, which increases volume while mass stays constant, so density decreases. Water is a notable exception: it is most dense at 4°C and expands when either cooled below 4°C or heated above it. This is why ice floats and why lakes freeze from the top down rather than from the bottom up, which is essential for aquatic life survival through winter.

    Frequently Asked Questions

    Why does ice float on water?

    Water is unusual in that it expands when it freezes. Ice has a density of 0.917 g/cm³ compared to liquid water at 1.0 g/cm³. This happens because water molecules form a crystalline hexagonal structure in ice that is actually more spread out than in liquid form. Most substances contract and become denser when they solidify. This property is critical for aquatic life: ice floats and forms an insulating layer on top of lakes, preventing complete freezing and allowing organisms to survive underneath.

    What is specific gravity?

    Specific gravity is the ratio of a substance's density to the density of water (1 g/cm³ at 4°C). Because water's reference density is 1 g/cm³, the specific gravity number equals the density in g/cm³ numerically, but specific gravity is dimensionless (no units). Specific gravity above 1 means the substance sinks in water; below 1 means it floats. It is used in brewing to measure alcohol content, in automotive service to check battery electrolyte, and in geology to identify minerals.

    How do you measure the density of an irregularly shaped object?

    Use water displacement, known as the Archimedes method. First, weigh the object to get its mass. Then partially fill a graduated cylinder with water and record the level. Submerge the object completely (tie a thread to it if needed to prevent floating). The rise in water level equals the object's volume. Calculate density = mass / volume displaced. This is how Archimedes reportedly detected that a king's crown was not pure gold by finding its density lower than expected.

    What is population density?

    Population density equals the number of people divided by the land area, expressed in people per square kilometer or square mile. The world average is about 60 people per km². Bangladesh is among the most densely populated countries at over 1,000 people/km². Australia averages about 3 people/km². Within countries, population density varies enormously: Manhattan, New York exceeds 27,000 people/km², while rural counties may have fewer than 1 person/km². Population density affects infrastructure planning, housing costs, and public services.

    How is density used in material identification?

    Because each pure material has a characteristic density, measuring density can help identify unknown substances. A metal object with density around 19.3 g/cm³ is almost certainly gold. One at 11.3 g/cm³ is lead. This works best for pure materials; alloys and composites have densities between those of their components. Gemologists use specific gravity measurements to distinguish genuine gemstones from imitations, since real rubies (4.0 g/cm³) are much denser than glass fakes (2.5 g/cm³).