Introduction
Density tells you how much matter is packed into a given space. It is one of the most basic and useful ideas in physics. The formula is simple: density equals mass divided by volume, or ρ = m ÷ V. If you know any two of these three values, you can always find the third.
This Density Calculator lets you solve for density, mass, or volume instantly. Just pick what you want to find, enter the two values you already know, and choose your units. The tool handles all unit conversions for you, supports both metric and imperial measurements, and shows a clear step-by-step solution so you can follow the math. It also displays your result in every common unit at once, saving you extra work.
A built-in reference table lists the densities of over 50 common materials, including metals, liquids, gases, wood, plastics, and construction materials. You can click any material to load its density right into the calculator. A comparison chart also shows how your result stacks up against well-known substances like water, aluminum, steel, and gold. Whether you are working on a homework problem, a science project, or a real-world engineering task, this calculator gives you fast and accurate density results every time.
How to Use Our Density Calculator
Enter any two of the three values — mass, volume, or density — and this calculator will solve for the missing one. You can also change units, adjust significant figures, and compare your result to common materials.
Mode Selection (Find Density, Find Mass, or Find Volume): Choose which value you want to calculate by clicking one of the three tabs at the top. "Find Density" is selected by default. The calculator will automatically mark the chosen value as the output and treat the other two fields as inputs.
Mass: Type in the mass of your object. You can pick from several units, including kilograms, grams, milligrams, metric tons, pounds, ounces, carats, and stones. This field also supports scientific notation, such as 3.45e22.
Volume: Type in the volume of your object. You can pick from units like cubic meters, cubic centimeters, liters, milliliters, US gallons, UK gallons, cubic feet, cubic yards, cubic inches, and US fluid ounces. Scientific notation is supported here as well. If you need to calculate the volume of a specific shape first, tools like our Sphere Volume Calculator, Cylinder Volume Calculator, or Cone Volume Calculator can help.
Density: When solving for mass or volume, type in the density value. You can choose from units such as kg/m³, g/cm³, g/mL, kg/L, g/L, lb/in³, lb/ft³, lb/yd³, lb/gal (US), and lb/gal (UK). When solving for density, this field displays your result automatically.
Significant Figures: Use the dropdown to set how many significant figures appear in your result. The default setting is "Auto," which picks a reasonable precision for you. You can choose anywhere from 2 to 10 significant figures. For more details on how significant figures work, see our Sig Fig Calculator.
Calculate and Clear Buttons: Click "Calculate" to run the math, or click "Clear" to reset all fields and start over. The calculator also updates in real time as you type or change any unit.
Result Section: After you calculate, the result appears in a highlighted box along with handy unit conversions. For density results, you will see the value in kg/m³, g/cm³, and lb/ft³. For mass results, you will see kg and lb. For volume results, you will see m³ and liters.
Density Comparison Chart: A bar chart shows how your calculated density compares to common materials like air, water, aluminum, steel, copper, lead, and gold. Your value is highlighted in dark blue so you can quickly see where it falls.
Common Material Densities Table: Browse a reference table of over 60 materials organized by category — metals, liquids, gases, woods, minerals, plastics, and other. Use the filter dropdown or search box to find a specific material. Click any row to load that material's density directly into the calculator.
Understanding Density
Density is a measure of how much mass is packed into a given amount of space. In simple terms, it tells you how heavy something is for its size. A block of lead feels much heavier than a block of wood the same size because lead has a much higher density. The formula for density is straightforward:
Density = Mass ÷ Volume
The standard unit for density in science is kilograms per cubic meter (kg/m³), but you will also see it written as grams per cubic centimeter (g/cm³) or pounds per cubic foot (lb/ft³), depending on the field or country. Since 1 g/cm³ equals 1,000 kg/m³, converting between these units is simple once you know the relationship. If you need to work with scientific notation when entering very large or very small values, our Scientific Notation Calculator can be a useful companion.
Why Density Matters
Density is one of the most useful properties in physics, engineering, and everyday life. It explains why some objects float and others sink. Any object with a density lower than water (1,000 kg/m³) will float in water, while anything denser will sink. This principle is central to buoyancy calculations — a steel ship floats because its hollow shape gives it a large volume, making its overall density less than that of water, even though solid steel is about 7,850 kg/m³.
Scientists and engineers use density to identify unknown materials, check the purity of substances, and design everything from airplane parts to building foundations. For example, aluminum (2,700 kg/m³) is chosen over steel for aircraft because it is much lighter for the same volume, while still being strong enough for the job. In automotive engineering, the Power to Weight Ratio Calculator relies on mass considerations closely tied to material density choices.
How to Use the Three Formulas
The density equation has three variables — density (ρ), mass (m), and volume (V) — and if you know any two of them, you can solve for the third:
- Find Density: ρ = m ÷ V — Divide the mass by the volume.
- Find Mass: m = ρ × V — Multiply the density by the volume. Once you know the mass, you can use it in related calculations like our Force Calculator (F = m × a) or Kinetic Energy Calculator.
- Find Volume: V = m ÷ ρ — Divide the mass by the density.
For example, if you have 500 grams of a liquid that fills 250 cm³, its density is 500 ÷ 250 = 2 g/cm³. That's twice as dense as water, so this liquid would sink to the bottom of a glass of water.
Density of Common Materials
Different states of matter have very different density ranges. Gases are the least dense — air at sea level is only about 1.225 kg/m³. The behavior of gases under varying conditions can be explored further with our Ideal Gas Law Calculator. Liquids are much denser, with water at 1,000 kg/m³ and mercury at a remarkable 13,546 kg/m³. Liquid density also plays a key role in hydrostatic pressure and viscosity calculations. Solids cover the widest range, from lightweight balsa wood (160 kg/m³) to osmium and platinum (over 21,000 kg/m³), which are among the densest naturally occurring elements on Earth.
Temperature and pressure also affect density. Most materials expand when heated, which increases their volume and lowers their density — a phenomenon you can quantify with our Thermal Expansion Calculator. This is why hot air rises — it is less dense than the cooler air around it. Water is unusual because it reaches its maximum density at about 4°C, which is why ice floats on top of lakes in winter instead of sinking to the bottom.
In construction and landscaping, knowing the density of materials is essential for estimating how much you need. Tools like our Concrete Calculator, Gravel Calculator, Sand Calculator, and Asphalt Calculator all rely on density values to convert between volume and weight, helping you order the right amount of material for your project. Similarly, the Reynolds Number Calculator uses fluid density as a key input when analyzing flow conditions in pipes and channels.