When you enter mass and volume, the result appears in this area.
Density Calculator
Enter any two of mass, volume, and density to solve the third value, then compare it with water and check the result across multiple unit systems.
Density Calculator
A calculator that lets you work out density from mass and volume, or solve backward for mass or volume when density is already known. Even if you enter different units, it normalizes them to the same system and shows the main result, a water comparison bar, and a conversion table in one place.
Choose what you want to solve first, then enter the two values you already know. It automatically aligns different units before calculating.
Formula: Density = Mass ÷ Volume
- 1 g/cm³ = 1 g/mL = 1000 kg/m³
- 1 L = 1000 mL = 1000 cm³
- Water is commonly treated as a comparison point around 1 g/mL.
Mass must be 0 or greater, and volume used as a divisor with density must be greater than 0.
Formula and conversion basis
- After calculation, the formula and conversion basis will be listed here.
- Mass and volume are normalized to common base units before calculation.
- The result is converted again into the display unit you selected.
Density comparison against water
Compare the current density against water on the same scale to quickly see whether it is lighter or heavier.Once you calculate or enter density, you can compare it with water in this area right away.
Result unit conversions
This section lists the result in other units as well.| Unit | Value | Description |
|---|---|---|
| kg/m³ | — | Base SI unit |
| g/cm³ | — | Common in solid and liquid reference data |
| lb/ft³ | — | Common in English-language density references |
What is a Density Calculator?
A density calculator uses the relationship between mass and volume to show how tightly matter is packed. The basic formula is Density = Mass ÷ Volume, and if density is already known you can also solve backward for mass or volume. It is especially useful when lab notes, material comparisons, storage checks, and overseas references mix different units.
This tool does more than show a single number. It converts the result into multiple units so you can compare kg/m³, g/cm³, g/mL, and lb/ft³ on the same screen and quickly see whether the current density is lighter or heavier than water.
Use it in situations like these
Density shows up in engineering, manufacturing, experiments, logistics, and everyday comparisons. A material sheet might list g/cm³ while a storage calculation needs L or m³, and an overseas reference may use lb/ft³. In those cases, it helps to align the units in one place.
- Material comparisons – Compare density differences across metals, plastics, wood, and liquids
- Back-solving mass or volume – Find total mass from container volume and density, or estimate required volume from mass and density
- Reading overseas references – Reframe lb/ft³ and g/cm³ data around kg/m³
- Organizing lab records – Summarize sample density from measured mass and volume
- Comparing with water – Quickly judge whether the current value is lighter or heavier than water
Key features
The interface keeps only three calculation modes so the page stays easy to scan. It highlights the main result first, then lets you check supporting values through the water comparison bar and the conversion table.
- Three calculation modes – Solve directly for density, mass, or volume
- Automatic unit normalization – Convert mass, volume, and density into a common base even when you enter different unit systems
- Comparison with water – Use a bar and sentence summary to see whether the current density is lighter or heavier than water
- Result conversion table – Re-list the result in other units for quick comparison
- Formula breakdown – Show which values were converted into which base units before calculation
How to use it
First choose what you want to solve for. The input fields change depending on whether you want density from mass and volume, mass from density and volume, or volume from density and mass. Then enter the two known values, choose the result unit, and click Calculate.
- Select the mode you want from Density / Mass / Volume in the top tabs.
- Enter the two known values with both number and unit.
- Choose the unit you want to use for the result.
- Click Calculate to check the top result area, the water comparison bar, and the conversion table.
- For another scenario, change the values or units and calculate again.
Density details: formula, units, and interpretation
In the NIST Guide to the SI, mass density is expressed as ρ = m / V, and the SI unit is kg/m³. This tool also standardizes internal calculations around kg, m³, and kg/m³ before converting the answer back into your chosen display unit. That means the calculation basis stays consistent even when the input units differ.
For volume units, the base relationship is 1 L = 1 dm³, and because 1 mL = 1 cm³, g/mL and g/cm³ have the same numeric value in many liquid references. Under NIST Appendix B.9, you can use 1 g/cm³ = 1000 kg/m³ and 1 lb/ft³ = 16.01846 kg/m³ for density conversion. NIST also defines the international foot as 1 ft = 0.3048 m and the international pound as 1 lb = 0.45359237 kg.
If you want to sort out liters, milliliters, and cubic units first, the Volume Unit Converter is a useful companion. If you want to check the underlying ratio relationship behind the formula, the Proportion Calculator can also help.
The comparison with water is only a quick reference. It is not a simple formula for real buoyancy or sinking behavior. In real conditions, temperature, salinity, bubbles, mixture composition, and internal porosity can all matter. Use this tool for first-pass calculation and comparison, then confirm measured values and official references for precision design or test documents.
Frequently asked questions
Are density and specific gravity the same thing?
Not exactly. This tool calculates mass density, which is mass divided by volume. Specific gravity usually means a ratio against a reference material, so temperature and reference conditions often matter. Treat the water comparison on the page as a quick interpretation aid.
Why do g/cm³ and g/mL have the same value?
Because 1 mL is the same volume as 1 cm³. If you divide the same mass by the same volume, g/cm³ and g/mL produce the same number. This tool treats those two units within the same density system as well.
Are 1 L and 1000 cm³ the same?
Yes. 1 L equals 1 dm³, which is the same as 1000 cm³. So you can use the relationship 1 L = 1000 mL = 1000 cm³. It is a common reference when comparing liquid volume with the volume of small solid samples.
What does “lighter than water” mean here?
It means the current density is lower than the water reference of about 1 g/mL and is being used here as a quick reference. Whether something actually floats or sinks can still depend on temperature, salinity, material structure, and internal porosity, so use it as a reference rather than a final judgment.
Does density change when temperature or pressure changes?
Yes. Gases and liquids can be strongly affected by temperature and pressure, and even solids can change depending on material and conditions. This tool calculates from the values you enter, so if you need precise material data, check a source that states the relevant conditions.
Why are some inputs not allowed to be zero?
Because the calculation breaks if the value used as a divisor becomes zero. For example, you cannot divide by zero volume when finding density, and you also cannot divide by zero density when finding volume. Only inputs such as mass, where a result of zero can still make sense, use slightly different limits.
No comments yet. Leave the first opinion.