Materials characterisation

For a cubic crystal with lattice parameter a, which expression gives the interplanar spacing d for planes indexed (hkl)?