Topical compositions with improved sun protection factor and UVA protection factor are described. The compositions have sunscreen and polymer of D-glucose and/or nonionic, branched heteroglycan and specific diol compounds to enhance skin protection benefits.