• Foundation
  • About 12 min
  • 5 practice questions

Painted cubes cut into small cubes

Count how many small cubes have 3, 2, 1 or 0 painted faces when a painted cube is cut into equal smaller cubes.

If something looks wrong, please tell us.

A famous question: a cube is painted on all six faces and then cut into many equal small cubes. How many small cubes have paint on exactly 3 faces? Or 2? Or none? The answer depends on where each small cube sits in the big cube: corner, edge, face or inside.

Where the small cubes sit

In a big cube cut into n by n by n small cubes (n at least 2)
PositionPainted facesHow many
Corner38
Edge (not a corner)212 times (n minus 2)
Face (not on an edge)16 times (n minus 2) squared
Inside0(n minus 2) cubed

The cube has 8 corners and 12 edges. Each edge has n small cubes, and 2 of them are corners, leaving n minus 2. Each face is an n by n grid; remove the outer ring and an (n minus 2) by (n minus 2) square remains. The inside is a cube of side n minus 2.

Results for small values of n
n3 faces2 faces1 face0 facesTotal
38126127
482424864
58365427125

Worked examples

Example 1. A cube painted on all faces is cut into 27 equal small cubes. How many have exactly one face painted? Working: n is 3. 6 times (3 minus 2) squared is 6 times 1. Answer: 6.

Example 2. A cube is cut into 64 small cubes. How many have no paint at all? Working: 64 is 4 cubed, so n is 4. The inside is (4 minus 2) cubed, which is 8. Answer: 8.

Example 3. A cube is cut into 125 small cubes. How many have exactly two faces painted? Working: n is 5. 12 times (5 minus 2) is 36. Answer: 36.

Corners: 8 (3 faces). Edges: 12(n-2) (2 faces). Faces: 6(n-2)^2 (1 face). Inside: (n-2)^3 (no paint).

— Formulas to remember

Key takeaways: find n from the number of small cubes; use the four formulas; check that the counts add up to n cubed.

Check your understanding

  1. 1. A cube painted on all faces is cut into 27 equal small cubes. How many have exactly two faces painted?

    1. 8
    2. 12
    3. 6
    4. 24
    Show answer

    Answer: B. n = 3. Two painted faces are the edge cubes that are not corners: 12 x (3 - 2) = 12.

  2. 2. A painted cube is cut into 64 equal small cubes. How many have exactly one face painted?

    1. 24
    2. 8
    3. 16
    4. 36
    Show answer

    Answer: A. n = 4. One painted face: 6 x (4 - 2) squared = 6 x 4 = 24.

  3. 3. A painted cube is cut into 125 equal small cubes. How many have no paint at all?

    1. 8
    2. 9
    3. 27
    4. 36
    Show answer

    Answer: C. n = 5. The inside cube has side 5 - 2 = 3, so 3 cubed = 27 small cubes are unpainted.

  4. 4. A painted cube is cut into 216 equal small cubes. How many have exactly two faces painted?

    1. 36
    2. 24
    3. 64
    4. 48
    Show answer

    Answer: D. 216 = 6 cubed, so n = 6. Edge cubes: 12 x (6 - 2) = 48.

  5. 5. A painted cube is cut into 64 equal small cubes. How many have at least one face painted?

    1. 48
    2. 56
    3. 60
    4. 32
    Show answer

    Answer: B. Unpainted cubes are the inside ones: (4 - 2) cubed = 8. So 64 - 8 = 56 have at least one painted face. Check: 8 + 24 + 24 = 56.

Privacy · Terms · Refunds · Delivery