Probability is used to calculate entropy as described above.
Additional probability applications were illustrated without mathematical discussion in the above section: "What is heat capacity?" Statistical mechanics uses probabilities to predict properties of samples. Since most samples contain huge numbers of molecules (many samples contain 1023 or more), probabilities are a good predictor of properties of substances in the laboratory or the chemical plant.