Skip to main content
CalculoraCalculora

Financial & Business

Finance CalculatorsInvestment & PlanningPersonal FinanceReal Estate InvestingBusiness ToolsStartup & SaaS

Math & Technology

Math CalculatorsEngineering ToolsPhysics ToolsDeveloper ToolsSchool Tools

Health & Life

Medical ToolsSmart UtilityRandomizers

Creator & Specialty

Creator EconomyIslamic ToolsSustainabilityGames

Converters

Unit ConverterLength ConverterWeight ConverterTemperature Converter→ Unit Converters

Randomizers

Random Number GeneratorPassword Strength CheckerSpin the WheelCoin Flip SimulatorDice RollerTimezone Overlap Calculator→ Randomizers
File Converter

PDF Tools

Convert PDF to JPGConvert PDF to PNGConvert PDF to TXTConvert PDF to GIFConvert PDF to WebPConvert PDF to SVGConvert PDF to DOCXConvert PDF to XLSXConvert PDF to PPTXConvert PDF to HTMLConvert PDF to MarkdownConvert PDF to TIFF

Image Converter

Convert JPG to PNGConvert PNG to JPGConvert PNG to WebPConvert WebP to PNGConvert WebP to JPGConvert JPG to WebPConvert SVG to PNGConvert SVG to JPGConvert SVG to WebPConvert BMP to PNGConvert BMP to JPGConvert BMP to WebP

Advanced Images

Convert HEIC to JPGConvert HEIC to PNGConvert TIFF to JPGConvert TIFF to PNGConvert JPG to TIFFConvert PNG to TIFFConvert JPG to ICOConvert PNG to ICOConvert JPEG to AVIFConvert PNG to AVIF

GIF & Animation

Convert GIF to PNGConvert GIF to JPGConvert GIF to individual frames (PNG/JPEG)Convert PNG to GIFConvert JPG to GIFConvert GIF to WebP

Editing

Convert any image to watermarked imageConvert any image to cleaned imageResize images instantly in your browserCompress images online — reduce file size, keep quality
Math Speed ChallengeMental Math ChallengeWordleBint WaladSudoku2048
Currency Converter
CalculoraCalculora

Your all-in-one calculator platform. Free, fast, and accurate tools for every need.

Calculator inputs stay 100% private — all math happens in your browser and never touches our serversFree forever — no paywalls, no subscriptions, no accounts needed

Popular

  • BMI Calculator
  • Loan Calculator
  • Age Calculator
  • Mortgage Calculator
  • Percentage Calculator
  • Scientific Calculator

Math

  • Statistics Calculator
  • Equation Solver
  • Fraction Calculator
  • Prime Factorization Calculator
  • GCD & LCM Calculator
  • Logarithm Calculator

Finance

  • FIRE Calculator
  • Debt Snowball Calculator
  • Investment Calculator
  • Retirement Calculator
  • Salary Calculator
  • ROI Calculator

Legal

  • View All
  • Categories
  • Currency Converter
  • Sitemap
  • Games & Fun Tools
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms of Service
  • Disclaimer

Languages

  • enEnglish
  • arالعربية
  • esEspañol
  • deDeutsch
  • frFrançais
  • hiहिन्दी
  • idBahasa Indonesia
  • itItaliano
  • ja日本語
  • ko한국어
  • ptPortuguês
  • ruРусский
  • trTürkçe
  • viTiếng Việt
  • bnবাংলা
  • zh中文
  • nlNederlands
  • plPolski
  • ukУкраїнська
  • msBahasa Melayu
  • thภาษาไทย

© 2026 Calculora. All rights reserved.

Built with — 100% free

Lightweight & fast — cookies and analytics run only with your consent

  1. Home
  2. Physics Tools
  3. Density Calculator

Density Calculator

Given any two of density, mass, or volume, we'll solve the third instantly using ρ = m/V — plus a quick reference table so you can sanity-check materials like steel, wood, or water.

What is Density Calculator?

A density calculator lets you instantly find the density, mass, or volume of any object or substance using the fundamental physics formula ρ = m/V. Simply enter any two of the three values — mass, volume, or density — and the calculator solves for the missing one. This single relationship underlies everything from why ships float to how geologists identify unknown rocks.

Density is one of the most useful physical properties in science because it's an intensive property — meaning it doesn't depend on how much of a substance you have. A gram of gold and a ton of gold have the exact same density (19,300 kg/m³), which makes density a powerful tool for identifying materials, verifying purity, and predicting how substances will behave when combined, such as whether one liquid will float on top of another.

This calculator is useful in many contexts: students use it to solve physics and chemistry homework problems, engineers use it to select materials for buoyancy-critical designs like ships and submarines, chemists use it to verify sample purity, and hobbyists use it for tasks like calculating whether a custom 3D-printed part will float or sink.

Formula

Density:
 
ρ = m / V
 
Solving for Mass:
m = ρ × V
 
Solving for Volume:
V = m / ρ
 
Where:
ρ = density (kilograms per cubic meter, kg/m³)
m = mass (kilograms, kg)
V = volume (cubic meters, m³)
 
Example:
Mass = 500 g = 0.5 kg, Volume = 0.05 m³
ρ = 0.5 / 0.05 = 10 kg/m³

How to Calculate

  1. Enter the mass of the object or substance in kilograms.
  2. Enter the volume in cubic meters — or leave this blank if you know the density instead.
  3. If you know the density but not the volume, enter density and leave volume blank.
  4. The calculator automatically computes the missing value using ρ = m/V.
  5. Compare your result to the reference table of common material densities to identify or verify a substance.

Example

A metal cube has a mass of 2.7 kg and measures 10 cm on each side, giving a volume of 0.001 m³ (10 cm × 10 cm × 10 cm = 1000 cm³ = 0.001 m³). Its density is ρ = 2.7 / 0.001 = 2700 kg/m³, which matches the known density of aluminum — allowing you to identify the metal.

Key Benefits

  • Instantly solve for density, mass, or volume from just two known values
  • Built-in reference table of common material densities for quick identification
  • Visual bar chart comparison of mass, volume, and density
  • Works for any material — solids, liquids, or gases
  • No registration or installation required
  • High-precision results to three decimal places for scientific and engineering use
  • Useful for both simple homework problems and professional material verification

Common Mistakes to Avoid

  • Confusing mass and weight — mass (kg) is constant everywhere, while weight depends on gravity and changes on the Moon or in space
  • Forgetting to convert units consistently — mixing grams with cubic meters or centimeters with kilograms produces wildly incorrect density values
  • Assuming density and size are related — a large object can be less dense than a small one (a beach ball is far less dense than a golf ball)
  • Ignoring temperature effects when comparing measured density to reference tables, since most reference values assume room temperature
  • Forgetting that hollow or porous objects have a much lower average density than the solid material they're made from
  • Mixing up which value is missing — entering density in the mass field or vice versa produces meaningless results

Pro Tips

  • For irregular objects, measure volume using water displacement rather than trying to calculate it geometrically
  • Convert all units to a consistent system (kg and m³, or g and cm³) before comparing your result to reference tables
  • Remember that 1 g/cm³ equals 1000 kg/m³ — a quick way to sanity-check your unit conversions
  • When identifying an unknown material, measure as precisely as possible since small errors in mass or volume significantly affect the calculated density
  • Use the reference table as a starting point, but note that alloys and composite materials will have densities between their component materials

Key Terms Explained

Density
A measure of mass per unit volume, calculated as ρ = m/V, typically expressed in kg/m³ or g/cm³.
Mass
The amount of matter in an object, measured in kilograms, which remains constant regardless of location.
Volume
The amount of three-dimensional space an object occupies, measured in cubic meters or cubic centimeters.
Specific Gravity
The ratio of a substance's density to the density of a reference substance, usually water.
Buoyancy
The upward force exerted by a fluid that opposes the weight of a partially or fully submerged object, governed by relative density.
Water Displacement
A technique for measuring the volume of an irregular object by submerging it and measuring the volume of fluid it displaces.
Intensive Property
A physical property, like density, that doesn't depend on the amount of substance present.
Buoyant Force
The force that causes objects less dense than a fluid to float, first described by Archimedes' principle.

Common Use Cases

  • Identifying unknown materials or substances by comparing calculated density to known reference values
  • Solving physics and chemistry homework problems involving mass, volume, and density relationships
  • Determining whether an object will float or sink in water or another fluid
  • Verifying the purity of metals like gold or silver by checking if measured density matches the pure metal's known value
  • Engineering calculations for buoyancy design in boats, submarines, and flotation devices
  • Calculating material requirements when volume is known but the supplier specifies quantities by mass

Interpreting Your Results

The density value this calculator produces represents the average density of the object — the total mass divided by the total volume it occupies, including any internal air gaps or hollow spaces. A solid block of aluminum and a hollow aluminum sphere of the same outer dimensions will have very different calculated densities, even though the aluminum material itself has the same density in both cases. When comparing your result to the reference table, remember these values are typical figures at room temperature and standard pressure — actual density can vary slightly with temperature, pressure, alloy composition, and purity. If your calculated density doesn't match any known material closely, consider whether the object might be hollow, an alloy or composite, or whether your mass or volume measurement contains an error.

Related Concepts

Buoyancy
The physics of why objects float or sink, directly governed by the relative densities of an object and the fluid it's placed in. Our buoyancy calculator lets you calculate buoyant forces directly.
Mass
The fundamental measure of matter that, combined with volume, determines density — distinct from weight, which depends on gravitational field strength.
Pressure
Force per unit area, which along with density determines fluid behavior in phenomena like hydrostatic pressure and Pascal's principle.
Specific Heat
Another intensive material property, describing how much energy is needed to change a substance's temperature. Our specific heat calculator lets you explore this related concept.
Volume
The three-dimensional space an object occupies, the denominator in the density formula and a key measurement for irregular objects via displacement.

Frequently Asked Questions

What is the formula for density?
Density is calculated as ρ = m/V, where ρ (rho) is density in kilograms per cubic meter, m is mass in kilograms, and V is volume in cubic meters. This calculator can also solve for mass (m = ρV) or volume (V = m/ρ) if you know the other two values.
Why does an object float or sink in water?
An object floats if its density is less than the density of the fluid it's placed in (water is 1000 kg/m³), and sinks if its density is greater. Ice floats on water because ice (920 kg/m³) is less dense than liquid water, which is why icebergs float with most of their volume submerged.
Does temperature affect density?
Yes. Most materials expand when heated and contract when cooled, so their density decreases as temperature rises (the same mass occupies more volume). Water is a notable exception near its freezing point — it's actually densest at about 4°C, not 0°C, which is why lakes freeze from the top down.
What's the difference between density and specific gravity?
Density is mass per unit volume (kg/m³ or g/cm³), while specific gravity is a dimensionless ratio comparing a material's density to the density of water (or air, for gases). A specific gravity of 2.7 means the material is 2.7 times denser than water.
How do I convert between kg/m³ and g/cm³?
To convert kg/m³ to g/cm³, divide by 1000. For example, water's density of 1000 kg/m³ equals 1 g/cm³, and gold's density of 19,300 kg/m³ equals 19.3 g/cm³. This conversion works because 1 m³ = 1,000,000 cm³ and 1 kg = 1000 g.
Why is gold so much denser than aluminum?
Density depends on both the mass of individual atoms and how tightly they're packed. Gold atoms are much heavier than aluminum atoms (197 vs 27 atomic mass units) and pack into a similarly tight crystal structure, making gold about 7 times denser than aluminum.
Can this calculator be used for irregular-shaped objects?
Yes — as long as you know the object's mass and volume, the density formula works regardless of shape. For irregular objects, volume is often measured using water displacement: submerge the object and measure how much water it displaces, which equals its volume.
What is density used for in real life?
Density determines whether objects float or sink, helps identify unknown materials (each substance has a characteristic density), guides ship and submarine buoyancy design, is used in quality control for manufacturing, and helps geologists identify rock and mineral types in the field.

Related Tools

Velocity Calculator
Acceleration Calculator
Projectile Motion Calculator
Kinetic Energy Calculator
Momentum Calculator
Work Calculator

Enter any two values (mass, volume, or density) and leave the third blank — the calculator solves for the missing value using ρ = m/V.

Density
0 kg/m³
Mass
0 kg
Volume
0 m³

Density of Common Materials

MaterialDensity
Air (at sea level)1.2 kg/m³
Wood (pine, average)700 kg/m³
Ice920 kg/m³
Water1,000 kg/m³
Aluminum2,700 kg/m³
Iron7,870 kg/m³
Gold19,300 kg/m³