My Calculator

Density Calculator

Calculate density, mass, or volume with rho = m/V. Convert kilograms, grams, pounds, litres, gallons, kg/m3, g/cm3, g/mL, and lb/ft3.

Density1,000 kilograms per cubic metre (kg/m3)
Density in kg/m31,000
Density in g/cm31
Formula usedrho = m / V

Density Lab Visual

The display uses the same SI values as the calculation: density = mass divided by volume.

Fluid sampleMeasured mass and volume feed the density calculationDIGITAL SCALE1 kgVolume: 0.001 m3mass / volumerho = m / VDENSITY1,000kg/m3SI calculation result

Step-by-Step Density Calculation

Here's exactly how this answer was calculated, one step at a time.

Given: mass = 1 kg, volume = 0.001 m3, density = 1,000 kg/m3

  1. Step 1: Write the formula

    Density is mass per unit volume; the same formula can be rearranged to find mass or volume.

    rho = m / V
  2. Step 2: Convert to SI units

    m = 1 kg, V = 0.001 m3, rho = 1,000 kg/m3
  3. Step 3: Substitute the known values

    rho = 1 / 0.001
  4. Step 4: Convert to the selected unit

    1,000 kilograms per cubic metre (kg/m3)

The density calculation result is:

1,000 kilograms per cubic metre (kg/m3)

Density Calculator: Mass, Volume, and Unit Conversion

This free Density Calculator finds density from mass and volume, mass from density and volume, or volume from mass and density. Use it for fluid mechanics, chemistry, engineering, classroom problems, and everyday material comparisons. The calculator works from the relationship rho = m/V, where rho is density, m is mass, and V is volume. Choose familiar units before entering values, then read the answer in the unit that fits your question.

The density unit converter supports kilograms, grams, milligrams, metric tonnes, pounds, and ounces for mass. Volume options include cubic metres, litres, millilitres, cubic centimetres, cubic feet, cubic inches, US gallons, and UK gallons. Density can be displayed in kg/m3, g/cm3, g/mL, kg/L, lb/ft3, or pounds per US gallon. Each calculation is converted to compatible SI units first, so mixed input units can be used safely.

Density Formula and Meaning

Density means how much mass is contained in a given volume. The basic density formula is rho = mass divided by volume. A compact object with a large mass in a small space has high density. A large object with little mass has low density. For example, a kilogram of steel occupies much less space than a kilogram of foam, so steel is denser even though both samples have the same mass.

The formula can be rearranged for common questions. To find mass, multiply density by volume: m = rho x V. To find volume, divide mass by density: V = m/rho. In SI form, mass is kilograms, volume is cubic metres, and density is kilograms per cubic metre. If you use grams and millilitres, the resulting unit is g/mL. Keep units consistent or use this density converter to do the conversion for you.

How to Calculate Density From Mass and Volume

Select Density in the first menu. Enter the known mass, choose its unit, enter the known volume, and choose its unit. The calculator converts both values to kilograms and cubic metres, divides mass by volume, and converts the final number into the density unit you selected. The worked steps show the SI values used in the formula. This makes the result easier to check in a physics notebook or lab report.

For a simple example, suppose a liquid has a mass of 500 g and a volume of 500 mL. Convert 500 g to 0.5 kg and 500 mL to 0.0005 m3. Dividing gives 1000 kg/m3. That is also 1 g/mL and 1 kg/L. These equivalent values demonstrate why density conversion is important: the number changes with the unit, but the physical property of the sample does not.

Common Density Units Explained

Kilograms per cubic metre, written kg/m3, is the standard SI density unit used in physics and engineering. Water near room temperature is close to 1000 kg/m3. Grams per cubic centimetre and grams per millilitre are convenient for laboratory measurements because one cubic centimetre has the same volume as one millilitre. A density of 1 g/cm3 is equal to 1 g/mL, 1 kg/L, and 1000 kg/m3.

Imperial and US customary problems may use pounds per cubic foot or pounds per gallon. A US gallon and a UK gallon are not the same size, so always select the correct gallon option. In technical work, write the full unit rather than only the number. Reporting a density as 0.8 without a unit is incomplete; it could mean 0.8 g/mL, 0.8 kg/L, or another quantity entirely.

Density of Water and Everyday Materials

Water is often used as a reference because its density is approximately 1 g/mL or 1000 kg/m3 near 4 degrees Celsius. Temperature changes water density slightly, so a precise scientific problem may give a temperature. Ice is less dense than liquid water, which is why ice floats. Many cooking oils are less dense than water and can form a layer above it, while many metals are much denser and sink quickly.

Density does not depend on the total amount of a uniform material. A small piece of aluminium and a large block of aluminium have the same density if they are at the same conditions. Their masses and volumes differ by the same proportion. Mixtures are different: salt water, muddy water, and humid air can have density values that depend on composition. Measure the actual sample when accuracy matters.

Density, Floating, and Buoyancy

Density helps predict whether an object floats in a fluid. An object with average density lower than the surrounding fluid can float because displaced fluid provides an upward buoyant force. If its average density is greater than the fluid density, it tends to sink. A steel ship can float even though steel itself is dense because the ship's hull includes a large volume of air, reducing the average density of the whole vessel.

This principle is useful in fluid mechanics, hydrometers, ship design, balloons, and material identification. However, density alone is not a complete safety calculation. Shape, trapped air, fluid motion, pressure, temperature, and load distribution can affect a real object. Use a buoyancy calculation when you need the force from displaced fluid, and use hydrostatic pressure tools for pressure caused by depth.

Practical Uses of a Mass Density Calculator

Students use a density formula calculator to solve homework questions and check laboratory measurements. In a lab, measure mass with a balance and volume with a graduated cylinder, pipette, or dimensions of a regular solid. Engineers use density when estimating material weight, storage capacity, flow behaviour, and buoyancy. Geologists compare mineral density, while food and manufacturing teams may use it as a quality-control measurement.

For irregular solids, volume can be found by water displacement if the object does not dissolve or react with water. Record the initial and final liquid levels; the difference is the object's volume. Then divide the measured mass by that displaced volume. Careful measurement matters because a small reading error can have a large effect when the volume is small. Use suitable instruments and report uncertainty when accuracy is important.

Tips for Accurate Density Calculations

Check that mass and volume are positive values and that the selected units match the values you entered. Do not type a gram value while the unit menu says kilograms. For liquid measurements, read the bottom of the meniscus at eye level where appropriate. Remove air bubbles from measuring equipment, dry the outside of containers, and tare the balance before weighing. These small steps improve the quality of an experimental density result.

Temperature is especially important for gases and liquids. Heating normally expands a material, raising its volume and lowering density if its mass stays the same. Pressure can also matter for gases. For a textbook calculation, use the conditions supplied in the problem. For professional work, use approved material data and relevant temperature and pressure standards. This tool provides transparent arithmetic, but it cannot replace validated engineering or laboratory procedures.

Density of Gases, Liquids, and Solids

The same density formula applies to every state of matter, but measurement conditions are not equally important for each one. Solids normally change volume only a little with ordinary temperature changes, so a published density is often a useful estimate. Liquids expand more noticeably as they warm. Gases are the most sensitive because both temperature and pressure can change their volume substantially. A stated gas density is meaningful only when the temperature and pressure are known.

For an ideal-gas problem, density can also be related to molar mass, pressure, and temperature. That is a different route to the same physical property and is useful when a gas mass and volume have not been measured directly. Do not apply a room-temperature density value to a hot compressed gas without checking its conditions. In fluid mechanics, density affects pressure variation, flow calculations, buoyancy, and momentum. Selecting an appropriate value is as important as carrying out the arithmetic correctly.

Unit Conversion Checks and Reporting

A quick conversion check can catch many errors. One litre is one thousand millilitres, and one cubic metre is one thousand litres. One cubic centimetre equals one millilitre. Therefore 1 g/mL is the same physical density as 1000 kg/m3, not 1 kg/m3. The apparent factor of one thousand comes from converting both the mass and the much smaller volume unit. This calculator performs those conversions automatically before displaying the requested result.

When presenting an answer, include the chosen unit and round only as far as the measured data allow. If a scale reads to the nearest gram and a cylinder reads to the nearest millilitre, a result with ten decimal places suggests false precision. A useful lab record includes the sample description, measured mass, measured volume, temperature if relevant, calculated density, and unit. This information allows another person to repeat the work and makes it easier to compare the result with a material reference table.

Density Calculator FAQ Summary

Use rho = m/V to calculate density, m = rho x V to calculate mass, and V = m/rho to calculate volume. Convert units consistently before calculating, or select the units directly in this calculator. Water is about 1000 kg/m3, 1 g/mL, and 1 kg/L under typical reference conditions. Density is central to fluid mechanics, buoyancy, material comparison, and mass-volume conversion.

Frequently Asked Questions

What is the formula for density?

Density equals mass divided by volume: rho = m/V.

How do I convert g/mL to kg/m3?

Multiply by 1000. For example, 1 g/mL equals 1000 kg/m3.

Is g/cm3 the same as g/mL?

Yes. One cubic centimetre equals one millilitre.

What is the density of water?

Water is approximately 1000 kg/m3 or 1 g/mL, with a small temperature dependence.

Can I calculate mass using density?

Yes. Select Mass and use m = density x volume.

Can I use pounds and gallons?

Yes. The calculator includes pounds plus US and UK gallon volume options.