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

gram/cubic centimeter [g/cm³]
Results
1gram/cubic centimeter [g/cm³]

Density

Quick Conversions

gram/cubic centimeter [g/cm³]1
kilogram/cubic meter [kg/m³]1,000
pound/cubic foot [lb/ft³]62.4278
pound/cubic inch [lb/in³]0.0361
ρ

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

The Density Triangle

Mass on top, density and volume on the bottom. Cover the variable you need: side-by-side means multiply (e.g. ρ×V=m), one over the other means divide (M/V=ρ or M/ρ=V).

Solve for Any Variable

Choose Density, Mass, or Volume in the Calculate For toggle. The two input fields switch to match—you always enter the known values and read the result.

Mixed Units Work

Enter mass in grams and volume in liters if that's what you have. The tool converts to SI, computes, then displays in your chosen output unit.

Material Presets

Select Water, Gold, Steel, or others to auto-fill density. When solving for density, a selected material shows its reference value for comparison. Adjust decimal places as needed.

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.

How to Calculate Density

Density ρ\rho is mass per unit volume: ρ=m/V\rho = m/V. In SI units that's kg/m³. To find mass from density and volume: m=ρVm = \rho V. To find volume from mass and density: V=m/ρV = m/\rho. A useful shortcut: the density triangle—place mass above, density and volume below. Cover the unknown; if the remaining pair sit side-by-side, multiply; if one stacks above the other, divide.

Unit Conversion and Dimensional Analysis

Real problems often mix units: mass in grams, volume in gallons. The calculator converts everything to kg and m³, does the math, then shows the result in your chosen unit. Mass: kg, g, mg, lb, oz. Volume: m³, cm³, mm³, L, mL, ft³, in³, gallon. Density: kg/m³, g/cm³, g/mL, lb/ft³, lb/in³. You can enter 50 g and 0.1 L and get density in lb/ft³ if you want.

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?

Density is mass divided by volume: ρ=m/V\rho = m/V. For 100 g of water in 100 mL, that's 1 g/mL (equivalent to 1000 kg/m³). Choose "Calculate For: Density" and enter mass and volume in any supported units.

? How do I find mass when I know density and volume?

Use m=ρ×Vm = \rho \times V. With density 2.7 g/cm³ and volume 10 cm³, you get 27 g. Select "Calculate For: Mass" and plug in density and volume.

? How do I find volume from density and mass?

Volume equals mass over density: V=m/ρV = m/\rho. For 193 g of gold (ρ = 19.3 g/cm³), that's about 10 cm³. Pick "Calculate For: Volume" to solve.

? Can I mix units like grams and gallons?

Yes. Everything converts to base SI (kg, m³) behind the scenes, then back to your output unit. Grams plus gallons, pounds plus liters—no manual conversion needed.

? What materials are in the preset list?

Water, ice, aluminum, gold, steel, copper, lead, mercury, air, and olive oil. Each fills the density field in kg/m³. Values are for standard conditions (e.g., water at 4°C).
🧪
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.

© 2026 CalcRegistry Reference Last Logic Update: FEB 2026Free Online Utility Tools