Mass–Volume & Density Calculator
Solve mass, volume or density with separate units, including US liquid and Imperial gallons. Enter whole-fluid density to bridge mass and volume.
Interactive calculator · Method MASS_VOLUME-1.0 · Last reviewed: 2026-11-05
Calculate your scenario
Mass m = density ρ × volume V; volume V = m/ρ; density ρ = m/V.
Your inputs
Default worked example. Edit the inputs to calculate your scenario.
Default worked example
m = ρ × V: 1.6 kg = 0.8 kg/L × 2 L. Normalize to kg and L before solving.
How to use the calculator
Choose the unknown, enter the two known quantities and their units, then calculate. The input for the unknown is ignored.
What the result means
The example 2 L at 0.8 kg/L yields 1.6 kg. US liquid gallons and Imperial gallons have distinct definitions.
Formula and units
Mass m = density ρ × volume V; volume V = m/ρ; density ρ = m/V. Normalize mass to kg, volume to L and density to kg/L first, then convert the results to your selected units.
Worked examples
2 L at entered 0.8 kg/L: Mass (used for volume or density): 1.6 selected mass unit; Volume (used for mass or density): 2 selected volume unit; Entered whole-fluid density (example 0.8): 0.8 selected density unit; Solve for: mass; Mass unit: kg; Volume unit: L; Density unit: kgL.
Example result: Mass: 1.6 kg; Volume: 2 L; Density: 0.8 kg/L.
1.6 kg divided by entered 0.8 kg/L: Mass (used for volume or density): 1.6 selected mass unit; Volume (used for mass or density): 2 selected volume unit; Entered whole-fluid density (example 0.8): 0.8 selected density unit; Solve for: volume; Mass unit: kg; Volume unit: L; Density unit: kgL.
Example result: Mass: 1.6 kg; Volume: 2 L; Density: 0.8 kg/L.
Limitations and common mistakes
Density is an entered property that depends on temperature and composition. This converts whole-fluid mass and volume; solution concentration is not whole-fluid density. No medicine dosing or active-ingredient conversion. Changing units reinterprets the entered number; change the number too when expressing the same measurement.
Treating gallons as pounds without a density or mixing US liquid gallons with Imperial gallons.
Sources and assumptions
Method MASS_VOLUME-1.0; last formula review 2026-11-05. Sources and their supported claims. Calculation methodology.
NIST: Density. Density is mass divided by volume. NIST: Guide to the SI, Appendix B.9. Exact US liquid gallon, Imperial gallon and avoirdupois-pound definitions establish the selected conversions.