Vector elements can be scaled up without losing quality. Usually, icons are vector elements, so you can scale them up and down to make sure they fit perfectly.