← Back to blog

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?

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:

  1. Your GPS coordinates to determine the sun's path across the sky
  2. Solar position algorithms to calculate the exact elevation angle throughout the day
  3. Real-time NOAA satellite ozone data to factor in atmospheric UVB absorption
  4. 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.

See your D window right now

dminder shows your daily D window, tracks your sessions, and tells you exactly how much vitamin D you're producing. Free on iOS and Android.

Download on the App Store Get it on Google Play