Density Calculator

Density (solved)1,000 kg/m³
Density1,000 kg/m³ (1 g/cm³)
Mass1,000 kg
Volume1 m³
Floats in water?Neutral — same as water
How this was calculated
  1. ρ = m ÷ V = 1,000 ÷ 1 = 1,000 kg/m³.
  2. In cgs units the density is 1 g/cm³. Water is 1,000 kg/m³ (1 g/cm³): anything denser sinks in it, anything lighter floats — that comparison is the fastest sanity check on any density answer.
  3. Steel is about 7,800 kg/m³, aluminium 2,700, ice 917 and dry oak roughly 700 — which is why ice and wood float but a steel ship needs its hull's air spaces to bring the average density below water's.

A density calculator takes two inputs — the mass of an object and the volume it occupies — and returns its density in the unit you need. The relationship is simple: density equals mass divided by volume. Enter 1,000 kg in 1 m^3 and you get exactly 1,000 kg/m^3, the density of water and the reference point every other material is compared against. The same value appears as 1.000 g/cm^3, since 1 g/cm^3 equals 1,000 kg/m^3 exactly — the same fact in two unit systems. For context, reference densities include ice at 917, oak near 700, aluminium at 2,700, steel at 7,800, and gold at 19,300 kg/m^3. Anything below 1,000 floats in fresh water, which is why an iceberg at 917 kg/m^3 sits with roughly nine tenths of its volume hidden below the surface.

Density equals mass divided by volume because that ratio captures how tightly matter is packed into a given space, and no alternative approach has superseded it in centuries of scientific use. The method holds across solids, liquids, and gases, with one caveat: density is temperature-sensitive for liquids and gases (water peaks at 4 °C), while solids barely change, so standard values assume room temperature. This page presents the formula, walks through the calculation step by step, and provides worked examples — such as 0.02 m^3 of steel at 7,800 kg/m^3 massing 156 kg, or 54 kg of aluminium at 2,700 kg/m^3 filling 0.02 m^3 — along with the sources behind each reference value.

Worked examples

1,000 kg occupying 1 m³

Density exactly 1,000 kg/m³ — water itself, the reference everything is compared to. (Density — I know mass & volume · 1000 · 1)

Density (solved)1,000 kg/m³
Density1,000 kg/m³ (1 g/cm³)
Mass1,000 kg
Volume1 m³
Floats in water?Neutral — same as water

How heavy is 0.02 m³ of steel?

7,800 × 0.02 = 156 kg — a two-hand carry it is not. (Mass — I know density & volume · 7800 · 0.02)

Mass (solved)156 kg
Density7,800 kg/m³ (7.8 g/cm³)
Mass156 kg
Volume0.02 m³
Floats in water?No — denser than water

How much space does 54 kg of aluminium take?

54 ÷ 2,700 = 0.02 m³ — 20 litres of metal. (Volume — I know density & mass · 2700 · 54)

Volume (solved)0.02 m³
Density2,700 kg/m³ (2.7 g/cm³)
Mass54 kg
Volume0.02 m³
Floats in water?No — denser than water

Density: how much stuff per space

Density is simply mass divided by volume — how much stuff is packed into a given space. The math is straightforward: take the mass of an object and divide it by the volume that object occupies. Water is the reference point every other density is compared against, and it sets a clean benchmark: 1,000 kg of water filling 1 cubic meter gives exactly 1,000 kg/m^3. That same fact shows up in two costumes depending on the units you use. In the cgs system, water is 1.000 g/cm^3. In SI units, it is 1,000 kg/m^3. The conversion is exact: 1 g/cm^3 equals 1,000 kg/m^3.

Here is what makes density useful: the same material always gives the same number. Density acts like a fingerprint for a substance. Steel consistently measures 7,800 kg/m^3, aluminium consistently measures 2,700 kg/m^3, and gold consistently measures 19,300 kg/m^3. A density calculator relies on this consistency. If you know a material's density and its volume, you can find its mass without ever putting it on a scale. Consider 0.02 m^3 of steel: at 7,800 kg/m^3, it masses 156 kg — a two-hand carry it is not. That same 0.02 m^3 volume filled with aluminium at 2,700 kg/m^3 masses just 54 kg, which is 20 litres of metal you could actually manage.

Anything with a density under 1,000 kg/m^3 floats in fresh water; anything above it sinks. Ice sits at 917 kg/m^3, which is why an iceberg floats with roughly nine tenths of its volume hidden underwater. Oak wood, at about 700 kg/m^3, also floats. Drop a gold bar at 19,300 kg/m^3 into a lake and it heads straight for the bottom. These reference densities — ice at 917, oak at 700, water at 1,000, aluminium at 2,700, steel at 7,800, gold at 19,300 — give you a quick mental scale for comparing materials.

One caveat: density is temperature-sensitive for liquids and gases. Water actually peaks in density at 4 °C, not at room temperature. Solids barely change with temperature, so the standard reference values you will find in any density calculator assume room temperature unless stated otherwise. For most everyday calculations involving metals, wood, or ice, this assumption holds up fine. For precise work with fluids, the temperature matters and the density shifts.

Reference densities at room temperature (kg/m^3): ice 917, oak ~700, water 1,000, aluminium 2,700, steel 7,800, gold 19,300. Under 1,000 floats in fresh water; over 1,000 sinks.

Solving for mass and volume

Density equals mass divided by volume, but a density calculator is just as useful when you already know density and need one of the other two quantities. The same formula rearranges cleanly: mass equals density times volume, and volume equals mass divided by density. A simple triangle mnemonic keeps the three relationships straight. Write density at the top, with mass and volume side by side beneath it. Cover the value you want to find, and the remaining two show you what to do — multiply when they sit side by side, divide when one sits above the other.

Take steel, which has a verified density of 7,800 kg/m^3. If you have 0.02 m^3 of it and want the mass, multiply: 7,800 times 0.02 gives 156 kg. That is a two-hand carry it is not — over 340 pounds of metal in a block roughly the size of a small cooler. The math is trivial, but the result drives home why density matters in shipping, structural engineering, and load planning.

Flip the question using aluminium, verified at 2,700 kg/m^3. If you know you have 54 kg of it and need the volume, divide mass by density: 54 divided by 2,700 equals 0.02 m^3. That works out to about 20 litres of metal — a quantity you could picture as two standard buckets. The same block of steel would mass 156 kg; the aluminium one masses only 54 kg. This is why aircraft, window frames, and beverage cans rely on aluminium rather than steel wherever weight matters more than raw strength.

Both calculations assume room-temperature values, which is a reasonable assumption for solids. Density is temperature-sensitive for liquids and gases — water itself peaks at 4 °C — but solids barely change across ordinary conditions, so the standard reference densities hold for everyday work. Whether you start with mass, volume, or density, the formula gives you the missing piece in one step.

kg/m³ vs g/cm³ without tears

The one fact that confuses everyone about density units is actually the simplest: 1 g/cm³ equals 1,000 kg/m³ exactly. No rounding, no approximation — a clean factor of 1,000 every time. Water is the proof. At its reference density of 1,000 kg/m³, water reads as 1.000 g/cm³, the same fact in two costumes. Once you grasp that single relationship, every other conversion follows. Ice at 917 kg/m³ is 0.917 g/cm³. Gold at 19,300 kg/m³ is 19.3 g/cm³. Move the decimal point three places and you are done.

Labs love g/cm³ because the numbers stay small and intuitive. A chemist weighing a 2 cm cube of aluminium expects a density near 2.7 g/cm³, not 2,700 kg/m³. Small samples, small beakers, small numbers — the cgs system fits the benchtop. Engineers, by contrast, work in meters and kilograms from the start. A steel beam rated at 7,800 kg/m³ tells you immediately that 0.02 m³ of it masses 156 kg — a two-hand carry it is not. The same 0.02 m³ filled with aluminium at 2,700 kg/m³ gives 54 kg, which is 20 litres of metal you can actually lift. SI units keep the scale matched to the object.

The problem is not the math — it is remembering which direction to move the decimal under deadline pressure. That is where a density calculator earns its keep. You enter mass and volume once, and the result appears in both unit systems side by side. No scratchpad, no second-guessing, no silent arithmetic errors that propagate through the rest of your work. Whether the spec sheet demands kg/m³ or the lab report expects g/cm³, the figure is already there.

Reference densities assume room temperature, and for solids that assumption barely matters. Liquids and gases are another story: water peaks at 4 °C and shifts with every degree. But for comparing oak at about 700 kg/m³, ice at 917, aluminium at 2,700, steel at 7,800, and gold at 19,300 kg/m³, the standard values hold well. Anything under 1,000 floats in fresh water, which is why an iceberg at 917 rides with roughly nine tenths of its volume hidden underwater. The density calculator shows both unit columns so you can read whichever the situation demands without converting by hand.

  • 1 g/cm³ = 1,000 kg/m³ exactly — move the decimal three places, nothing more
  • Labs use g/cm³ for small samples; engineers use kg/m³ for full-scale objects
  • Water: 1.000 g/cm³ or 1,000 kg/m³ — the reference every other density is compared against
  • Anything under 1,000 kg/m³ floats in fresh water; ice at 917 is why icebergs hide roughly nine tenths underwater
Water is 1.000 in cgs units and 1,000 in SI — the same fact in two costumes. A density calculator that shows both columns side by side saves you from ever converting by hand.

How to use this density calculator

To use this density calculator, start by picking what you want to solve for: density, mass, or volume. The formula behind every result is Density = mass / volume, so you simply enter the two values you already know and the tool supplies the third. If you are solving for density, type in the mass and the volume. If you want mass instead, enter the density and the volume. For volume, enter the density and the mass. The calculator shows the substitution so you can see exactly how the numbers fit together, and it gives answers in both SI and cgs units, because 1 g/cm^3 = 1,000 kg/m^3 exactly — the same fact in two costumes.

A quick check with water shows why the two unit systems line up. Put in 1,000 kg of mass and 1 m^3 of volume, and the result is 1,000 kg/m^3 in SI or 1.000 g/cm^3 in cgs. Water is the reference every other density is compared against, so it is the easiest way to confirm you have entered values correctly. The same conversion holds for any material: steel at 7,800 kg/m^3 is 7.8 g/cm^3, and gold at 19,300 kg/m^3 is 19.3 g/cm^3.

The substitution line helps you catch mistakes before you trust a result. For example, if you enter 7,800 kg/m^3 for density and 0.02 m^3 for volume, the calculator shows 7,800 × 0.02 = 156 kg — a two-hand carry it is not. Work the same problem backward and enter 156 kg with 7,800 kg/m^3, and you get 0.02 m^3 back. Try 54 kg of aluminium at 2,700 kg/m^3 and the volume comes out to 0.02 m^3, which is 20 litres of metal. Seeing the arithmetic laid out makes it clear which number is doing which job.

Keep in mind that density is temperature-sensitive for liquids and gases — water actually peaks at 4 °C — while solids barely change, so the standard reference values assume room temperature. The calculator does not adjust for temperature, so if you are working with something near its freezing or boiling point, you may need to look up the density at that specific condition. For most everyday solids at normal indoor temperatures, the standard values work well: ice 917, oak about 700, water 1,000, aluminium 2,700, steel 7,800, gold 19,300 kg/m^3. Anything under 1,000 floats in fresh water, which is why ice at 917 floats with roughly nine tenths of its volume hidden underwater.

A table of densities worth knowing

Our density calculator works by applying the formula density = mass / volume, but the numbers mean more when you can picture them. Water is the reference every other density is compared against: 1,000 kg in 1 m^3 gives exactly 1,000 kg/m^3. The same fact in two costumes reads 1.000 g/cm^3 in cgs units and 1,000 kg/m^3 in SI, because 1 g/cm^3 equals 1,000 kg/m^3 exactly.

The float test is the quickest way to make sense of any density value. Anything under 1,000 kg/m^3 floats in fresh water; anything above it sinks. Ice at 917 kg/m^3 just barely qualifies, which is why an iceberg floats with roughly nine tenths of its volume hidden underwater. Oak, at about 700 kg/m^3, sits comfortably below the line and floats with even more of its bulk above the surface.

Above 1,000 kg/m^3, the materials get heavy fast. Aluminium at 2,700 kg/m^3 is light for a metal, yet 54 kg of it still occupies only 0.02 m^3 — 20 litres of metal in a space smaller than a carry-on bag. Steel at 7,800 kg/m^3 means 0.02 m^3 of it masses 156 kg, a two-hand carry it is not. Gold at 19,300 kg/m^3 is more than twice as dense as steel and nearly twenty times denser than water.

One caveat: density is temperature-sensitive for liquids and gases, and water actually peaks at 4 °C. Solids barely change with temperature, so the standard values in this table assume room temperature. For everyday comparisons the figures hold up well, but for precise scientific work you should account for the temperature of the material you are measuring.

MaterialDensity (kg/m^3)Floats in fresh water?
Oak~700Yes
Ice917Yes
Water1,000Reference (neutral buoyancy)
Aluminium2,700No
Steel7,800No
Gold19,300No
The float test in one sentence: below 1,000 kg/m^3 it floats in fresh water, at or above 1,000 kg/m^3 it sinks.

Why ships float and icebergs hide

A steel hull seems like a strange thing to trust on the open ocean. Steel runs 7,800 kg/m^3, which means a modest 0.02 m^3 of it masses 156 kg — a two-hand carry it is not. Yet ships float because the relevant number is not the density of the hull material alone but the average density of the whole vessel, steel plus the air sealed inside it. Spread that steel thin enough around a large enough volume of empty space and the average drops below 1,000 kg/m^3, the density of the water itself. At that point the ship displaces water heavier than itself, and the water pushes back hard enough to hold it up.

Water is the reference every other density is compared against, and the math is simple: density equals mass divided by volume. Put 1,000 kg of water in 1 m^3 and you get exactly 1,000 kg/m^3. In cgs units the same fact wears a different costume — 1 g/cm^3 equals 1,000 kg/m^3 exactly — but the physics is identical. Anything with a density under 1,000 floats in fresh water; anything over 1,000 sinks. Oak at about 700 drifts; aluminium at 2,700 and gold at 19,300 do not. A density calculator lets you check these cutoffs in either unit system without converting by hand.

Icebergs follow the same rule with a twist. Ice has a density of 917 kg/m^3, which is under water's 1,000 but not by much. Because the two numbers are close, an iceberg floats with roughly nine tenths of its volume hidden below the waterline. The visible tip is a small fraction of the total ice, which is why sailors have always feared what they cannot see beneath the surface. The hidden mass is not a trick of shape or temperature; it is the direct arithmetic of 917 against 1,000.

One caveat: density is temperature-sensitive for liquids and gases, and water itself peaks at 4 °C. Solids barely change, so the standard values for steel, ice, oak, aluminium, and gold all assume room temperature. For a ship in arctic water or an iceberg in the tropics the shift is small enough to ignore in everyday work, but precise engineering accounts for it. The floating principle does not change — colder water is still water — only the exact cutoff drifts by a fraction.

FAQs

How do I calculate density?

Divide mass by volume. For example, 1,000 kg divided by 1 m^3 equals 1,000 kg/m^3. The calculator displays the result in both kg/m³ and g/cm³ at the same time, so you can work with whichever unit your project requires without doing a separate conversion step.

What is the density of water?

Water has a density of 1,000 kg/m^3, which equals 1 g/cm³, at around 4 °C. This value serves as the reference point for the entire density scale and is the basis for the float test used to compare every other material.

How heavy is 0.02 m³ of steel?

It weighs 156 kg. Steel's density is 7,800 kg/m^3, so multiplying 7,800 by 0.02 gives 156. Small volumes of metal are deceptively heavy, which is why even a compact steel part can far outweigh a larger piece of plastic or wood.

How much space does 54 kg of aluminium take up?

It takes up 0.02 m^3, which equals 20 litres. Dividing 54 by aluminium's density of 2,700 gives 0.02. Aluminium's low density is exactly why it is used for aircraft and cans, where keeping weight down matters without sacrificing strength.

Why does ice float if it is solid water?

Ice has a density of 917 kg/m^3, which is less than liquid water at 1,000. Water expands as it freezes, so the same mass takes up more space. Because ice is lighter per unit volume, it floats with about 8% above the surface.

Does density change with temperature?

For liquids and gases, density changes noticeably with temperature. For solids, it barely changes. The standard table values assume room temperature, which is close enough for almost all practical work unless you are dealing with extreme heat or cold.

Sources

Related calculators

Force Calculator
Force from Newton's second law, F = ma — or weight on Earth, the Moon, Mars and Jupiter, where the same mass weighs wildly different amounts.
Kinetic Energy Calculator
Kinetic energy from mass and speed — KE = ½mv² — in joules, kilojoules and kWh, with momentum alongside so the squared term really lands.
Ohm's Law Calculator
Solve for voltage, current, resistance or power from any two known values — V = IR and P = VI, with all four quantities shown.
Speed, Distance & Time Calculator
Solve the v = d ÷ t triangle any way round: speed from distance and time, distance from speed and time, or time from distance and speed.