For any ring $R$, the right singular ideal $\mathcal Z(R_R)\subseteq \ell.ann(soc(R_R))$. When $R$ is right Artinian, equality holds.