A series of rigorous relationships between activity and phase boundary for four kinds of equilibrium in phase diagrams have been developed which can be used to calculate activity of components along the liquidus. In terms of above rigorous equations the corresponding approximate equations for calculating activities at a fixed temperature can also be derived, which are significant, especially, when the experimental data are not available.