
Rex says
The fast lane for the math you almost remember from school. Type the numbers, get the answer, move on with your day.
Try a scenario
Click to load — tweak from there.Inputs
Result
Density (g/cm³)
1.0000
Density (kg/m³)
1000.0
Density (lb/ft³)
62.43
Water test
Sinks in water

Psst — share this and help Rex grow
One click, a permanent link with your numbers baked in.
How to use this
- 1Enter mass (g).
- 2Enter volume (cm³).
- 3Read your density (g/cm³) on the right — it updates as you type.
- 4Hit Share to keep the scenario or send it to someone.
About this calculator
Density is mass over volume. Handy for shipping, materials, and any time you need to know if something floats.
Worked example
Using the values the calculator loads with:
Inputs
- Mass: 1000 g
- Volume: 1000 cm³
Results
- Density (g/cm³): 1
- Density (kg/m³): 1,000
- Density (lb/ft³): 62.43
- Water test: Sinks in water
What each field means
Inputs
- Mass (g)
- The mass used in the calculation, measured in g. Starts at 1000 g so you have a working example on load.
- Volume (cm³)
- The volume used in the calculation, measured in cm³. Starts at 1000 cm³ so you have a working example on load.
Results
- Density (g/cm³)
- Returned as a decimal number and shown as the headline result. It recalculates instantly whenever you change an input, so you can compare scenarios without reloading.
- Density (kg/m³)
- Returned as a decimal number. It recalculates instantly whenever you change an input, so you can compare scenarios without reloading.
- Density (lb/ft³)
- Returned as a decimal number. It recalculates instantly whenever you change an input, so you can compare scenarios without reloading.
- Water test
- Returned as a plain value. It recalculates instantly whenever you change an input, so you can compare scenarios without reloading.
FAQ
How does the density calculator work?
Density is mass over volume. Handy for shipping, materials, and any time you need to know if something floats. The underlying maths is: ρ = m ÷ V
What do I need to enter?
2 values: mass, and volume. Each field starts with a sensible default, so you can change one number at a time and watch the result move.
What does the density (g/cm³) result mean?
It is returned as a decimal number and updates live as you edit the inputs, so you can compare two or three versions of a scenario in a few seconds.
Is this calculator free, and do I need an account?
Yes, it's free, and no account is required. Nothing you type is stored on our servers — the maths runs entirely in your browser.
How accurate is the result?
It applies the standard formula exactly, so the arithmetic is precise. Results are rounded for display; the underlying calculation keeps full precision.
Who is this tool for?
It's built for students, developers, and anyone who needs the answer right now without setting up a spreadsheet.
Accuracy and limitations
- Results are rounded for display; the underlying calculation keeps full precision.
- Very large or very small inputs may hit floating-point limits in the browser.
- Inputs outside the accepted range are clamped rather than rejected.
Cite this calculator
Writing about this topic? Grab a citation — every link helps keep these tools free.
RevenueLab. (2026). Density Calculator. Retrieved from https://www.revenuelab.fyi/toolbox/density
<p>Source: <a href="https://www.revenuelab.fyi/toolbox/density" target="_blank" rel="noopener">Density Calculator — RevenueLab</a> (2026).</p>
Source: [Density Calculator — RevenueLab](https://www.revenuelab.fyi/toolbox/density) (2026).
