Let us consider the formation of HI in which, 'a' moles of hydrogen and 'b' moles of iodine gas are allowed to react in a container of volume V. Let 'x' moles of each of H2 and I2 react together to from 2x moles of HI.
\(H_{2(g)} + I_{2(g)} \rightarrow 2HI(g)\)
Applying law of mass action,

The equilibrium constant KP can also be calculated as follows :
We know the relationship between the Kc and KP
