Solved.tools: Free Online Calculators & Tools

We use cookies for analytics and advertising. Learn more about our cookie policy

Density Calculator

Last updated: 27 June 2026

Reviewed by Gavin Meiring, Lead research and primary author · Doctoral Candidate (Corporate Governance) · Research and drafting assisted by AI

Density = Mass ÷ Volume  |  Enter any 2 values (all in SI units: kg, m³, kg/m³)

Common densities (kg/m³)
Was this helpful?


Density Calculator

A density calculator determines the density of a substance from its mass and volume, or rearranges to find mass or volume when density is known. It is used by students, chemists, engineers, and materials scientists to identify substances, check material specifications, and solve problems in fluid dynamics, buoyancy, and manufacturing.

How to Use the Density Calculator

  1. Select which variable to calculate: density, mass, or volume.
  2. Enter the known values with their units. Density can be entered in kg/m³, g/cm³, g/mL, or lb/ft³.
  3. Click "Calculate" to see the result.
  4. Use the substance reference table to compare your calculated density against known materials.
  5. For buoyancy calculations, enter the fluid density to determine whether the object will float or sink.

The Formula

Density is defined as mass per unit volume:

density (rho) = mass (m) / volume (V)

Where:

  • rho (ρ) = density (kg/m³ in SI units; g/cm³ is also widely used)
  • m = mass (kilograms, kg; or grams, g)
  • V = volume (cubic metres, m³; or cubic centimetres, cm³)

Rearranged forms:

  • To find mass: m = rho x V
  • To find volume: V = m / rho

Key unit conversions:

  • 1 g/cm³ = 1,000 kg/m³ = 1 kg/L
  • 1 lb/ft³ = 16.018 kg/m³

Reference densities at standard conditions (20°C, 1 atm):

  • Water: 1,000 kg/m³ (1 g/cm³)
  • Ice: 917 kg/m³
  • Air: 1.204 kg/m³
  • Aluminium: 2,700 kg/m³
  • Steel: 7,850 kg/m³
  • Gold: 19,320 kg/m³
  • Wood (oak): approximately 700 kg/m³
  • Concrete: approximately 2,300 kg/m³

Real-World Example

A geologist finds an irregular rock sample. She measures its mass as 450 g using a balance. To find its volume, she submerges it in a graduated cylinder. The water level rises from 200 mL to 368 mL, giving a volume of 168 mL = 168 cm³.

Density = mass / volume = 450 g / 168 cm³ = 2.68 g/cm³

Comparing to the reference table: quartz has a density of approximately 2.65 g/cm³ and feldspar approximately 2.56-2.76 g/cm³. The sample is likely a quartz-rich rock such as quartzite or granite.

For a practical engineering example: a steel beam measures 2 m long, 0.1 m wide, and 0.05 m tall. Volume = 2 x 0.1 x 0.05 = 0.01 m³ Mass = density x volume = 7,850 x 0.01 = 78.5 kg

Knowing this, the structural engineer can calculate the dead load the beam adds to the structure.

Density and Buoyancy

An object floats if its average density is less than the density of the fluid it is placed in. This is Archimedes' Principle: a submerged object experiences an upward buoyant force equal to the weight of the fluid displaced.

Buoyant Force = rho_fluid x V_submerged x g

If the object's density is less than the fluid's density, the buoyant force exceeds the object's weight and it floats. A steel ship floats because its hull is mostly hollow air; the average density of the ship-plus-air system is less than water's density of 1,000 kg/m³. An ice cube floats in water because ice (917 kg/m³) is less dense than liquid water (1,000 kg/m³). Comparing calculated densities against water quickly determines buoyancy without further analysis.

Frequently Asked Questions

How does temperature affect density? Most substances decrease in density as temperature increases, because thermal expansion increases volume while mass stays constant. Water is a notable exception: it reaches maximum density at 4°C (1,000 kg/m³) and becomes less dense both above and below this temperature. This is why ice floats and why lakes freeze from the surface down rather than from the bottom up, protecting aquatic life.

What is specific gravity and how does it relate to density? Specific gravity (also called relative density) is the ratio of a substance's density to the density of a reference substance, typically water at 4°C (1,000 kg/m³). It is dimensionless. An object with a specific gravity of 0.8 is 80% as dense as water; it will float. One with a specific gravity of 2.5 is 2.5 times as dense as water; it sinks. Specific gravity is widely used in brewing, gemology, and mineralogy.

Can density be used to identify an unknown substance? Yes, density is a useful identifying characteristic for pure substances. Combined with other physical properties (colour, melting point, crystal structure), it helps narrow down the identity of an unknown material. However, density alone is not conclusive because many substances share similar densities. In forensic science, material analysis, and quality control, density is one of several measured properties used for identification.

Why is gold so valuable partly because of its density? Gold's high density (19,320 kg/m³) made it historically difficult to counterfeit. Simple counterfeits using lead-coated with gold were exposed by measuring density (lead is 11,340 kg/m³). Modern counterfeits use tungsten (19,250 kg/m³), which is almost identical in density to gold. This is why gold dealers now use ultrasound, XRF analysis, or conductivity testing to confirm authenticity rather than density alone.


Understanding the Density Calculator

The Density Calculator is one of the most-requested tools in the density category because it condenses a calculation that would otherwise require manual work, a spreadsheet, or a specialist program into a single input-and-output step. whether you are a student, a professional, or a curious learner, the Density Calculator is designed to deliver a quick and trustworthy answer without forcing you to install anything or sign up for an account. Behind the scenes, the Density Calculator applies well-established mathematical or scientific formulas to the values you provide. the aim of Density Calculator is to remove the friction of hand calculation while still showing you the underlying method, so you can confidently interpret the result. Every calculation is performed locally in your browser, which means your inputs never leave your device.

When Should You Use the Density Calculator?

Use the Density Calculator whenever you need a quick, reliable answer that fits the tool's scope. Common situations for the Density Calculator include homework problems, workplace tasks, financial planning, fitness or health tracking, and everyday curiosity. If the Density Calculator answer will be used for a decision that has legal, medical, or financial consequences, treat the result as a starting point and verify it with a qualified professional. The Density Calculator is free to use, requires no sign-up, and works on any device with a modern browser. You can run the Density Calculator as many times as you like, change the inputs, and compare results side by side.

Common Inputs and How to Choose Them

Most Density Calculator problems revolve around a small set of inputs.

  • which variable to calculate: density, mass, or volume is usually the first value to pin down for the Density Calculator.
  • the known values with their units. Density can be entered in kg/m³, g/cm³, g/mL, or lb/ft³ sets the context the Density Calculator needs for a sensible result.
  • "Calculate" to see the result refines the Density Calculator output where the data is available. Identifying the right values is the most important step for the Density Calculator, because the answer is only as accurate as the data you put in. If a value is unknown, prefer a conservative estimate over a guess when using the Density Calculator.

How to Interpret the Result

The numerical answer from the Density Calculator alone is rarely the whole story. Read the units, the precision, and any warnings shown alongside the Density Calculator result. Understanding the path from inputs to output in the Density Calculator makes it easier to spot errors, communicate the result to others, and reuse the method for related problems in the future.

Worked Examples

A typical Density Calculator run takes reasonable inputs, produces a sensible answer, and returns it in a single click. Example: A geologist finds an irregular rock sample. She measures its mass as 450 g using a balance. To find its volume, she submerges it in a graduated cylinder. The water level rises from 200 mL to 368 mL, giving a volume of 168 mL = 168 cm³. Density = mass / volume = 450 g / 168 cm³ = 2.68 g/cm³ Comparing to the reference table: quartz has a density of approximately 2.65 g/cm³ and feldspar approximately

Common Mistakes to Avoid

Common mistakes with the Density Calculator:

  • Mixing up units (for example, entering one unit when the Density Calculator expects another).
  • Forgetting to convert percentages to decimals or vice versa where the Density Calculator formula requires it.
  • Using a snapshot value that no longer reflects reality for the Density Calculator, especially for time-sensitive inputs like prices, rates, or counts.
  • Rounding intermediate steps too early and then carrying the rounded value forward in the Density Calculator.
  • Treating the Density Calculator as a substitute for professional advice when the decision is high-stakes.

Limitations and Assumptions

No calculator is a perfect model of reality, and the Density Calculator is no exception. The Density Calculator makes simplifying assumptions to keep the math tractable: it ignores rare cases, applies default values where inputs are missing, and uses formulas that suit the typical situation rather than the exotic one. When your situation falls outside the typical case, the Density Calculator result may drift further from the truth. If you need a more precise answer than the Density Calculator provides, the next step is usually a specialist, a more detailed reference, or a domain-specific tool.

For more depth on the Density Calculator topic, consult textbooks, academic papers, or reputable online resources. Reputable sources for the Density Calculator include government statistics agencies, university extension services, and peer-reviewed journals. Wikipedia is a useful starting point for definitions and formulas behind the Density Calculator, but always follow the citations to the original source before relying on a number. If you find that you need the same Density Calculator calculation repeatedly, consider writing down the inputs and the result in a note so you can build a personal record over time.

Quick Reference

  • Free to use: yes, no sign-up required.
  • Privacy: all calculations run locally in your browser.
  • Units: metric and imperial supported where applicable; check the input labels.
  • Speed: instant, no page reload.
  • Mobile friendly: yes, works on phones and tablets.
  • Offline: once the page has loaded, the calculation continues to work without a network connection.

References - General-purpose math references such as Wolfram MathWorld and Khan Academy for foundational formulas.

  • Wikipedia articles on the relevant topic, with citations to primary sources, cover the Density Calculator background.
  • Peer-reviewed journals and textbooks give the most rigorous treatments of the Density Calculator method.Tools/tools/calculator) - Percentage Calculator - Unit Converter

Also try these free tools: