Hi Emma,
Formula for this sample size calculation is:
n = (z*sigma/m)2
z*= z-critical value
sigma = standard deviation
m= margin of error
z-critical value for 95% confidence is worth memorizing; it is:
z* = 1.645
Thus:
z* = 1.645
sigma = 300
m = 15
n = [(1.645*300)/15]2
n= 1082.41, but sample sizes must always be rounded up, so:
n = 1083
I hope this helps.