What is Lever Rule ?
The rule which helps to calculate the relative proportions of liquid phase and solid phase present in the binary mixture at any given temperature is known as Lever rule.

Let, composition of liquid phase is CL, composition of solid phase is CS and the composition of (S + L) is Co in the binary mixture.
Then -
Fraction of Solid Phase = (CL − Co)/(CL − CS)
Fraction of Liquid Phase = (Co − CL)/(CL − CS)
From these formula we can calculate the composition of liquid and solid phase in two phase system using phase diagram.
Let us assume we have a binary mixture (alloy) system where the phase diagram shows:
Composition of CS = 10% alloy
Composition of CL = 40% alloy
The overall (S + L) composition Co = 25% alloy
Applying the Lever Rule:
Fraction of CS = (CL − Co)/(CL − CS)
or, Fraction of CS = (40 − 25)/(40 − 10) = 0.5
So, CS constitutes 50% of the total.
Similarly, Fraction of CL = (Co − CL)/(CL − CS)
or, Fraction of CS = (25 − 10)/(40 − 10) = 0.5
So, CL constitutes 50% of the total.