Density Calculator

Result Unit
Result Unit
Result Unit
Advanced Options (Temperature & Pressure)

Tablet Ad (300×250)

Mobile Ad (320×100)

A density calculator is a digital tool that finds one of three physical properties—density, mass, or volume—when the other two are known. It uses the formula ρ = m / V.

How to Use the Density Calculator

Using a density calculator is straightforward. It is a dynamic solver for the density-mass-volume relationship.

Density / Mass / Volume Calculator Reference

Our calculator finds density, mass, or volume using formulas and supports many units for precision.

The interface has three input fields, but only two need to be filled. The logic is simple:

The calculator finds the missing value. Its most useful feature is unit conversion. You can input mass in pounds and volume in liters, and it will output density in grams per cubic centimeter.

Formulas

Every calculation uses one core mathematical relationship.

Density Formula: ρ = m / V (Density equals Mass divided by Volume)

Mass Formula: m = ρ × V (Mass equals Density multiplied by Volume)

Volume Formula: V = m / ρ (Volume equals Mass divided by Density)

These formulas show a direct relationship in physics. The calculator embodies this relationship, rearranging the formula based on inputs.

Inputs and Units

A professional density calculator has a large library of conversion factors. Our calculator uses multipliers to convert any input unit into a standard SI unit (kg for mass, m³ for volume).

1. Mass Units & Their Conversion to Kilograms (kg) The calculator's array has multipliers to convert any unit to kilograms.
Unit Symbol Conversion Factor to kg Notes
Milligram mg 0.000001 1/1,000,000 of a kg
Gram g 0.001 1/1,000 of a kg
Kilogram kg 1 SI Base Unit
Tonne (Metric Ton) t 1000 1,000 kg
Carat ct 0.0002 Used for gemstones
Atomic Mass Unit amu 1.660539e-27 For atomic-scale calculations
Ounce oz 0.0283495 US Customary
Pound lb 0.453592 US Customary
Stone st 6.35029 British Imperial
Grain gr 0.0000647989
Dram dr 0.00177185
Hundredweight cwt 50.8023
Ton (US) ton-us 907.185 Short Ton
Ton (UK) ton-uk 1016.05 Long Ton
Slug sl 14.5939 Imperial mass unit derived from lbf·s²/ft
Pennyweight dwt 0.00155517 Troy system
Troy Ounce ozt 0.0311035 Precious metals
Troy Pound troy-lb 0.373242 Precious metals
2. Volume Units & Their Conversion to Cubic Meters (m³) The calculator's array handles these conversions.
Unit Symbol Conversion Factor to m³ Notes
Cubic Millimeter mm³ 0.000000001 1/1,000,000,000 of a m³
Cubic Centimeter cm³ 0.000001 1/1,000,000 of a m³
Cubic Decimeter dm³ 0.001 1/1,000 of a m³
Cubic Meter 1 SI Base Unit
Liter L 0.001 1 dm³
Milliliter mL 0.000001 1 cm³
Cubic Inch in³ 0.0000163871
Cubic Foot ft³ 0.0283168
Cubic Yard yd³ 0.764555
Gallon (US) gal-us 0.00378541
Gallon (UK) gal-uk 0.00454609
Quart qt 0.000946353
Pint pt 0.000473176
Cup cup 0.000236588
Gill gi 0.000118294
Fluid Ounce fl-oz 0.0000295735
Tablespoon tbsp 0.0000147868
Teaspoon tsp 0.00000492892
Barrel bbl 0.158987 Oil barrel
Bushel bu 0.0352391
Peck pk 0.00880977
Hogshead hhd 0.238481
Cord cd 3.62456 Firewood
Board Foot bf 0.00235974 Lumber
Register Ton rt 2.83168 Ship cargo volume
Acre-Foot acre-ft 1233.48 Water reservoir volume
3. Density Units & Their Conversion to kg/m³
Unit Symbol Conversion Factor to kg/m³ Notes
Kilogram per Cubic Meter kg/m³ 1 SI Base Unit
Gram per Cubic Centimeter g/cm³ 1000 Equivalent to g/mL
Gram per Milliliter g/mL 1000 Common for liquids
Kilogram per Liter kg/L 1000
Gram per Liter g/L 1
Milligram per Liter mg/L 0.001 Low concentrations
Microgram per Milliliter µg/mL 0.001
Gram per Deciliter g/dL 10 Common in medical fields
Pound per Cubic Inch lb/in³ 27679.9
Pound per Cubic Foot lb/ft³ 16.0185
Pound per Cubic Yard lb/yd³ 0.593276
Pound per Gallon (US) lb/gal-us 119.826
Pound per Gallon (UK) lb/gal-uk 99.7763
Ounce per Cubic Inch oz/in³ 1729.99
Oounce per Cubic Foot oz/ft³ 1.00115
Slug per Cubic Foot sl/ft³ 515.379
Ton per Cubic Yard ton/yd³ 1328.94
Grain per Cubic Inch gr/in³ 3.95427
Pound per Barrel lb/bbl 2.853
API Gravity °API Special Formula Petroleum industry
Specific Gravity SG Relative to Water Dimensionless
Relative Density RD Relative to Water Dimensionless
Advanced Options
Category Options
Temperature Units Celsius (°C), Fahrenheit (°F), Kelvin (K). The database stores reference temperatures (refTemp) in Kelvin.
Pressure Units Atmosphere (atm), Bar, Pascal (Pa), Pound per square inch (psi). Needed for gases, which have a refPressure value (usually 101325 Pa).
Substance Presets The database has physical properties like thermal expansion coefficients (expansionCoeff).
Liquids water (997 kg/m³ at 25°C), water-4c (1000 kg/m³ at 4°C), seawater (1025 kg/m³), ethanol (789 kg/m³), methanol (792 kg/m³), oil (~920 kg/m³), mercury (13534 kg/m³)
Gases air (1.225 kg/m³ at 0°C), oxygen (1.429 kg/m³), nitrogen (1.251 kg/m³), co2 (1.977 kg/m³), helium (0.1785 kg/m³)
Metals aluminum (2700 kg/m³), copper (8960 kg/m³), iron (7850 kg/m³), gold (19300 kg/m³), silver (10490 kg/m³)
Solids wood (~600 kg/m³), ice (917 kg/m³ at 0°C), glass (2500 kg/m³), concrete (2400 kg/m³), plastic (~950 kg/m³)

How the Density Calculation Works

Understanding the Relationship Between Mass, Volume, and Density

Density is an intensive property. It does not depend on the amount of substance. A gram of gold has the same density as a ton of gold. It identifies a material's compactness.

Think of it:

A foam pillow has a low density because a large volume contains little mass. A lead weight has a high density because a small volume contains a large mass. The calculator quantifies this concept.

Calculator Methodology

Input Parsing: The system reads your numerical values and their unit keys (e.g., 'lb' for mass, 'gal-us' for volume).

Unit Normalization:

Formula Application: It uses the correct formula (ρ = m/V, m = ρ×V, or V = m/ρ) with the normalized values.

Result Conversion: If the output is density, it takes the result in kg/m³ and converts it to your chosen output unit by dividing by the factor.

Output Display: It shows the final result.

Temperature and Pressure Adjustments

For advanced calculations, if you select a substance like water and input a different temperature, the calculator can use the value to recalculate density. For gases, it uses the Ideal Gas Law, to find density for any condition.

Density Calculation Formulas Used in the Calculator

Core Formula

The main formula for density calculations:

ρ = m / V

Where:

ρ (rho) is density,

m is mass,

V is volume.

This formula expresses "mass per unit volume."

Rearranged Formulas for Mass and Volume

Simple algebra solves for any variable.

To find Mass: m = ρ × V Example: What is the mass of 0.5 m³ of aluminum (ρ = 2700 kg/m³)? m = 2700 kg/m³ × 0.5 m³ = 1350 kg

To find Volume: V = m / ρ Example: What volume does 100 g of gold (ρ = 19.32 g/cm³) occupy? V = 100 g / 19.32 g/cm³ ≈ 5.18 cm³ (A cube about 1.73 cm on a side)

Explanation of Variables

ρ (Density): An intensive property. Its value defines the substance. Units always show a mass unit divided by a volume unit.

m (Mass): An extensive property (depends on amount). It is a measure of inertia and is constant regardless of location.

V (Volume): An extensive property. It can be found for regular shapes via geometry or for irregular shapes via fluid displacement.

Example Calculations

Scenario: A jeweler checks a nugget claimed to be pure platinum. Mass is 615 g and volume is 28.5 mL.

Step 1: Calculate Density ρ = m / V = 615 g / 28.5 mL ≈ 21.58 g/mL

Step 2: Compare to Known Value The density of pure platinum is about 21.45 g/cm³ (1 g/mL = 1 g/cm³).

Conclusion: The calculated density (21.58 g/cm³) is close to the known value, suggesting the nugget is genuine. Small differences can be from measurement error or air bubbles.

Core Concepts and Definitions

To use the density calculator, understand the concepts.

What is Density?

Density is a physical property of matter that shows how much mass is in a given volume. It describes how much "stuff" is in a space. It can help identify a pure substance.

Mass and Volume

Mass: A measure of the quantity of matter in an object. It is scalar and measured in kilograms (kg) in the SI system. It stays constant regardless of gravity.

Volume: A measure of the three-dimensional space an object occupies. Its SI unit is the cubic meter (m³), but liters (L) and milliliters (mL) are common.

These properties are the measurable attributes from which density is found.

Common Units of Measurement

System Mass Units Volume Units Density Units (Common)
SI Kilogram (kg) Cubic meter (m³) kg/m³
cgs Gram (g) Cubic centimeter (cm³) g/cm³ (equivalent to g/mL)
US Customary Pound (lb) Cubic foot (ft³) lb/ft³
Industrial Slug Gallon (US) lb/gal (US)

Specific Gravity (SG) or Relative Density (RD) is a dimensionless unit. It is the ratio of the density of a substance to the density of a reference substance (water at 4°C for liquids and solids, air for gases). An SG of 2.7 means the substance is 2.7 times denser than water.

Density of Common Materials

Substance Database Key Density (kg/m³) Reference Temp Notes from Database
Water (25°C) water 997 298.15 K (25°C)
Water (4°C) water-4c 1000 277.15 K (4°C) Maximum density
Seawater seawater 1025 293.15 K (20°C) Salinity = 35 ppt
Ethanol ethanol 789 293.15 K (20°C)
Methanol methanol 792 293.15 K (20°C)
Oil (Vegetable) oil 920 293.15 K (20°C) Average value
Mercury mercury 13534 293.15 K (20°C)
Air (STP) air 1.225 273.15 K (0°C) at 101.325 kPa
Oxygen (STP) oxygen 1.429 273.15 K (0°C) at 101.325 kPa
Aluminum aluminum 2700 293.15 K (20°C)
Copper copper 8960 293.15 K (20°C)
Iron/Steel iron 7850 293.15 K (20°C)
Gold gold 19300 293.15 K (20°C)
Ice (0°C) ice 917 273.15 K (0°C)
Glass glass 2500 293.15 K (20°C)
Concrete concrete 2400 293.15 K (20°C)
Plastic (HDPE) plastic 950 293.15 K (20°C) Average for HDPE

Factors Affecting Density Calculations

Density is not always fixed. Understand the variables that change it.

Temperature Influence

Temperature changes density for most matter.

Exception: Water is densest at 4°C. As it freezes, it expands, so ice floats. This is crucial for aquatic life.

Pressure Influence

Gases: Are compressible. Increasing pressure forces gas molecules into a smaller volume, increasing density. This is how SCUBA tanks work.

Liquids & Solids: Are nearly incompressible. Extreme pressures cause a tiny density increase.

Purity and Composition

The density of a mixture is an average of its parts.

Measurement Accuracy

The result from a density calculator is only as good as the inputs.

Setting Goals and Interpreting Results

Understanding Your Density Values

After calculating density, interpret it.

Application in Real Life

Density calculations are used in many fields:

Goal-Oriented Calculations

Use the calculator in reverse to set targets.

Limitations and Accuracy Considerations

Approximation in Measurements

All measurements have uncertainty. The calculated density has the combined error of the mass and volume measurements. Use significant figures correctly to avoid false precision.

Environmental Limitations

A calculator's result is based on the inputs. If you find the density of a gas in a lab at 20°C and 1 atm, that value is not useful if the gas is used in a hot, high-pressure process. Note the conditions of your measurement.

When to Use Lab-Grade Measurements

For everyday use, a calculator is enough. For scientific research, quality control, or assaying precious metals, professional tools are needed:

Frequently Asked Questions (FAQs)

1. What is density?

Density is mass per unit volume. It shows how tightly packed a material is. The SI unit is kilograms per cubic meter (kg/m³).

2. How do I calculate density?

Divide mass by volume: Density = Mass / Volume. A calculator does this and handles unit conversions.

3. What is the formula for density?

The formula is ρ = m / V, where ρ is density, m is mass, and V is volume. It can be rearranged to find mass (m = ρV) or volume (V = m / ρ).

4. What units are used to measure density?

Density is in mass/volume units. Metric units include kg/m³ and g/cm³. US units include lb/ft³ and lb/gal. Specific Gravity is dimensionless.

5. How do I convert between different units of density?

Converting density needs two conversion factors: for mass and volume. For example, to convert g/cm³ to kg/m³, multiply by 1000. A calculator does this.

6. How do temperature and pressure affect density?

Density decreases with temperature (thermal expansion) and increases with pressure (compression). This is strongest in gases.

7. Can I calculate the density of gases?

Yes. Gas density depends on temperature and pressure. Advanced calculators let you input these for an accurate result with the Ideal Gas Law.

8. How do I calculate the density of a liquid?

Measure the mass of a known volume with a scale and graduated cylinder. Input these into the calculator. A hydrometer is another way.

9. What is the density of water at 4°C or 25°C?

Water is densest at 4°C: 1000 kg/m³. At 25°C, it is about 997 kg/m³.

10. What is the density of air at sea level?

Dry air at sea level (15°C, 1 atm) is about 1.225 kg/m³. This decreases with altitude, temperature, and humidity.

11. Can I calculate the density of irregularly shaped objects?

Yes, with water displacement. Submerge the object in water and measure the volume increase. Use this volume and the object's mass.

12. Can I calculate density for mixtures or compounds?

Yes, but the density is an average for the mixture. It is between the densities of its parts, based on their proportion.

13. What is the relationship between density and buoyancy?

Buoyancy follows Archimedes' principle. An object floats if its density is less than the fluid's density. It sinks if greater.

14. How does the density of an object affect its ability to float or sink?

An object floats if it displaces fluid equal to its weight. A steel ship floats because its shape makes its average density less than water. A solid steel cube sinks.

15. What is the density of common materials like water, air, gold, or metals?

See the "Density of Common Materials" table in the Core Concepts section.

16. Why is density important in material science, shipping, and logistics?

In material science, density helps choose materials. In shipping, costs use dimensional weight (volume) or actual weight (mass)—whichever is greater, so density affects cost.

17. Can I use a density calculator for educational purposes?

Yes. It helps students check calculations, see unit conversion effects, and learn about materials without lab equipment.

Real-Life Examples and Case Studies

Density in Everyday Materials

Industrial Applications

Laboratory Scenarios

Fun Practical Example

The Cartesian Diver: A DIY Density Experiment

  1. Fill a plastic bottle with water.
  2. Place a small vial or ketchup packet inside so it just floats.
  3. Screw the cap on tightly.
  4. Observe: Squeeze the bottle, the diver sinks. Release, it floats.

Explanation: Squeezing increases pressure on the air bubble in the diver. The air compresses, decreasing volume. Mass is unchanged, so density increases (ρ = m/V), becoming greater than water's density, and it sinks. Releasing reverses this.

References