Cube Calculator

A cube has six equal square faces. With edge a, the volume is a³ and the surface area is 6a². For an edge of 4, the volume is 64, the surface area is 96, the face diagonal is 5.657 and the space diagonal is 6.928.

Last updated · By · Runs in your browser, nothing is uploaded

Result

Step-by-Step Solution

Enter your values above to see the full working.

What Is a Cube?

A cube is the most symmetrical box: all twelve edges are equal, all six faces are identical squares and every angle is a right angle. Dice, sugar lumps, ice cubes and Rubik’s cubes are familiar examples. Because everything depends on a single number, the edge length a, you can find any other measurement from any one of them.

This calculator works in all directions. You can start from the edge, the volume, the surface area or the space diagonal, and it returns the rest. That is useful when, for example, you know how much a cubic container holds and want to know how long its sides are.

All Measurements of a Cube with Edge 4

MeasurementFormulaValue
Edgea4
Volumea³64
Surface area6a²96
Face diagonala√25.6569
Space diagonala√36.9282
Total edge length12a48

Cube Formulas

V = a³ Surface area = 6a² Face diagonal = a√2 Space diagonal = a√3 From volume: a = ∛V From surface area: a = √(S ÷ 6) From space diagonal: a = d ÷ √3
  • a is the edge length.
  • Volume is in cubic units and surface area in square units.
  • The face diagonal crosses one square face. The space diagonal crosses the inside of the cube from one corner to the opposite corner.
  • The cube root in the first conversion is found with the cube root calculator.

A cube is a special rectangular prism and also one of the Platonic solids.

How Is It Calculated? Worked Examples

Edge 4

  1. Volume: 4³ = 64.
  2. Surface area: 6 × 16 = 96.
  3. Face diagonal: 4√2 ≈ 5.657.
  4. Space diagonal: 4√3 ≈ 6.928.
  5. Total edge length: 12 × 4 = 48.

Working Backwards

You knowEdge aOther results
Volume 1,00010Surface area 600, space diagonal 17.32
Surface area 1505Volume 125, space diagonal 8.66
Space diagonal 105.7735Volume 192.45, surface area 200

A Cubic Container

A cubic water tank that holds 1,000 litres (1 m³) has an edge of exactly 1 m, an outer surface area of 6 m² and a space diagonal of 1.732 m.

A Rubik’s Cube

A standard puzzle cube has an edge of about 5.7 cm, so its volume is 5.7³ ≈ 185 cm³ and its surface area is about 195 cm².

Scaling

Doubling the edge multiplies the surface area by 4 and the volume by 8. An ice cube with an edge of 3 cm contains 27 cm³, which is 27 mL of water volume.

Painting a 3 × 3 × 3 Cube

Imagine a large cube made of 27 small cubes, with its outside painted. The 8 corner cubes have 3 painted faces, the 12 edge cubes have 2, the 6 face-centre cubes have 1 and the single hidden centre cube has none: 8 + 12 + 6 + 1 = 27. A cube can also be unfolded in 11 different ways into six connected squares, called nets.

Cube versus Sphere

A sphere that exactly fits inside a cube of edge a has diameter a and fills about 52.4% of the cube’s volume. A sphere through all eight corners has diameter a√3, the space diagonal.

How to Use This Cube Calculator

  1. Choose what you know: the edge, the space diagonal, the volume or the surface area.
  2. Enter that value.
  3. Read the edge, volume, surface area, face diagonal, space diagonal and total edge length.

Where Cube Calculations Are Used

  • Packaging and storage: cubic boxes, crates and containers.
  • Education: volume and surface area problems, and cube roots.
  • Games and toys: dice and puzzle cubes.
  • Construction: concrete cubes used to test strength are 150 mm on each edge.
  • Computer graphics and 3D modelling: the cube is the basic building block of voxel models.

What Are the Most Common Mistakes With the Cube Calculator?

  • Confusing a³ and 3a. a³ is a × a × a.
  • Mixing the face diagonal and the space diagonal. They are a√2 and a√3.
  • Forgetting that all six faces count in the surface area.
  • Taking the square root instead of the cube root when finding the edge from a volume.
  • Mixing units. Cubic units for volume, square units for area.
  • Applying it to non-cubic boxes. Use the rectangular prism calculator if the edges differ.

Cube Numbers and Higher Dimensions

The volumes of cubes with whole-number edges are the cube numbers 1, 8, 27, 64, 125, 216 and so on, and the edge of such a cube is an exact cube root. The cube also has a four-dimensional relative, the tesseract or hypercube, which has 16 vertices, 32 edges, 24 square faces and 8 cubic cells. Its three-dimensional shadow is the familiar “cube within a cube” picture.

Where Can You Verify These Formulas?

The definitions and formulas on this page follow standard references. Check them against these sources:

Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.

Frequently Asked Questions

What is the volume of a cube?

V = a³, the edge cubed. For an edge of 4 it is 64.

What is the surface area of a cube?

6a², six identical square faces. For an edge of 4 it is 96.

How do I find the edge from the volume?

Take the cube root: a = ∛V. A cube of volume 1,000 has an edge of 10.

What is the space diagonal of a cube?

The line from one corner to the opposite corner through the inside, a√3. For a = 4 it is 6.93.

How many edges, faces and vertices does a cube have?

12 edges, 6 faces and 8 vertices.

What happens to the volume if the edge doubles?

The volume becomes 8 times bigger and the surface area 4 times bigger.