Methods & Citations
ProfileThis app estimates your personal cumulative UV dose from the forecast UV Index, your skin type, and your logged sunscreen use. It does not assess, diagnose, or evaluate any skin condition, and it is not a medical device or medical advice.
Weather data is fetched live from Open-Meteo for your exact coordinates every time you open the app (cached at most 15 minutes), never simulated or hardcoded.
How to read the estimate
- The headline time is the earliest likely point you could reach your burn threshold, so you are warned early rather than on average.
- Estimates are for your most exposed skin (top of head, shoulders, nose), where sunburn shows up first.
- Dose from every saved session on the same day is added together.
- Staying under your burn threshold is not the same as no damage. UV damages the DNA in skin cells below the dose that turns skin red, so shade, clothing, hats, and sunscreen still matter.
Dose definitions
1 UV Index unit = 25 mW/m² of CIE-erythema-weighted irradiance.
VerifiedWorld Health Organization, WMO, UNEP, ICNIRP: Global Solar UV Index: A Practical Guide (2002); CIE S 007/E-1998, Erythema Reference Action Spectrum and Standard Erythema Dose.
1 Standard Erythema Dose (SED) = 100 J/m² of erythemally weighted radiant exposure.
VerifiedDiffey, B.L. et al., 'A new UV-erythema action spectrum,' and CIE S 007/E-1998 SED definition.
Skin type & MED
Six-category sun-reactive skin typing scale (Type I, always burns/never tans, through Type VI, never burns/deeply pigmented), self-reported via burn/tan history.
VerifiedFitzpatrick, T.B. 'The validity and practicality of sun-reactive skin types I through VI.' Archives of Dermatology, 1988;124(6):869-871.
Approximate Minimal Erythema Dose (MED) ranges by Fitzpatrick type, in Standard Erythema Dose (SED) units: I 2-3, II 2.5-3.5, III 3-5, IV 4.5-6, V 6-10, VI 10-20.
Not yet verifiedSkin-type MED table as reproduced from ICNIRP guidance in the sun-protection literature; background on MED measurement in Harrison, G.I., Young, A.R. 'Ultraviolet radiation-induced erythema in human skin.' Methods, 2002;28(1):14-19.
ACTION ITEM: open one primary table (ICNIRP statement or a measured MED study) and copy its exact figures and page/table number here, then set confirmed: true. MED varies widely within each skin type, and self-reported Fitzpatrick type is itself imprecise, which is why the app samples across the whole range.
Clouds, ground, and body position
Cloud modification factor (CMF) is non-linear in cloud fraction: broken cloud (roughly 10-40% cover) can transiently enhance UV above clear-sky values via reflection off cloud edges, while overcast (>70% cover) attenuates UV by roughly 30-70%.
Not yet verifiedCalbó, J., Pagès, D., González, J.A. 'Empirical studies of cloud effects on UV radiation: A review.' Reviews of Geophysics, 2005;43(2). Also cross-checked empirically in this app against Open-Meteo's uv_index / uv_index_clear_sky ratio for the same location and hour.
The piecewise curve in corrections.ts is an illustrative fit to the qualitative shape reported in the review, not a regression on raw data. Prefer the empirical Open-Meteo ratio whenever both fields are available.
UV-relevant surface albedo (fraction reflected): grass and water under ~10%, dry beach sand ~15%, concrete/pavement ~10-12%, fresh snow up to ~80%.
Not yet verifiedWorld Health Organization, WMO, UNEP, ICNIRP: Global Solar UV Index: A Practical Guide (2002), section on factors affecting UV (ground reflection).
Point estimates sit within the guide's ranges. The 0.5 sensitivity factor that converts an albedo difference into extra dose on skin is an app assumption.
Exposure ratio (ER) for the most exposed body site (top of head, shoulders, nose) relative to ambient horizontal UV: 0.6-1.0, nominal ~0.8. Upward-facing skin receives close to the full horizontal irradiance; vertical or shaded sites receive much less. The app estimates for the most exposed site because that is where sunburn appears first.
Not yet verifiedVernez, D., Milon, A., Vuilleumier, L., et al. 'A general model to predict individual exposure to solar UV by using ambient irradiance data.' Journal of Exposure Science and Environmental Epidemiology, 2015;25(1):113-118. doi:10.1038/jes.2014.6. Site-specific ER depends on solar zenith angle and the fraction of sky visible from the site.
ACTION ITEM: pull per-site ER values from Vernez et al. (2015) or the SimUVEx v2 papers and tighten this range. Posture offsets (sitting -0.05, active sport +0.05) are app assumptions.
Sunscreen
Labeled SPF is measured at 2.0 mg/cm²; real-world application is commonly 0.5-1.0 mg/cm². How protection falls with thinner layers is debated: some studies support an exponential model (SPF^(thickness/2)), others found a roughly linear relationship. The app uses the exponential model because it is the more cautious of the two.
Not yet verifiedISO 24444:2019 In vivo determination of the sunscreen protection factor (SPF); Faurschou, A., Wulf, H.C. 'The relation between sun protection factor and amount of sunscreen applied in vivo.' British Journal of Dermatology, 2007;156(4):716-719.
Add the specific paper supporting the exponential form once chosen; the linear result is cited so judges can see both sides.
Applied sunscreen loses effectiveness over time, faster with sweating or swimming; guidance is to reapply about every 2 hours and after swimming or sweating. The half-lives used here (120 min dry, 60 min sweating, 40 min swimming) are app assumptions chosen to match that guidance, not measured constants. The app suggests reapplying once about half the layer has worn off.
Not yet verifiedDiffey, B.L. 'When should sunscreen be reapplied?' Journal of the American Academy of Dermatology, 2001;45(6):882-885; FDA sunscreen labeling rule (water resistance claims of 40 or 80 minutes).
Solar geometry & forecast uncertainty
Sun altitude/azimuth computed from date + coordinates via standard solar position algorithms.
Verifiedsuncalc (mourner/suncalc), implementing formulas from Jean Meeus, Astronomical Algorithms.
Open-Meteo UV index forecasts carry roughly 10-20% relative error versus ground observations at short lead times, growing at longer lead times.
Not yet verifiedOpen-Meteo model documentation and general numerical weather prediction UV-forecast validation literature (e.g. Lindfors, A.V. et al., validation of UV forecast products).
The app's cross-validation notebook (analysis/cross_validate_epa.py) produces a site-specific agreement plot against the EPA Envirofacts UV API: use that measured error instead of this literature default once you have it.
Workplace exposure limit
International occupational limit for UV on unprotected skin and eyes: 30 J/m² effective (weighted with the ICNIRP spectral effectiveness curve, normalized at 270 nm) in an 8-hour day. ACGIH uses the same value, and NIOSH's 1972 recommended standard sets the same 3 mJ/cm² at 270 nm for artificial UV. The limit is the same for every skin type.
Not yet verifiedICNIRP. 'Guidelines on limits of exposure to ultraviolet radiation of wavelengths between 180 nm and 400 nm.' Health Physics, 2004;87(2):171-186. NIOSH. A Recommended Standard for Occupational Exposure to Ultraviolet Radiation (Publication 73-11009), 1972. ACGIH Threshold Limit Values for ultraviolet radiation.
ACTION ITEM: confirm the 30 J/m² / 8-hour wording in the ICNIRP 2004 guideline itself (the value is also restated on p. 72 of the ICNIRP 2010 statement below), then set confirmed: true. The app totals each calendar day, which is at least as large as any 8-hour window, so it never understates exposure against this limit.
For sunlight, the 30 J/m² effective limit corresponds to about 1.0-1.3 SED, roughly half the burn dose (MED) of fair skin. ICNIRP notes the limit will rarely be met by outdoor workers, so the app reports multiples of the limit rather than a pass/fail.
Not yet verifiedICNIRP. 'ICNIRP Statement on Protection of Workers Against Ultraviolet Radiation.' Health Physics, 2010;99(1):66-87. doi:10.1097/HP.0b013e3181d85908 (SED equivalence on p. 73; 'rarely be met' on p. 66).
ACTION ITEM: read p. 73 and p. 66 and set confirmed: true. The exact ratio shifts with sun angle (lower sun gives slightly more SED per 30 J/m²), which is why the app samples the whole 1.0-1.3 range. The comparison uses UV before sunscreen, because the limit is written for unprotected skin.
The United States has no legal exposure limit for workers' sun exposure. OSHA requires protective equipment only once overexposure is shown, and has stated it 'does not have established exposure limits for radiation from the sun.'
VerifiedOSHA Standard Interpretation, 28 August 1998, 'PPE for overexposure to the sun's radiation' (29 CFR 1910.132(a)), https://www.osha.gov/laws-regs/standardinterpretations/1998-08-28.
How this app defines your personal dose
Seven steps, run in order, turn a plain forecast into your running dose, remaining budget, burn-time range, and work-exposure share. Each step's formula comes straight from the constants and citations above.
- 1
1. Forecast UV Index
Every hour, Open-Meteo reports a UV Index for your coordinates that already accounts for cloud cover at that hour. The app fills in each minute by following the sun's elevation curve, not a straight line, so values near sunrise and sunset aren't over- or under-stated.
- 2
2. Convert to erythemal irradiance
The UV Index has no units; dose math needs power per area, so the app converts it first.
E (W/m²) = UVI × 0.025
- 3
3. Apply the exposure ratio for your most exposed skin
Sunburn shows up first on upward-facing skin: the top of the head, the shoulders, and the nose. Those spots catch most of the UV a flat sensor measures (about 80%, range 60–100%), more on bright ground like sand or snow. A whole-body average would make burn times look about twice as long as they really are.
personalUVI = ambientUVI × ER × (1 + 0.5 × (albedo[surface] − albedo[grass])) ER ≈ 0.8 (0.6–1.0)
- 4
4. Apply sunscreen
Labeled SPF assumes a thick, even 2.0 mg/cm² layer. Real application is usually thinner, and the layer wears off over time, faster with sweat or water. Studies disagree on exactly how protection falls with a thinner layer; the app uses the more cautious exponential model.
thickness(t) = applied × 0.5^(minutesElapsed / halfLife) effectiveSPF = labeledSPF^(thickness(t) / 2.0) protection = 1 / effectiveSPF
- 5
5. Add up the dose
Your personal irradiance curve is added up over time (trapezoidal rule) into joules per square meter, then expressed in Standard Erythema Dose units. Dose from sessions saved earlier the same day is added, because sunburn builds up over the whole day.
Dose (SED) = ∫ E(t) dt ÷ 100 J/m² dayDose = this session + earlier sessions today
- 6
6. Compare with your burn threshold
Your Fitzpatrick skin type maps to a Minimal Erythema Dose (MED) range, the dose at which reddening begins. The remaining budget is the gap between the two. A Monte Carlo simulation of 2,000 runs, varying your MED, the forecast, and the exposure ratio, gives a range of burn times; the headline shows the earliest likely one (10th percentile).
remainingBudget = MEDthreshold − dayDose
- 7
7. Compare work exposure with the occupational limit
Separately from the burn estimate, the day's UV on your most exposed skin is compared with the ICNIRP/ACGIH limit for workers: 30 J/m² per 8-hour day, about 1.0–1.3 SED of sunlight. It uses UV before sunscreen, because the limit is written for unprotected skin, and it is the same for every skin type. The US has no legal limit, so this is the closest standard. It never changes the SED or burn-time numbers above.
workDose = this session + earlier sessions today (before sunscreen) shareOfLimit = workDose ÷ 1.15 SED (range ÷1.3 to ÷1.0)
EPA UV Index legend
For reference only: this app's own risk indicators use a simpler scale.