Relative to the star’s surface layers, how much greater can the density in a massive giant or supergiant core be?

Answer

Millions of times greater than the star’s surface layers

While the core of a Sun-like star is about 150 times denser than water, in a more massive giant or supergiant, the pressure is far greater, leading to densities that can be millions of times greater than the star’s surface layers.

Relative to the star’s surface layers, how much greater can the density in a massive giant or supergiant core be?
SpaceastronomyCorestargiant