Cube Density Calculator - Mass, Side & Volume

Use this cube density calculator to find the density of a cube from its mass, side length, face diagonal, space diagonal, or known volume in any unit.

Updated: June 20, 2026 • Free Tool

Cube Density Calculator

Enter the cube's mass in the unit you select below.

Choose the unit of the mass value you entered.

Choose which cube measurement you already have. Volume is used directly; side, face diagonal, and space diagonal are used to recover the volume before density is computed.

Pick the unit that matches the geometry value when side, face diagonal, or space diagonal is selected. Switch to the volume unit selector below when volume is selected.

Enter the numeric value of the measurement you selected above.

Used only when the known measurement is volume. m^3, L, and cm^3 cover metric; ft^3 and in^3 cover imperial.

Choose the unit used to display the final density result. kg/m^3 is the SI unit; g/cm^3 is convenient for small laboratory samples.

Results

Cube Density
0
Mass (kg) 0kg
Cube Volume 0m^3
Recovered Side Length 0m

What Is Cube Density Calculator?

A cube density calculator is a physics tool that turns a cube's mass and one geometric measurement into a density in any common unit. Enter the cube's mass, then choose whether you know its side length, face diagonal, space diagonal, or volume, and the calculator returns rho = m / a^3 in kg/m^3, g/cm^3, lb/ft^3, or lb/in^3 without manual conversion.

  • Classroom and Lab Density Problems: Solve physics and chemistry homework that asks for the density of a sugar cube, wooden cube, concrete cube, or metal cube given its mass and side length.
  • Material Identification by Density: Compare a measured cube density with reference tables for aluminum, concrete, oak, or sugar to identify what the cube is made of.
  • Quality Control for Cast Cubes: Use a cast concrete cube or test coupon to verify that a batch meets the design density of about 2400 kg/m^3.
  • Packing and Storage Sizing: Estimate how heavy a cubic shipping crate, storage bin, or aquarium will be once you know its dimensions and the density of the contents.

Density is one of the most useful intensive properties in physics because it tells you how tightly matter is packed into a given space without depending on the size of the sample. A cube is the cleanest geometry for introducing the concept because every measurement can be derived from one edge length and the volume formula reduces to a single cubed term.

For solids whose shape is not a cube, our volume to mass calculator converts a measured volume and a known density into a mass estimate without going through any geometry.

How Cube Density Calculator Works

The cube density calculator combines rho = m / V with the cube's specific volume formula V = a^3. It first converts the entered mass to kilograms and the geometry to cubic meters, divides to get the SI density, then rescales to the display unit you selected.

rho = m / a^3 V = a^3 rho = m / V when f or d is supplied instead of a: a = f / sqrt(2) or a = d / sqrt(3)
  • rho: Density of the cube, reported in the unit you select (kg/m^3, g/cm^3, lb/ft^3, or lb/in^3).
  • m: Mass of the cube, converted internally to kilograms regardless of the entry unit.
  • a: Edge length of the cube, recovered from side, face diagonal, or space diagonal and stored in meters.
  • V: Volume of the cube, equal to a^3 in cubic meters.

When you only have a face diagonal f, the calculator divides it by sqrt(2) to recover the side, and when you have a space diagonal d, it divides by sqrt(3). When you already know the volume, the calculator skips the diagonal step and divides mass by volume directly. The conversions use fixed SI factors for mass (1 lb = 0.45359237 kg) and length (1 in = 0.0254 m) so switching units never changes the underlying density.

A 1 m Cube with a 1000 kg Mass

Mass m = 1000 kg, side length a = 1 m

1. Convert mass to kilograms: m = 1000 kg. 2. Convert side to meters: a = 1 m. 3. Volume V = a^3 = 1^3 = 1 m^3. 4. Density rho = m / V = 1000 / 1 = 1000 kg/m^3.

Density = 1000 kg/m^3 (1 g/cm^3), Mass = 1000 kg, Volume = 1 m^3.

A 1 m cube that weighs one metric ton has the same density as water.

A 2 ft Wooden Cube with a 5 lb Mass

Mass m = 5 lb, side length a = 2 ft

1. Convert mass to kilograms: m = 5 lb * 0.45359237 = 2.268 kg. 2. Convert side to meters: a = 2 ft * 0.3048 = 0.6096 m. 3. Volume V = a^3 = 0.2265 m^3. 4. Density rho = m / V = 2.268 / 0.2265 = 10.01 kg/m^3. 5. Convert to lb/ft^3: rho = 5 lb / 8 ft^3 = 0.625 lb/ft^3.

Density = 0.625 lb/ft^3 (10.01 kg/m^3), Mass = 2.268 kg, Volume = 0.2265 m^3.

The result is much lower than water (1000 kg/m^3), consistent with balsa or another lightweight wood used for crate liners.

According to National Institute of Standards and Technology (NIST), the SI unit of density is the kilogram per cubic meter (kg/m^3), and 1 g/cm^3 equals 1000 kg/m^3.

According to Wolfram MathWorld, a cube has volume V = a^3, face diagonal a*sqrt(2), and space diagonal a*sqrt(3), which is the chain of relationships used to recover the cube's volume before computing its density.

If you only need the volume, the cube volume calculator returns a^3, the face diagonal, and the space diagonal from the same set of geometry inputs.

Key Concepts Explained

Four concepts are enough to interpret any cube density result, from the units on the screen to the way geometry feeds the volume formula.

Density (rho = m / V)

Mass per unit volume, an intensive property that does not depend on how big the cube is. Doubling the side does not change density; it changes both mass and volume by the same factor of eight.

Mass vs. Weight

Mass is the amount of matter in the cube (kg, g, lb, oz), while weight is the force that mass exerts under gravity. The calculator reads mass, so a moon-bound cube would still return the same density.

Cube Volume (V = a^3)

Volume grows with the cube of the side length, which is why doubling a cube's edge multiplies its mass and volume by eight while its density stays the same.

SI Density Unit (kg/m^3)

Kilograms per cubic meter is the SI unit and the one to use when comparing with material property tables. 1 g/cm^3 equals 1000 kg/m^3, and water at 4 degrees C sits at 1000 kg/m^3.

These concepts come up in almost every introductory physics and chemistry textbook. A solid understanding of why density is intensive and how volume scales with the cube of the side prevents the most common classroom error of treating rho as proportional to a^6 instead of as a constant material property.

For non-cube solids or liquids, our density calculator accepts any mass and volume pair and returns the density in the unit you need.

How to Use This Calculator

Use the cube density calculator in five short steps, switching input modes without re-entering data.

  1. 1 Enter the Mass: Type the cube's mass into the Mass field and pick kilograms, grams, pounds, or ounces in the Mass Unit selector.
  2. 2 Choose the Known Measurement: Select side length, face diagonal, space diagonal, or volume in the Known Cube Measurement selector.
  3. 3 Enter the Measurement Value: Type the numeric value of the measurement you selected into the Measurement Value field.
  4. 4 Pick the Geometry or Volume Unit: Use the Geometry Unit selector for side, face diagonal, or space diagonal (mm, cm, m, in, ft, yd) or the Volume Unit selector for direct volume (m^3, L, cm^3, ft^3, in^3).
  5. 5 Pick a Density Display Unit: Choose kg/m^3, g/cm^3, lb/ft^3, or lb/in^3 to control how the final density is reported, then read the live density, mass, volume, and side length.

A quality-control engineer weighs a cast concrete cube at 9.6 kg and measures its side at 15.85 cm. The calculator reports V = 3,982.84 cm^3 and rho = 2,410.4 kg/m^3, within 0.5% of the nominal 2,400 kg/m^3.

If you ever generalize the cube to a box with three unequal edges, our rectangular prism volume calculator handles length times width times height for any rectangular solid.

Benefits of Using This Calculator

A cube density calculator removes the unit-conversion algebra that usually slows down density problems.

  • Accepts Any One Geometric Input: Enter side length, face diagonal, space diagonal, or volume and the calculator recovers the cube's volume automatically.
  • Switch Units Without Re-entering Numbers: Mass (kg, g, lb, oz), length (mm, cm, m, in, ft, yd), volume (m^3, L, cm^3, ft^3, in^3), and density (kg/m^3, g/cm^3, lb/ft^3, lb/in^3) units are all selectable.
  • Built-in Reference for Common Materials: Compare the result with water (1000 kg/m^3), concrete (2400 kg/m^3), aluminum (2700 kg/m^3), or oak (about 750 kg/m^3) to identify the cube's material.
  • Self-Checking Worked Examples: Mass, Volume, and Side Length result cards appear alongside Density so you can verify each step before submitting the answer.

These benefits show up whenever a cube is the simplest available shape for the measurement. For non-cube shapes, the rectangular prism volume calculator handles box-shaped solids with three independent edge lengths.

To locate where that same cube's mass is concentrated once you know its density distribution, our center of mass calculator accepts uniform-density solids directly.

Factors That Affect Your Results

Three measurable factors control the precision of your cube density result, and two practical limits apply to any cube density estimate.

Mass Measurement Precision

Mass comes from a scale with finite resolution, so a 1000.0 kg reading on a 0.1 kg scale carries only four-figure accuracy.

Side Length Squaring Effect

Volume depends on a^3, so a 1% error in the side becomes a 3% error in the volume and therefore in the density.

Density Unit Conversion

All conversions use exact NIST factors (1 lb = 0.45359237 kg, 1 in = 0.0254 m), so switching the display unit changes the number but not the material density.

  • The calculator assumes a homogeneous cube. Real wood, concrete, and metal samples can vary by 1 to 5% between the surface and the core.
  • Edge measurement on rough cast cubes introduces rounding error. For very small cubes (under 5 mm per side) or very large cubes (over 10 m per side), switch to the volume input mode.

These factors and limits apply to any cube density estimate. For non-cube solids, the volume to mass calculator skips the geometry step and accepts a measured volume directly.

According to Encyclopaedia Britannica, density is the mass of a unit volume of a material substance, expressed as mass divided by volume.

If you have an irregular solid and a measured volume rather than a clean cube, our volume to density calculator accepts the volume and mass directly and reports the density in any of the same units.

Cube density calculator diagram showing a labeled cube with mass, side length, and density formula
Cube density calculator diagram showing a labeled cube with mass, side length, and density formula

Frequently Asked Questions

Q: How do I calculate the density of a cube from its side length and mass?

A: Weigh the cube to get its mass m, measure the edge length a, compute the volume as V = a^3, then divide the mass by the volume: rho = m / V. This calculator handles the volume and division steps automatically.

Q: What is the formula for the density of a cube?

A: The density of a cube is rho = m / a^3, where m is the cube's mass and a is the cube's edge length. The same density is also written as rho = m / V because the cube's volume is V = a^3.

Q: How do I find the density of a cube if I only know its space diagonal?

A: Recover the side from the space diagonal by dividing by sqrt(3), cube the result to obtain the volume, then divide the mass by that volume. The calculator performs both steps when you select the space diagonal input mode.

Q: What units does this cube density calculator support?

A: Mass accepts kilograms, grams, pounds, and ounces; side and diagonal lengths accept millimeters, centimeters, meters, inches, feet, and yards; direct volume accepts m^3, L, cm^3, ft^3, and in^3; and the density output can be reported in kg/m^3, g/cm^3, lb/ft^3, or lb/in^3.

Q: How do I convert the density result from kg/m^3 to g/cm^3?

A: Divide the kg/m^3 value by 1000 to get g/cm^3, because 1 g/cm^3 equals 1000 kg/m^3. For example, water at 1000 kg/m^3 is the same as 1 g/cm^3.

Q: Does cube density change if I scale the cube up or down?

A: No. Density is an intensive property, so a 2 cm sugar cube and a 20 cm sugar cube of the same material have the same density even though the larger one weighs 1000 times as much.