Consider a general reversible reaction :
aA(g)+ bB(g) ⇌ cC(g) + dD(g)
The equilibrium constant (Kp) in terms of partial pressure is given by equation:
Kp = \(\frac{(P_C)^c(P_D)^d}{(P_A)^a(P_B)^b}\) …………(1)
For a mixture of ideal gases,
The partial pressure of each component is directly proportional to its concentration at constant temperature.
For component A,
PAV = nART
PA = \(\frac{n_A}{V}\) × RT
\(\frac{n_A}{V}\) is molar concentration of A in mol dm-3 V
∴ PA = [A]RT where, [A] = \(\frac{n_A}{V}\)
Similarly, for other components,
PB = [B]RT,
PC = [C]RT,
PD = [D]RT
Now substituting equations for PA, PB, PC, PD in equation (1), we get

Where Δn = (number of moles of gaseous products) – (number of moles of gaseous reactants) in the balanced chemical equation.
R = 0.08206 L atm K-1 mol-1
[Note : While calculating the value of Kp, pressure should be expressed in bar, because standard state of pressure is 1 bar. 1 pascal (Pa) = 1 N m-2 and 1 bar = 105Pa]