Density, mass or volume — solve for any one.
How to use this calculator
Every field updates the result as you type — there is no submit step. The inputs below are pre-filled with a realistic example so you can see how the tool behaves before entering your own figures.
| Field | Unit | What it means |
|---|---|---|
| Solve for | — | Select the mode that matches your situation. |
| Mass | g | Enter a numeric value. |
| Volume | cm³ | Enter a numeric value. |
| Density | g/cm³ | Enter a numeric value. |
Formula
The calculation is based on the following relationship:
ρ = m / V
Worked example
Using the default values loaded into the calculator above, the result is:
| Input | Value |
|---|---|
| Solve for | Density |
| Mass (g) | 500 |
| Volume (cm³) | 250 |
| Density (g/cm³) | 2 |
| Output | Value |
|---|---|
| Density | 2 g/cm³ |
| Density | 2 g/cm³ · 2,000 kg/m³ |
| Mass | 500 g · 0.5 kg |
| Volume | 250 cm³ · 0.25 L |
| Relative to water | 2× — sinks |
| In lb/ft³ | 124.8559 |
Reading the result
Conversion factors and physical constants used here are the standard published values. Where a result depends on a material property, local code or regional convention, that value is exposed as an input so you can match it to your situation.
For construction and electrical work, always verify against the codes that apply in your jurisdiction.
Sharing and saving a calculation
The "Copy link" button encodes every value you have entered into the page URL. Opening that link restores the calculation exactly, which makes it easy to bookmark a scenario, send it to someone else, or keep several variations side by side in separate tabs.
Frequently asked questions
What does the Density Calculator do?
Density, mass or volume — solve for any one.
What result do the default values produce?
With the values pre-loaded in the calculator, density comes to 2 g/cm³.
Is this calculator free to use?
Yes. It is free, requires no account, and runs entirely in your browser — nothing you enter is transmitted or stored on a server.
Can I save or share a calculation?
Yes. The "Copy link" button builds a URL containing all your entered values. Anyone opening that link sees the same calculation.
What formula does the Density Calculator use?
ρ = m / V
How accurate is the result?
The calculation itself is exact for the inputs given. Real-world accuracy depends on how well those inputs reflect your actual situation, so review the assumptions before relying on the figure.