What Is the "D Window" and Why Does It Matter?
You can sit in the sun all day and produce zero vitamin D. The D window tells you when your body can actually make it.
Here's something most people don't realize: sunshine does not equal vitamin D. Your body can only produce vitamin D when a specific type of ultraviolet radiation — UVB — reaches your skin at sufficient intensity. And that only happens during a limited window each day.
The physics
Vitamin D synthesis in the skin is triggered by UVB radiation in the 290-315 nanometer wavelength range. These rays are absorbed by the ozone layer and scattered by the atmosphere. When the sun is low in the sky, UVB has to travel through more atmosphere to reach you — and most of it gets filtered out before it arrives.
The critical threshold is roughly 30 degrees of solar elevation. Below that angle, the atmosphere absorbs so much UVB that vitamin D production is negligible. Above it, meaningful production begins.
What determines your D window?
- Latitude: The closer you are to the equator, the higher the sun gets and the longer your D window. At the equator, the D window can be 10+ hours. In Seattle (47°N), it might be 4 hours in summer and zero in winter.
- Date: The sun's maximum elevation changes throughout the year. Summer solstice gives you the longest D window; winter solstice the shortest.
- Altitude: Higher elevation means less atmosphere above you, so UVB intensity is higher. Denver gets more UVB than Miami at the same solar angle.
- Ozone: The ozone layer varies in thickness by location and season. Thinner ozone = more UVB reaches the surface.
The "vitamin D winter"
Above about 37°N latitude — roughly the line from San Francisco to Richmond, Virginia — there are weeks or months in winter when the sun never climbs above 30 degrees. During this period, you cannot produce vitamin D from sun exposure at all, no matter how long you stay outside. This is the vitamin D winter.
For people in northern cities like Seattle, Minneapolis, Boston, or London, the vitamin D winter can last from November through February. During these months, supplements are the only reliable source.
Why this matters for you
If you go for a walk at 8 AM or 5 PM, you might feel the warmth of the sun, but your skin is producing essentially zero vitamin D. The UVA rays that cause tanning are still present, but the UVB rays that trigger vitamin D synthesis are being filtered out by the atmosphere.
Conversely, a 15-minute walk at solar noon could give you thousands of IU of vitamin D — or a sunburn, depending on your skin type. Timing matters enormously.
How dminder calculates your D window
dminder computes your D window in real time using:
- Your GPS coordinates to determine the sun's path across the sky
- Solar position algorithms to calculate the exact elevation angle throughout the day
- Real-time NOAA satellite ozone data to factor in atmospheric UVB absorption
- Erythemal dose modeling to determine the actual UVB intensity at the surface
The result is a precise time range — for example, "D for 6h50m until 4:29 PM" — telling you exactly when vitamin D production is possible at your location today.

