# Why is refractive index equals to speed of light upon phase velocity and not group velocity?

We have been using group velocity for most purposes as its the velocity with which the wave packet travels, they why do we use phase velocity for calculating refractive index.

Group velocity is $\partial \omega /\partial k$ so it involves the derivative of the refractive index to wavenumber/frequency.