Density Calculator
Calculate density, mass, or volume from the other two quantities using the SI relationship ρ = m / V.
Real-time Results
How it works
This calculator answers three related questions: what density results from a measured mass and volume, what mass corresponds to a given density and volume, and what volume corresponds to a given mass and density. It works in kilograms, cubic meters, and kilograms per cubic meter, so convert grams and milliliters before entering values. Results are arithmetic consequences of the inputs. Supplied densities are illustrative assumptions, not certified material properties or material identification. When density or volume is used as a divisor, it must be positive; the engine's zero fallback is not a physical solution.
A density result is not material identification
Density is mass per unit volume, with the SI unit kg/m³. A calculated density can be consistent with more than one material or mixture, so the result does not by itself identify what a sample is. The supplied densities in examples are illustrative assumptions, not certified material properties. For unit context, 1 g/cm³ equals 1000 kg/m³.
Convert units and watch the divisors
Enter mass in kg, volume in m³, and density in kg/m³. Convert 540 g to 0.54 kg, 200 mL to 0.0002 m³, and 2 L to 0.002 m³. To convert a density from g/cm³ to kg/m³, multiply by 1000. In density mode, volume is the denominator; in volume mode, density is the denominator. A divisor must be positive, and the engine's zero fallback is not a physical solution.
Each mode uses only the needed inputs
Density mode uses mass and volume. Mass mode uses density and volume. Volume mode uses mass and density. Not every input field affects every mode; the fields outside the selected calculation are not part of that arithmetic step. The result should be read with its unit and with the assumption that the entered values describe the same object or sample.
Examples and interpretation(3)
How do I find density from a 540 g sample occupying 200 mL?
- Solve for
- Density
- Mass
- 0.54 kg
- Volume
- 0.0002 m³
- Convert 540 g to 0.54 kg and 200 mL to 0.0002 m³.
- Divide mass by volume: 0.54 kg / 0.0002 m³ = 2700 kg/m³.
- The calculator returns 2700.0000 kg/m³.
- Result
- 2700.0000
The result is 2700.0000 kg/m³. This density value does not identify the material; it is an arithmetic result from the supplied mass and volume.
What is the mass of 2 liters of a liquid with an assumed density of 800 kg/m³?
- Solve for
- Mass
- Density
- 800 kg/m³
- Volume
- 0.002 m³
- Convert 2 L to 0.002 m³.
- Multiply density by volume: 800 kg/m³ × 0.002 m³ = 1.6 kg.
- The calculator returns 1.6000 kg.
- Result
- 1.6000
The result is 1.6000 kg. The density of 800 kg/m³ is an example input, not a universal liquid property.
What volume holds 2 kg at an assumed density of 1000 kg/m³?
- Solve for
- Volume
- Mass
- 2 kg
- Density
- 1000 kg/m³
- Use the entered density of 1000 kg/m³ as the divisor.
- Divide mass by density: 2 kg / 1000 kg/m³ = 0.002 m³.
- The calculator returns 0.0020 m³, which equals 2 L.
- Result
- 0.0020
The result is 0.0020 m³, or 2 L. Container capacity and headspace are separate considerations.
Inputs
| Parameter | Definition & Valid Bounds |
|---|---|
| Solve for | Density · Mass · Volume |
Formula
ρ = m / V; m = ρ × V; V = m / ρ
How to use
- Choose density, mass, or volume as the target variable.
- Enter the actual required inputs for that mode.
- Read the result and interpret it with the stated units and limitations.
Frequently asked questions
Which inputs do I need for each mode?
Density mode needs mass and volume. Mass mode needs density and volume. Volume mode needs mass and density. Only the inputs for the selected mode enter that calculation.
How do I convert g/cm³ to kg/m³?
Multiply the density in g/cm³ by 1000. For example, 1 g/cm³ equals 1000 kg/m³, the SI unit used by the calculator.
Why must a divisor be positive?
Volume is the divisor in density mode, and density is the divisor in volume mode. A zero divisor does not produce a physical solution, and the engine's zero fallback should not be treated as one.
Does a density result tell me what material I have?
No. A calculated density can be consistent with more than one material or mixture. The supplied densities are illustrative assumptions, not certified material properties or material identification.
References
Related Calculators
More calculators selected by category and topic.
