ExamSaathi learning library · Government exams · SSC CGL quantitative foundations; published syllabus labelled 2024 · Quantitative aptitude
Cuboids and cubes: diagonals, surface area and volume
Find the body diagonal of a cuboid as sqrt(l^2 + b^2 + h^2), its total and lateral surface areas and its volume, then cut a painted cube into smaller cubes and count those with paint on three, two, one or no faces.
Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.
You will learn to
- Calculate the body diagonal of a cuboid as sqrt(l^2 + b^2 + h^2) and of a cube as a x sqrt(3).
- Find the total surface area and the lateral surface area of a cuboid and a cube.
- Count the small cubes made when a cube is cut into smaller cubes, and the change in surface area.
- Work out how many small cubes of a painted cube have three, two, one or no painted faces.
Before you start
A cuboid is a box with 6 rectangular faces, 12 edges and 8 corners. The three edges that meet at a corner are its length l, breadth b and height h, and each of these lengths appears on 4 parallel edges. A cube is a cuboid whose edges are all equal, say a. Areas are in square units such as cm^2 or m^2, and volumes in cubic units such as cm^3. You will need Pythagoras theorem: if the two shorter sides of a right triangle are p and q, the side facing the right angle is sqrt(p^2 + q^2). Keep sqrt(2), about 1.414, and sqrt(3), about 1.732, in mind.
Face diagonals and the body diagonal
A face diagonal joins opposite corners of one face. On a face measuring l by b it is sqrt(l^2 + b^2), by Pythagoras theorem. The body diagonal runs through the inside of the box, from one corner to the corner farthest from it. It is the longest side of a right triangle whose other two sides are the face diagonal sqrt(l^2 + b^2) and the upright edge h, so body diagonal = sqrt(l^2 + b^2 + h^2). A cube has face diagonal a x sqrt(2) and body diagonal a x sqrt(3). For a box 6 cm by 3 cm by 2 cm, the body diagonal is sqrt(36 + 9 + 4) = sqrt(49) = 7 cm, and that is the longest thin, straight rod the box can hold. A cuboid has 4 body diagonals, all of the same length.
Total and lateral surface area
The six faces come in three matching pairs: two of l x b, two of b x h and two of h x l. So total surface area (TSA) = 2 x (l x b + b x h + h x l). The lateral surface area (LSA) counts only the four side faces and leaves out the top and bottom: LSA = 2 x (l + b) x h, the perimeter of the base times the height. The four walls of a room make up its LSA. For a cube, TSA = 6 x a^2 and LSA = 4 x a^2. The volume is l x b x h for a cuboid and a^3 for a cube. One more link is worth knowing: (l + b + h)^2 = (l^2 + b^2 + h^2) + 2 x (l x b + b x h + h x l), that is, (l + b + h)^2 = (body diagonal)^2 + TSA. All 12 edges add up to 4 x (l + b + h), so the edge total and the diagonal together fix the TSA.
Cutting a cube and counting painted faces
Divide every edge of a cube into n equal parts and slice along the marks: you get n x n x n = n^3 small cubes. A cube of edge 12 cm cut into cubes of edge 3 cm has n = 12 / 3 = 4 and gives 64 small cubes. Now suppose the big cube was painted on all six faces before cutting, with n at least 2. The 8 corner cubes have 3 painted faces. Each of the 12 edges holds n - 2 cubes with 2 painted faces, 12 x (n - 2) in all. Each of the 6 faces has (n - 2)^2 cubes with 1 painted face, 6 x (n - 2)^2 in all. The (n - 2)^3 cubes deep inside have no paint. For n = 4 these counts are 8, 24, 24 and 8, which add up to 64. Cutting exposes new faces, so the small cubes together have n times the surface area of the big cube, while their total volume is unchanged.
Common mistakes
Giving a face diagonal, sqrt(l^2 + b^2), when the question wants the longest rod that fits in the box, which is the body diagonal. Writing a x sqrt(2) for the body diagonal of a cube: that is the face diagonal, and the body diagonal is a x sqrt(3). Using the TSA when only the four walls are painted, or the LSA when the floor and ceiling are included. Dropping the 2 in 2 x (l x b + b x h + h x l). Writing 6 x (n - 2) instead of 6 x (n - 2)^2 for the cubes with exactly one painted face. Taking n as the total number of small cubes instead of the number of parts along one edge.
Checklist for box and cube questions
Label l, b and h in the same unit before using any formula. Decide what is wanted: a length (an edge or a diagonal), an area (all six faces, or only the four walls) or a volume. For the longest rod, go straight to sqrt(l^2 + b^2 + h^2). If a cube's body diagonal d is given, its edge is d / sqrt(3). For a painted cube, first find n = big edge / small edge, then list 8, 12 x (n - 2), 6 x (n - 2)^2 and (n - 2)^3, and confirm that the four counts total n^3.
Worked examples
A wooden box is 12 cm long, 9 cm wide and 8 cm high. Find the length of the longest thin rod that fits inside it, its total surface area and its volume.
- Longest rod = body diagonal = sqrt(12^2 + 9^2 + 8^2) = sqrt(144 + 81 + 64) = sqrt(289) = 17 cm.
- TSA = 2 x (12 x 9 + 9 x 8 + 8 x 12) = 2 x (108 + 72 + 96) = 2 x 276 = 552 cm^2.
- Volume = 12 x 9 x 8 = 864 cm^3.
Answer: The longest rod is 17 cm, the total surface area is 552 cm^2 and the volume is 864 cm^3.
The 12 edges of a cuboid add up to 76 cm, and its body diagonal is 13 cm. Find its total surface area.
- The edges hold each of l, b and h four times, so l + b + h = 76 / 4 = 19 cm.
- Use (l + b + h)^2 = (body diagonal)^2 + TSA: 19^2 = 13^2 + TSA.
- TSA = 361 - 169 = 192 cm^2.
- Check with one box that fits: edges of 3 cm, 4 cm and 12 cm add up to 19, give a diagonal of sqrt(9 + 16 + 144) = 13, and have TSA = 2 x (12 + 48 + 36) = 192.
Answer: The total surface area is 192 cm^2.
A wooden cube of edge 10 cm is painted blue on all six faces and then cut into small cubes of edge 2 cm. How many small cubes have exactly two painted faces, and how many have no paint at all?
- n = 10 / 2 = 5 parts along each edge, so there are 5^3 = 125 small cubes.
- Exactly two painted faces: 12 x (5 - 2) = 12 x 3 = 36.
- No paint: (5 - 2)^3 = 27.
- Check: 6 x 3^2 = 54 cubes have exactly one painted face, and 8 + 36 + 54 + 27 = 125.
Answer: 36 small cubes have exactly two painted faces, and 27 have no paint.
Practice checks
- The body diagonal of a cube is 6 x sqrt(3) cm. Its total surface area is:
- A room is 6 m long, 4.5 m wide and 3.5 m high. Ignoring doors and windows, the cost of painting its four walls at Rs. 40 per m^2 is:
- A cube painted on all six faces is cut into 216 identical small cubes. How many of the small cubes have exactly one painted face?
- A solid cube of edge 9 cm is cut into small cubes of edge 3 cm. By how much is the combined surface area of all the small cubes greater than the surface area of the original cube?
- The longest thin, straight rod that fits inside a box 16 cm long, 12 cm wide and 15 cm high is:
Sources checked
- SSC CGL Scheme and Syllabus, labelled 2024 — Tier-I Quantitative Aptitude and Tier-II Mathematical Abilities (Mensuration (rectangular parallelepiped)); not verified as the full 2026-cycle syllabus
- OpenStax, Calculus Volume 3 — Chapter 2 Key Equations: the distance between two points in space, d = sqrt((x2 - x1)^2 + (y2 - y1)^2 + (z2 - z1)^2), which for two opposite corners of a cuboid gives the body diagonal sqrt(l^2 + b^2 + h^2); mathematical relationships only