Difference Between Cube and Cuboid: Faces Formulas and Examples

#Difference Between Cube and Cuboid
TL;DR
The difference between a cube and a cuboid is one condition: a cube's length, width and height are equal; a cuboid's need not be. Both have 6 faces, 12 edges and 8 vertices, so every cube is a special cuboid.
Kota Jaya Mounika·reviewed byShikha SharmaLast updated on December 2, 202613 min read

Key Points

  • A cube has six equal square faces and one edge length, aa.
  • A cuboid has six rectangular faces in three pairs, with lengths ll, ww and hh.
  • Both have 6 faces, 12 edges, 8 vertices and right-angled corners.
  • Put l=w=h=al = w = h = a into a cuboid formula and you get the cube formula.
  • The cube has more symmetry and the least surface for its volume.

Why Is a Die a Cube but a Brick Only a Cuboid?

Roll a die and it looks the same from every side; a brick on its end clearly does not.

  • Both are 3D shapes with six faces, twelve edges and eight square corners.
  • A cuboid's twelve edges come in three groups of four: lengths, widths and heights.
  • A cube is the cuboid where those three groups are equal. Everything else follows from that.
the difference between cube and cuboid edges, all twelve equal on a cube but three groups of four on a cuboid
A cube has one edge length while a cuboid has three. Left: a 4-unit cube with all 12 edges in blue, each 4. Right: a 6 by 3 by 4 cuboid with its four length edges in orange, four width edges in green and four height edges in purple, hidden edges dashed.

What Is the Difference Between a Cube and a Cuboid?

A cube has six equal square faces. A cuboid has six rectangles meeting at right angles, so its three dimensions can differ. Some books write width as breadth, bb.

Feature Cube Cuboid
Faces 6 equal squares 6 rectangles, in 3 equal pairs
Edge lengths 1 (all 12 equal to aa) Up to 3 (ll, ww, hh)
Faces, edges, vertices 6, 12, 8 6, 12, 8
Space diagonal a3a\sqrt{3} l2+w2+h2\sqrt{l^2 + w^2 + h^2}
Mirror planes 9 3 (when ll, ww, hh all differ)
Everyday example A die, a sugar cube A brick, a book
  • The counts match. The difference is in face shapes and edge lengths, never in how many.
  • The diagonal and mirror-plane rows are explained step by step below.

What Is a Cube?

A cube is a solid bounded by six equal square faces meeting at right angles. One number, the edge aa, describes it.

  • Euclid calls it the solid "contained by six equal squares".
  • It is the 3D partner of the square, just as a square is a rectangle with equal sides.
  • It is one of the five Platonic solids: every face is the same regular polygon.

What Is a Cuboid?

A cuboid is a solid bounded by six rectangles, described by length ll, width ww and height hh.

  • Opposite faces are equal: l×wl \times w, l×hl \times h and w×hw \times h, each twice.
  • It is also called a rectangular prism.
  • Most boxes, books and rooms are cuboids.

What Are the Formulas for a Cube and a Cuboid?

The formulas match; the cube's are shorter because one letter does the work of three.

Quantity Cube (edge aa) Cuboid (l×w×hl \times w \times h)
Volume a3a^3 lwhlwh
Total surface area 6a26a^2 2(lw+wh+hl)2(lw + wh + hl)
Lateral surface area (4 sides) 4a24a^2 2h(l+w)2h(l + w)
Space diagonal a3a\sqrt{3} l2+w2+h2\sqrt{l^2 + w^2 + h^2}
Total edge length 12a12a 4(l+w+h)4(l + w + h)

Why each formula looks the way it does

  • Volume: one layer holds l×wl \times w unit cubes, and there are hh layers.
  • Surface area: three pairs of faces, so add one of each and double.
  • One condition collapses them: set l=w=h=al = w = h = a and 2(lw+wh+hl)2(lw + wh + hl) becomes 6a26a^2.

The space diagonal: Pythagoras twice

A space diagonal runs through the box from one corner to the opposite corner.

  1. Cross the 6×36 \times 3 floor: 36+9=45\sqrt{36 + 9} = \sqrt{45}.
  2. Climb the height 4: 45+16=61≈7.81\sqrt{45 + 16} = \sqrt{61} \approx 7.81.
  3. Together: l2+w2+h2\sqrt{l^2 + w^2 + h^2}.
finding a cuboid's space diagonal with two right triangles
The space diagonal is Pythagoras twice: in a 6 by 3 by 4 cuboid, the green floor diagonal root 45 meets the purple height 4 at a right angle, and the orange space diagonal is root 61, about 7.81; a cube of edge 4 has space diagonal 4 root 3, about 6.93.

The lab opens on this 6×3×46 \times 3 \times 4 cuboid. Drag the dots to change ll, ww and hh; set all three to 4 and you hold a cube.

Try It Yourself

Use the 3d solids lab to see Difference Between Cube and Cuboid at work: drag, change the numbers and watch what happens.

What Do a Cube and a Cuboid Have in Common?

The two solids share a lot.

  • 6 faces, 12 edges and 8 vertices.
  • Right angles where faces meet, and equal, parallel opposite faces.
  • Both are prisms (two matching ends joined by flat sides), and both fit Euler's formula, faces minus edges plus vertices: 6−12+8=26 - 12 + 8 = 2.
  • Four equal space diagonals crossing at the centre.

What Changes When the Sides Become Equal?

Making l=w=hl = w = h changes two deeper things.

The cube gains symmetry

  • A mirror plane cuts a solid into two mirror-image halves.
  • A cuboid with three different sides has 3; a cube has 9.
  • The six extra cuts run diagonally and only work on square faces.
a diagonal mirror plane of a cube compared with the same cut through a cuboid
The cube has mirrors the cuboid lacks: a diagonal plane from a bottom edge to the opposite top edge splits a cube into mirror-image halves, but the same cut through a 6 by 3 by 4 cuboid does not; the cube has 9 mirror planes and the cuboid 3.

The cube wraps its volume in the least surface

  • Pack 64 unit cubes: a 16×2×216 \times 2 \times 2 rod has surface 136, an 8×4×28 \times 4 \times 2 slab 112, a 4×4×44 \times 4 \times 4 cube only 96.
  • The more balanced the box, the less outside it has.
boxes of equal volume have smaller surface area the closer they are to a cube
Same volume, less wrapping: three boxes of 64 unit cubes drawn to one scale, a 16 by 2 by 2 rod with surface area 136, an 8 by 4 by 2 slab with 112 and a 4 by 4 by 4 cube with 96.

Is a Cube a Cuboid?

Yes. Every cube is a cuboid, but not every cuboid is a cube.

  • A square is a rectangle with equal sides, so a cube's six squares qualify.
  • A 3×3×53 \times 3 \times 5 box, with two equal sides, is a square prism.
  • So the rings nest: cuboids, then square prisms, then cubes.
cubes sit inside square prisms, which sit inside cuboids
Every cube is a cuboid, not the other way round: three nested rings, the outer blue ring of cuboids with a 6 by 3 by 4 box, the green ring of square prisms with a 3 by 3 by 5 box, and the inner orange ring of cubes with a 3 by 3 by 3 cube, beside the 2D parallel that every square is a rectangle.

It is the 2D story one step up: every square is a rectangle.

Examples of the Difference Between Cube and Cuboid

All lengths are in centimetres.

Example 1

A cube has 5 cm edges. Find its volume, surface area and total edge length.

  1. V=53=125V = 5^3 = 125 cm³.
  2. TSA=6×25=150\text{TSA} = 6 \times 25 = 150 cm².
  3. Edges: 12×5=6012 \times 5 = 60 cm.

Example 2

A cuboid is 8 by 3 by 2. A student writes its volume as 83=5128^3 = 512 cm³. Fix it.

  1. 838^3 assumes all three edges are 8: a much bigger box.
  2. One layer holds 8×3=248 \times 3 = 24 cubes, and there are 2 layers.
  3. Final answer: V=48V = 48 cm³.
counting unit cubes shows why a cuboid's volume is length times width times height
Example 2: an 8 by 3 by 2 cuboid built from unit cubes, 24 cubes in each of 2 layers, so the volume is 8 times 3 times 2, 48 cubic centimetres, not 8 cubed, 512.

Example 3

Will a 7.5 cm pencil fit in a 6 by 3 by 4 box, lying flat or at a slant?

  1. Flat, the longest straight line is 45≈6.71\sqrt{45} \approx 6.71: too short.
  2. At a slant it is 61≈7.81\sqrt{61} \approx 7.81: long enough.
  3. Final answer: it fits only at a slant.

Example 4

A cuboid has volume 60 cm³, length 5 and width 4. Find the height. Is it a cube?

  1. h=60÷20=3h = 60 \div 20 = 3 cm.
  2. The edges 5, 4 and 3 differ, so it is a cuboid.
  3. Its surface area is 2(20+12+15)=942(20 + 12 + 15) = 94 cm²; a cube of 60 cm³ needs about 91.96 cm².

Example 5

A painted 3 cm cube is cut into 27 one-centimetre cubes. How many have 3, 2, 1 and 0 painted faces?

  1. Corners: 8 cubes with 3.
  2. Edge middles: 12 cubes with 2.
  3. Face centres: 6 cubes with 1; the centre: 1 with none.
  4. Final answer: 8, 12, 6 and 1, the cube's vertices, edges and faces.
counting painted faces on the 27 small cubes of a painted cube
Example 5: the three layers of a painted 3 by 3 by 3 cube laid side by side, small cubes coloured by painted faces: 8 orange corner cubes with 3, 12 blue edge cubes with 2, 6 green face cubes with 1 and 1 purple centre cube with none, totalling 27.

Where Do Students Trip Up on Cube and Cuboid?

Read the dimensions first: one number means cube formulas, more than one means ll, ww and hh.

Mistake 1: Using a cube formula on a cuboid

Where it slips in: a3a^3 and 6a26a^2 look quicker.

Don't do this: Write 838^3 for an 8×3×28 \times 3 \times 2 box.

The correct way: Use V=lwhV = lwh and 2(lw+wh+hl)2(lw + wh + hl).

Mistake 2: Saying a cube is not a cuboid

Where it slips in: "Is a cube a cuboid?"

Don't do this: Say no because cubes have squares.

The correct way: A square is a special rectangle, so a cube is a special cuboid.

Mistake 3: Thinking a cuboid cannot have any equal edges

Where it slips in: Boxes like 3×3×53 \times 3 \times 5.

Don't do this: Call it a cube, or say it is not a cuboid.

The correct way: It is a square prism, still a cuboid. Only all three equal makes a cube.

Mistake 4: Using the face diagonal when the question wants the space diagonal

Where it slips in: "Longest stick that fits" questions.

Don't do this: Stop at the floor diagonal l2+w2\sqrt{l^2 + w^2}.

The correct way: Use l2+w2+h2\sqrt{l^2 + w^2 + h^2}; for a cube, a3a\sqrt{3}.

Where Are Cubes and Cuboids Seen?

Flat faces and right angles stack with no gaps, so both shapes are everywhere.

  • Dice: every face of a cube is the same, so each is equally likely. A 6×3×46 \times 3 \times 4 "die" would land on its big faces more.
a fair cube die beside an unfair cuboid die
Real life, why dice are cubes: a green cube with visible faces of 16, 16 and 16 square units is fair, while an orange 6 by 3 by 4 box with faces of 18, 24 and 12 would land on its big faces more often.
  • Packaging and building: cartons, rooms and bricks are cuboids.
  • Measuring volume: a litre is the volume of a cube with 10 cm edges.

Conclusion

  • A cube has l=w=hl = w = h; a cuboid need not.
  • Both have 6 faces, 12 edges and 8 vertices.
  • Every cube is a cuboid, as every square is a rectangle.
  • Cube formulas are cuboid formulas with equal letters.

Practice These to Solidify Your Understanding

Measure a box at home and find its volume and surface area. Then check that a cube with the same volume has less surface.

  1. Find the volume of a cube with edge 7 cm.
  2. Find the surface area of a 10 by 5 by 2 cuboid.
  3. A cuboid is 6 by 6 by 6. What is it, and what is its volume?
  4. Find the space diagonal of a 12 by 4 by 3 box.

Answers: 343 cm³; 160 cm²; a cube, 216 cm³; 13 cm. If Question 4 gave 160\sqrt{160}, see Mistake 4.

To explore solid geometry with a teacher, try Bhanzu's geometry tutor or middle school math tutor, or browse math classes online.

Want a live Bhanzu trainer to work through 3D shapes with your child? Book a free demo class, online globally, or in person at our McKinney, TX center.

Read More

Research Behind This Article

  1. Euclid, Elements, Book XI, Definition 25 (the cube), with commentary by D. E. Joyce, Clark University. mathcs.clarku.edu
  2. Euclid, Elements, Book I, Proposition 47 (the Pythagorean theorem behind the space diagonal), D. E. Joyce, Clark University. mathcs.clarku.edu
  3. OpenStax, Prealgebra 2e, Section 9.6: Solve Geometry Applications: Volume and Surface Area (rectangular solids and cubes). openstax.org
  4. National Institute of Standards and Technology, Guide for the Use of the International System of Units (SI), Special Publication 811 (the litre as one cubic decimetre). nist.gov

Quick Quiz: Check Yourself

Three levels, questions with figures, instant feedback with the reason.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is the main difference between a cube and a cuboid?
The difference between cube and cuboid is in the faces: a cube has six equal square faces, while a cuboid has rectangular faces with up to three edge lengths.
How many faces, edges and vertices do a cube and a cuboid have?
The same for both: 6 faces, 12 edges and 8 vertices. Counting never shows the difference between cube and cuboid; edge lengths do.
What is the volume formula for each?
A cube's volume is a3a^3; a cuboid's is l×w×hl \times w \times h.
What is a cuboid called in other places?
A rectangular prism, a box or a rectangular parallelepiped. All mean six rectangles meeting at right angles.
Is a cube the same as a square?
No. A square is a flat 2D shape with an area; a cube is a solid with a volume.
✍️ Written By
Kota Jaya Mounika
Kota Jaya Mounika
Subject Matter Expert
Kota Jaya Mounika is a mathematics educator and content development professional with 2 years of experience. She previously worked as a Mathematics Instructor at NIAT, teaching B.Tech students and developing educational resources. At Bhanzu, she specializes in developing and reviewing mathematics content for Grades 6–8, focusing on conceptual understanding, problem-solving, and content accuracy. She is passionate about making mathematics simple, engaging, and accessible. She holds a B.Sc. in Mathematics and Statistics and a postgraduate degree in Computer Applications.
LinkedIn
🔬 Reviewed By
Shikha Sharma
Subject Matter Expert
Book a FREE Demo ClassBook Now →