Science & lab
Density Calculator: Mass, Volume & Unit Conversion
This calculator solves for density, mass, or volume from the other two quantities using ρ = m/V. It converts inputs through kilograms and cubic meters so you can mix grams with milliliters or pounds with gallons on one line. You can pick a material preset or read quick conversions in the results panel. It does not adjust density for temperature or pressure unless you change the values yourself.
By Jeff Beem
Updated
Settings
Common Materials
When solving for density, selecting a material shows its reference value for comparison.
Inputs
Density
Quick conversions
How to use this calculator
Choose Calculate for under Settings (Density, Mass, or Volume), enter the other two values with units on the Inputs rows, and read the Results panel and Quick conversions table. A Common Materials preset fills density in Mass/Volume mode or shows a Reference line when you solve for Density. This tool applies ρ = m/V with conversion through kg and m³; mass and volume must be greater than zero where the formula requires it. Preset densities are standard-condition references, not temperature-corrected.
Reading your density results
The segmented control under Settings picks which quantity is solved; the dark panel shows that value and quick conversions in common units.
Calculate for (Settings)
Presets, reference line, and quick conversions
Density calculator: mass, volume, and unit conversion
This page solves ρ = m/V for density, mass, or volume when you supply the other two. It does not model temperature or pressure effects on preset values.
What this calculator does
How the math works
Limits of the model
Density Calculator FAQ
How do I calculate density from mass and volume on this page?
How do I find mass when I know density and volume?
How do I find volume from density and mass?
Can I mix units like grams and gallons?
What do the Common Materials presets do?
Why is the result blank?
Science & Lab Reference Note
Educational Use: These tools use standard scientific formulas and accepted constants. Results are intended for learning, homework, and general reference, not for regulated lab work, industrial processes, or clinical applications.
Verification Recommended: Real-world conditions (purity, temperature, pressure, humidity) affect outcomes. For research, manufacturing, or safety-critical work, confirm with a qualified professional or calibrated lab equipment.
Not Professional Advice: This site does not provide chemical, medical, or engineering advice. All calculations run locally in your browser; no data is stored or transmitted.