Health

Sleep Calculator

Up at 7:00 AM? Aim for bed at 9:45 or 11:15 PM. Count back whole 90-minute sleep cycles to pick a bedtime or alarm that lands in light sleep, not deep sleep.

get/api/calc/sleep-calculator

Request

  • Base URL: https://calcbright.com
  • URL: https://calcbright.com/api/calc/sleep-calculator
  • Auth: none declared

Query parameters

mode'wake' | 'bed'

I want to…

timestring

Wake-up time (HH:MM, 24-hour)

latencynumber

Time to fall asleep (min)

Response

Calculation result

okboolean
toolstring
namestring
urlstring

Open this link to see the full calculation

inputsobject
summarystring

Plain-text answer

detailsstring
resultobject
errorsobject

Changes

No recorded changes to this operation across all 1 revision of this API.