🇺🇸 USC
Math
🧪

Density Calculator

Solve density, mass or volume with rho = mass ÷ volume

Last updated June 15, 2026

Method: Uses the exact, standard physics definition density = mass ÷ volume (rho = m / V), rearranged to solve for any one of the three. All inputs are converted to grams and cubic centimeters internally, then the result is converted to your chosen unit using fixed SI/US conversion factors.

Included: Solving for density, mass, or volume; mass units g, kg, mg, lb, oz; volume units cm³/mL, m³, L, ft³, in³; density output in g/cm³, kg/m³, and lb/ft³ side by side.

Not included: Temperature and pressure corrections, buoyancy effects, mixtures and porosity. Results assume a uniform sample measured at one set of conditions.

🧪 What do you want to solve for?

🧪 Density

2.5g/cm³
g/cm³
2.5
kg/m³
2,500
lb/ft³
156.069901

🔁 Formula used

density = mass ÷ volume

Inputs are converted to grams and cubic centimeters, the calculation is done in g/cm³, then the answer is converted back to your chosen unit. 1 g/cm³ = 1,000 kg/m³ ≈ 62.428 lb/ft³.

Density is a deterministic ratio (mass divided by volume). Results assume a uniform sample at a single temperature; real-world density shifts slightly with temperature and pressure.

Density calculator: how it works and how to use it

A density calculator finds density, mass, or volume from any two of them using ρ = mass ÷ volume. Enter mass and volume and it divides one by the other: a 250 g object filling 100 cm³ has a density of 250 ÷ 100 = 2.5 g/cm³ (2,500 kg/m³, or about 156 lb/ft³). Switch tabs to solve for mass or volume instead.

Density is a ratio, so it sits alongside our other math ratios. Use this tool for mass-per-volume; for a share of a whole use the Percentage Calculator, for growth between two numbers the Percentage Increase Calculator or the signed Percentage Change Calculator, and for a marked-down price the Discount Calculator.

The density formula

Density (the Greek letter rho, ρ) is defined as mass divided by volume:

ρ = m ÷ V

Rearranged, the same equation gives you mass or volume when density is known:

m = ρ × V   and   V = m ÷ ρ

Here m is mass, V is volume, and ρ is density. Density is an intensive property - it does not change with the amount of material. A teaspoon of pure gold and a gold bar have identical density (19.3 g/cm³); only their mass and volume differ.

A worked example

Suppose you have an object with a mass of 250 grams and a volume of 100 cubic centimeters. Plug those into the formula:

ρ = 250 g ÷ 100 cm³ = 2.5 g/cm³

So the density is 2.5 g/cm³. Because 1 g/cm³ equals 1,000 kg/m³, that is also 2,500 kg/m³, and multiplying by 62.428 gives about 156.1 lb/ft³. A density of 2.5 g/cm³ is in the range of glass and many rocks. The calculator above shows all three units at once so you do not have to convert by hand.

How much does a 100 cm³ block weigh?

Rearranged to mass = density × volume, the same formula tells you the weight of a fixed-size block of each material. This table fixes the volume at 100 cm³ (about the size of a small ice cube tray cell) and multiplies by each density.

Material Density (g/cm³) Mass (g) Mass (kg) Mass (lb)
Pine wood0.4242.00.0420.093
Water1.00100.00.1000.220
Glass2.50250.00.2500.551
Aluminum2.70270.00.2700.595
Steel7.85785.00.7851.731
Copper8.96896.00.8961.975
Lead11.341,134.01.1342.500
Gold19.301,930.01.9304.255

The same 100 cm³ of gold outweighs the pine by more than 45 to 1 - a vivid illustration of what density measures. To run this for any material and size, switch to the Mass tab and enter its density and your volume.

How to use this density calculator

  1. Pick what to solve for. Use the Density, Mass, or Volume tabs at the top of the calculator. The input fields change to ask only for the values you need.
  2. Enter the known values. Type the numbers and pick a unit from each dropdown - for example, 250 g and 100 cm³.
  3. Choose the answer unit. The "Answer in" dropdown sets the unit for the value you are solving for; for density you can choose g/cm³, kg/m³, or lb/ft³.
  4. Read the result. The large number is your answer, and the rows beneath it show the same result expressed in other common units.

The math runs instantly in your browser. Nothing is uploaded, and you can change inputs and recalculate as many times as you want.

Who this calculator is for

  • Students in physics, chemistry, and earth science checking density, specific gravity, or unit-conversion problems.
  • Makers and hobbyists estimating the weight of a 3D print, casting, or block of material before they buy or ship it.
  • Engineers and trades converting between metric g/cm³ or kg/m³ and US lb/ft³ for material specs and load calculations.
  • Cooks and brewers relating volume to weight for ingredients, where density (specific gravity) bridges the two.
  • Anyone identifying a material by comparing a measured density against published values for metals, plastics, and liquids.

Measuring mass and volume

The calculator is only as accurate as your two measurements. Mass is easy: weigh the sample on a scale and use grams or pounds. Volume is where most errors creep in. For a regular shape you can compute volume from dimensions - a cube's volume is side cubed, a cylinder's is π r² h. For an irregular object, use water displacement: fill a graduated container, record the level, submerge the object fully, and read the new level. The rise in volume is the object's volume, because each milliliter of water displaced equals one cubic centimeter. This is the trick attributed to Archimedes and it works for any shape that does not absorb water.

Density units and converting between them

Three units cover almost every real situation, and they are all in this tool:

  • g/cm³ (grams per cubic centimeter) - common in chemistry and labs. Numerically equal to g/mL, because 1 cm³ = 1 mL.
  • kg/m³ (kilograms per cubic meter) - the SI unit, used in physics and most of the scientific world. 1 g/cm³ = 1,000 kg/m³.
  • lb/ft³ (pounds per cubic foot) - common in US construction and engineering. 1 g/cm³ ≈ 62.428 lb/ft³.

To convert g/cm³ to kg/m³, multiply by 1,000; to go back, divide by 1,000. To convert g/cm³ to lb/ft³, multiply by about 62.43. When you solve for density, the calculator prints all three so you can copy whichever your problem needs.

g/cm³ g/mL kg/m³ lb/ft³
0.500.5050031.21
0.750.7575046.82
1.001.001,00062.43
1.501.501,50093.64
2.002.002,000124.86
2.702.702,700168.56
5.005.005,000312.14
7.857.857,850490.06
10.0010.0010,000624.28
11.3411.3411,340707.93
19.3019.3019,3001,204.86

Typical densities for reference

Comparing your result to known values is a quick sanity check and a way to identify an unknown material. Approximate densities at room temperature:

  • Air: ~0.0012 g/cm³ (1.2 kg/m³)
  • Cork: ~0.24 g/cm³ - floats easily
  • Water: ~1.00 g/cm³ (1,000 kg/m³) - the reference point
  • Concrete: ~2.4 g/cm³
  • Aluminum: ~2.70 g/cm³
  • Steel: ~7.85 g/cm³
  • Lead: ~11.34 g/cm³
  • Gold: ~19.30 g/cm³

Anything denser than water (above 1 g/cm³) sinks; anything less dense floats. That single rule explains why ice floats, why oil sits on water, and why a steel ship - mostly hollow air space - stays afloat even though steel itself sinks.

Density of common materials in g/cm³, kg/m³, and lb/ft³

This reference table converts each material's approximate room-temperature density into all three units and flags whether it floats in water. Values are approximate and shift with temperature, alloy, and purity.

Material g/cm³ kg/m³ lb/ft³ Specific gravity In water
Air (~20 °C)0.00121.20.070.0012floats
Cork0.2424014.980.24floats
Pine wood0.4242026.220.42floats
Ice (0 °C)0.9292057.430.92floats
Water (4 °C)1.001,00062.431.00reference
Concrete2.402,400149.832.40sinks
Glass2.502,500156.072.50sinks
Aluminum2.702,700168.562.70sinks
Titanium4.514,510281.554.51sinks
Steel7.857,850490.067.85sinks
Copper8.968,960559.358.96sinks
Silver10.4910,490654.8710.49sinks
Lead11.3411,340707.9311.34sinks
Gold19.3019,3001,204.8619.30sinks

Specific gravity

Specific gravity is just density measured against water. Because water is about 1 g/cm³, a material's specific gravity is numerically nearly the same as its density in g/cm³ but carries no units. A mineral with a density of 3.5 g/cm³ has a specific gravity of about 3.5, meaning it is 3.5 times as heavy as an equal volume of water. Geologists and gemologists lean on specific gravity to tell similar-looking minerals apart, since it is a fixed, easily measured property.

What changes a material's density

  • Temperature: heating most substances expands their volume and lowers density. This is why hot air rises and why density is quoted at a stated temperature.
  • Pressure: gases compress dramatically under pressure, raising density; liquids and solids change much less.
  • Phase: the same substance has very different densities as a solid, liquid, or gas - steam is far less dense than liquid water.
  • Composition and purity: alloys, impurities, and air pockets (porosity) shift the measured density away from the pure-material value.
  • Dissolved substances: salt water is denser than fresh water, which is why you float more easily in the ocean.

Tips for accurate results

  • Keep units consistent in your head even though the calculator handles conversion - it helps you spot a wrong dropdown choice.
  • Remove trapped air when measuring volume by displacement; bubbles clinging to an object inflate the volume and lower the density.
  • Use enough significant figures on your scale and graduated cylinder; a small mass or volume error has an outsized effect on the ratio.
  • Note the temperature if precision matters, especially for liquids, and compare against reference values measured at the same temperature.

Limitations and assumptions

This is a planning and learning tool, not a metrology instrument. Keep these assumptions in mind:

  • It assumes a uniform sample - one material with no voids or layers. Porous or composite objects give an "average" bulk density, not the true material density.
  • It does not correct for temperature or pressure; the result is exact only for the conditions at which you measured.
  • It ignores buoyancy of air on the scale, which is negligible for everyday work but matters in precise lab measurements.
  • Conversions use fixed factors (1 g/cm³ = 1,000 kg/m³ = 62.428 lb/ft³), so any error comes from your input values, not the math.

Where density shows up in real life

Density is not just a textbook number - it quietly decides outcomes all around you. In shipping and logistics, carriers charge by a blend of weight and space, and a low-density package (light but bulky) can cost more than a small heavy one; that is exactly why freight class is built on density. In cooking and baking, a cup of flour and a cup of honey weigh very different amounts because their densities differ, which is why precise recipes give weights, not volumes. In medicine, urine and blood density (specific gravity) are routine diagnostic clues. In metallurgy and recycling, density separates aluminum from steel from lead on a sorting line. And in everyday safety, the fact that gasoline floats on water - it is less dense - is why a fuel fire cannot simply be put out with water.

Once you can measure mass and volume, this density calculator turns those two everyday numbers into the property that explains all of the above. The same rho = mass ÷ volume relationship that a student uses for a homework cube is what an engineer uses to spec a beam and what a jeweler uses to flag a fake gold coin: real 24-karat gold must come in at about 19.3 g/cm³, and a lighter reading gives the counterfeit away.

Related calculators

Density is a ratio, so these tools pair naturally with it. To work the underlying arithmetic, use the Ratio Calculator or the Percentage Calculator. For trig, logs, and powers you can reach for the Scientific Calculator, and to average several repeated density measurements use the Average Calculator or the Standard Deviation Calculator.

About this formula

Density = mass ÷ volume is a fundamental, exact definition in physics - it needs no external data source, only your two measurements. The conversion constants used here are the standard SI and US customary definitions: 1 kilogram = 1,000 grams, 1 meter = 100 centimeters (so 1 m³ = 1,000,000 cm³), 1 pound = 453.59237 grams, and 1 cubic foot = 28,316.846592 cm³. Combining them gives the published equivalences 1 g/cm³ = 1,000 kg/m³ = 62.428 lb/ft³.

⚠️ Common mistakes & edge cases

Mixing up mass and weight

Density uses mass (grams, kilograms, pounds-mass), not force. On Earth the numbers line up, but never plug in newtons. Weigh in grams or pounds and you are fine.

Inconsistent units

Entering mass in grams but volume in cubic meters without telling the calculator gives a wildly wrong answer. Always set the dropdown to match what you measured; the tool then converts correctly.

Trapped air in displacement

Bubbles clinging to an object during water displacement add fake volume and make the density read too low. Tap the object or tilt the container to release them before reading the level.

Comparing densities at different temperatures

A liquid's density at 80 °C is not its density at 20 °C. When you match a measured value against a reference table, make sure both are at the same temperature.

Note: Results assume a uniform sample measured at one temperature and pressure. Porous, layered, or mixed materials give a bulk average, not the true material density.

❓ Frequently asked questions

How do I use this density calculator?

Pick what you want to solve for - density, mass, or volume - using the three tabs. Then enter the two known values and choose their units. For density, type the mass and the volume; the calculator converts both to grams and cubic centimeters, divides mass by volume, and shows the result in your chosen density unit (g/cm³, kg/m³, or lb/ft³). The answer also appears in the other two density units for quick comparison.

What is the density formula?

Density equals mass divided by volume: rho = m / V. Rearranged, mass = density × volume (m = rho × V) and volume = mass ÷ density (V = m / rho). This density calculator solves any of the three as long as you supply the other two. Density is an intensive property, so it does not depend on how much of the substance you have - a gram of pure aluminum and a ton of it have the same density.

What units does density use?

The SI unit is kilograms per cubic meter (kg/m³). In labs and everyday work, grams per cubic centimeter (g/cm³), which is identical to grams per milliliter (g/mL), is common. In the US, pounds per cubic foot (lb/ft³) is used for construction and engineering. This calculator supports all three. The conversion key numbers are 1 g/cm³ = 1,000 kg/m³ = 62.428 lb/ft³.

How do I calculate the density of an object?

Measure the object's mass on a scale and its volume. For a regular shape, compute the volume from its dimensions; for an irregular object, use water displacement - submerge it and measure how much the water level rises, since 1 mL of water displaced equals 1 cm³ of volume. Then divide mass by volume. For example, an object with a mass of 250 g and a volume of 100 cm³ has a density of 2.5 g/cm³.

What is the density of water?

Pure water at 4 °C, its densest point, is about 1.000 g/cm³, which equals 1,000 kg/m³ or roughly 62.4 lb/ft³. At room temperature (around 20-25 °C) it is slightly lower, near 0.997-0.998 g/cm³. Water is the reference point for specific gravity: a material with a density above 1 g/cm³ sinks in water, and one below it floats.

Why does temperature change density?

Most substances expand when heated, so the same mass occupies more volume and the density falls. Because density is mass over volume, any change in volume changes density even though the mass stays constant. This is why density values are usually quoted at a specific temperature (often 20 °C or 25 °C), and why this calculator's result is exact only for the conditions at which you measured the mass and volume.

What is specific gravity and how is it related to density?

Specific gravity is the ratio of a material's density to the density of water (about 1 g/cm³ at 4 °C). Because you divide by 1, the specific gravity is numerically almost the same as the density in g/cm³ but has no units. A material with a density of 2.7 g/cm³ has a specific gravity of about 2.7 and is 2.7 times as dense as water.

How do I convert g/cm³ to kg/m³?

Multiply by 1,000. One gram per cubic centimeter equals 1,000 kilograms per cubic meter, because there are 1,000 grams in a kilogram and 1,000,000 cubic centimeters in a cubic meter, and 1,000,000 ÷ 1,000 = 1,000. So aluminum at 2.70 g/cm³ is 2,700 kg/m³. This calculator shows the kg/m³ and lb/ft³ equivalents automatically whenever you solve for density.

Can I find mass or volume instead of density?

Yes. Switch to the Mass tab to compute mass from a known density and volume (mass = density × volume), or the Volume tab to compute volume from a known mass and density (volume = mass ÷ density). This is handy when you know what a material is - and therefore its density - but need to know how much a given block weighs or how much space a given mass takes up.

How do I convert g/cm³ to lb/ft³?

Multiply by 62.428. One gram per cubic centimeter equals about 62.428 pounds per cubic foot, so aluminum at 2.70 g/cm³ is 2.70 × 62.428 ≈ 168.6 lb/ft³, water at 1.00 g/cm³ is about 62.43 lb/ft³, and lead at 11.34 g/cm³ is about 707.9 lb/ft³. Whenever you solve for density, the calculator prints the lb/ft³ value automatically.

How much does a 100 cm³ block of a material weigh?

Multiply the material's density in g/cm³ by 100, because mass = density × volume. A 100 cm³ block of aluminum (2.70 g/cm³) weighs 270 g (0.595 lb), steel (7.85 g/cm³) weighs 785 g (1.73 lb), and gold (19.30 g/cm³) weighs 1,930 g - nearly 2 kg, or about 4.26 lb. Switch to the Mass tab to run this for any density and volume.

Is this density calculator free?

Yes. This density calculator is completely free, with no sign-up and no limit on how many calculations you can run. Enter mass and volume, switch units, or solve for mass or volume as many times as you like. All math runs in your browser, so nothing you type is sent anywhere.

💡 Good to know

Float-or-sink in one number

Anything denser than water (more than 1 g/cm³) sinks; anything less dense floats. That single comparison explains floating ice, oil slicks, and why a hollow steel ship stays up.

g/cm³ equals g/mL

A cubic centimeter and a milliliter are the same volume, so density in g/cm³ and g/mL are identical numbers. That makes it easy to switch between solids measured in cm³ and liquids measured in mL.

Use density to identify materials

Measure mass and volume, get the density, then compare it to a reference list. A 2.7 g/cm³ metal is almost certainly aluminum; 7.85 g/cm³ points to steel. It is a fast, non-destructive ID method.

Related Calculators