It is generally recommended to measure icing sugar by weight instead of volume in frosting recipes. The fine texture of icing sugar can cause it to pack differently into volume measures, potentially affecting the consistency of your frosting. To ensure accuracy, it is best to use a kitchen scale to measure icing sugar by weight.