Proof (Lagrange's theorem)
We note that each right coset $H\gamma$ is in bijection with $H$: $$\begin{align*} H &\to H\gamma \\ h &\mapsto h\gamma \\ \\ H\gamma &\to H \\ h\gamma &\mapsto (h\gamma)\gamma^{-1} = h \end{align*}$$ so $|H| = |H\gamma|$ for all $\gamma\in G$.
Since right cosets are orbits, right cosets partition $G$ with $|G:H|$ subsets of size $|H|$, and the result follows.