Doing the Gambler’s Z calculation
To get the Z-score, take these simple steps:
Get the standard deviation of a 30-trial coin flip for a 50-50 coin, which is the square root of 30 times the probability of heads times the probability of tails, or 30 × .5 × .5 = 7.5. The square root of 7.5 is 2.74...