Sunscreen, Clouds, Window Glass, and Clothing: What Blocks UV-B and What Doesn't
Content last reviewed: November 2026
Visible daylight and infrared warmth are unreliable indicators of whether sunlight can trigger vitamin D synthesis in human skin. Cutaneous cholecalciferol production requires a narrow slice of high-energy UV-B radiation (280–315 nm), peaking near ~290–295 nm (~293 nm in vivo; Young et al., 2021), whereas the longer UV-A band (315–400 nm) passes much more easily through everyday materials while contributing to dermal aging and oxidative cell stress without synthesizing vitamin D.
Every physical barrier between the upper atmosphere and the epidermis—architectural UV glazing, automobile windshields, cloud layers, woven clothing, and topical UV filters—attenuates UV-B and UV-A along distinct optical curves. Understanding how each barrier behaves prevents two common mistakes: assuming sunny indoor rooms provide vitamin D, and underestimating sunburn risk under partial clouds, open shade, or reflective ground surfaces.
1. Window Glass, Automotive Windshields & Architectural Glazing
Ordinary residential and commercial window panes are made of soda-lime silicate glass containing trace iron oxides. Because of its molecular absorption edge near 315–320 nm, standard architectural glass absorbs 99% to 100% of solar UV-B radiation. Even when direct sunlight floods a bright office desk or conservatory and feels intensely warm on bare arms, virtually zero photons capable of cleaving epidermal 7-dehydrocholesterol reach the skin. Sitting indoors behind closed panes therefore produces no measurable vitamin D, regardless of latitude or season.
The optical picture changes dramatically above 320 nm. Clear monolithic soda-lime glass typically transmits 50% to 75% of solar UV-A radiation (Tuchinda et al., 2006). Modern double-glazed architectural units with metallic low-emissivity (Low-E) coatings or tinted interlayers reduce UV-A transmission further, yet untreated office and home windows still permit substantial long-wave ultraviolet exposure throughout the workday. In vehicles, engineering safety standards create a sharp split between the front glass and the side windows.
- Laminated automotive windshields: Front windshields are constructed from two glass sheets bonded to a polyvinyl butyral (PVB) plastic interlayer designed to prevent shattering. That PVB film absorbs not only UV-B but also 95% to 98% of UV-A—averaging 96% UV-A blockage across vehicle models tested in clinical surveys (Boxer Wachler, 2016).
- Tempered side and rear windows: Most car side windows are single-pane tempered glass without a PVB core. Measured UV-A blockage varies widely from 44% to 96% (averaging roughly 71%), leaving frequent drivers exposed to asymmetric cumulative UV-A on the window-facing arm, cheek, and eye.
- Architectural UV glazing and window films: Laminated architectural glazing, spectrally selective Low-E glass, and certified aftermarket UV-blocking window films can filter over 98% of UV-A without darkening visible daylight—useful in sunny offices, clinics, and vehicles for people with photosensitivity disorders.
- Hidden biological cost behind glass: Because UV-A penetrates deeper into the dermis than UV-B, chronic unfiltered sunlight through windows accelerates collagen breakdown, elastosis, uneven hyperpigmentation, and indirect oxidative DNA lesions via reactive oxygen species—all while delivering zero vitamin D benefit.
2. Cloud Cover, Broken-Cloud Enhancement & Diffuse Sky Radiation
Clouds regulate ground-level UV radiation far less predictably than visible brightness suggests. Liquid water droplets and ice crystals scatter ultraviolet wavelengths strongly in all directions, so the net reduction depends on cloud optical thickness, vertical depth, altitude, and whether the solar disc itself is obscured (Calbó et al., 2005). Notably, contrary to a common misconception, clouds do not filter out UV-B selectively more than UV-A: because stronger Rayleigh scattering of short UV-B photons above and inside cloud layers interacts with droplet scattering, cloud transmittance is slightly higher in UV-B than in UV-A (Seckmeyer et al., 1996; Calbó et al., 2005). Thin high-altitude cirrus clouds often reduce UV-B by less than 10%, whereas thick, multi-layered rain clouds can cut surface UV by more than 70%. In the VitaminDcalc model, sky cover is represented by three practical meteorological modifiers: 1.0× for clear sky (0–20% cover), 0.7× for partly cloudy skies (30–60%), and 0.3× for heavy overcast conditions (70–100%).
One of the most counterintuitive phenomena in atmospheric physics is broken-cloud enhancement. When bright, towering cumulus clouds dot the sky while leaving the direct line of sight to the sun unobstructed, sunlight reflects off the bright lateral walls of surrounding clouds and adds extra diffuse UV photons onto the direct solar beam. Ground radiometers routinely record temporary UV spikes 10% to 25% higher than clear-sky maximums for the exact same sun angle. Because clouds intermittently block infrared heat, people feel comfortable and stay outdoors longer just as erythemally active UV peaks.
- Diffuse sky radiation in open shade: Short-wavelength UV-B scatters far more strongly off atmospheric nitrogen and oxygen molecules (Rayleigh scattering) than visible light does. Consequently, roughly half of all midday UV-B arrives from the open blue sky dome rather than the solar disc itself. Standing under a beach umbrella or lone tree still exposes skin to 40% to 50% of ambient UV whenever large patches of open sky remain visible.
- Surface albedo (ground reflection): Surfaces beneath you redirect downward UV upward onto shaded skin, including beneath hats and umbrellas. Fresh snow reflects up to ~80% of incident UV, breaking sea foam reflects roughly ~25%, dry pale beach sand reflects about ~15%, and paved concrete reflects ~10%, whereas dense green grass reflects only ~3%.
- Cool air masks UV intensity: Ultraviolet intensity depends on solar elevation, ozone column, altitude, and cloud geometry—not air temperature. A breezy 18 °C partly cloudy afternoon in late spring can deliver a higher UV Index than a humid 34 °C hazy summer day.
- Overcast does not equal zero risk: Even at an overcast multiplier of 0.3×, a tropical midday clear-sky UVI of 12 still translates to UVI 3.6—above the World Health Organization threshold (UVI ≥ 3) where sun protection is advised.
3. Clothing Fabrics, UPF Ratings & Exposed Body Surface Area
Textiles provide the most reliable, non-degrading physical barrier against both UV-B and UV-A, yet not all garments protect equally. Fabric photoprotection is quantified by the Ultraviolet Protection Factor (UPF), which measures the ratio of erythemally weighted UV irradiance incident on a fabric to the irradiance transmitted through it (Boothby-Shoemaker et al., 2022). A garment certified as UPF 50+ transmits less than 2% of ultraviolet photons (blocking ≥98%), whereas a lightweight, loosely knitted white summer cotton T-shirt may exhibit a dry UPF as low as 5 to 10—allowing 10% to 20% of UV straight through the gaps between yarns.
Beyond fabric choice, the percentage of uncovered skin governs a critical mathematical trade-off inside VitaminDcalc. Because a standing human body is a three-dimensional cylinder receiving both direct sun and dominant diffuse sky UV-B (Seckmeyer et al., 2013), VitaminDcalc converts ambient horizontal irradiance into body-averaged UV exposure using the full-cylinder Geometric Conversion Factor of GCF ≈ 0.45 published by Pope & Godar (2010) (mid-latitude range 0.42–0.51). Cutaneous vitamin D output rises proportionally with exposed body surface area across small-to-moderate coverage, while clinical trials report dose × area saturation starting near ~24% BSA under higher UVB doses (Bøgh et al., 2011) and dose saturation near ~1 SED (Jäger et al., 2018); informed by this, VitaminDcalc adopts a conservative modeling plateau above 35% body surface area. Acute sunburn, however, is strictly local: sun-facing areas such as the nose, cheeks, shoulders, and forearms absorb nearly 100% of the ambient horizontal UV dose regardless of whether the rest of your body is covered.
- Fiber chemistry and weave density: Tightly woven synthetic fibers such as polyester and nylon contain aromatic chemical rings that inherently absorb UV-B photons far more effectively than unbleached or bleached cotton and viscose. Holding a garment up to a bright lamp gives a quick visual clue: if visible light pours through wide pinholes, UV radiation passes through too.
- Color, dyes, stretch, and moisture: Darker and deeply saturated dyes (navy, black, forest green, deep red) absorb substantially more UV than white or pastel shades of the identical fabric. Stretching a fitted knit pulls inter-yarn pores wider, cutting UPF sharply; similarly, soaking white cotton in water replaces air pockets with water, reducing internal light scattering and dropping its UPF by up to half.
- 10% vs. 25% exposed area (the small-area trap): Based on standard clinical body-surface anatomy (Rule of Nines / Lund–Browder), exposing only ~10% of body surface area (face, neck, and hands) cuts whole-body vitamin D output to 0.40× the standard 25% reference (short sleeves and shorts), requiring 2.5× longer exposure for the same target. In VitaminDcalc's minute-by-minute model at UVI 6, fair-skinned adults (Types I–III) reach the conservative 0.50 MED suberythemal ceiling before completing 1 SDD (~51%–66% of the target depending on skin type).
- Larger area and diminishing returns above 35%: Uncovering ~35% to 50% (tank top and short shorts) increases modeled synthesis rate by up to 1.40× relative to the 25% baseline, shortening required exposure by ~29% and lowering the local erythemal fraction on any single patch of skin. Because randomized UV trials tested 6%–24% BSA and observed dose × area saturation at 24% BSA under higher UVB doses (Bøgh et al., 2011; see also Jäger et al., 2018) rather than linear 3×–4× whole-body gains, VitaminDcalc conservatively caps linear area gains at 35%.
4. Summary Reference Table of Barriers & Multipliers
The reference table below summarizes how environmental barriers and clothing surface area scale effective UV-B delivery and modeled exposure time relative to VitaminDcalc's baseline scenario (clear sky, 25% exposed body area, local ambient UV governing sunburn risk). Note that while environmental multipliers reduce both synthesis and sunburn proportionally, clothing area changes synthesis speed without slowing the local burn clock on uncovered skin.
| Barrier / Condition | UV-B Transmission or Relative Factor | Effect on Time to ~1,000 IU | Photobiological & Safety Note |
|---|---|---|---|
| Clear sky (0–20% clouds) | 1.00× (100% baseline) | Baseline (1.0× time) | Full direct + diffuse UV-B and UV-A; follow WHO protection at UVI ≥ 3 |
| Partly cloudy (30–60% clouds) | 0.70× average (up to 1.25× brief spikes) | ~1.4× longer on average | Broken-cloud edge scattering can briefly exceed clear-sky UV |
| Heavy overcast (70–100% clouds) | 0.30× average (UV-B slightly > UV-A) | ~3.3× longer | Cooler air hides residual UV; high tropical UVI still exceeds 3 |
| Open shade (tree / umbrella) | ~0.40–0.50× ambient UV | ~2.0–2.5× longer | Diffuse sky dome + sand/snow/water albedo still deliver erythema dose |
| Standard architectural window glass | ~0.00× UV-B (50–75% UV-A passes) | No vitamin D synthesis | Tuchinda et al. (2006): zero vitamin D; unfilmed UV-A drives photoaging |
| Tempered car side / rear windows | ~0.00× UV-B (~29% UV-A avg; 4–56% range) | No vitamin D synthesis | Boxer Wachler (2016): ~71% average UV-A blockage (range 44–96%) |
| Laminated front windshield | ~0.00× UV-B (~4% UV-A avg; ~96% blocked) | No vitamin D synthesis | PVB interlayer blocks UV-B and ~95–98% of UV-A (Boxer Wachler, 2016) |
| Clothing: ~10% area (face, neck, hands) | 0.40× synthesis vs. 25% area | 2.5× slower; capped at 0.50 MED (Types I–III) | Fair skin hits 0.50 MED suberythemal limit before completing 1 SDD |
| Clothing: ~25% / ~50% / ~85% area | 1.00× / 1.40× (35% cap) / 1.40× (plateau) | 1.0× / ~0.71× / ~0.71× time | Conservative 35% BSA cap (informed by ~24% BSA / dose saturation; Bøgh et al., 2011; Jäger et al., 2018) |
5. Sunscreen & Vitamin D: Laboratory SPF Testing vs. Real-Life Evidence
Few topics in photobiology generate more public confusion than whether daily sunscreen triggers vitamin D deficiency. The apparent contradiction comes from comparing tightly controlled laboratory lamp experiments against how human beings actually use topical photoprotection under natural sunlight. Under the international ISO 24444 testing protocol, a product's Sun Protection Factor (SPF) is measured by spreading an exact, uniform layer of 2.0 mg/cm²—roughly 30 to 35 mL (a full shot glass) for an average adult body—before exposing skin to artificial solar-simulator lamps calibrated for acute erythema. At that laboratory film thickness, an SPF 30 formulation theoretically filters roughly 96.7% of erythemally weighted UV-B, and SPF 50 filters roughly 98%, markedly blunting previtamin D3 conversion in short chamber studies.
Outside the laboratory, photobiological reality looks very different. Behavioral and photometric measurements consistently demonstrate that consumers apply only 0.5 to 1.0 mg/cm²—a quarter to half of the ISO 24444 test density—while unintentionally leaving small anatomical margins missed (hairlines, ears, ankles, wrists, and clothing edges) and experiencing film thinning from perspiration, friction, and swimming. Because UV attenuation decreases roughly exponentially as layer thickness falls, typical real-world application yields a lower effective protection factor than the bottle label while still preventing sunburn. Furthermore, modern broad-spectrum formulations engineered with a high UV-A Protection Factor (UVA-PF) allow controlled, suberythemal UV-B transmission relative to older UV-B-only products without leaving skin vulnerable to deep UV-A DNA and collagen damage.
To settle this clinical question, two landmark 2019 evaluations published in the British Journal of Dermatology reviewed decades of controlled trials and epidemiological cohorts. An international consensus panel led by Passeron et al. (2019)—spanning dermatology, endocrinology, photobiology, and epidemiology—and a comprehensive systematic review by Neale et al. (2019) independently reached the same evidence-based conclusion: routine everyday and recreational use of broad-spectrum sunscreen does not impair vitamin D status or cause deficiency in healthy populations. In observational cohorts, regular sunscreen users frequently maintain equal or even higher serum 25(OH)D concentrations than non-users, largely because sunscreen accompanies greater time spent outdoors without suffering acute sunburn.
- High-SPF daily use in clinical trials: Field studies confirm that even properly applied broad-spectrum daily sunscreens allow adequate maintenance of serum 25(OH)D during sunny months while sharply curbing sunburn, actinic keratoses, and skin cancer risk.
- Special high-risk groups: Patients with photosensitive conditions (such as lupus erythematosus, xeroderma pigmentosum, or polymorphic light eruption) or a history of skin cancer who practice strict year-round sun avoidance and heavy clothing plus high-SPF sunscreen represent a distinct medical category. Both Passeron et al. (2019) and dermatology guidelines advise that these individuals continue strict photoprotection and discuss serum 25(OH)D testing and oral intake with their physician.
- Why skipping sunscreen is a poor trade-off: Deliberately withholding sunscreen at high UV Index values accelerates cumulative UV-induced cyclobutane pyrimidine dimer (CPD) DNA mutations and raises lifetime melanoma and keratinocyte carcinoma risk—while offering no advantage over safe dietary or medically guided oral vitamin D.
Frequently Asked Questions
Does sitting beside a sunny office window or driving with closed car windows produce vitamin D?
No. Standard soda-lime residential windows, office glazing, and automotive windows absorb 99% to 100% of UV-B wavelengths below 315 nm, completely preventing epidermal conversion of 7-dehydrocholesterol into previtamin D3. For UV-A, untreated architectural windows typically transmit 50% to 75% (Tuchinda et al., 2006), tempered car side windows block an average of ~71% (range 44%–96%, transmitting ~29% on average; Boxer Wachler, 2016), and laminated front windshields block ~96% (~95%–98%). Long hours next to sunny architectural glass or unfilmed side windows therefore add dermal photoaging risk with zero vitamin D benefit.
Can I get a sunburn on an overcast, cloudy, or cool spring day?
Yes. Air temperature does not govern ultraviolet intensity, and cloud attenuation is highly variable. Heavy overcast skies still transmit roughly 30% of clear-sky UV, which can remain above UVI 3 in warm or low-latitude climates. Even more surprisingly, broken cumulus clouds surrounding an uncovered sun can scatter extra diffuse photons and briefly boost ground UV by 10% to 25% above clear-sky levels—causing unexpected sunburn when the breeze feels cool.
Why does a wet white cotton T-shirt block far less UV than a dry dark polyester shirt?
Three optical factors work together. First, polyester fibers naturally absorb UV-B photons through aromatic molecular bonds, whereas bleached cotton relies mostly on physical scattering. Second, dark dyes absorb stray UV light that light fabrics reflect into the skin. Third, when water fills the air spaces inside cotton fibers, it reduces refractive light scattering and lets UV rays pass straight through—cutting the UPF of a lightweight white cotton shirt by up to half when wet.
Should I stay unprotected for 15 minutes before putting on sunscreen to make vitamin D?
Dermatology and photobiology consensus panels do not recommend intentionally skipping sunscreen when the UV Index is 3 or higher. Large reviews (Passeron et al., 2019; Neale et al., 2019) show that real-world broad-spectrum sunscreen use does not cause vitamin D deficiency in healthy populations, whereas unprotected midday UV exposure accumulates preventable DNA damage. If you have risk factors for low vitamin D or practice strict photoprotection, consult a healthcare professional about testing serum 25(OH)D and using safe oral sources instead.
Scientific References
- Photoprotection by window glass, automobile glass, and sunglasses (Tuchinda et al., 2006) | JAAD
- Assessment of Levels of Ultraviolet A Light Protection in Automobile Windshields and Side Windows (Boxer Wachler, 2016) | JAMA Ophthalmology
- Empirical studies of cloud effects on UV radiation: A review (Calbó et al., 2005) | Reviews of Geophysics
- Transmittance of a Cloud Is Wavelength-Dependent in the UV-Range (Seckmeyer, Erb & Albold, 1996) | Geophysical Research Letters
- Solar UV Geometric Conversion Factors: Horizontal Plane to Cylinder Model (Pope & Godar, 2010) | Photochemistry and Photobiology
- A Novel Method to Calculate Solar UV Exposure Relevant to Vitamin D Production in Humans (Seckmeyer et al., 2013) | Photochemistry and Photobiology
- Interdependence Between Body Surface Area and Ultraviolet B Dose in Vitamin D Production: A Randomized Controlled Trial (Bøgh et al., 2011) | BJD
- The Impact of UV-Dose, Body Surface Area Exposed and Other Factors on Cutaneous Vitamin D Synthesis Measured as Serum 25(OH)D Concentration: Systematic Review and Meta-Analysis | Anticancer Research (Jäger et al., 2018)
- A Revised Action Spectrum for Vitamin D Synthesis by Suberythemal UV Radiation Exposure in Humans In Vivo (Young et al., 2021) | PNAS
- Photoprotection by clothing: A review (Boothby-Shoemaker et al., 2022) | Photodermatology, Photoimmunology & Photomedicine
- Sunscreen photoprotection and vitamin D status (Passeron et al., 2019) | British Journal of Dermatology
- The effect of sunscreen on vitamin D: a review (Neale et al., 2019) | British Journal of Dermatology
Calculate your sun exposure time ← All Guides
Related Guides
UV Index (UVI) & Vitamin D Guide: Physics, Dose Rate, and Sun Exposure Scale
Explore the physical definition of the Global Solar UV Index, why UV-B shifts with solar angle, six local atmospheric factors, complete UVI dose-rate tables, and WHO sun-safety rules.
Read guide →Vitamin D Sun Exposure Chart: Estimated Minutes by UV Index, Skin Type, and Exposed Area
Reference sun exposure charts calculated directly from our photobiological model across UV Index 2 to 11, Fitzpatrick skin types I–VI, four clothing areas, and eight global cities.
Read guide →Sunlight vs. Food vs. Supplements: Comparing Every Source of Vitamin D
Evidence-based scientific comparison of cutaneous UV-B synthesis, USDA natural and fortified food sources, and vitamin D2 versus D3 supplements, including NIH and EFSA population reference intakes and safety limits.
Read guide →