How Much Weight Loss Causes Sagging Skin?

I’m expecting to lose about 40lbs, but I’m worried about saggy skin. Some people have to have extra skin removed from major weight loss. Can that happen after losing 40lbs?