ExamSaathi learning library · Government exams · SSC CGL quantitative foundations; published syllabus labelled 2024 · Quantitative aptitude
Solids inside solids: the largest sphere, cone or cube that fits
Find the biggest sphere, cube, cylinder or cone that can sit inside or be carved from another solid by spotting the one length that limits it, then work out the volume used, the space left over and the percentage of material wasted, with pi = 22/7.
Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.
You will learn to
- Find the largest sphere that fits inside a cube, taking its diameter equal to the edge, and the material wasted when that ball is carved from the cube.
- Calculate the edge of the largest cube that fits inside a sphere by setting the cube's body diagonal, edge x sqrt(3), equal to the sphere's diameter.
- Choose the largest cylinder or cone that can be cut from a cube or cuboid block by testing each face of the block as the circular base.
- Use the 3 : 1 : 2 ratio of the volumes of a cylinder, cone and hemisphere of equal radius and height, and give the space left over as a percentage wasted.
Before you start
Keep these volumes ready, with pi = 22/7 throughout. Cube with edge a: a^3. Cuboid: length x breadth x height. Cylinder with radius r and height h: pi x r^2 x h. Cone on the same base and with the same height: one third of that cylinder. Ball, or sphere, with radius r: (4/3) x pi x r^3. Hemisphere, which is half a ball: (2/3) x pi x r^3. Every question here puts one solid inside another, or carves one out of another, and asks for the biggest that is possible. The biggest inner solid presses against the outer one wherever it can, so a single length of the outer solid fixes the size of the inner one; spotting that length is the key skill. The material wasted is the outer volume minus the inner volume, and the percentage wasted is that waste divided by the outer volume, times 100. There is no diagram, so build a picture from the words before choosing a formula. The letter x means multiply.
The core idea: a ball in a box and a box in a ball
A ball inside a cubical box is biggest when it touches all six faces. Two opposite faces are an edge a apart, and the ball spans that gap along a diameter, so its diameter is a and its radius a/2. Its volume is (4/3) x pi x (a/2)^3 = pi x a^3 / 6, which with pi = 22/7 is 11/21 of the cube: about 52.38 percent used and 47.62 percent wasted, for a cube of any size. Turn it round: a cube inside a sphere is biggest when all eight corners touch the sphere. Two opposite corners are then the ends of a diameter, so the cube's body diagonal equals the sphere's diameter. Pythagoras across one face gives (face diagonal)^2 = a^2 + a^2 = 2a^2. Pythagoras again, with that face diagonal and an upright edge as the two shorter sides, gives (body diagonal)^2 = 2a^2 + a^2 = 3a^2. So the body diagonal is a x sqrt(3), and the edge is the diameter divided by sqrt(3). Such a cube uses only about 37 percent of the ball.
Method: the largest cylinder or cone cut from a block
Questions about cutting a cylinder or cone from a block mean an upright cut: the circular base lies flat on one face and the axis runs straight across to the opposite face. A cone tilted along a diagonal of the block is not intended, so read every such question this way. The circle must fit inside that face, so the radius is half the shorter side of the face, and the height is the edge the axis runs along. In a cube all faces match, so r = a/2 and h = a. The cylinder then holds pi x a^3 / 4, which is 11/14 of the cube, and the cone holds a third of that, pi x a^3 / 12, or 11/42 of the cube. A cuboid offers three choices, one for each direction the axis can take. Work out all three and keep the biggest. Do not assume the longest edge should be the height: the radius is squared, so a wide face with a short height can beat a narrow face with a long height. For a ball inside a cuboid, the ball must clear every pair of opposite faces, so its diameter is the shortest edge.
A further case: cylinder, cone and hemisphere in the ratio 3 : 1 : 2
Take a cylinder, a cone and a hemisphere with the same radius r, and let the cylinder and the cone both have height r, which is also the height of the hemisphere. Their volumes are pi x r^3, (1/3) x pi x r^3 and (2/3) x pi x r^3, in the ratio 3 : 1 : 2. Two facts follow at once. The cone and the hemisphere together hold exactly as much as the cylinder, because 1 + 2 = 3. And when one of them is carved out of such a cylinder, the space left over is quick to find: removing the cone leaves two thirds of the cylinder, about 66.67 percent wasted, while removing the hemisphere leaves one third. The pattern needs every height equal to r. A cylinder and a cone with equal radius and any common height are still 3 : 1, but the hemisphere only joins in when that height is r.
Common mistakes
Taking the edge of the cube as the radius of the ball inside it; the edge is the diameter. Setting the face diagonal, a x sqrt(2), equal to the diameter when a cube sits inside a sphere; only the body diagonal, a x sqrt(3), passes through the centre from corner to corner. Choosing the longest edge of a cuboid as the height without testing the other two directions, or taking the radius from the longer side of a face so that the circle spills over the shorter side. Forgetting the 1/3 for a cone, or using 4/3 instead of 2/3 for a hemisphere. Giving the percentage used when the question asks for the percentage wasted, or dividing the waste by the inner volume instead of the outer one. Using 3 : 1 : 2 when the heights are not equal to the radius.
A routine for a solid inside a solid
1. Name the outer solid and the inner solid and list the given lengths. 2. Find the limiting length: the edge for a ball in a cube, the shortest edge for a ball in a cuboid, the diameter for a cube in a ball, the shorter side of the chosen face for a cylinder or cone. 3. For a cuboid, test all three directions of the axis. 4. Work out the inner and outer volumes with pi = 22/7. 5. Waste = outer - inner; percentage wasted = waste / outer x 100. 6. Check: the inner volume is less than the outer one, and the shares match 11/21 for a ball in a cube, 11/14 for an upright cylinder in a cube and 11/42 for an upright cone in a cube.
Worked examples
A carpenter in Saharanpur carves the largest possible ball from a solid wooden cube of edge 21 cm. Take pi = 22/7. Find the volume of the ball, the volume of wood cut away and the percentage of the cube wasted.
- The ball touches all six faces, so its diameter is 21 cm and its radius is 10.5 cm.
- r^3 = 10.5^3 = 1,157.625, so the ball holds (4/3) x (22/7) x 1,157.625 = (88/21) x 1,157.625 = 4,851 cm^3.
- Cube = 21 x 21 x 21 = 9,261 cm^3, so the wood cut away is 9,261 - 4,851 = 4,410 cm^3.
- Percentage wasted = 4,410 / 9,261 x 100 = 1000/21, about 47.62 percent, the same share as for a cube of any size.
Answer: The ball is 4,851 cm^3, and 4,410 cm^3 of wood, about 47.62 percent of the cube, is wasted.
A craft teacher in Bhopal cuts the largest possible cube from a ball of modelling clay of radius 6 cm. Find the edge of the cube and its total surface area.
- All eight corners touch the ball, so the cube's body diagonal equals the diameter, 12 cm.
- Body diagonal = edge x sqrt(3), so edge = 12 / sqrt(3) = 4 x sqrt(3), about 6.93 cm.
- Edge^2 = 16 x 3 = 48 cm^2, so the total surface area is 6 x 48 = 288 cm^2.
- Check: the face diagonal is sqrt(48 + 48) = sqrt(96), and the body diagonal is sqrt(96 + 48) = sqrt(144) = 12 cm, the diameter.
Answer: The cube's edge is 4 x sqrt(3), about 6.93 cm, and its total surface area is 288 cm^2.
A toy maker in Channapatna cuts the largest possible solid cylinder from a wooden block 14 cm x 10 cm x 7 cm, with the cylinder's circular base on one face of the block. Take pi = 22/7. Find the cylinder's radius, height and volume, and the wood wasted.
- Axis along the 14 cm edge: the base lies in the 10 x 7 face, so r = 3.5 cm and h = 14 cm, giving (22/7) x 3.5 x 3.5 x 14 = 539 cm^3.
- Axis along the 10 cm edge: the base lies in the 14 x 7 face, so r = 3.5 cm and h = 10 cm, giving 385 cm^3.
- Axis along the 7 cm edge: the base lies in the 14 x 10 face, so r = 5 cm and h = 7 cm, giving (22/7) x 5 x 5 x 7 = 550 cm^3.
- The largest is 550 cm^3, with the shortest edge as the height. The block holds 14 x 10 x 7 = 980 cm^3, so 980 - 550 = 430 cm^3 is wasted, about 43.88 percent.
Answer: The largest cylinder has radius 5 cm, height 7 cm and volume 550 cm^3, and 430 cm^3 of wood is wasted.
Practice checks
- A cube of edge 7 cm is placed inside a hollow sphere so that all eight of its corners touch the sphere. What is the diameter of the sphere?
- The largest possible cylinder, with its circular base on one face, is cut from a solid cube of edge 14 cm. Take pi = 22/7. What percentage of the cube is wasted?
- A cone has radius 21 cm and height 21 cm, and with pi = 22/7 its volume is 9,702 cm^3. What is the volume of a hemisphere of radius 21 cm?
- Ravi, a woodworker in Jodhpur, cuts the largest possible solid cone from a wooden block 21 cm x 14 cm x 6 cm, with the cone's circular base lying on one face of the block. Take pi = 22/7. What is the volume of the cone?
- A ball of volume 38,808 cm^3 fits exactly inside a cubical box, touching all six faces. Take pi = 22/7. What is the edge of the box?
Sources checked
- SSC CGL Scheme and Syllabus, labelled 2024 — Tier-I Quantitative Aptitude and Tier-II Mathematical Abilities (Mensuration (sphere, right circular cone, right circular cylinder, rectangular parallelepiped)); not verified as the full 2026-cycle syllabus
- OpenStax, Prealgebra 2e — Section 9.6, the volume of a cube s^3, a sphere (4/3) x pi x r^3, a cylinder pi x r^2 x h and a cone (1/3) x pi x r^2 x h, used here for the blocks, balls, cylinders and cones; the hemisphere is taken as half a sphere; mathematical relationships only
- OpenStax, Prealgebra 2e — Section 9.3, the Pythagorean Theorem a^2 + b^2 = c^2 for the legs and hypotenuse of a right triangle, applied twice in this lesson (across a face, then through the cube) to show that a cube's body diagonal is edge x sqrt(3); mathematical relationships only