Sleep debt, made visible

A good night can hide a bad trend.

Sleep scores tell you how last night went. Somnus shows what all those nights add up to—your shortfall, your running balance, and how serious the debt has become.

Now on the App Store for iPhone and iPad, using Apple Watch sleep data

  • PlatformiOS 17+
  • Version1.2.0
  • App StoreAvailable
  • LicenceMIT
Somnus weekly Trends screen: 4.5 hours behind goal, 0.6 hours per night, with nightly sleep-debt bars and a rising cumulative-debt line.

Try in your browser

A little time with Somnus.

Tap through the app, right here. Explore last night, follow a week of sleep debt, compare weekdays, or zoom out to five and ten years.

  1. Start with your dashboard. Tap Sleep Debt to see what those nights add up to.
  2. Explore Trends. Switch from 1D to 1W, 1M, 1Y, 5Y, or 10Y—and toggle By weekday on monthly and longer views to spot recurring short nights.
  3. Make it yours. Adjust the sleep goals in Settings and watch the figures change.

Interactive demo · Fictional sleep data

No download or Apple Health connection needed. Changes last for this visit. The iPhone app uses your own Apple Watch sleep data.

Open demo in a full window

Tap, scroll, and explore — just like in the app.

Snapshot vs trajectory

The difference is the question.

Apple Health gives you rich sleep history: duration, stages, scores, and trends. Somnus uses that same on-device sleep data to answer a different question—how far behind your personal sleep target are you becoming?

The nightly view

“How did I sleep?”

A score, last night’s duration, and stage breakdown help explain one sleep session.

The Somnus view

“What is it adding up to?”

Nightly shortfalls become a running ledger, exposing a deficit that can be easy to miss one morning at a time.

See the debt build

One story. Three views.

The screenshots use deterministic sample data. They show why a perfectly good night can coexist with a pattern that deserves attention.

Somnus dashboard with a 94 Excellent score and 4.6 hours debt.
1

Start with the contradiction

Last night scored 94. The week is still 4.6 hours behind. Both can be true.

Somnus weekly Trends screen with colour-coded nightly sleep-debt bars and a cumulative-debt line reaching 4.5 hours.
2

See every contribution

Bars turn yellow, orange, or red as a night’s shortfall grows. The line turns separate misses into one running total, coloured by your average night.

Somnus monthly Trends screen showing 14.5 hours behind the sleep goal, colour-coded weekly debt bars, and a cumulative debt line.
3

Zoom out before you dismiss it

A half-hour nightly gap becomes a 14.5-hour monthly deficit. Each week is coloured by its average night, so the scale never hides the pattern.

Updated in 1.2.0

Spot the nights that leave you short.

For monthly and longer views, switch Sleep Debt between By time and By weekday to uncover whether Mondays—or any other evening—are driving your deficit.

  • Month view: Groups individual nights Monday–Sunday, oldest first, with dated nightly shortfalls and recording counts.
  • 1Y, 5Y & 10Y views: Compares average shortfall per recorded night across weekdays, with monthly or yearly drill-downs.
  • Severity colours: Yellow under 0.5h, orange from 0.5–1h, and red for 1h or more per night, on every night, average, and drill-down.
  • Evening-based labels: Monday night includes Tuesday morning, while missing nights remain separate from recorded nights with zero shortfall.
Try By weekday in the browser demo
Somnus 1M Trends screen switched to By weekday, showing colour-coded Monday through Sunday shortfall bars and five dated Monday nights.
1M

Every night in the month

See four or five occurrences per weekday side by side, oldest first, with dated values for your selection.

Somnus 1Y Trends screen switched to By weekday, showing colour-coded average shortfall per recorded night across weekdays and monthly averages for Monday nights.
1Y

Averages across years

Compare average shortfall per recorded night and inspect monthly (1Y) or yearly (5Y/10Y) trends for any weekday.

A simple ledger

Your target minus your sleep.

Somnus totals the shortfall for every tracked night in the selected period. Fragmented sessions are merged, and nights with no recorded sleep are excluded—missing data never becomes phantom debt.

Personal target 8.0 hours
Sleep recorded 6.5 hours
That night adds 1.5 hours debt

Private by design

Your sleep stays yours.

Somnus requests read-only access to sleep analysis in Apple Health. Calculations happen on your device, with no account, analytics, advertising, or developer-operated server.

Read-only Health access
On-device calculations
No ads or tracking
No Health data uploads

Under the hood

Native, and open.

Somnus is a SwiftUI app built directly on HealthKit and Swift Charts, with no third-party SDKs. The sleep-debt engine and its unit tests are published under the MIT licence, so the numbers on screen can be checked against the code that produced them.

  • SwiftUI
  • HealthKit
  • Swift Charts
  • Combine
  • PlatformiOS 17+
  • LanguageSwift 5.9
  • LicenceMIT
  • App StoreAvailable
  • Version1.2.0
  • Privacy100% on-device
Devices
iPhone and iPad
Data source
Apple Watch sleep tracking, read from Apple Health
Health access
Read-only Sleep Analysis
Network use
None — no accounts, servers, or analytics
Read the source

Look beyond last night

See what your sleep is adding up to.

Somnus is now on the App Store. Download it to see your sleep debt, or explore the source and get in touch with questions.