... What?
Uranus is very large in diameter, but is made up mostly of light gasses. Neptune is smaller in size, but made up of heavier stuff.
Its just packed tighter.