Science & lab
Density Calculator: Mass, Volume & Unit Conversion
Calculate density from mass and volume, or solve for mass or volume. ρ = m/V. Mix units: grams, pounds, liters, gallons. Material presets.
Settings
Common Materials
When solving for density, selecting a material shows its reference value for comparison.
Inputs
Density
Quick conversions
Density: The ρ = m/V Relationship
Density, mass, and volume are linked by one equation. Solve for any one from the other two. The calculator handles unit conversion automatically, no need to match grams with milliliters before you start.
Core Concepts
Solve for Any Variable
Mixed Units Work
Material Presets
Density Calculator: Mass, Volume & Unit Conversion
Solve for density, mass, or volume using ρ = m/V. Mix units, grams, pounds, liters, gallons. Reference densities for common materials. Free tool for homework, lab work, and quick checks.
What This Calculator Does
How the Math Works
- ρ (Density):Mass per unit volume, typically in kg/m³ or g/cm³
- m (Mass):Amount of matter in the object, in kg, g, lb, or oz
- V (Volume):Space the object occupies, in m³, cm³, L, mL, gal, or ft³
Worked example: An aluminum block has a mass of 540 g and occupies 200 cm³.
- ρ = 540 g ÷ 200 cm³ = 2.70 g/cm³
- Convert to SI: 2.70 × 1 000 = 2 700 kg/m³
- This matches the reference density for aluminum, confirming the measurement.
Edge case: Volume must be greater than zero; dividing by zero is undefined and the calculator will prompt you to correct the input.
How to Use This Calculator
How to Calculate Density
Unit Conversion and Dimensional Analysis
Common Material Densities
- Water (4°C):1000 kg/m³ (1 g/cm³). The usual reference.
- Ice:917 kg/m³, less dense than liquid water, which is why ice floats.
- Gold:19,300 kg/m³. One of the densest common metals.
- Aluminum:2,700 kg/m³. Much lighter than steel (7,850 kg/m³).
- Air:1.225 kg/m³ at sea level, 15°C. Drops with altitude.
Density Calculator FAQ
How do I calculate density from mass and volume?
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 materials are in the preset list?
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.