Partly. Everything that follows from the sun's position can be computed on the phone with no connection: sunrise, solar noon, when UVA and UVB arrive, and the highest index a cloudless sky could deliver at that sun angle. The live UV index cannot. It depends on today's cloud and atmosphere over you, which the phone has to fetch.

The split is physics. The sun's elevation at your coordinates on a given date and minute is astronomy, fixed centuries ahead and calculable in microseconds from latitude, longitude and the clock. The index on top of that elevation is weather: how much cloud sits between you and the sun, how thick the ozone column is today, how much haze is in the air. The first half never needs a server. The second half always does, unless the phone carries a UV sensor, and almost none do.

What the phone can work out by itself

Sun position. From latitude, longitude, date and time, the phone computes solar elevation and azimuth to a fraction of a degree. That gives sunrise, sunset, solar noon, dawn and dusk without a network request. It is the same arithmetic every almanac uses.

UVA rise and the UVB window. UVA becomes biologically meaningful once the sun passes roughly 10 degrees above the horizon. UVB, the band that makes vitamin D and reddens skin, needs around 30 degrees before enough of it survives the long slant path through the ozone layer. Both are thresholds on elevation, so the phone can tell you when they open and close today at your spot without asking anyone.

A cloudless ceiling. For a given elevation, typical ozone and sea level, the highest index the sun can deliver is well characterized: roughly 1 to 2 at 20 degrees, about 3 at 30 degrees, 5 to 6 at 45 degrees, about 8 near 60 degrees, and 10 or more with the sun close to overhead. An offline app can draw this curve for your day. What it is drawing is a ceiling, not a reading.

What needs a connection

Cloud. Cloud is the largest term and the least predictable. A solid overcast passes roughly a third of the UV, a thick storm deck passes almost none, and a gap in broken cloud can briefly push the index above the cloudless value. None of that can be derived from the sun's angle. It comes from a weather forecast or a satellite image, and both live on a server.

Ozone. The ozone column over a point swings by 10 to 20 percent from one day to the next as weather systems move it around, and each 1 percent of ozone lost raises erythemal UV by a little over 1 percent. That is the difference between an index of 6 and 7 on the same afternoon with the same sun angle. Satellite ozone is measured daily and has to be fetched.

Haze and altitude. Smoke, dust and pollution can cut UV by a tenth to a half on a bad day. Altitude works the other way, adding about 10 percent per 1,000 meters. The phone knows its altitude from GPS. It does not know the haze.

This is why an app with a sound offline mode still cannot show a trustworthy live index without a connection. It can show the ceiling. The gap between the ceiling and reality is the weather.

"Cannot use offline anymore"

Reviewers of several UV apps describe the same failure: "Constantly getting 'connection failed' now, making it useless", "Cannot use offline anymore", and on a well-liked circadian app, "wish the UV index would function while offline". Two design choices cause it. Some apps compute nothing on the device and treat every screen as a fetch, so a lost connection blanks out sunrise times the phone could have calculated itself. Others hold a cached forecast but do not say how old it is, so a stale number looks live. The first is a needless failure. The second is a quiet one, and worse, because a morning value says nothing about the cloud that arrived at noon.

The honest offline behavior is to keep showing everything solar geometry can supply, and to mark the UV number as unavailable, or as last fetched at a stated time, rather than to show a confident value that no longer describes your sky.

What Sunlight is Life does without a connection

Sunlight is Life computes sun times on the device. Today's schedule of solar events, from daybreak through UVA rise, UVB rise, solar noon and back to nightfall, is calculated from your location and the clock, so it renders with no network. Morning sun reminders and sun event notifications are scheduled locally from the same calculation, several days ahead, and fire whether or not the phone is online. The compass and the lux meter read the phone's own sensors. The live UV index, the separate UVA and UVB values, and the signal star come from the server and need a connection, and anything the app builds on the current UV, such as safe exposure time and the vitamin D estimate, needs it too.

Get sun times and morning sun reminders that run on your phone →

What to do when you are offline

  • Trust the schedule. If an app shows sunrise, UVA rise and UVB rise with no connection, those times are sound; they depend on nothing but the sun.
  • Use your shadow. Shadow longer than your height means the sun is below 45 degrees and UVB is weak. Shorter than your height under a clear sky means the index is at least 3 and climbing toward its midday ceiling.
  • Read the sky, not the last number. Under solid overcast, assume about a third of the cloudless value. Under broken cloud, assume the full value in the gaps.
  • Reconnect before a session. For a vitamin D session or a burn-time estimate for your skin type, fetch the current value first. If you take a photosensitizing medication such as doxycycline, no offline ceiling is a safe guide to your exposure.

The through line

The sun's position is a calculation. The light that gets through the atmosphere is a measurement, or a model fed by measurements, and it changes with the weather. An app that knows the difference can tell you a great deal offline, including when UVA and UVB will arrive today, and it will be honest that the last step, the number for your sky at this minute, needs the world to be reachable.