Density Calculator: Mass, Volume & Density Online

Calculate material density, mass, or volume instantly with the standard physics formula and common material reference charts.

Reviewed for Mathematical Accuracy Last updated: 2026
Enter any 2 values, the third will be calculated.

How to Use the Density, Mass, and Volume Calculator

Density is a fundamental physical property defined as mass per unit volume. Because density is an intensive property, it remains constant regardless of sample size: a tiny gold flake and a heavy gold bullion bar share the exact same density. This free online calculator solves for density, mass, or volume by entering any two known parameters.

  1. Input Any Two Parameters: Enter numbers into two of the three input boxes: Mass (g), Volume (cm³ or mL), or Density (g/cm³).
  2. Automatic Calculation: The calculator identifies the active inputs and computes the missing third value immediately.
  3. Interactive Recalculation: Change any field to update the result. Entering a third value shifts the calculation to focus on the two latest entries.
  4. Reset Inputs: Click Clear All to wipe the inputs and start a new physical calculation.

The Density Formula Triangle

The relationship between density (symbolized by the Greek letter rho, ρ), mass (m), and volume (V) is expressed through three algebraic arrangements:

Unknown Variable Formula Standard Metric Units SI Base Unit
Density (ρ) ρ = m / V g/cm³ or g/mL kg/m³
Mass (m) m = ρ × V grams (g) kilograms (kg)
Volume (V) V = m / ρ cm³ or milliliters (mL) cubic meters (m³)

Density and Buoyancy: Archimedes' Principle

Whether an object sinks or floats inside a fluid is dictated entirely by buoyant force and density comparison:

Measuring Volume: Regular Shapes vs Water Displacement

Determining an object's volume depends on its physical shape:

Reference Densities of Common Materials (g/cm³)

Material State Density (g/cm³)
Air (at 20°C, 1 atm)Gas0.0012
Oak WoodSolid0.75
IceSolid0.92
Pure Water (at 4°C)Liquid1.00
GlassSolid2.50
AluminumMetal2.70
IronMetal7.87
CopperMetal8.96
LeadMetal11.34
Pure Gold (24k)Precious Metal19.30
PlatinumPrecious Metal21.45

Worked Examples: Density Calculations

Example 1 (Authenticating a Gold Nugget): You discover a gold-colored metallic object with a mass of 50.0 grams. Through water displacement, it displaces 2.59 cm³ of water.

Example 2 (Calculating Mass from Volume): A shipping crate contains a solid aluminum block measuring 20 cm × 10 cm × 5 cm (volume = 1000 cm³).

Related Scientific Tools on Calc369

Explore complementary physics and chemistry tools available on Calc369:

Frequently Asked Questions

Why do objects float or sink based on density?

Buoyancy depends on the relative density of the object compared to the surrounding fluid. Objects with lower density than the fluid float, while objects with higher density sink.

How do you measure the volume of an irregular solid object?

Submerge the object completely into a graduated cylinder filled with liquid. The volume increase in milliliters equals the object volume in cubic centimeters by water displacement.

How does temperature alter material density?

Thermal energy causes substances to expand in volume while mass remains constant, reducing density. Water is unique because its maximum density occurs at 4 degrees Celsius rather than at its freezing point.

What is the difference between density and specific gravity?

Density carries physical units like grams per cubic centimeter. Specific gravity is a dimensionless ratio comparing material density directly to pure water at 4 degrees Celsius (1.00 g/cm³).

How is density applied in mineral and gold verification?

By calculating the exact ratio of mass to volume, precious metals can be authenticated. Pure gold exhibits a density of 19.3 g/cm³, whereas counterfeit metals like pyrite or brass have much lower densities.

Can this calculator be used for liquids as well as solids?

Yes. Because 1 cubic centimeter (cm³) is exactly equal to 1 milliliter (mL), liquid volumes in milliliters convert directly into g/cm³ without adjustment.