Neptune and Uranus are often considered to be part of a sub-class of gas giant known as `` ice giants '' , given their smaller size and big differences in composition compared to Jupiter and Saturn . Neptune and Uranus are often considered a sub-class of gas giant termed `` ice giants '' , due to their smaller size and higher concentrations of volatiles relative to Jupiter and Saturn .