Spatial Aptitude
3D Visualisation & Counting
Turn flat nets into cubes, count painted faces with four tiny formulas, and count hidden cubes layer by layer so 3D items become arithmetic.
GATE General Aptitude spatial reasoning - 3D visualisation and counting: cube nets and opposite faces, painted cube counts (8, 12(n-2), 6(n-2)^2, (n-2)^3), dice views, stacked-cube counting and exposed faces, with worked examples, GATE-style MCQs, flashcards and drills.
Learning outcomes
- Judge whether a net folds into a cube and find opposite faces
- Count cubes with 3, 2, 1 and 0 painted faces using n-based formulas
- Use two views of a die or cube to find opposite faces
- Count cubes and exposed faces in stacked solids layer by layer
Cube basics, nets and opposite faces
- A CUBE has 6 faces, 12 edges and 8 vertices. A cuboid also has 6 faces, 12 edges and 8 vertices, but with three different edge lengths in general.
- A NET is a flat arrangement of six squares joined edge to edge that folds into a cube. There are exactly 11 different nets of a cube.
- NET CHECK 1: no four squares may form a 2 x 2 block (they would overlap when folded). NET CHECK 2: no row of more than four squares. NET CHECK 3: exactly six squares, each joined along a full edge.
- OPPOSITE FACES in a net: squares in a straight line that are separated by exactly one square are opposite (the 1st and 3rd squares, and the 2nd and 4th in a row of four). Faces at the two ends of a row of three are also opposite.
- In a 1-4-1 cross-type net (a row of four with one square above and one below), the square above and the square below the SAME square of the row are opposite each other.
- STAIRCASE (2-2-2) AND 3-3 NETS have no long straight line, so fold them square by square: choose one square as the bottom face, fold its neighbours up as the sides, and see which square lands on top.
- The 11 nets are grouped by row lengths: six of the 1-4-1 type, three of the 2-3-1 type, one 2-2-2 staircase and one 3-3 net.
- A face adjacent to another in the net is adjacent on the cube; never mark those as opposite.
- When folding a staircase net, pick a clear bottom square first so the top face is unambiguous.
| Net type | Number of nets | Notes |
|---|---|---|
| 1-4-1 | 6 | Row of four with one square above and one below, in any of the four positions |
| 2-3-1 | 3 | Rows of two, three and one squares |
| 2-2-2 | 1 | Staircase of three rows of two squares |
| 3-3 | 1 | Two rows of three squares joined in a step |
| Total | 11 | All other six-square patterns do not fold into a cube |
Worked example
Problem. A net has a horizontal row of four squares labelled A, B, C, D, with square E above B and square F below B. Which faces are opposite each other?
Solution. In the row of four, A and C are separated by one square, so they are opposite; B and D likewise. E and F are above and below the same square B, so E and F are opposite. Answer: A-C, B-D and E-F.
Painted cubes: counts by number of painted faces
- SETTING. An n x n x n cube is painted on all six outer faces and cut into n^3 unit cubes. The painted-face count depends only on where each small cube sits: corner, edge, face-centre or interior.
- THREE PAINTED FACES (corners): always 8, for any n of 2 or more.
- TWO PAINTED FACES (edge cubes, not corners): 12 edges with n - 2 cubes each, so 12(n - 2).
- ONE PAINTED FACE (face interiors): 6 faces with (n - 2)^2 cubes each, so 6(n - 2)^2.
- NO PAINTED FACE (hidden core): (n - 2)^3.
- CHECK THE TOTAL: 8 + 12(n - 2) + 6(n - 2)^2 + (n - 2)^3 = n^3. For n = 4 this is 8 + 24 + 24 + 8 = 64.
- PARTIAL PAINTING. If some faces are not painted, count cube by cube: for example, a 4 x 4 x 4 cube painted on every face except the bottom, when cut into unit cubes, has 28 cubes with exactly one painted face and 12 with none.
- ONE-COLOUR-PER-FACE VARIANTS (red top, blue sides, and so on) are solved the same way: classify each cube as corner, edge, face or core and read its faces from the face colours.
- If only five faces are painted, the unpainted face removes one colour from every cube that sat on that face - recount corners and edges that touched it.
- For n=2 there is no one-face or zero-face cube: every small cube is a corner with three faces painted.
Formulas to remember
-
Three faces painted = 8 -
Two faces painted = 12(n - 2) -
One face painted = 6(n - 2)^2 -
No face painted = (n - 2)^3
| Cube size n | Total cubes | 3 faces | 2 faces | 1 face | 0 faces |
|---|---|---|---|---|---|
| 3 | 27 | 8 | 12 | 6 | 1 |
| 4 | 64 | 8 | 24 | 24 | 8 |
| 5 | 125 | 8 | 36 | 54 | 27 |
| 6 | 216 | 8 | 48 | 96 | 64 |
Worked example
Problem. A 4 x 4 x 4 cube is painted red on all faces and cut into 64 unit cubes. How many unit cubes have exactly two red faces, and how many have no red face?
Solution. Exactly two faces: 12(n - 2) = 12 x 2 = 24. No face: (n - 2)^3 = 2^3 = 8. Check: 8 corners + 24 edge cubes + 24 face cubes + 8 core cubes = 64.
Dice views, stacked cubes and counting exposed faces
- STANDARD DICE: opposite faces add to 7 (1 opposite 6, 2 opposite 5, 3 opposite 4). Adjacent faces are any two numbers that are not opposite; for example 6 cannot be next to 1.
- COMMON-FACE RULE: when two views of the same cube show one common face (say A, on top in both), the four side faces go around A in a fixed cyclic order (front, right, back, left). Write the side faces from each view as a chain; in the 4-cycle, two faces that are two steps apart are opposite.
- A face that is never seen next to another face in any view is a candidate for its opposite. Faces seen side by side in a view are always adjacent, never opposite.
- COUNTING IN STACKS: when a solid is drawn as heights on a top-view grid, the total number of cubes is the sum of the heights. Count layer by layer from the bottom, adding the cubes hidden behind and under visible ones.
- EXPOSED FACES: a single unit cube has 6 faces. Two cubes joined face to face have 10 exposed faces (12 - 2). A 1 x 1 x k stack has 4k + 2 exposed faces. A solid of m cubes with j shared faces has 6m - 2j exposed faces.
- CUBOID FACTS: a cuboid a x b x c has a x b x c unit cubes, surface area 2(ab + bc + ca) and volume abc, which helps in cutting and slicing questions.
- IN THE REAL GATE PAPER, 3D items are drawn in perspective; redraw the solid as a top-view grid of heights, and count with the grid rather than with the picture.
- Hidden cubes behind taller stacks still count in the total - the height grid includes them automatically.
- If two dice views share no face, rotate one view mentally until a common face appears, then apply the cycle rule.
| Quantity | Rule | Example |
|---|---|---|
| Opposite faces of a standard die | Sum to 7 | 1-6, 2-5, 3-4 |
| Cubes in a stack | Sum of heights on the top-view grid | Heights 3, 1, 2, 2 give 8 cubes |
| Exposed faces of m joined cubes | 6m - 2 x (shared faces) | 2 cubes, 1 shared face: 10 |
| Cuboid a x b x c | Cubes = abc, surface = 2(ab + bc + ca) | 4 x 3 x 2: 24 cubes |
Worked example
Problem. Two views of the same cube show: View 1: top A, front B, right C. View 2: top A, front D, right B. Which face is opposite to C?
Solution. With A on top in both views, the four side faces go around in a fixed cyclic order: front, right, back, left. View 1 gives the chain B, C (front then right). View 2 gives D, B. Joining the chains gives D, B, C in the cycle, so D and C are two steps apart, which makes them opposite faces. Answer: D is opposite C.
Exam tips
- Never allow a 2 x 2 block in a net; faces two apart in a straight line are opposite.
- Memorise the painted-cube counts: 8, 12(n - 2), 6(n - 2)^2, (n - 2)^3, and check they add to n^3.
- For partly painted cubes, classify each small cube as corner, edge, face or core and count faces by hand.
- On a standard die, opposite faces sum to 7.
- Count stacked cubes from a height grid; do not rely on the perspective picture.
- Exposed faces = 6m - 2 x (number of shared faces).
10 GATE-style MCQs for 3D Visualisation & Counting with full explanations. Attempt each question before revealing the answer.
How many edges does a cube have?
Show answer & explanation
Answer: C
A cube has 12 edges, 6 faces and 8 vertices.
A 3 x 3 x 3 cube is painted on all faces and cut into 27 unit cubes. How many unit cubes have exactly three painted faces?
Show answer & explanation
Answer: C
The corner cubes have three painted faces, and a cube always has 8 corners.
A 3 x 3 x 3 cube is painted on all faces and cut into 27 unit cubes. How many unit cubes have exactly two painted faces?
Show answer & explanation
Answer: C
12(n - 2) = 12 x 1 = 12.
A 4 x 4 x 4 cube is painted on all faces and cut into 64 unit cubes. How many have exactly one painted face?
Show answer & explanation
Answer: C
6(n - 2)^2 = 6 x 4 = 24.
A 5 x 5 x 5 cube is painted on all faces and cut into 125 unit cubes. How many have no painted face?
Show answer & explanation
Answer: C
(n - 2)^3 = 3^3 = 27.
A net has a row of four squares A, B, C, D with square E above B and square F below B. Which face is opposite A?
Show answer & explanation
Answer: B
In the row, A and C are separated by one square, so they are opposite faces.
Cubes are stacked on a 2 x 2 base with heights 3 and 1 in the first row and 2 and 2 in the second row. How many cubes are there in total?
Show answer & explanation
Answer: C
Total = 3 + 1 + 2 + 2 = 8 cubes.
Which arrangement of six squares CANNOT be folded into a cube?
Show answer & explanation
Answer: B
Any pattern with a 2 x 2 block of squares has four squares meeting at a vertex and overlaps when folded. A, C and D are valid nets.
Two unit cubes are joined face to face to form a 1 x 1 x 2 block. How many exposed faces does it have?
Show answer & explanation
Answer: B
6 x 2 - 2 x 1 = 10 exposed faces.
Two views of one cube show: View 1: top A, front B, right C. View 2: top A, front D, right B. Which face is opposite C?
Show answer & explanation
Answer: B
Around A the side faces cycle front, right, back, left. View 1 gives B then C, and View 2 gives D then B, so the cycle is D, B, C and then the face opposite B. D is opposite C.
Extra page-specific practice beyond the GATE samples. Attempt all 10, then reveal answers to check your reasoning.
A 6 x 6 x 6 cube is painted on all faces and cut into unit cubes. How many have exactly one painted face?
Show answer & explanation
Answer: C) 96
6(n - 2)^2 = 6 x 16 = 96.
A 6 x 6 x 6 cube is painted on all faces and cut into unit cubes. How many have no painted face?
Show answer & explanation
Answer: C) 64
(n - 2)^3 = 4^3 = 64.
A 4 x 4 x 4 cube is painted on all faces and cut into 64 unit cubes. How many have at least one painted face?
Show answer & explanation
Answer: C) 56
64 - 8 (unpainted core) = 56.
A 3 x 3 x 3 cube is painted only on its top and bottom faces and cut into 27 unit cubes. How many unit cubes have exactly one painted face?
Show answer & explanation
Answer: C) 18
The top layer (9 cubes) and bottom layer (9 cubes) each have exactly one painted face, as the opposite faces cannot meet on one cube: 9 + 9 = 18.
A pyramid-shaped solid has layers: a 3 x 3 bottom layer, a 2 x 2 middle layer and a 1 x 1 top cube. How many unit cubes does it have?
Show answer & explanation
Answer: B) 14
9 + 4 + 1 = 14.
A 4 x 3 x 2 cuboid is cut into unit cubes. How many unit cubes are there?
Show answer & explanation
Answer: C) 24
4 x 3 x 2 = 24.
On a standard die the number 4 is on top. What is on the bottom?
Show answer & explanation
Answer: B) 3
Opposite faces add to 7, so the face opposite 4 is 3.
On a standard die, which number cannot be adjacent to 6?
Show answer & explanation
Answer: A) 1
1 is opposite 6, so they can never be adjacent.
A net has a row of four squares numbered 1, 2, 3, 4, with square 5 above square 2 and square 6 below square 2. Which face is opposite 4?
Show answer & explanation
Answer: B) 2
In the row of four, squares 2 and 4 are separated by square 3, so they are opposite.
A 5 x 5 x 5 cube is painted on all faces and cut into unit cubes. How many have exactly two painted faces?
Show answer & explanation
Answer: C) 36
12(n - 2) = 12 x 3 = 36.
Topic FAQs
How are 3D visualisation questions asked in GATE General Aptitude?
Typical items ask which net folds into a given cube, how many small cubes are painted on a given number of faces after a larger cube is cut, or how many cubes are in a drawn stack. They rely on cube nets and counting formulas.
How many different nets does a cube have?
Exactly 11: six of the 1-4-1 type, three of the 2-3-1 type, one 2-2-2 staircase and one 3-3 net. Any pattern of six squares containing a 2 x 2 block cannot fold into a cube.
What are the painted-cube formulas?
For an n x n x n cube painted on all faces and cut into unit cubes: 3 faces painted = 8, 2 faces = 12(n - 2), 1 face = 6(n - 2)^2, 0 faces = (n - 2)^3. They add up to n^3.
How do I find opposite faces on a die from two views?
Use a shared face and the cyclic order of the faces around it. Faces that appear next to the shared face in some view are adjacent to it, and a face that never appears next to another is opposite it.
Hover a card to reveal the answer with a 3D flip. On touch devices, tap the card or use Show answer.