Density Calculator
Why a Kilogram of Feathers Takes Up More Room Than a Kilogram of Lead
Density is the property that answers a question mass alone can't: how tightly is that mass packed into space? Two objects can weigh the same and still behave completely differently in air, water, or a mixture, purely because of how their mass is distributed through volume. This calculator solves the density relationship in whichever direction you need — density, mass, or volume.
The Formula
ρ = m / V
Rearranged for the other two unknowns:
Volume = Mass / Density
Results come out in kg/m³ when mass is in kilograms and volume is in cubic meters — a unit this calculator also converts to the more familiar g/cm³ for reference.
Where Density Drives Decisions
- Material selection — engineers choose metals, plastics, and composites partly by density when weight is a design constraint, such as in aerospace or automotive parts.
- Buoyancy and flotation — whether an object sinks or floats in a given fluid comes down to comparing its density to the fluid's.
- Fluid identification — measuring density is a quick way to check the concentration or purity of a liquid, from battery acid to antifreeze.
- Geology and mining — density contrasts between rock types are used to infer subsurface composition and locate ore bodies.
Density of Common Materials
| Substance | Density |
|---|---|
| Air (sea level, 15°C) | 1.225 kg/m³ |
| Water (fresh, 4°C) | 1,000 kg/m³ |
| Aluminum | 2,700 kg/m³ |
| Steel | ~7,850 kg/m³ |
| Gold | 19,300 kg/m³ |
Standard reference values for pure substances near room temperature and atmospheric pressure; actual material density can vary with alloy composition, temperature, and pressure.
How to Use This Calculator
- Choose what to solve for: Find Density, Find Mass, or Find Volume.
- For Find Density, enter Mass (kg) and Volume (m³).
- For Find Mass, enter Density (kg/m³) and Volume (m³).
- For Find Volume, enter Mass (kg) and Density (kg/m³).
- Select Calculate to see the result along with the worked formula.
Related Calculations
Once you know an object's mass, see how much force gravity exerts on it with the Force Calculator, or work out hydrostatic pressure at depth in a fluid of known density with the Pressure Calculator.
Fundamental Physical Principles and Mathematical Formulations
Density, designated by the Greek letter ρ (rho), represents the mass per unit volume of a homogeneous substance or composite body. In the International System of Units (SI), density is expressed in kilograms per cubic meter (kg/m³), while common metric engineering units include grams per cubic centimeter (g/cm³) and grams per milliliter (g/mL). In imperial and United States customary systems, density is measured in pounds per cubic foot (lb/ft³) or pounds per cubic inch (lb/in³).
The mathematical definition connects three fundamental state variables through the primary equation:
Where:
- ρ (Density): Mass concentration across spatial volume (kg/m³ or g/cm³).
- m (Mass): Total quantitative matter contained within the physical system (kg or g).
- V (Volume): Three-dimensional spatial extent occupied by the body (m³, L, or cm³).
Specific Gravity and Comparative Density
Specific gravity (SG), also known as relative density, is a dimensionless ratio comparing the density of a target material to that of a reference standard at specified thermal conditions. For liquids and solids, pure distilled water at 4°C (where its density reaches its maximum of 1,000 kg/m³ or 1.000 g/cm³) serves as the standard:
In the petroleum industry, the American Petroleum Institute gravity (API gravity) measures how heavy or light a petroleum liquid is compared to water. Materials with specific gravity values below 1.0 float in water, whereas materials with SG values greater than 1.0 sink.
Influence of Temperature and Pressure on Density
Density is not an immutable constant; it varies with thermodynamic state conditions:
- Thermal Expansion in Liquids and Solids: As temperature rises, atomic vibrations increase interatomic spacing, expanding volume and lowering density. Water exhibits an anomalous expansion between 0°C and 4°C, reaching peak density at 3.98°C.
- Compressibility and Ideal Gas Density: For ideal gases, density is directly proportional to absolute pressure and inversely proportional to absolute temperature via the ideal gas law: ρ = (P × M) / (R × T), where P is pressure, M is molar mass, R is the universal gas constant, and T is absolute temperature.
- Oceanographic Salinity and Density Pycnoclines: Seawater density depends simultaneously on temperature, salinity, and hydrostatic pressure, creating distinct oceanic density layers that drive global thermohaline circulation.
Industrial and Engineering Applications
Density calculations serve critical roles across engineering, manufacturing, and science:
- Aerospace Material Selection: Aerospace structural engineers evaluate specific strength (yield strength divided by density) to maximize load capacity while minimizing airframe takeoff weight. Titanium alloys and carbon-fiber composites provide high strength-to-weight performance.
- Petrochemical Refining and Quality Control: Continuous online vibrating-element densitometers monitor crude oil blends and refined fuel fractions during pipeline transport.
- Food and Brewing Hydrometry: In brewing and winemaking, hydrometers measure wort density (Brix or Plato scale) to compute fermentable sugar depletion and final alcohol percentage.
- Civil Geotechnical Soil Compaction: Geotechnical engineers conduct Proctor compaction tests to establish maximum dry density and optimum moisture content for highway subgrades and building foundations.
Step-by-Step Worked Calculation Example
Example: Quality Verification of an Aircraft Structural Alloy Ingot
Problem: A precision-machined titanium aerospace fitting has a mass of 3.825 kilograms. When submerged in a calibrated liquid displacement tank, it displaces 0.00085 cubic meters of fluid. Calculate the density of the fitting and verify if it matches pure Grade 5 Titanium (Ti-6Al-4V), which has a nominal standard density of 4,430 kg/m³.
Step 1: Identify given parameters:
- Mass (m) = 3.825 kg
- Volume (V) = 0.00085 m³
Step 2: Apply the density formula:
ρ = m / V = 3.825 kg / 0.00085 m³
Step 3: Compute final density:
ρ = 4,500 kg/m³ (or 4.50 g/cm³)
Conclusion: The calculated density of 4,500 kg/m³ closely matches standard titanium alloys (nominal range 4,430 to 4,510 kg/m³), confirming metallurgical purity.
Common Measurement Errors and Best Practices
- Conflating Bulk Density with Skeletal Particle Density: For porous materials (such as concrete, ceramics, or soils), bulk density includes internal void space, while true skeletal density accounts only for solid material mass.
- Neglecting Temperature Fluctuations: Fluid volumes expand with heat; always record ambient fluid temperature when measuring specific gravity using pycnometers or hydrometers.
- Air Bubble Entrapment in Hydrostatic Weighing: Air bubbles clinging to submerged specimens during Archimedean immersion introduce artificial buoyant forces that underestimate calculated specimen density.