Density Calculator: How to Use It
- Specific gravity
- Result
- Mass
- 50 g
- You entered
- Volume
- 10 cm³
- You entered
A density calculator works out density (mass per unit volume) when you enter an object’s mass and volume, returning the result in units like g/cm³ or kg/m³. You input the mass and the volume (or dimensions to compute volume), and it gives you the density, which tells you how tightly packed the matter is. This page explains the formula, how to use the calculator correctly, and common mistakes to avoid.
Formula
The density formula is the same one used in physics and chemistry textbooks:
Density = Mass ÷ Volume
In symbols: � = m / V
- � (rho) is density, in grams per cubic centimetre (g/cm³) or kilograms per cubic metre (kg/m³)
- m is mass, in grams (g) or kilograms (kg)
- V is volume, in cubic centimetres (cm³) or cubic metres (m³)
The calculator above uses grams and cubic centimetres, which is convenient for most small solid objects and liquids. To convert to kg/m³, multiply the result by 1000 (since 1 g/cm³ = 1000 kg/m³).
Worked Example
Using the default values from the calculator: mass = 50 g, volume = 10 cm³.
- Write down the formula: � = m / V
- Plug in the numbers: � = 50 g / 10 cm³
- Divide: 50 ÷ 10 = 5
- Result: � = 5 g/cm³
The calculator shows 5.00 g/cm³, which matches. That density is roughly the density of titanium (about 4.5 g/cm³) or a dense ceramic, so the default values represent a fairly heavy solid.
When to Use a Density Calculator
You would use a density calculator in several everyday and academic situations:
- Identifying a material: measure mass and volume, compute density, then compare to known values (e.g., pure gold is ~19.3 g/cm³, aluminium ~2.7 g/cm³).
- Checking if an object floats: compare its density to water (1 g/cm³). If the object’s density is less than 1 g/cm³, it floats; if greater, it sinks.
- Solving homework problems: most introductory physics and chemistry courses use density as a core concept.
- Mixing liquids or alloys: when you combine substances, the resulting density depends on the masses and volumes of the components.
- Quality control: manufacturers sometimes check density to verify that a batch of material matches specifications.
In short, any time you have a sample and need to know how much mass is packed into a given space, a density calculator gives the answer in seconds.
How to Get the Volume Right
The most common difficulty is finding the volume of an irregularly shaped object. Here are the standard methods:
- Regular shapes: measure dimensions and use the geometric formula (e.g., cube: side³; cylinder: π × radius² × height; sphere: 4/3 × π × radius³).
- Water displacement: fill a graduated cylinder with a known volume of water, submerge the object, and read the new water level. The difference is the object’s volume. This works for objects that sink and do not dissolve.
- For liquids: use a volumetric flask or a graduated cylinder to measure an exact volume.
- For powders or granules: use a measuring cylinder and tap it gently to settle the powder, then read the volume. Note that this gives bulk density, which includes air spaces.
If you measure volume in millilitres (mL), remember that 1 mL = 1 cm³, so no conversion is needed. If you measure in litres, convert to cm³ by multiplying by 1000.
Common Mistakes and Misconceptions
Even with a simple formula, errors are common. Watch out for these:
- Mixing units: entering mass in kilograms and volume in cm³ gives a nonsense result. Always convert to the same unit system. For g/cm³, use grams and cm³; for kg/m³, use kilograms and m³.
- Confusing mass with weight: mass is the amount of matter (in grams or kilograms); weight is the force of gravity on that mass (in newtons or pounds-force). On Earth, a 1 kg object weighs about 9.8 N, but its mass is still 1 kg. Density uses mass, not weight.
- Assuming density is the same as specific gravity: specific gravity is the ratio of the object’s density to the density of water (1 g/cm³). Numerically they are the same in g/cm³, but specific gravity has no units. The calculator includes specific gravity as a second output for convenience.
- Using volume including air spaces: a sponge has a low bulk density, but the solid material itself has a higher density. Be clear about which density you need.
- Rounding too early: if you round the volume to one significant figure and the mass to another, the final density can be off by several percent. Keep extra digits until the end.
A frequent misconception is that heavier objects always have higher density. A 10 kg foam block has lower density than a 1 kg steel ball because the foam takes up far more volume. Density is about the ratio, not the total mass.
How to Choose the Right Units
Most scientific work uses the metric system, but in everyday life you might see pounds per cubic foot or ounces per cubic inch. Here is a quick conversion guide:
- 1 g/cm³ = 1000 kg/m³
- 1 g/cm³ = 62.4 lb/ft³ (pounds per cubic foot)
- 1 g/cm³ = 0.0361 lb/in³ (pounds per cubic inch)
- 1 kg/m³ = 0.001 g/cm³
If your measurements are in US customary units, convert them to metric before using the calculator. For example, if you have a mass of 2 pounds, multiply by 453.592 to get grams. If you have a volume of 1 cubic foot, multiply by 28,316.8 to get cm³. Then divide mass by volume to get density in g/cm³.
Limits of the Density Formula
The simple formula � = m/V works for homogeneous materials at a given temperature and pressure. However, it has limits:
- Temperature changes: most materials expand when heated, increasing volume while mass stays the same, so density decreases. Water is a notable exception between 0°C and 4°C, where it contracts.
- Pressure changes: gases are highly compressible; their density changes significantly with pressure. Liquids and solids are nearly incompressible, so pressure has little effect.
- Mixtures: the density of a mixture is not simply the average of the densities unless the volumes add exactly. For solutions, the volume can change slightly on mixing.
- Porosity: the formula gives bulk density if you include pores. True material density requires excluding the pore volume, which is measured with gas pycnometry.
For most everyday objects and school problems, these effects are negligible. But if you are working with gases, hot liquids, or porous materials, remember that the density you calculate is only valid for the specific conditions you measured.
Frequently Asked Questions
What is the density of water?
Pure water has a density of approximately 1 g/cm³ (or 1000 kg/m³) at 4°C, which is its maximum density. At room temperature (about 20°C), it is slightly less: 0.998 g/cm³. For most calculations, using 1 g/cm³ is accurate enough.
How do I find density without a scale?
If you cannot measure mass directly, you can sometimes infer it from known values. For a regular shape made of a known material, look up the material’s density and multiply by the volume to get mass. For an irregular object, you could use a balance scale if you have a set of known masses, but a digital scale is the standard tool.
Can density be negative?
No. Mass and volume are both positive quantities for any real object, so density is always positive. Negative density would imply negative mass, which does not exist in ordinary matter. (Antimatter and exotic theoretical constructs are outside the scope of this calculator.)
Why does ice float on water?
Ice has a density of about 0.92 g/cm³, which is less than liquid water’s 1 g/cm³. This is unusual because most solids are denser than their liquid form. Water expands when it freezes, so the same mass takes up more volume, lowering its density. That is why ice floats.
What is the difference between density and viscosity?
Density measures how much mass is in a given volume, while viscosity measures how resistant a fluid is to flow. Honey has high viscosity but a density similar to water (about 1.4 g/cm³). They are independent properties: you can have a thick, slow-flowing liquid that is still light, or a thin, fast-flowing liquid that is heavy.
How do I calculate density from specific gravity?
Specific gravity is the ratio of the substance’s density to the density of water. Since water is 1 g/cm³, the density in g/cm³ is numerically equal to the specific gravity. For example, if a liquid has a specific gravity of 1.5, its density is 1.5 g/cm³ (or 1500 kg/m³).
Related
Formula used
in m | Mass | g | 50 | 0 in v | Volume | cm³ | 10 | 0 out d | Density | g/cm³ | m / v | 2 out sg | Specific gravity | - | (m / v) / 1 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.