You asked
Which lens gives me enough room to step back from a group of five in a small room?
For a group of five in a small room, the answer is a 35mm lens, ideally a 35mm f/1.8 or f/1.4. The Portraits page lists it for groups and environmental portraits, and it's wide enough to fit several people without you backing far into the wall. At 50mm you'd need more distance than most small rooms allow, and a longer lens like 85mm would be impossible in there.
Stepping back isn't the only issue. The guide notes that very wide lenses exaggerate whatever is nearest the camera, so keep the closest person a little away from the lens and avoid the widest focal lengths for groups. A 35mm sits in the sweet spot: enough context to show the room, with faces that still look natural.
The sensor size matters too. On a full-frame camera, 35mm gives the view described above. On APS-C, the same lens frames tighter, so you'll either need a shorter lens or accept less room around the group. The Street page gives the same view on 35mm and explains why it's the classic all-round focal length. The f/1.4 is worth the extra money if the room is dim, since it lets you keep the flash off and use a higher shutter speed for people who move.
Written by Claude from this site's pages.
The answer changes if
- If you shoot on APS-C rather than full frame: Which 35mm lens fits a small room for group photos on an APS-C camera?
- If the room is very small and you can't get a 35mm wide enough: What wider lens works for indoor group portraits in a tiny room?
- If you also want the photos to show the room: Which lens suits environmental group portraits that include the furniture and background?
Ask next
- Which 35mm lens is best for indoor group portraits on a full-frame camera with a limited budget?
- Is a 35mm f/1.4 worth the extra cost over an f/1.8 for dim group portraits?
- What focal length would fit five people in a room only three metres deep?
- Which camera should I pair with a 35mm lens for family group portraits indoors?
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}.