Cube Calculator
Enter the side length of a cube to compute its volume, surface area, face diagonal, and space diagonal.
A cube is a three-dimensional regular polyhedron with six square faces, eight vertices, and twelve edges — the simplest and most symmetric of all 3D shapes. Cubes appear in countless contexts: dice, sugar cubes, Rubik's cubes, ice cubes, storage boxes, building blocks, shipping containers (approximately), salt crystals at microscopic scale, and pure mathematical analysis. Every face is identical; every edge equal; every angle 90°.
Cube calculations are straightforward thanks to its uniform structure. Given side length s: volume V = s³ (length × width × height, all equal). Surface area A = 6s² (six identical faces). Face diagonal d_face = s√2 (Pythagorean theorem on a square face). Space diagonal d_space = s√3 (Pythagorean theorem in 3D, connecting opposite corners through interior).
The cube is one of the five Platonic solids — regular convex polyhedra where all faces, edges, and angles are equivalent. Others are the tetrahedron (4 triangle faces), octahedron (8), dodecahedron (12 pentagons), and icosahedron (20 triangles). Among these, the cube has unique advantages: it tiles 3D space perfectly without gaps (unlike the tetrahedron).
Cubes are foundational in cryptography (cube of large numbers), computer graphics (voxels, cube mapping for environment textures), chemistry (cubic crystal structures like salt, diamond), and architecture. The classic Rubik's Cube has 43 quintillion possible states.
Common applications: packaging design (boxes are approximately cubic), construction (storage cubes, modular buildings), gaming (dice, building blocks), chemistry (crystal structures), shipping (volume calculations for cubic containers), and any 3D modeling involving cubic shapes.
Inputs
Results
Volume
125 cubic units
Surface Area
150 sq units
Face Diagonal
7.0711
Space Diagonal
8.6603
Total Edge Length
60
Formula
How to use this calculator
- Enter side length in your chosen units.
- Calculator returns volume, surface area, face diagonal, space diagonal.
- For inverse: from volume V, side = ∛V.
- Units: cube side s in cm gives volume in cm³, surface in cm².
- For rectangular box (not cube): use length × width × height formula instead.
- For cube root: ∛n = n^(1/3).
Worked examples
Storage cube
**Scenario:** Storage cube 50 cm side. Volume, surface, diagonal? **Calculation:** V = 50³ = 125,000 cm³ = 125 L. SA = 6 × 2500 = 15,000 cm² = 1.5 m². Space diagonal: 50√3 ≈ 86.6 cm. **Result:** 125 L capacity (holds ~125 standard bottles), 1.5 m² of cardboard for outer surface, longest interior diagonal 86.6 cm (~34"). Useful for: shipping cost (volumetric weight), wrapping paper amount, fitting long items diagonally.
Rubik's cube specs
**Scenario:** Standard 3x3x3 Rubik's cube: 5.7 cm side. Total surface area? **Calculation:** SA = 6 × 5.7² = 6 × 32.49 = 194.94 cm². Per face: 32.49 cm². Per small square: 32.49/9 = 3.61 cm² (1.9 × 1.9 cm small squares). **Result:** ~195 cm² of total surface, 9 colored squares per face. Volume = 5.7³ = 185.2 cm³. 43,252,003,274,489,856,000 possible configurations (43 quintillion). World record solve: under 4 seconds.
Shipping container volume
**Scenario:** Treat 40-ft shipping container as a cube of effective side. Standard interior: 12 m × 2.35 m × 2.4 m = 67.7 m³. Equivalent cube side? **Calculation:** s = ∛67.7 ≈ 4.08 m. **Result:** ~4 m equivalent cube. Actual container is rectangular (length much greater than width/height) — cube approximation only for total volume comparison. Real packing efficiency depends on cargo shape. Cubic measure essential for shipping cost calculation ("dim weight").
When to use this calculator
**Use cube calculations for:**
- **Packaging**: box volume, surface area, materials. - **Construction**: cubic blocks, concrete, modular elements. - **Storage**: shelves, bins, organization. - **Gaming**: dice (cube), building blocks. - **Chemistry**: cubic crystals (salt, diamond). - **Logistics**: shipping volume calculations. - **Architecture**: cubic decorative elements, glass cubes. - **Education**: introducing 3D geometry to students.
**Cube vs rectangular box:**
If length ≠ width ≠ height, it's a rectangular box (rectangular prism), not a cube.
Use: V = l × w × h, SA = 2(lw + lh + wh).
Cube is a special case where l = w = h = s.
**Practical cube applications:**
- **Sugar cubes**: ~1 cm side, ~1 g sugar. - **Ice cubes**: variable sizes (2-3 cm typical). - **Bouillon cubes**: standardized small cubes. - **Storage cubes** (IKEA Kallax etc.): typically 33 or 39 cm cubes. - **Building blocks** (LEGO, Mega Blocks): rectangular but cube-related. - **Building cubes** (CMU concrete blocks): rectangular but standardized.
**Surface-to-volume ratio:**
SA/V = 6/s (for cube of side s).
Important when: - **Heat transfer**: small cubes (high SA/V) heat/cool faster. - **Chemistry**: small particles react faster. - **Biology**: cells use SA/V for efficient material exchange. - **Drying**: small cubes dry faster than large.
**Cube root:**
s = ∛V
For V = 1000: s = 10. For V = 27: s = 3. For V = 1,000,000: s = 100.
**Powers of integers (memorize):**
1³ = 1, 2³ = 8, 3³ = 27, 4³ = 64, 5³ = 125, 6³ = 216, 7³ = 343, 8³ = 512, 9³ = 729, 10³ = 1,000.
11³ = 1,331, 12³ = 1,728, 13³ = 2,197.
**Volume conversions:**
| From | To | Multiply by | |---|---|---| | cm³ | mL | 1 | | cm³ | L | 0.001 | | dm³ | L | 1 | | m³ | L | 1,000 | | m³ | ft³ | 35.31 | | ft³ | cm³ | 28,317 | | in³ | cm³ | 16.39 | | gallon (US) | L | 3.785 | | gallon (US) | ft³ | 0.134 |
**Common applications:**
- **Shipping**: cargo volume in m³, ft³, or "cube" (industry term). - **HVAC**: room volume for air handling. - **Inventory**: cubic feet of storage space. - **Construction**: concrete volumes (m³ or yd³). - **Aquariums**: water volume (in cube-shape tanks). - **Refrigeration**: BTU/m³ cooling capacity. - **Lighting**: lumens per cube of space.
**Cubic numbers in math:**
- Cube numbers: 1, 8, 27, 64, 125, 216, ... - Sum of first n cubes: (1+2+...+n)² (beautiful identity). - Cube root: ∛x. - Pierre de Fermat's Last Theorem: no positive integer solutions to a³ + b³ = c³ (proven by Wiles).
**Software:**
- **3D CAD**: any package has cube/box primitives. - **3D printing**: cubes are simplest, often used for test prints. - **Minecraft**: built entirely from cubes (1 m^3 each in-game). - **Voxel rendering**: cube-based 3D graphics.
**Pitfalls:**
- **Confusing cube with rectangular box**: cube has all sides equal. - **Cube vs square**: square is 2D (s² area), cube is 3D (s³ volume). - **Volume vs surface area**: volume is cubed, surface is squared. - **Space diagonal vs face diagonal**: different formulas. - **Cubic units**: cm³, m³ — not cm² or m². - **Cube root of negative**: real result exists (∛-8 = -2), unlike square root. - **For irregular volume**: don't approximate as cube without thinking.
Common mistakes to avoid
- Confusing cube (3D) with square (2D).
- Computing surface area as s³ instead of 6s².
- Confusing face diagonal (s√2) with space diagonal (s√3).
- Treating rectangular box as cube (all sides must be equal for cube).
- Forgetting units (cm gives cm³, not cm²).
- Computing volume of cube and surface in wrong units.
- Confusing cube root with square root.
- For cube of side 0 or negative: nonsense answers.