Guides → Vitamin D sun exposure calculator
Vitamin D Sun Exposure Calculator: How It Works
A vitamin D sun exposure calculator estimates how much vitamin D your skin makes from sunlight by combining the strength of the sun's UVB right now with your skin type, how much skin is bare, and your age. This page explains exactly what goes into that estimate — and walks through a worked example you can follow by hand.
"How much vitamin D am I getting from this sun?" is a surprisingly answerable question, because the photochemistry is well studied. A good calculator just chains together four things the research has quantified. Here's the chain.
The four inputs that matter
1. How strong the vitamin-D UVB is — not just the UV index
Only UVB (290–315 nm) makes vitamin D, but the familiar UV index is weighted toward sunburn and includes a lot of UVA. The same UV index can deliver very different amounts of vitamin-D-relevant UVB depending on the sun's angle: when the sun is low, sunlight crosses more atmosphere and ozone strips out the UVB. So a good calculator starts from the UV index, then corrects for solar altitude to get a vitamin-D-weighted value. (We call ours the Vitamin D Index; below a UV index of ~3 or a sun lower than ~45°, it's effectively zero.)
2. Your skin type
Melanin absorbs UVB, so darker skin produces less vitamin D from the same sun. Calculators apply a multiplier across the six Fitzpatrick skin types — roughly 1.0 for fair skin down to about 0.25–0.35 for the darkest.
3. How much skin is exposed
Production scales with bare skin area. A common mapping:
| Clothing | Approx. skin exposed |
|---|---|
| Long sleeves & trousers | ~20% (face, hands) |
| T-shirt & trousers | ~40% (+arms) |
| Shorts & tank top | ~60% |
| Swimwear | ~80% |
4. Your age (and sunscreen)
The skin's vitamin-D precursor declines with age — by around 50% from age 20 to 70 — so older skin yields less. Sunscreen, worn properly, blocks UVB and reduces production too (in practice people apply it thinly, so it blocks less than the SPF number implies).
The formula, in plain terms
Put together, a sun-exposure calculator computes a rate of vitamin D production per minute:
IU/min = sun_strength × skin_factor × exposed_skin × age_factor × C
where C is a calibration constant fitted to lab measurements of how much vitamin D real skin produces under known UV. Multiply the rate by the minutes you're out, and you have an estimated dose in IU (international units). For reference, common dietary guidance is around 600 IU/day for adults.
A worked example
Say it's clear midday summer sun, UV index 7, sun high overhead, and you're fair-skinned (factor ≈ 1.0), age 35 (factor ≈ 0.85), wearing a t-shirt and shorts (≈ 60% exposed):
- Strong overhead sun at UV 7 puts the vitamin-D strength high.
- Multiply by your skin (1.0), exposure (0.6) and age (0.85).
- The result lands at very roughly 500–700 IU per 10 minutes in these conditions.
So 10–15 minutes covers a typical day's worth — and here's the crucial part a naïve calculator misses: it doesn't keep climbing forever.
The limit every honest calculator needs
Skin can't make vitamin D without end. After a fairly short exposure it reaches a photochemical equilibrium, and further sun produces no additional vitamin D — only UV dose and burn risk. A calculator that just multiplies rate × time will badly overestimate long sessions. A good one applies a saturation cap: the curve flattens, and the sensible target is to stop around 70–80% of the cap, where you've captured most of the benefit. (More on the model behind this on our science page.)
Why a real-time calculator beats a fixed chart
The single biggest input — the sun's strength — changes every hour and every day. A static "10–30 minutes" chart can't know whether your sun right now is above the threshold or whether you're in a vitamin D winter. That's the whole point of doing it live: same inputs, very different answer at 8 a.m. versus noon, or in December versus June.
A vitamin D calculator that runs on your live sun
Healthy Weather does this calculation continuously — it pulls the live UV index and the sun's angle for your exact location, applies your skin type, clothing and age, and shows your estimated IU/min in real time, saturation cap and all. Free to try on iPhone.
The numbers above are illustrative estimates of vitamin D produced in skin, not your blood level, and carry real uncertainty (skin, genetics and baseline status vary a lot between people). This guide is general information, not medical advice; Healthy Weather is a planning tool, not a medical device. For your actual vitamin D status, get a blood test from a doctor. See our FAQ and Terms.