The Z score expresses the number of standard errors by which a sample mean lies above or below the true population mean. Z scores are standardised for a distribution with mean = 0 and standard deviation = 1 (Corresponding P values for Z). The z-statistics is defined as difference of sample proportions divided by standard error of difference of sample proportions. (Online Two-Sample Z-Test,Online One-Sample Z-Test.)