You asked
How much depth of field will six people at different distances get at f 2 8?
The guide doesn't give a depth-of-field figure for six people, so it can't say exactly how much of the group will be sharp at f/2.8. It does say that f/2.8 is the starting point for two people at different distances, and a group of six spread across depth needs more. At f/1.4 and wider, the focus zone can be thinner than a face, so f/2.8 is a safer setting, but expect the front and back rows to fall in different focus zones. Stop down further than f/2.8 and check the back row on screen before you shoot. The portraits page covers how distance and background affect blur.
Sensor size also changes the result. At the same framing, f/2.8 on APS-C gives about the depth of field of f/4.2 on full frame, so a smaller sensor keeps more of a group sharp at the same setting. The focal length converter shows the conversion, and the sensor sizes guide explains the trade-off with low light.
For groups, the guide suggests a 35mm f/1.8 or f/1.4, which shows where people are and fits more of them in the frame. See the lenses for the full range.
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}.