The difference between SPF 20 and SPF 30 lies in the level of protection against UVB rays: the harmful rays of the sun that cause sunburn. SPF 30 offers higher protection than SPF 20.