How does the metallic core of gas and ice giants compare proportionally to their total mass?

Answer

It forms a much smaller proportion of the planet's total mass.

Because gas and ice giants are dominated by vast envelopes of hydrogen, helium, and ices, the metallic core, composed of rock and metal, forms a much smaller proportion of the planet's total mass compared to Earth.

How does the metallic core of gas and ice giants compare proportionally to their total mass?
astronomyplanetsPlanetary Scienceironcores