⚖️ Density Calculator
Calculate density, mass, or volume using the fundamental formula ρ = m / V. Select the variable you want to solve for, enter the two known values, and get instant results with unit conversion.
What Is Density?
Density is a measure of how much mass is contained in a given volume. It is defined as mass per unit volume. The standard formula is:
ρ = m / V
Where: ρ (rho) = density | m = mass | V = volume
Density is an intensive property , it depends on the material itself, not on the amount of substance. For example, a small piece of gold and a large piece of gold both have the same density (19.3 g/cm³).
Common Density Units
- g/cm³ , grams per cubic centimeter (common for solids and liquids)
- kg/m³ , kilograms per cubic meter (SI unit)
- g/mL , grams per milliliter (equivalent to g/cm³ for water)
- lb/ft³ , pounds per cubic foot (imperial unit)
How the Calculator Works
This calculator solves the density equation for any of the three variables:
- Density (ρ): ρ = m / V
- Mass (m): m = ρ × V
- Volume (V): V = m / ρ
Simply select which variable you want to solve for, enter the two known values, and the calculator will compute the third. All unit conversions are handled automatically , you can mix and match units freely.
Why Use This Density Calculator?
- Solve for Any Variable: Calculate density, mass, or volume from the other two.
- Unit Conversion: Supports multiple mass and volume units with automatic conversion.
- Material Reference: Click on any common material to auto-fill its density.
- Visual Chart: See the relationship between mass and volume at the calculated density.
- Step-by-Step Details: View the complete calculation with units.
- Free & Private: No registration, no data storage.
❓ Density Calculator FAQ
What is the formula for density?
The formula for density is ρ = m / V, where ρ is density, m is mass, and V is volume. This calculator can solve for any of the three variables.
What units does this calculator support?
Mass units: grams (g), kilograms (kg), milligrams (mg), pounds (lb), ounces (oz). Volume units: cubic meters (m³), liters (L), milliliters (mL), cubic centimeters (cm³), cubic feet (ft³), gallons (gal). Density units: kg/m³, g/cm³, g/mL, lb/ft³.
What is the density of water?
The density of water at 4°C is 1.000 g/cm³ (or 1000 kg/m³). At 25°C, it is approximately 0.997 g/cm³.
What is the densest material on Earth?
Under standard conditions, Osmium is the densest known element with a density of about 22.59 g/cm³. Iridium is second at 22.56 g/cm³.
What is the least dense solid material?
Aerographene is one of the least dense solid materials, with a density as low as 0.00016 g/cm³. Among common materials, cork has a density of about 0.24 g/cm³.
How do I calculate mass from density and volume?
Use the formula m = ρ × V. Multiply density by volume to get mass. For example, 100 cm³ of water (density 1 g/cm³) has a mass of 100 g.
How do I calculate volume from density and mass?
Use the formula V = m / ρ. Divide mass by density to get volume. For example, 500 g of aluminum (density 2.7 g/cm³) has a volume of 185.2 cm³.
Does density change with temperature?
Yes, density generally decreases as temperature increases because most materials expand when heated (thermal expansion). This is why hot air rises and why water is densest at 4°C.
What is specific gravity?
Specific gravity is the ratio of a material's density to the density of water at 4°C. It is a dimensionless number. For example, gold has a specific gravity of 19.3.
What is the difference between density and mass?
Mass is the amount of matter in an object (measured in kg or g). Density is mass per unit volume (measured in kg/m³ or g/cm³). An object can have a large mass but low density if it has a large volume.
Why do some materials float on water?
Materials with a density less than water (1 g/cm³) will float. Wood (0.6-0.9 g/cm³) and ice (0.917 g/cm³) float because they are less dense than water.
Is this calculator accurate?
This calculator uses standard mathematical formulas and reference density values. Results are accurate to the precision you select. For precise scientific work, consult current NIST or IUPAC reference data.
What is the density of air?
Dry air at 25°C and 1 atm has a density of about 0.001184 g/cm³ (1.184 kg/m³). This is why air is much less dense than solids and liquids.
How do I convert g/cm³ to kg/m³?
Multiply g/cm³ by 1000 to get kg/m³. For example, 1 g/cm³ = 1000 kg/m³. The calculator handles this conversion automatically.
Is this calculator free?
Yes, this calculator is completely free to use. No registration or personal data storage is required. All calculations are performed in your browser.