Cube calculator

Measurements
cm

Advanced

Changing a measurement unit keeps its number: 3 cm becomes 3 m. Unit for all measurements applies to every input and the result. Result unit converts only the answers.

Six equal square faces; no wall thickness.

Number format

Use a decimal point or comma, without thousands separators. Up to 15 significant digits and 64 characters; no fractions or expressions.

aaa

Not to scale

Enter your measurements to see the results.

No personal result is available. These are the cube formulas and conditions.

Formulas and conditions

Cube

A cube in parallel projection with three adjacent edges labelled a and hidden edges dashed.aaa
Volume
V=a3
Surface area
SA=6a2

a edge length · V volume · SA closed surface area

Six equal square faces. Every edge has length a > 0; no wall thickness.

Surface area is 6a², not 6a³. Volume and surface area have different units.

Diagrams are schematic, not to scale.

A cube is the rectangular prism case L = W = h = a. One edge determines the whole solid.

Each of its six faces has area a². Its volume measures how many unit cubes fit inside and therefore uses a³.

Use the same length unit throughout a formula. Convert mixed measurements first. Length and perimeter use units such as cm; area uses cm²; volume uses cm³. Decimal examples below are rounded to at most six significant figures, with ≈ marking an approximation.

Worked example: A cube with edge 0.5 m

  1. V = 0.5³ = 0.125 m³.
  2. SA = 6 × 0.5² = 1.5 m².

The same edge is 50 cm: V = 125000 cm³ and SA = 15000 cm². A length conversion factor of 100 becomes 100³ for volume and 100² for area.

Formula sources

Formulas are checked against these references. The explanation, diagrams and worked calculations here are authored for Geometry Glance.