To determine the number of cars needed for a group of 504 people, where each car can hold 5 people, we need to divide the total number of people by the seating capacity of each car.
We calculate this as follows:
\[ \text{Number of cars} = \frac{\text{Total number of people}}{\text{Capacity per car}} = \frac{504}{5} \]
Calculating the division gives:
\[ 504 \div 5 = 100.8 \]
Since we cannot have a fraction of a car, we need to round up to the next whole number. This means we will need 101 cars to accommodate all 504 people.
Thus, the group will need 101 cars.