The Risk of Too Little Sun
A landmark Swedish study followed 30,000 women over 20 years and found that women who avoided the sun had a lifespan comparable to smokers. Complete sun avoidance increased all-cause mortality — not just from vitamin D deficiency, but from cardiovascular disease, diabetes, and other conditions.
80% of Americans are vitamin D deficient. The "stay out of the sun entirely" message has overcorrected.
Lindqvist et al., Journal of Internal Medicine, 2016
The Risk of Too Much Sun
Sunburn — caused by exceeding your skin's Minimal Erythemal Dose (MED) — is the primary risk factor for melanoma. UV damage is cumulative, and even one blistering burn significantly increases lifetime risk.
The science is clear: burning is harmful. But the solution isn't to eliminate sun exposure — it's to get the right amount.
dminder exists to navigate this balance.
Like all things in health, the answer isn't all-or-nothing. It's finding the dose that maximizes benefit while minimizing harm. dminder uses real satellite data and erythemal dose science to find your personal sweet spot — every day, at your location, for your skin type.
Safety First: The Erythemal Dose
Every person has a Minimal Erythemal Dose (MED) — the amount of UV energy that causes the first visible reddening of their skin. It's your personal UV budget for the day.
What determines your MED?
- ● Skin type — Fair skin (Type I) burns at ~200 J/m². Dark skin (Type VI) tolerates 1000+ J/m².
- ● Medications — Some antibiotics, retinoids, and blood pressure drugs increase UV sensitivity.
- ● Recent exposure — Tanning builds melanin, gradually raising your MED over days.
How dminder keeps you safe
- ✓ Integrates UV dose over your entire session in real-time
- ✓ Applies an 80% safety margin — you're warned well before reaching your MED
- ✓ Escalating alerts: gentle nudge at 80%, firm warning at 95%, alarm at 100%
- ✓ Accounts for your skin type, exposed area, and current solar conditions
The goal is simple: capture your vitamin D in the safe zone between "not enough UVB to matter" and "too much UV for your skin." dminder finds that window for you, every day, everywhere on Earth.
Real Data, Not Guesswork
Every vitamin D calculation in dminder is driven by real-world measurements, not rough estimates or lookup tables.
NOAA Satellite Ozone
The ozone layer filters UVB before it reaches you. We download real ozone measurements from NOAA's OMPS satellite instrument — a 126 KB global grid updated continuously.
Solar Position
We calculate the sun's exact elevation angle at your GPS location using astronomical algorithms. UVB only reaches you above ~30° — this determines your vitamin D window.
Weather Conditions
Cloud cover reduces UVB reaching your skin. We factor in real-time weather data so your vitamin D estimate accounts for overcast skies, not just clear-sky conditions.
Validated with a Solarmeter
Our base rate of 50 IU/min with 10% skin exposed (face and hands) was validated against a Solarmeter Model 6.4 — the clinical instrument used by dermatologists and photobiologists. When the Solarmeter reads 50, dminder predicts 1,000 IU in 20 minutes. They match.
Personalized to You
Two people standing in the same sunlight produce wildly different amounts of vitamin D. dminder accounts for every variable.
Fitzpatrick Skin Type
Your skin type determines both your vitamin D production rate and your burn threshold. Type I (very fair) burns in minutes but converts UVB to vitamin D efficiently. Type VI (very dark) has 5–10x more melanin, which competes with vitamin D precursors for UVB photons.
Exposed Skin Area
Vitamin D production scales linearly with exposed skin. Face and hands (10%) produce about 50 IU/min at peak conditions. Arms and legs (60%) produce about 300 IU/min. The slider in dminder adjusts your rate in real-time.
Age, Weight & Body Composition
Vitamin D is fat-soluble. Higher body mass means more volume for distribution, affecting blood levels. Aging skin is less efficient at converting UVB to vitamin D3. dminder factors both into its blood level estimates.
One Engine, Both Platforms
Version 10 is a ground-up rewrite. The core calculation engine is written in Rust — a single library that powers both the iOS and Android apps.
Why this matters
When the vitamin D calculation, burn time model, and blood level estimator are in one shared library, there's zero chance of platform divergence. A Type III user in Denver gets the exact same burn time on iPhone and Android — down to the second.
Previous versions maintained separate calculation code for each platform. Subtle differences crept in over years. That era is over.
What's in the engine
- ● Solar position & elevation calculation
- ● Erythemal dose integration (burn time)
- ● Vitamin D rate calculation
- ● Blood level estimation & pharmacokinetic decay
- ● Coaching notifications & risk assessment
- ● Optimal session finder
Beyond Sun Sessions
dminder tracks your complete vitamin D picture — not just sun exposure.
Sun Sessions
Timed sessions with real-time vitamin D tracking and burn protection
Supplements
Log single doses or set up daily recurring supplements with auto-backfill
Food Sources
Track vitamin D from salmon, fortified milk, mushrooms, and other foods
Lab Results
Enter blood test results to calibrate estimates and track progress over time
Your Vitamin D Ledger
All sources feed into a pharmacokinetic model that estimates your current blood level (25-hydroxyvitamin D) with exponential decay and bioavailability factors. It's like a running balance sheet for your vitamin D — deposits from sun and supplements, withdrawals from metabolism.
Want the Full Technical Details?
Our science page covers the solar physics, atmospheric absorption, MED tables by skin type, the pharmacokinetic decay model, and how we validated our rates with clinical instruments.
Read the ScienceStart tracking your Vitamin D today
Free on iOS and Android.