Density Calculator
This calculator solves the density equation, rho = m / V, for any one of the three variables when you know the other two. Density is a measure of how much mass is packed into a given volume, and it is one of the most fundamental physical properties used to identify materials, design structures, and understand buoyancy. You choose what you want to find, enter the two known values, and the calculator returns the result with unit conversions. When solving for density, you enter mass in grams and volume in cubic centimetres, and the result is returned in g/cm cubed and kg/m cubed. When solving for mass, you enter density in g/cm cubed and volume in cm cubed. When solving for volume, you enter density in g/cm cubed and mass in grams. The calculator also shows density in kg per litre, which is numerically the same as g/cm cubed and convenient for liquids. A relative density (specific gravity) figure is shown relative to water at 1.0 g/cm cubed, indicating whether the object would sink or float. This tool is useful for chemistry students, materials engineers, geologists identifying rock or mineral samples, and anyone needing to convert between mass, volume, and density. Note that density varies with temperature and pressure; the results here are for a uniform material at constant conditions.
How it works
The three rearrangements of the density equation are: ρ = m / V (density), m = ρ × V (mass), and V = m / ρ (volume). The default inputs are in grams and cubic centimetres, giving density in g/cm³. To convert to kg/m³, multiply g/cm³ by 1,000. kg/L is numerically identical to g/cm³. Specific gravity is density relative to water (1.0 g/cm³); values below 1.0 float in fresh water.
Worked example
A sample has a mass of 500 g and a volume of 200 cm³. Density = 500 / 200 = 2.50 g/cm³ = 2,500 kg/m³. Specific gravity is 2.50, so the material is 2.5 times denser than water and will sink. This is close to the density of aluminium (2.70 g/cm³). These match the defaults above.
Related calculators
- Percent Error Calculator: compare your measured density against a known reference value.
- Force Calculator: find the weight force of the object once you know its mass.
- Potential Energy Calculator: use the mass found here to calculate stored gravitational energy.
- Specific Heat Calculator: another thermophysical property that characterises materials.
- Carat Weight Calculator: Estimate the carat weight of a round diamond or gemstone from its diameter, depth and specific gravity.
- Density Conversion Calculator: Free density conversion calculator.