Density Calculator

Calculate the density of any substance from its mass and volume, with unit conversion for g, kg, lb, ml, L, and m³. Free, instant, no signup.

Formula: ρ = m / V (density = mass ÷ volume)
  • ρ = density (g/cm³)
  • m = mass (grams)
  • V = volume (ml / cm³)

How to use the Density Calculator

  1. Enter your values. Fill in the fields with your numbers.
  2. Calculate. Press Calculate to run the density calculator.
  3. Use the result. Copy the result or try a related tool next.

Why use our Density Calculator

Instant results. Enter your figures and the density calculator returns an answer in seconds.
Free & private. Runs in your browser — no signup, and nothing is sent to a server.
Accurate. Uses standard formulas so you can rely on the numbers.

Free to use — premium coming soon

FREE
  • Unlimited calculations
  • Instant results
  • No signup
PREMIUM
  • Remove ads
  • Save & compare scenarios
  • Export results

About the Density Calculator

The Density Calculator works out density, mass, or volume using the relationship density = mass / volume (often written p = m/V). Enter any two of the three values and it solves for the missing one, rearranging the equation automatically: mass becomes m = p x V and volume becomes V = m / p. Density tells you how much matter is packed into a given space, so it is the quick way to answer everyday questions like whether a metal is genuine, whether a material will float, or how heavy a known volume of liquid will be. The math is a single division or multiplication, but getting the units right is where most people slip up.

Reach for this calculator whenever you have two of the three quantities and need the third. Chemistry and physics students use it to identify substances, since every pure material has a characteristic density (pure gold is 19.32 g/cm3, aluminium 2.70 g/cm3, water about 1.00 g/cm3). Engineers and makers use it to estimate the weight of a part before machining or to check a material's spec sheet. Shippers and brewers use it to convert between weight and volume. It is also the fastest sanity check for the classic float-or-sink question: anything less dense than water (1 g/cm3) floats, anything denser sinks.

Under the hood the tool keeps everything in consistent units before dividing or multiplying, then converts the answer back to the unit you chose, so 1 g/cm3 and 1000 kg/m3 give the same physical result. Standard SI density is kg/m3, while g/cm3 (equal to g/mL) is common in chemistry and pounds per cubic foot in construction. To measure the volume of an irregular solid, drop it in water and read the displaced volume, then enter that figure. Bear in mind that density shifts slightly with temperature and pressure, especially for liquids and gases, so use the value at your working temperature for precise work.

Accuracy depends entirely on your inputs and on matching units, not on the arithmetic, which is exact. Water peaks at 1.000 g/cm3 at 4 C and drops to about 0.997 g/cm3 near room temperature, so for lab-grade results plug in the temperature-corrected figure. The calculator runs entirely in your browser: nothing you type is uploaded, stored, or shared, and there is no sign-up. You can use it freely for homework, quotes, or quick estimates, and every calculation happens locally on your own device.

Frequently asked questions

What formula does the density calculator use?

It uses density = mass / volume (p = m/V). Given any two values it rearranges the same equation to find the third: mass = density x volume, and volume = mass / density.

What units should I use for density?

The SI unit is kilograms per cubic metre (kg/m3); chemistry commonly uses grams per cubic centimetre (g/cm3, which equals g/mL), and construction often uses pounds per cubic foot. Just keep mass and volume in matching units and the calculator handles the conversion. Note that 1 g/cm3 equals 1000 kg/m3.

How do I find the density of an irregularly shaped object?

Weigh the object to get its mass, then submerge it in a measuring container of water and record how much the water level rises. That rise is the object's volume, which you enter alongside the mass to get density.

Why does my result differ slightly from the textbook value?

Density changes with temperature and pressure, so small differences are normal. Water, for example, is 1.000 g/cm3 at 4 C but about 0.997 g/cm3 at 25 C; use the value for your actual working temperature for precise results.

How can I tell if something will float or sink?

Compare its density to the fluid it sits in. Anything less dense than water (under 1 g/cm3, like ice at 0.92) floats; anything denser sinks. The ratio of an object's density to water's density is its specific gravity.

From our blog

How to Estimate Flooring the Right Way: From Tape Measure to Boxes

By the Super Simple Digital Tools Team · Updated June 2026

Most flooring projects go wrong at the very first step: measuring. Before you touch a calculator, measure each room at its widest points, because doorways, alcoves, and bay windows all add area you will have to cover. Write down length and width for every rectangular section, and round each measurement up to the nearest inch. A few inches lost on each wall adds up over a large room, and rounding down is how installers end up one plank short on the final row.

Once you have clean measurements, the base area is simply length multiplied by width. For a 16 by 13 ft room that is 208 sq ft. If the room is not a tidy rectangle, slice it into rectangles on paper, calculate each piece, and add them up. Closets count if you are flooring them, and you should subtract permanent fixtures like a kitchen island only if they sit directly on the subfloor and will not be floored underneath.

Next comes the waste factor, the number people most often get wrong. Waste accounts for off-cuts at walls, boards damaged during handling, and the trimming required to keep patterns aligned. Ten percent suits a straightforward straight-lay installation in a rectangular room. Step up to around 15% for diagonal layouts, and budget close to 20% for herringbone or rooms full of angles and transitions. The formula the calculator applies is Area multiplied by (1 plus the waste percentage).

The final conversion is what separates a real order from a rough guess. Flooring is sold by the box, and every product line covers a different amount, so check the coverage figure printed on the label rather than assuming. Divide your waste-adjusted square footage by the coverage per box and round up, since stores will not split a box. A 300 sq ft room at 10% waste needs 330 sq ft; at 22 sq ft per box that is exactly 15 boxes. Change the coverage to 20 sq ft and the same room jumps to 17 boxes.

Finally, use the numbers to sanity-check cost and plan for the future. Multiply the waste-adjusted square footage by the price per square foot to compare quotes, remembering that vinyl typically runs lower than laminate, which runs lower than hardwood. Then add one box as attic stock. Production dye lots drift over time, so the cheapest insurance against a mismatched repair patch in five years is a sealed box from today's order sitting in your garage.

  • Copy the coverage per box straight from the label of the exact product you are buying; generic averages can throw your box count off by one or two boxes.
  • For diagonal, herringbone, or chevron layouts, raise the waste factor to 15-20% because angled cuts waste far more material than straight lays.
  • Break L-shaped and multi-angle rooms into rectangles, calculate each, and total them before applying the waste factor for the most reliable estimate.
  • Order one extra box as attic stock and store it sealed; matching a future repair to the same dye lot is nearly impossible once the product is sold out.

Read the full guide →

Tool by the Super Simple Digital Tools Team. Reviewed by our editorial team. Free to use, no signup required.

Related tools