Density Calculator

Enter two values to calculate the third:
kg/m³
Leave empty to calculate
kg
Leave empty to calculate
Leave empty to calculate

How the Density Calculator Works

The density calculator uses the formula:

p = m / V

Where:

  • p = density
  • m = mass
  • V = volume

To use the calculator, enter any two of the three values (density, mass, or volume) and the calculator will solve for the third. You can enter numbers in standard or scientific notation (e.g., 3.45e22).

Significant Figures

The calculator respects significant figures in calculations. For example:

  • A value of 165778 with 4 significant figures returns 165800
  • A value of 0.00165778 with 4 significant figures returns 0.001658

Share this Calculation

Paste this link in email, text or social media with copy link option.

Cite this content, page or calculator as:

Appreciate our scientific content creators and cite this page. Your support matters and keeps us motivated!

Density Calculator

Density Calculator helps you find density, mass, or volume instantly. Enter any two values, and the calculator solves for the third using the density formula p = m/V. You can enter numbers in standard or scientific notation (for example, 3.45e22) and choose from various units like g/cm³, kg/m³, or g/mL.

Whether you’re a physics student, an engineer, or just curious about how materials compare, this simple tool makes density calculations fast and accurate.

What Is Density?

Density measures how much mass is packed into a given volume. In simpler terms, it tells you how heavy something is for its size.
The formula is:

p = m / V

Where:

  • p = density
  • m = mass
  • V = volume

This means that an object with a large mass but a small volume (like a lead ball) will have a high density, while one with a large volume and small mass (like a balloon) will have a low density.

How to Use the Density Calculator

  1. Select the quantity to calculate — choose between Density (p), Mass (m), or Volume (V).
  2. Enter the other two known values in their respective fields.
  3. Choose the units for each — for example, kilograms and cubic meters, or grams and millilitres.
  4. Click Calculate to get the result instantly.

The calculator automatically handles unit conversions and supports scientific notation for very large or very small values.

Density Calculation Formula

The core equation for density is simple yet powerful:

p = m / V

Let’s break it down further:

QuantityFormulaDescription
Density (p)p = m / VDensity equals mass divided by volume
Mass (m)m = p × VMass equals density multiplied by volume
Volume (V)V = m / pVolume equals mass divided by density

Example 1 — Finding Density

If an object has a mass of 300 g and a volume of 100 cm³,
then:
p = 300 / 100 = 3 g/cm³

Example 2 — Finding Mass

If density is 2.5 g/cm³ and volume is 50 cm³,
then:
m = 2.5 × 50 = 125 g

Example 3 — Finding Volume

If mass is 500 g and density is 5 g/cm³,
then:
V = 500 / 5 = 100 cm³

Density Calculation Formula in kg/m³

The SI unit of density is kilograms per cubic meter (kg/m³).
To calculate density in this unit:

Density (kg/m³) = Mass (kg) ÷ Volume (m³)

For example:
If a material has a mass of 2 kg and occupies a volume of 0.001 m³,
then:
p = 2 / 0.001 = 2000 kg/m³

That’s roughly the density of aluminium — a lightweight but strong metal.

How to Calculate Density in g/mL

For liquids, density is often expressed as grams per millilitre (g/mL).
The conversion is straightforward because 1 mL = 1 cm³.

Density (g/mL) = Mass (g) ÷ Volume (mL)

For example:
A 50 mL sample of water has a mass of 50 g, so
p = 50 / 50 = 1 g/mL — which is the well-known density of water at 4°C.

Common Density Units and Conversions

Density can be expressed in several units. Here’s a quick conversion table for reference:

UnitEquivalent in kg/m³Common Usage
1 g/cm³1000 kg/m³Liquids and solids
1 g/mL1000 kg/m³Liquids
1 lb/ft³16.018 kg/m³Engineering (imperial)
1 oz/in³1729 kg/m³Industrial metals

These unit relationships help convert values seamlessly within the Density Calculator, ensuring consistent results across systems.

Significant Figures in Density Calculations

Precision matters in physics and engineering.
If your inputs are measured values, rounding to the correct number of significant figures ensures accuracy.

For example:

  • Input: 165778 → 4 significant figures → 165800
  • Input: 0.00165778 → 4 significant figures → 0.001658

The calculator automatically rounds values to the selected number of significant figures for consistent reporting.

Visualizing Volume — Cube Root Concept

The calculator also displays the cube root of volume, which helps you mentally visualize the size of an object.
For instance, a cube with volume 125 cm³ would have sides of 5 cm (since ³√125 = 5).

This feature gives a quick spatial understanding of how compact or spread out a given mass is.

Why Density Matters

Density plays a key role in physics, engineering, chemistry, and materials science.
It helps determine:

  • Whether an object floats or sinks (buoyancy).
  • The composition of unknown substances.
  • The behavior of gases and fluids under pressure.
  • Material suitability for construction, packaging, or manufacturing.

For instance, the Buoyant Force Calculator on CalculatorCave uses density to predict floating and sinking behavior in fluids.

Applications of Density Calculation

  1. Material Identification:
    Comparing the measured density to known values helps identify metals, liquids, or plastics.
  2. Engineering and Design:
    Engineers use density to determine load-bearing capacity, material strength, and fuel efficiency.
  3. Fluid Mechanics:
    Density helps calculate pressure, flow rate, and buoyancy, connecting directly to tools like the Pressure Calculator.
  4. Physics and Motion:
    Density links with mass and acceleration in force equations — explore this relationship in the Force Calculator.

How to Use the Density Equation Step by Step

Let’s walk through how to solve any of the three related quantities:

1. To Calculate Density (p)

Use p = m / V
Divide mass by volume.
Example: 600 g ÷ 200 cm³ = 3 g/cm³

2. To Calculate Mass (m)

Use m = p × V
Multiply density by volume.
Example: 2.5 g/cm³ × 20 cm³ = 50 g

3. To Calculate Volume (V)

Use V = m / p
Divide mass by density.
Example: 250 g ÷ 5 g/cm³ = 50 cm³

Density in Real Life

You encounter density constantly, often without realizing it.

  • Cooking: Oil floats on water because it’s less dense.
  • Aviation: Air density affects aircraft lift and engine performance.
  • Oceanography: Water density changes with temperature and salinity, driving ocean currents.
  • Meteorology: Air density influences weather and pressure systems.
  • Material Science: Engineers choose materials based on density to balance strength and weight.

Understanding density is like having a hidden insight into why things behave the way they do in the physical world.

People Also Ask: Common Questions About Density

What is the formula for calculating density?

The formula is p = m / V, meaning density equals mass divided by volume.

What are the units of density?

The SI unit is kg/m³, but smaller-scale lab measurements often use g/cm³ or g/mL.

How do I calculate density in g/mL?

Divide the mass in grams by the volume in millilitres — p = m / V.

What is the density of water?

At 4°C, water’s density is 1 g/mL or 1000 kg/m³.

How does temperature affect density?

As temperature increases, most substances expand, so their density decreases.

Tips for Accurate Density Measurements

To ensure your density calculations are precise:

  • Measure mass using a calibrated scale.
  • Use a graduated cylinder for liquid volume.
  • Avoid air bubbles when measuring liquids.
  • Keep temperature constant — density varies with heat.
  • Round sensibly using significant figures.

These small habits lead to far more reliable results.

Examples of Density Values

MaterialDensity (kg/m³)Notes
Air (at 20°C)1.2Very low, compressible
Water1000Reference for liquids
Aluminium2700Lightweight metal
Iron7870Common structural metal
Lead11340Very dense
Gold19300Extremely dense, used in jewelry
Ice920Less dense than water — floats

These examples demonstrate how density relates directly to material properties and applications.

Common Mistakes When Calculating Density

  1. Mixing units:
    Always use compatible units for mass and volume.
    (e.g., kilograms with cubic meters, or grams with cubic centimetres.)
  2. Ignoring temperature:
    Density can shift significantly with temperature — especially in gases.
  3. Using uncalibrated tools:
    Inaccurate scales or measuring cylinders lead to misleading results.

Avoiding these pitfalls ensures your results match real-world physics.

Simplify Your Density Calculations

The Density Calculator takes the hassle out of manual physics work.
Just input two values — mass, volume, or density — and it instantly computes the third, complete with proper unit conversion and significant figure handling.

To recap:

  • Density Formula: p = m / V
  • SI Unit: kg/m³
  • Conversions: g/cm³ ↔ kg/m³, g/mL ↔ kg/m³
  • Usability: Scientific notation, significant figures, cube-root visualization
  • Applications: Materials, buoyancy, physics, and engineering

Whether you’re studying for an exam or running a quick lab check, this calculator gives fast, precise, and trustworthy results every time.

Ready to Calculate?

Head to the Density Calculator on CalculatorCave.com and try it out now — an accurate, fast, and user-friendly way to solve for density, mass, or volume in seconds.