Timing is also a factor -- applying a "waterproof" chemical sunscreen and getting right in the water is worse than allowing 30 minutes to bind to the skin and then rub off any excess.
Amount is also a factor -- to use a chemical sunscreen on ears, face and backs of hands only then use a UV rash guard with long sleeves minimizes environmental impact and maximizes sun protection