Free Density Calculator
— Instant & Accurate
Calculate density, mass, or volume in seconds — in g/cm³, kg/m³, g/mL and more. Trusted by students, scientists, engineers, and logistics professionals worldwide. Full formula breakdown and plain-English explanation included.
How to Use the Density Calculator
Click one of the three tabs — Find Density, Find Mass, or Find Volume. The form adjusts automatically to show only the fields you need.
Fill in the required fields (marked *). Select your preferred unit from each dropdown — supports g, kg, lb, oz, cm³, m³, mL and L. Optionally enter a substance name (e.g. Water, Petrol, Aluminum) for a labelled result.
Results appear instantly in a clean popup — showing the primary result in g/cm³ and kg/m³, the full breakdown, the formula with your values, and a plain-English interpretation.
Use the action buttons inside the popup to copy the result to clipboard, print it, or click "New Calc" to return to the form with fresh inputs.
The Density Formula Explained
Density describes how much matter is packed into a given space. A higher density means more mass per unit volume — which is why a block of iron sinks in water while a wooden plank floats. The same formula rearranges to find mass (m = ρ × V) or volume (V = m ÷ ρ) when the other two values are known.
Air Density Calculation Formula
Air density is calculated using the ideal gas law. The air density calculation formula is:
Where P is absolute pressure (Pa), R is the specific gas constant for dry air (287.05 J/kg·K), and T is temperature in Kelvin. At sea level and 15°C, air density is approximately 1.225 kg/m³. Air density decreases with altitude — this is the foundation of the density altitude calculation used in aviation.
Bulk Density Calculation Formula
The bulk density calculation formula uses the same base equation (ρ = m/V) but the volume includes all pore spaces and voids within the material:
Bulk density is always lower than true particle density. It is commonly used in soil science, agriculture, and powder processing. Typical soil bulk densities range from 1.1–1.6 g/cm³.
Relative Density (Specific Gravity)
Relative density — also called specific gravity — is the dimensionless ratio of a substance's density to the density of a reference substance (usually water at 4°C, 1.00 g/cm³):
A relative density greater than 1.00 means the substance sinks in water; less than 1.00 means it floats. Petrol has a relative density of approximately 0.72–0.77, and diesel approximately 0.82–0.85.
Worked Example Calculation
| Step | Action | Value |
|---|---|---|
| 1 | Identify the substance and method | Aluminum block |
| 2 | Measure the mass using a calibrated scale | 270 g |
| 3 | Measure the volume (water displacement) | 100 cm³ |
| 4 | Apply the formula: ρ = m ÷ V | 270 ÷ 100 |
| 5 | Calculate final density | 2.70 g/cm³ |
| 6 | Interpret the result | Lighter than steel (7.85 g/cm³), denser than water (1.00 g/cm³) — consistent with published aluminum data. |
Common Density Values — g/cm³ & kg/m³
| Substance | Density (g/cm³) | Density (kg/m³) | Notes |
|---|---|---|---|
| Water | 1.000 | 1,000 | Reference standard at 4°C |
| Petrol (gasoline) | 0.71–0.77 | 710–770 | Fuel density varies with temperature |
| Diesel | 0.82–0.85 | 820–850 | Diesel density calculation formula: ρ = m/V |
| Air (sea level, 15°C) | 0.001225 | 1.225 | Air density calculation formula: P÷(R×T) |
| Aluminum | 2.700 | 2,700 | Common aerospace/engineering alloy |
| Iron / Steel | 7.85–7.87 | 7,850 | Structural engineering reference |
| Gold | 19.320 | 19,320 | Gold density calculation used in assay |
| Osmium | 22.590 | 22,590 | Densest naturally occurring element |
Where This Calculator Is Used
Identify unknown substances by comparing the density calculation result to reference tables — a standard purity testing and quality control technique.
Select materials based on their weight-to-strength ratio. Density calculation is critical for structural and load-bearing designs in construction and manufacturing.
Minimize component weight without sacrificing strength. Density and density altitude calculation are primary criteria for alloy selection and flight performance modelling.
Core to buoyancy, fluid mechanics, and material science problems. The density calculation formula ρ = m/V is taught across high school and university curricula worldwide.
Quality control for liquid products — density measurements verify concentration and detect adulteration. Used in fuel density calculations for petrol, diesel, and gas blends.
Identify minerals by their characteristic densities. Gold density calculation (19.32 g/cm³) is unmistakable by weight alone — a key field identification method.
Determine freight class using the density calculator for freight — enter shipment mass and volume to get PCF (pounds per cubic foot) and the corresponding NMFC freight class.
Bulk density calculation formula helps agronomists assess soil compaction, porosity, and drainage — essential data for crop yield optimisation and irrigation planning.
Benefits of This Calculator
Get your density, mass, or volume answer in under a second — no manual arithmetic, no rounding errors, no juggling a physical calculator.
Results computed to 4 decimal places in g/cm³ and kg/m³ — suitable for scientific reporting and engineering specification sheets.
Solve for density, mass, or volume from a single interface. One tool replaces three — and covers g/cm³, kg/m³, g/mL and more.
Every result includes the density calculation formula with your exact values plugged in — ideal for learning, auditing, and verification.
Common Mistakes to Avoid
Using grams for mass but m³ for volume gives a wildly incorrect density calculation result. The calculator handles unit conversion automatically — just select the correct unit (g/cm³, kg/m³, g/mL, etc.) from each dropdown.
For the density calculation formula to work correctly, you need the volume the substance actually occupies — not its container. For irregular solids, use the water displacement method.
Density changes with temperature, especially for liquids and gases. Fuel density (petrol, diesel) varies significantly across operating temperatures. Always verify that your reference density is measured at the same temperature as your sample.
For powders, soils, and granular materials, the bulk density calculation formula accounts for voids and pore spaces. The result will always be lower than the true particle density — do not use particle density values when bulk density is required.
Frequently Asked Questions
Density is the mass of a substance per unit volume (ρ = m/V), expressed in g/cm³, kg/m³, or g/mL. It determines whether objects float or sink, helps identify unknown substances in chemistry, guides material selection in engineering, and is foundational to fluid mechanics, thermodynamics, and materials science.
Water has a density of approximately 1.00 g/cm³ (1000 kg/m³) at 4°C — the universal reference point. Objects with a density greater than 1 g/cm³ sink, and those less dense float. Water's density varies slightly with temperature and dissolved salts.
Yes. To use this as a density calculator for freight, enter your shipment's mass in pounds (lb) and volume in cubic feet (ft³). The result gives you PCF — pounds per cubic foot — which directly determines NMFC freight class. Higher PCF = lower (cheaper) freight class: PCF ≥ 50 = Class 50; PCF 35–50 = Class 55; PCF 22.5–30 = Class 70; PCF below 1 = Class 500. This is the standard density calculator for shipping and freight used by logistics professionals.
Enter the fuel mass and volume into the calculator to get its density in g/cm³ or kg/m³. Reference values: Petrol (gasoline) ≈ 0.71–0.77 g/cm³, Diesel ≈ 0.82–0.85 g/cm³, LPG gas ≈ 0.49–0.51 g/cm³. Fuel density varies with temperature — the fuel density calculator temperature relationship follows roughly −0.0007 g/cm³ per °C rise for most petroleum products.
The air density calculation formula uses the ideal gas law: ρ = P ÷ (R × T), where P is absolute pressure in Pascals, R is 287.05 J/kg·K (specific gas constant for dry air), and T is temperature in Kelvin. At sea level and 15°C, air density ≈ 1.225 kg/m³. This formula is also the basis of density altitude calculation in aviation — higher temperature or lower pressure reduces air density, degrading aircraft performance.
Bulk density = mass of dry solid ÷ total bulk volume (including pores and air gaps). It uses the same base density formula but the denominator includes void space, making bulk density always lower than true particle density. Typical soil bulk density: 1.1–1.6 g/cm³. Sand: ~1.4–1.7 g/cm³. Used in agriculture, geotechnics, and powder manufacturing.
Yes — use the tabs at the top to switch between Find Density, Find Mass, and Find Volume. Enter any two known values and the calculator instantly solves for the third using the density calculation formula rearranged accordingly (m = ρ × V or V = m ÷ ρ).
Mass: grams (g), kilograms (kg), pounds (lb), ounces (oz). Volume: cm³, m³, mL, and liters (L). Results are displayed in g/cm³ with an automatic kg/m³ conversion in the breakdown. The calculator converts all inputs to a consistent base unit before computing the density calculation formula, preventing unit-mixing errors.
Relative density (specific gravity) is the dimensionless ratio of a substance's density to the density of water (1.00 g/cm³ at 4°C). Relative density = ρ_substance ÷ 1.00. A value above 1 means the substance sinks; below 1 means it floats. Use this calculator to find density in g/cm³ — that number is numerically equal to the relative density when water at 4°C is the reference.
Osmium is the densest at 22.59 g/cm³ (22,590 kg/m³). Among common materials: gold density is 19.32 g/cm³, lead 11.34 g/cm³, steel ~7.85 g/cm³, and aluminum 2.70 g/cm³. Water (1.00 g/cm³) is the standard reference for density comparisons.
Result interpretation appears here.