Cube Calculator

A cube is the simplest solid, and its properties scale in a fixed way: doubling the side multiplies the volume by eight and the surface area by four. A side of 5 gives a volume of 125, a surface area of 150, a face diagonal of about 7.07 and a space diagonal of about 8.66. Use it for boxes, dice, ice, storage cubes and sugar lumps.

Cube Calculator: inputs

Calculated result
Volume125
Surface area150
Face diagonal7.1
Space diagonal8.7

Cube Calculator: Side length (s) sensitivity

Cube Calculator: Side length (s) and Volume5 calculations vary the “Side length (s)” input while holding the other entered inputs constant.4644.591.151255.5166.46216

Cube: worked example

Side length (s)5
Volume125
Surface area150
Face diagonal7.1
Space diagonal8.7

Cube: formula

Volume = s³; surface area = 6s²; face diagonal = s√2; space diagonal = s√3

Cube: Wolfram MathWorld

Use the common edge length in one unit. A face diagonal lies on a square surface; a space diagonal connects opposite vertices through the solid. Surface area and volume have different dimensions and cannot be substituted when ordering coating or fill.

Cube: changing Side length (s)

Side length (s)VolumeSurface areaFace diagonalSpace diagonal
464965.76.9
4.591.1121.56.47.8
5 (example)1251507.18.7
5.5166.4181.57.89.5
62162168.510.4

Cube: compare input ranges

InputTested fromToVolume: low inputVolume: high inputSwing
Side length (s)4.55.591.1166.475.3 (60%)

Cube: individual input comparisons

InputValueVolumeSurface areaFace diagonalSpace diagonal
Side length (s)464965.76.9
4.591.1121.56.47.8
51251507.18.7
5.5166.4181.57.89.5
62162168.510.4

Cube: which assumptions move the result?

Cube: Volume as Side length (s) changesVolume starts at 64. Moving Side length (s) from 4 to 6 changes it to 216, with the displayed formula kept fixed.4644.591.151255.5166.46216
Chart quantityDisplayed settings
Side length (s)4 → 6
Volume64 → 216

Cube: values and definitions

Quantity and definitionValue used
Side length (s)5
Volume125
Surface area150
Face diagonal7.1
Space diagonal8.7

Cube: half and double Side length (s)

Side length (s)Volume
2.515.6
5125
101,000

Common error: Doubling a side and expecting double the volume. Doubling every edge multiplies the volume by eight and the surface by four.

Real cubes have thickness, so inside and outside dimensions differ. Rounded corners reduce volume slightly. A box with unequal sides is a rectangular prism, not a cube.

The results scale steeply, so measuring errors in the side are amplified in volume.

Edge measurement and squared or cubed units

Assume a cube's edge is 10 centimeters. Its six faces total 600 cm², and its volume is 1,000 cm³. If the entered edge is instead 10.1 centimeters, the same equations give 612.06 cm² and 1,030.301 cm³.

A one-percent edge overstatement has produced a 2.01% area difference and a 3.0301% volume difference. These are calculated sensitivity figures for the assumed measurement, not a manufacturing tolerance. Unit conversion also follows the power: 10 centimeters is 0.1 meter, so this original cube occupies 0.001 m³ and has 0.06 m² of surface.

Applying only the linear centimeter-to-meter factor to a square or cubic result gives the wrong dimensions.

OpenStax Prealgebra 2e §9.6: cube volume and surface area

Geometry calculators: Equilateral Triangle Calculator, Trigonometry Calculator, Golden Ratio Calculator, Midpoint Calculator, Rectangle Area & Perimeter Calculator, Circle Area & Circumference Calculator.

A cube needs one number, and everything else follows from it. The space diagonal is the longest straight rod that fits inside, which is useful when the question is whether a long object will fit in a box.

Confirm the object really is a cube. A box with three different edges is a rectangular prism, and these results will not fit it.

See the rectangular prism calculator for boxes, the sphere, cylinder and pyramid pages for other solids, and the Pythagorean theorem calculator for diagonals. The exponent calculator shows cubing, and the unit conversion pages change cubic units to liters or gallons.

How does surface area change when the side doubles?

It becomes four times larger, while the volume becomes eight times larger, which is why bigger boxes need proportionally less material per unit of capacity.

What is the volume of a cube?

The side length cubed. A cube with a side of 5 has a volume of 125 cubic units.

How do I find the space diagonal of a cube?

Multiply the side length by the square root of 3, which is about 1.732 times the side.