Skip to main content

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.

~3 hrs ~0.5–1 mark · High 10 samples · 10 practice · 10 cards

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 typeNumber of netsNotes
1-4-16Row of four with one square above and one below, in any of the four positions
2-3-13Rows of two, three and one squares
2-2-21Staircase of three rows of two squares
3-31Two rows of three squares joined in a step
Total11All 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.

1-4-1 cube net with opposite pairs A-C, B-D and E-F marked
Faces two apart in a straight line are opposite; above/below the same square are opposite.

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 nTotal cubes3 faces2 faces1 face0 faces
32781261
464824248
51258365427
62168489664

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.

Painted cube counts for 3, 2, 1 and 0 faces with n equals 4 check summing to 64
8 + 12(n-2) + 6(n-2)^2 + (n-2)^3 = n^3. For n=4: 8+24+24+8=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.
QuantityRuleExample
Opposite faces of a standard dieSum to 71-6, 2-5, 3-4
Cubes in a stackSum of heights on the top-view gridHeights 3, 1, 2, 2 give 8 cubes
Exposed faces of m joined cubes6m - 2 x (shared faces)2 cubes, 1 shared face: 10
Cuboid a x b x cCubes = 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.

Dice opposite sum 7 and stack counting with exposed faces 6m minus 2j
Common top gives a 4-cycle of sides; faces two steps apart are opposite. Stacks: sum heights.

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).
Exam pattern · 10 questions

GATE sample questions & answers

10 GATE-style MCQs for 3D Visualisation & Counting with full explanations. Attempt each question before revealing the answer.

Q1 Classic GATE GA pattern

How many edges does a cube have?

  • A) 6
  • B) 8
  • C) 12
  • D) 24
Show answer & explanation

Answer: C

A cube has 12 edges, 6 faces and 8 vertices.

Q2

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?

  • A) 4
  • B) 6
  • C) 8
  • D) 12
Show answer & explanation

Answer: C

The corner cubes have three painted faces, and a cube always has 8 corners.

Q3

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?

  • A) 6
  • B) 8
  • C) 12
  • D) 24
Show answer & explanation

Answer: C

12(n - 2) = 12 x 1 = 12.

Q4

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?

  • A) 8
  • B) 16
  • C) 24
  • D) 32
Show answer & explanation

Answer: C

6(n - 2)^2 = 6 x 4 = 24.

Q5

A 5 x 5 x 5 cube is painted on all faces and cut into 125 unit cubes. How many have no painted face?

  • A) 9
  • B) 18
  • C) 27
  • D) 36
Show answer & explanation

Answer: C

(n - 2)^3 = 3^3 = 27.

Q6

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?

  • A) B
  • B) C
  • C) D
  • D) E
Show answer & explanation

Answer: B

In the row, A and C are separated by one square, so they are opposite faces.

Q7

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?

  • A) 6
  • B) 7
  • C) 8
  • D) 9
Show answer & explanation

Answer: C

Total = 3 + 1 + 2 + 2 = 8 cubes.

Q8

Which arrangement of six squares CANNOT be folded into a cube?

  • A) A row of four with one square above the second and one below the third
  • B) A 2 x 2 block of four squares with two more squares attached
  • C) A staircase of three rows of two squares
  • D) Two rows of three squares joined in a step (the 3-3 net)
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.

Q9

Two unit cubes are joined face to face to form a 1 x 1 x 2 block. How many exposed faces does it have?

  • A) 8
  • B) 10
  • C) 11
  • D) 12
Show answer & explanation

Answer: B

6 x 2 - 2 x 1 = 10 exposed faces.

Q10

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?

  • A) B
  • B) D
  • C) A
  • D) Cannot be determined
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.

Topic drill · 10 questions

10 practice questions — 3D Visualisation & Counting

Extra page-specific practice beyond the GATE samples. Attempt all 10, then reveal answers to check your reasoning.

P1

A 6 x 6 x 6 cube is painted on all faces and cut into unit cubes. How many have exactly one painted face?

  • A) 24
  • B) 48
  • C) 96
  • D) 144
Show answer & explanation

Answer: C) 96

6(n - 2)^2 = 6 x 16 = 96.

P2

A 6 x 6 x 6 cube is painted on all faces and cut into unit cubes. How many have no painted face?

  • A) 16
  • B) 36
  • C) 64
  • D) 96
Show answer & explanation

Answer: C) 64

(n - 2)^3 = 4^3 = 64.

P3

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?

  • A) 8
  • B) 24
  • C) 56
  • D) 64
Show answer & explanation

Answer: C) 56

64 - 8 (unpainted core) = 56.

P4

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?

  • A) 2
  • B) 9
  • C) 18
  • D) 27
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.

P5

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?

  • A) 12
  • B) 14
  • C) 16
  • D) 18
Show answer & explanation

Answer: B) 14

9 + 4 + 1 = 14.

P6

A 4 x 3 x 2 cuboid is cut into unit cubes. How many unit cubes are there?

  • A) 9
  • B) 18
  • C) 24
  • D) 36
Show answer & explanation

Answer: C) 24

4 x 3 x 2 = 24.

P7

On a standard die the number 4 is on top. What is on the bottom?

  • A) 2
  • B) 3
  • C) 5
  • D) 6
Show answer & explanation

Answer: B) 3

Opposite faces add to 7, so the face opposite 4 is 3.

P8

On a standard die, which number cannot be adjacent to 6?

  • A) 1
  • B) 2
  • C) 3
  • D) 4
Show answer & explanation

Answer: A) 1

1 is opposite 6, so they can never be adjacent.

P9

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?

  • A) 1
  • B) 2
  • C) 5
  • D) 6
Show answer & explanation

Answer: B) 2

In the row of four, squares 2 and 4 are separated by square 3, so they are opposite.

P10

A 5 x 5 x 5 cube is painted on all faces and cut into unit cubes. How many have exactly two painted faces?

  • A) 12
  • B) 24
  • C) 36
  • D) 54
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.

Quick revision · 10 cards

10 flashcards — 3D Visualisation & Counting

Hover a card to reveal the answer with a 3D flip. On touch devices, tap the card or use Show answer.

Q1 Faces, edges and vertices of a cube?
Q2 Number of distinct cube nets?
Q3 In a straight line of squares in a net, which faces are opposite?
Q4 Cubes with 3 painted faces (n x n x n)?
Q5 Cubes with 2 painted faces?
Q6 Cubes with 1 painted face?
Q7 Cubes with no painted face?
Q8 Opposite faces of a standard die add up to?
Q9 Exposed faces of m joined cubes with j shared faces?
Q10 What makes a 6-square pattern fail as a net?