SPF (Sun Protection Factor) measures how well a sunscreen protects your skin from UVB rays, which are the primary cause of sunburn and skin cancer. The number indicates how much longer your skin can be exposed to the sun without burning compared to having no protection at all.