The formula to calculate how many symmetric keys would be needed for a number of users is:
n(n-1)/2
n denotes the number of users required.
For example, if there are 10 users requiring symmetric keys, you would need 45 keys:
10(10-1)/2 = 45 symmetric keys