UVA penetrates deeper into the skin and is responsible for photoaging and the bulk of melanoma risk; UVB causes the immediate burn and most non-melanoma skin cancers. Both reach the surface in roughly constant proportion through the day, which is why broad-spectrum sunscreen — filtering both wavelengths — matters more than the SPF number alone. SPF 30 blocks about 97% of UVB; SPF 50 blocks about 98%. The real-world difference is dominated by application thickness and reapplication frequency, not the rating. Standard guidance is to apply about 30 ml (a shot glass) for full-body coverage and reapply every two hours, after swimming, and after heavy sweating.
Sunscreen is the most-discussed defence but rarely the best on its own. UPF-rated clothing blocks UV at the fabric level and does not wear off. A wide-brimmed hat blocks the face, ears, and back of neck where many skin cancers form. Wraparound UV-blocking sunglasses protect the eyes and the skin around them. Conditions amplify exposure in ways that catch people out: UV is roughly 5% higher per 1000 m of altitude, reflects 80% off fresh snow, and 30% off open water. Cloud cover often blocks only 20–30% of UV, not all of it.
Source: NHS — sunscreen and sun safety.