$$K_a = \tan^2\!\left(45^\circ - \tfrac{\phi}{2}\right) = \frac{1-\sin\phi}{1+\sin\phi}$$
Active earth pressure coefficient. The minimum lateral pressure ratio when the wall moves away from the backfill.
$$K_p = \tan^2\!\left(45^\circ + \tfrac{\phi}{2}\right) = \frac{1+\sin\phi}{1-\sin\phi}$$
Passive earth pressure coefficient. The maximum resistance when the wall pushes into the soil; $K_p = 1/K_a$.
$$K_0 = 1 - \sin\phi$$
At-rest earth pressure coefficient (Jaky). Used for rigid walls and normally consolidated soils.
$$P_a = \tfrac{1}{2}K_a\,\gamma\,H^2 + K_a\,q\,H,\quad P_p = \tfrac{1}{2}K_p\,\gamma\,H^2 + K_p\,q\,H$$
Total active and passive force per unit wall length. The first term is from self-weight, the second from surcharge.