Assumptions are that data are from a Binomial distribution and that nπ > 15 and n(1 - π) > 15. This is an approximation, for small sample size one should use the exact distribution, the Binomial distribution.
A (1 - α)100% confidence interval for π is,