You want to know how many combinations of 5 can you select out of 30
in general the formula for how many combinations of size x you can select from a group of size n is:
C(n, x) = n!/(x!(n-x)!)
for our problem, n = 30 and x = 5
C(30,5) = 30!/(5! * 25!)
In case you don't know the meaning of factorial:
5! = 5 * 4 * 3 * 2 * 1