You asked
Which of these two lenses frames a head and shoulders best in a small room?
The question doesn't name the two lenses, so the guide can't compare them directly. It can say which focal lengths suit a head-and-shoulders portrait in a small room, and the room is the deciding factor.
Longer lenses flatter faces because you stand further back, but a small room limits how far back you can go. The portraits page suggests an 85mm for the classic full-frame look, but that lens needs room. In a small room, you'd end up too close to frame the head and shoulders well, and the flattering perspective is lost. A 50mm is the better fit. On full frame it gives a natural, slightly tight view, and on APS-C it behaves like a classic 75-80mm portrait lens, so you can frame shoulders without backing into a wall. A 35mm also works if you want to show more of the room, but very close distances exaggerate whatever is nearest the camera, so keep it a step back.
Aperture matters too. The portraits page on aperture and background blur notes that f/1.4 and wider can leave a face sharp but the depth too thin for the ears or shoulders, so f/2.8 is often better for a head and shoulders. In a small room, moving your subject away from the wall helps more than a faster lens. If your sensor is APS-C, the sensor sizes page explains why a given f-number gives more depth of field than on full frame.
If you tell the guide which two lenses you're choosing between, it can compare them directly.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.