🧊 Density Calculator

Solve for density, mass, or volume using ρ = m/V, with results in both g/cm³ and kg/m³.

🧊 Density Formula
Solve Density
Solve Mass
Solve Volume
📊 Result
Density
🧊

Enter the two known values and click Calculate

Guide

About the Density Calculator

Last updated: July 2026 · Reviewed by the NeftCal editorial team

This free density calculator solves for density, mass, or volume using the fundamental physics formula ρ = m/V. Choose which value you're missing, enter the two you already know, and the calculator instantly returns the result in both g/cm³ and kg/m³, the two most commonly used density units.

How It Works

Density describes how much mass is packed into a given volume. Enter mass in grams and volume in cubic centimeters to solve for density, or rearrange the formula to solve for mass (density × volume) or volume (mass ÷ density) instead. Because 1 g/cm³ equals exactly 1,000 kg/m³, the calculator shows both units side by side without any extra conversion step.

Who Should Use This Calculator

Physics and chemistry students working through density problems, engineers doing quick material property checks, and anyone curious whether an object will float or sink in a given fluid. It's a formula-solving tool, not a substitute for measured material property data in engineering or scientific work.

Real-World Applications

  • Solving physics and chemistry homework problems involving density
  • Estimating whether an object will float or sink in water or another fluid
  • Identifying an unknown material by comparing its calculated density to a reference chart
  • Checking a material's density against a manufacturer's stated specification
  • Pairing with NeftCal's Mass Calculator and Volume Converter for related physics calculations

Tips for Accurate Results

  • Keep mass and volume in consistent units before entering them — this calculator assumes grams and cubic centimeters.
  • Remember that 1 g/cm³ equals 1,000 kg/m³ exactly, which is a handy mental shortcut for unit conversion.
  • Cross-check your result against the reference table below for common materials as a sanity check.
  • For temperature-sensitive materials (like water or gases), remember density can shift meaningfully with temperature and pressure.
Formula

How Density Is Calculated

The three rearrangements of the density formula this calculator uses

Solve for Density
Density (ρ) = Mass (m) ÷ Volume (V)

Solve for Mass
Mass (m) = Density (ρ) × Volume (V)

Solve for Volume
Volume (V) = Mass (m) ÷ Density (ρ)

Unit Conversion
1 g/cm³ = 1,000 kg/m³ = 1 g/mL
⚖️

Mass Packed Into Volume

Density measures how tightly mass is packed into a given space — a small, heavy object has higher density than a large, light one of the same mass.

🔄

Rearranging the Formula

Because density = mass ÷ volume, simple algebra gives the other two forms — multiply to find mass, divide to find volume.

🌊

Float or Sink

Comparing an object's density to a fluid's density predicts whether it floats (lower density) or sinks (higher density) in that fluid.

⚙️ Why This Formula Works

Density is defined directly as the ratio of mass to volume, so it's a pure algebraic relationship rather than an empirical approximation — once any two of the three values (density, mass, volume) are known, the third follows exactly from the definition.

🎯 When to Use It

  • Identifying an unknown material from its measured mass and volume
  • Predicting whether an object floats or sinks in a fluid
  • Working through physics or chemistry density problems

📋 Assumptions

  • The material is uniform (homogeneous), without internal voids or air pockets
  • Mass and volume are measured at the same temperature and pressure
  • Inputs are entered in grams and cubic centimeters

⚠️ Limitations

  • Doesn't account for temperature or pressure effects on density
  • Not valid for irregular objects with hollow spaces unless you use their true total volume
  • Reference density values are typical figures, not certified measurements for a specific sample
Walkthrough

Step-by-Step: How to Use the Density Calculator

From choosing what to solve for to reading your result

Choose what to solve for

Select Density, Mass, or Volume depending on which value you're missing.

Enter the two known values

Fill in the two values you already know, in grams and cubic centimeters.

Click "Calculate"

See the missing value in both g/cm³ (or g) and kg/m³ (or kg) as applicable.

Example

Worked Example

Solving for density, then rearranging to solve for mass

Scenario 1 — Finding Density From Mass and Volume

Mass500 g
Volume200 cm³
Step: Density = 500 ÷ 200 = 2.5 g/cm³ (2,500 kg/m³).
Density (g/cm³)
2.5
Density (kg/m³)
2,500

Scenario 2 — Finding Mass From Density and Volume (Iron)

Density (iron)7.87 g/cm³
Volume2,000 cm³ (2 liters)
Step: Mass = 7.87 × 2,000 = 15,740 g (15.74 kg).
Mass (g)
15,740
Mass (kg)
15.74
Reference

Common Material Densities

Typical density values for common substances, at room temperature and standard pressure

MaterialDensity (g/cm³)Density (kg/m³)
Air (at sea level)0.00121.2
Ice0.917917
Water1.01,000
Aluminum2.702,700
Concrete2.402,400
Iron7.877,870
Copper8.968,960
Lead11.3411,340
Gold19.3019,300

These are typical reference values — actual density can vary slightly by alloy composition, temperature, purity, and pressure. Use them as a sanity check for your own calculation, not as a certified material specification.

Use Cases

Practical Use Cases for the Density Calculator

Where solving for density, mass, or volume comes up

🎓

Physics & chemistry homework

Solve density word problems and check your work against a reliable formula tool.

🔍

Material identification

Compare a calculated density against a reference chart to identify an unknown substance.

🚢

Float-or-sink predictions

Compare an object's density to water's to predict whether it will float or sink.

🏗️

Engineering material checks

Quickly verify a material's density against a manufacturer's spec sheet.

🧪

Lab measurement verification

Cross-check density calculated from measured mass and volume in a lab setting.

Pros & Cons

Advantages and Limitations

What this density calculator does well, and where it has boundaries

✅ Advantages

  • Free, instant, and requires no signup
  • Runs entirely in your browser — no data is sent to a server
  • Solves for any of the three variables — density, mass, or volume
  • Shows results in both g/cm³ and kg/m³ at once
  • Includes a reference table of common material densities

⚠️ Limitations

  • Doesn't account for temperature or pressure effects on density
  • Assumes a uniform, solid material without internal voids
  • Reference density values are typical figures, not certified measurements
  • Not a substitute for laboratory-grade material property data
Reference

Common Mistakes and Expert Tips

Get an accurate density calculation

❌ Common Mistakes

  • Mixing up mass and weight — density uses mass, not weight (a force)
  • Forgetting to convert units to grams and cubic centimeters before entering values
  • Using an object's outer volume for a hollow object instead of its true material volume
  • Confusing g/cm³ with kg/m³ without applying the ×1,000 or ÷1,000 conversion

💡 Expert Tips & Best Practices

  • Remember 1 g/cm³ = 1,000 kg/m³ = 1 g/mL as a quick mental conversion
  • Use the reference table to sanity-check whether your result matches a known material
  • For irregular objects, measure volume by water displacement before calculating density
  • Pair this tool with NeftCal's Mass Calculator for weight-based mass problems
📝

Summary: This density calculator solves for density, mass, or volume using ρ = m/V, with results shown in both g/cm³ and kg/m³ — free, instant, and backed by a common-materials reference table. Pair it with the Mass Calculator or Volume Converter for related physics work.

FAQ

Frequently Asked Questions

Common questions about calculating density

How do I calculate density?
Density = Mass ÷ Volume. For example, an object with a mass of 500 grams and a volume of 200 cubic centimeters has a density of 500 ÷ 200 = 2.5 g/cm³.
What is the density of water?
Water has a density of approximately 1,000 kg/m³, or equivalently 1 g/cm³ (1 g/mL), at 4°C. This is why water is often used as the reference point for specific gravity calculations.
How do I convert between kg/m³ and g/cm³?
Divide a kg/m³ value by 1,000 to get g/cm³, or multiply a g/cm³ value by 1,000 to get kg/m³. This calculator shows both units at once so no manual conversion is needed.
How do I find mass if I know density and volume?
Rearrange the density formula: Mass = Density × Volume. Select "Solve for Mass" on this calculator, enter density and volume, and it computes the mass automatically.
How do I find volume if I know density and mass?
Rearrange the density formula: Volume = Mass ÷ Density. Select "Solve for Volume" on this calculator, enter mass and density, and it computes the volume automatically.
What is specific gravity and how does it relate to density?
Specific gravity is the ratio of a substance's density to the density of a reference substance, usually water at 4°C (1,000 kg/m³). A specific gravity of 2.7 (like aluminum) means the substance is 2.7 times denser than water.
Why do objects float or sink based on density?
An object floats in a fluid if its density is less than the fluid's density, and sinks if its density is greater. This is why ice (about 917 kg/m³) floats on water (1,000 kg/m³), while a steel ship's average density (accounting for its hollow shape) stays below water's density even though solid steel itself is much denser than water.
Learn More

Authoritative Resources on Density and Material Science

Standards references to complement this calculator

Related Calculators

Other measurement tools