Any one know how far UV rays travel through glass?

I know UVA travels through glass but how close do you have to be to wear sunscreen? Also I already know 80% of uv travels through the first 3 feet of water. So is it the same with glass. And I’ve also read somewhere that only 40% UVA trvels through glass. Any one know?