How Your Skin Makes Vitamin D
When UVB light (wavelengths around 290-315 nm) hits bare skin, it converts a cholesterol-derived molecule into pre-vitamin D3. The body then finishes the job in the liver and kidneys. Two things dominate how fast this happens: the strength of the sun (the UV index, driven by season, latitude, and time of day) and the amount of melanin in your skin. Melanin is natural sun protection, so deeper skin tones need meaningfully longer to make the same amount of vitamin D as very fair skin.
This calculator estimates the bare midday minutes to reach a daily target such as 1,000 IU. A common reference point is that fair, Type II skin exposing about a quarter of its surface can make roughly 1,000 IU in about 15 minutes of strong summer sun. We scale that benchmark by your skin type, by the UV strength of the season, and by how much skin you have uncovered.
The Estimate Behind the Number
IU per minute = (1000 / 15) x (UV / 9) x (exposed / 0.25) / skinFactor
The skin factor runs from about 1.0 for very fair skin up to roughly 6 for the deepest tones, which is why Type VI skin may need several times the exposure of Type I. The UV term scales linearly with sun strength, so winter sun at UV 3 produces only about a third of the vitamin D of summer sun at UV 9 for the same minutes.
Why Winter Sun Often Will Not Cut It
Below roughly UV 3, almost no UVB reaches the ground at temperate latitudes, no matter how bright it looks. For much of the year above about 37 degrees latitude, the midday sun simply cannot make useful vitamin D, which is why diet and a D3 supplement matter through winter. This tool is non-clinical guidance, not a substitute for a blood test or medical advice.
Frequently Asked Questions
Why does darker skin need more sun for vitamin D?
Melanin acts like a built-in sunscreen, absorbing some of the UVB that would otherwise trigger vitamin D production. People with Type V or VI skin may need three to six times the exposure of very fair skin to make the same amount, which is one reason vitamin D deficiency is more common in deeper-skinned populations at higher latitudes.
Does sunscreen block vitamin D?
In theory a thick, evenly applied high-SPF layer blocks most UVB, but in real life people apply it too thinly to fully stop vitamin D production. A practical approach is to get your brief midday exposure first, then apply sunscreen before you risk burning. Protecting against skin cancer should always win over chasing a few extra IU.
Can I make vitamin D through a window or in winter?
No to glass: ordinary windows block almost all UVB, so sitting in a sunny room does nothing for vitamin D. In deep winter at northern latitudes the midday UV index is often too low to make meaningful amounts even outdoors, so most people rely on diet and a D3 supplement during those months.
Is this a substitute for a blood test?
Not at all. This is an educational estimate based on average skin response and typical UV levels, and it cannot account for your age, body fat, medications, or actual blood level. If you suspect a deficiency, ask your doctor for a 25-hydroxyvitamin D test and follow their dosing advice.
Practical Guide for Vitamin D Sun Time Calculator
Timing matters more than total hours outdoors. Vitamin D synthesis tracks the UVB part of sunlight, which peaks within a couple of hours of solar noon. A 15-minute walk at noon can do more than an hour at 9 a.m. or 5 p.m., when the sun sits low and UVB is filtered out by the atmosphere. If your shadow is longer than you are tall, the sun is probably too low to be efficient.
More skin beats more time, especially for fair complexions who burn quickly. Exposing your arms and legs rather than just your face and hands roughly doubles or triples the productive surface area, letting you hit your target in a shorter, safer window. The goal is a brief, sub-burning dose, not a tan, since reddening skin is a sign of damage rather than extra vitamin D.
Above about 37 degrees latitude, the sun simply cannot make vitamin D for several winter months, a phenomenon sometimes called vitamin D winter. During that stretch the calculator will flag the sun as too weak, and the realistic plan is dietary sources like fatty fish, egg yolks, and fortified foods plus a daily D3 supplement sized with your doctor.
Quick Checklist
- Aim for within two hours of solar noon, when UVB is strongest.
- Expose more skin (arms and legs) so you need less total time.
- Stop well before any pink or warmth appears, then cover up or apply sunscreen.
- In winter or far north, lean on D3 supplements and food rather than sun.