How Solaria calculates your safe time

Solaria's safe time is the number of minutes until the UV dose you have collected today reaches your personal daily budget. The budget is a fixed share of the dose that would make your skin visibly red. Everything below is how the app gets from the weather forecast to that number, what it adjusts for, and what it does not.

This page describes Solaria 1.1.3, formula version 1. Checked against the app code on October 1, 2026.

Where the data comes from

UV and weather come from Apple Weather (WeatherKit). Solaria requests the current conditions, an hourly forecast and a daily forecast for the next seven days in one call.

The UV used in every calculation is the forecast value for the current hour. If the forecast has no entry for this hour, the app uses the current-conditions UV. Apple Weather reports the UV index in whole numbers, so Solaria works with whole numbers too.

The forecast is kept for 30 minutes. A new request is made when you open the home screen or start a session and the data is older than that, or when you change the place. Between requests the "current" UV still moves hour by hour along the forecast that is already loaded. There is no background refresh while the app is closed.

The place is either the city you picked by hand or your device location. Without location access, and without a city picked by hand, Solaria does not load any weather: the home screen asks you to choose a city, and the safe time shows "—". There is no default city. If a request fails and there is no earlier forecast for this place, the app says it could not load the weather and offers to try again; if an earlier forecast for the same place exists, it stays on screen.

The optional morning notification uses the same forecast. When it is turned on, Solaria schedules it for 9:00 after each successful forecast update, with the day's peak UV and your safe time at that peak. If there is no fresh forecast for that morning, no notification is sent. It is off by default.

The formula

Solaria counts UV in SED — the standard erythema dose. One SED is 100 J/m² of UV weighted by how strongly each wavelength reddens skin (the CIE erythema action spectrum).

Dose rate. At UV index 1, unprotected skin in full sun receives 0.9 SED per hour. The rate scales linearly with the index:

dose rate (SED/h) = 0.9 × UV index

Burn threshold. Your minimal erythema dose (MED) — the dose that causes just-visible redness — is set by your Fitzpatrick skin type from the onboarding questionnaire:

Skin typeMED, SED
I2.0
II2.5
III3.0
IV4.5
V6.0
VI10.0

This base value is then multiplied by your adaptation, calibration and medication factors, described in the next section.

Daily budget. Solaria does not let you plan right up to redness. The budget is 70% of your MED in Protection mode and 75% in Tan mode. The remaining 25–30% is a safety margin: it covers forecast error, time you forget to log and the fact that MED values describe an average person of your type, not you.

Safe time.

safe time (min) = (MED × budget share − dose collected today) ÷ dose rate × 60

"Today" means the calendar day on your device. Example: skin type II, UV 7, Protection mode, nothing collected yet. MED 2.5 × 0.7 = 1.75 SED; rate 0.9 × 7 = 6.3 SED/h; safe time = 1.75 ÷ 6.3 × 60 ≈ 17 minutes. Full redness (100% of MED) would come at about 24 minutes.

When the UV index is 0, the dose rate is 0 and the app shows "No limit right now". It shows the same when the result is longer than 6 hours. When today's dose has reached the budget, it shows "Daily limit reached".

Warnings. During a session Solaria sends a notification when your dose reaches 80% of today's budget, and another when it reaches 100%. Both are on by default and fire at most once a day.

Which budget share is used where. On the home screen and in the Journal, the share follows the goal in your profile: 75% for Tan, 70% otherwise. During a session, the plan and the session summary follow the session type: 75% for sunbathing, 70% for other outdoor activity. The dose ring on the session screen always uses 70%.

What changes the dose

FactorEffectWhere it applies
SunscreenDose rate divided by a third of the SPF on the labelSessions only
ShadeDose rate × 0.4Sessions only
SwimmingDose rate × 1.15Swimming phase of a session
AltitudeDose rate + 11% per 1,000 mEverywhere
AdaptationMED × 1.0 to 2.5Everywhere
Photosensitising medicationMED × 0.7Everywhere
Evening skin checksMED × 0.5 to 1.2Everywhere

Sunscreen. Solaria divides the dose rate by a third of the SPF: SPF 30 counts as 10, SPF 50 as 17. The SPF number on the label is measured with 2 mg of product per cm² of skin; in real life people apply much less, and protection drops accordingly. Taking a third is a deliberately cautious assumption. SPF of 1 or less, or no SPF, is ignored. During a swimming phase the protection that remains is counted as half of what is above 1: SPF 30 in the water counts as 1 + 29 × 0.5 = 15.5 before taking a third. After a swim or a shower the sunscreen is treated as washed off until you log a new layer, and while you are applying it the dose is counted as unprotected.

Sunscreen is counted only inside a session, where you tell the app what you applied and when. The safe time on the home screen assumes no sunscreen. It is the time for bare skin in full sun at the current UV.

During a session Solaria reminds you to reapply 120 minutes after the last application, and right away when a swim or shower has washed the layer off. The reminder works in the background and is on by default.

Shade. In shade the dose rate is multiplied by 0.4. You switch shade on and off during a session, and shade breaks in a session plan count as shade too. The shower phase of a plan is counted the same way. The home screen assumes full sun.

Water. While swimming, the dose rate is multiplied by 1.15 for light reflected from the water surface. This applies only to the swimming phase of a session plan, which appears when you choose swimming for the session. Sitting next to water is not adjusted.

Altitude. UV grows with altitude. Solaria adds 11% to the dose rate for every 1,000 m above sea level: at 2,240 m the rate is 24.6% higher. The altitude comes from your device location when its vertical accuracy is within 500 m. If the current reading is not accurate enough, the last accurate reading is used, provided it was taken within 10 km of where you are. If there is none, the altitude is taken as 0. For a city picked by hand the same rule applies: the saved reading if you have been within 10 km of that city, otherwise 0. Values are limited to 0–5,000 m. Altitude applies to the home screen, the onboarding estimate and sessions.

Adaptation. Skin that has had regular sub-burning exposure tolerates more. Solaria keeps an adaptation factor from 1.0 to 2.5 that multiplies your MED. Each day's dose is counted in units of your base MED, capped at 1 per day, so a burn does not count as extra training. The contribution of each day halves every 14 days. The factor is 1 + 0.26 × the sum of these contributions. Your onboarding answer about recent sun exposure gives a starting value (from 1.0 for "rarely" to 1.5 for "already tanned"; half of that effect if you joined in the cooler half of the year: October to March in the Northern Hemisphere, April to September in the Southern Hemisphere). Solaria sets your hemisphere once, from the first place it gets UV for, and keeps it when you travel; the equator counts as Northern. This starting value fades with the same 14-day half-life.

Medication. If you answered "yes" or "not sure" to taking medication that makes skin sensitive to light, your MED is multiplied by 0.7 — 30% less time.

Evening skin checks. On days when you collected at least half of your budget, Solaria asks at 20:00 how your skin looks. The last answer of each day adjusts a personal calibration factor that multiplies your MED:

AnswerChange
Normal× 1.02 (up to 1.2 at most)
Slightly pinkno change
Red× 0.8
Sunburned× 0.65
Peeling× 0.65

All answers since you started count, in order. The factor stays between 0.5 and 1.2, so skin checks can make your limit up to twice as strict, and can loosen it by 20% at most.

What is not taken into account

Clouds beyond the forecast. Solaria uses the UV index from Apple Weather as it is and adds no cloud adjustment of its own. If clouds arrive or clear faster than forecast, the real UV differs from the number in the app.

Sand and snow. Reflection from sand and snow is not counted. Fresh snow in particular can add a large share of extra UV; on a beach or on the slopes, treat the safe time as an upper limit.

Water outside swimming. Reflection from water is counted only during the swimming phase of a session, not when you are on a boat or by the shore.

How much skin is exposed. Solaria asks how much skin is exposed during a session, but uses the answer only for vitamin D, not for safe time. This is intentional. Sunburn is local: each square centimetre of skin burns from the dose it receives itself. Uncovering more skin does not make an exposed shoulder burn sooner — it only means more skin can burn. The safe time is the time for any skin that is uncovered.

Your location's time zone. Days are counted by the clock on your device.

Vitamin D

Solaria estimates vitamin D from the same UV dose, after sunscreen, shade and water are applied — so sunscreen and shade reduce the estimate too.

vitamin D (IU) = dose (SED) × exposed skin share × 2,200 × skin type factor, at most 4,000 IU

  • 2,200 IU per SED is the estimate for fully exposed skin.
  • Exposed skin share comes from the session setup: minimal clothing 0.85, moderate coverage 0.35, mostly covered 0.1. If the share is unknown, 0.35 is used.
  • Skin type factor accounts for melanin slowing vitamin D production: I 1.0, II 1.0, III 0.85, IV 0.65, V 0.5, VI 0.35.
  • Ceiling. Vitamin D is capped at 4,000 IU per calendar day, wherever it is shown.

The daily target shown in the app is 600 IU. Age, latitude and season are not part of the vitamin D estimate. It is an estimate, not a measurement: only a blood test shows your vitamin D level.

Limitations: safe time is not a guarantee

Safe time is an estimate built from a forecast and your own answers. It can be wrong when:

  • the forecast is off — UV forecasts are models, not measurements;
  • the UV index is between two whole numbers, or changes within the hour;
  • you are on snow, sand or near reflective surfaces that the app does not count;
  • your skin reacts differently from the average for your Fitzpatrick type;
  • you applied less sunscreen than you logged, missed spots, or it rubbed off;
  • you take medication or have a condition that increases light sensitivity and did not say so.

The home screen number assumes bare skin in full sun, but it is still not a promise that you will not burn. At UV 3 and above, the World Health Organization recommends protection regardless of how long you plan to stay out: shade at midday, clothing, a hat, sunglasses and broad-spectrum sunscreen.

Sources

How Solaria helps

Every number in Solaria comes from the formula on this page. If something here does not match what you see in the app, tell us — the app is the one that should change.

Download on the App Store

This guide is general information, not medical advice. Burn times are estimates based on UV data and skin type; individual skin varies. For moles, skin changes or a sunburn that blisters, see a doctor.