Home › Calculators › Sleep Calculator

Sleep Calculator

Pick the time you need to wake up, or when you are going to bed, and get times that line up with complete 90-minute sleep cycles so you wake up between cycles instead of in the middle of one.

Last updated:

The average adult takes about 14 minutes to fall asleep, and a sleep cycle lasts roughly 90 minutes (anywhere from 80 to 110).

–

Advertisement
Advertisement

How to use the Sleep Calculator

  1. Choose a mode: “I want to wake up at…” to get bedtimes, or “I'm going to bed at…” to get alarm times.
  2. Enter the time, or press Sleep now to use the current time.
  3. Adjust the settings if you usually take longer to fall asleep or know your own cycle length.
  4. Press Calculate and pick one of the highlighted times; 5 or 6 cycles give 7.5 to 9 hours of sleep.
  5. Copy the result or switch between 12h and 24h format.

How the sleep cycle formula works

A night of sleep is a series of cycles. Each one moves from light sleep (N1, N2) into deep slow-wave sleep (N3) and then into REM sleep, where most dreaming happens. One cycle lasts about 90 minutes on average. Waking at the end of a cycle, when sleep is lightest, usually feels easier than being pulled out of deep sleep.

The calculator uses two simple formulas:

  • Bedtime = wake-up time − (cycles × cycle length) − time to fall asleep
  • Wake-up time = bedtime + time to fall asleep + (cycles × cycle length)

Example: you need to be up at 6:30 AM. Five cycles is 5 × 90 = 450 minutes (7 h 30 min). Add 14 minutes to fall asleep for 464 minutes in total. 6:30 AM minus 7 h 44 min is 10:46 PM. For six cycles (9 hours) you would go to bed at 9:16 PM.

Bedtime chart by wake-up time

Wake up at6 cycles (9 h)5 cycles (7.5 h)4 cycles (6 h)
5:00 AM7:46 PM9:16 PM10:46 PM
5:30 AM8:16 PM9:46 PM11:16 PM
6:00 AM8:46 PM10:16 PM11:46 PM
6:30 AM9:16 PM10:46 PM12:16 AM
7:00 AM9:46 PM11:16 PM12:46 AM
7:30 AM10:16 PM11:46 PM1:16 AM
8:00 AM10:46 PM12:16 AM1:46 AM

Times include 14 minutes to fall asleep and assume 90-minute cycles.

How much sleep do you need by age?

Age groupRecommended sleep per day
Newborn (0–3 months)14–17 hours
Infant (4–11 months)12–15 hours
Toddler (1–2 years)11–14 hours
Preschool (3–5 years)10–13 hours
School age (6–13 years)9–11 hours
Teenager (14–17 years)8–10 hours
Adult (18–64 years)7–9 hours
Older adult (65+ years)7–8 hours

These ranges follow the US National Sleep Foundation guidelines. A regular schedule, a dark and cool bedroom and less screen time before bed all help you fall asleep faster.

Frequently asked questions

How does the sleep calculator work?

Sleep runs in cycles of about 90 minutes, moving through light, deep and REM sleep. The calculator adds the time it takes you to fall asleep and whole cycles to your bedtime, or subtracts them from your wake-up time, so your alarm goes off at the end of a cycle when you are in light sleep.

What time should I go to bed if I wake up at 7 AM?

With the default 14 minutes to fall asleep and 90-minute cycles, aim for bed at 9:46 PM (6 cycles, 9 hours) or 11:16 PM (5 cycles, 7.5 hours). 12:46 AM gives only 6 hours.

How many sleep cycles do I need?

Most adults need 7 to 9 hours of sleep, which is 5 or 6 full cycles. Teenagers need more, about 8 to 10 hours, and older adults often do well on 7 to 8 hours.

Is every sleep cycle exactly 90 minutes?

No. Cycles usually last between 80 and 110 minutes and vary from person to person and through the night. 90 minutes is a useful average; change the cycle length if you know yours is different.

Why do I feel groggy even after a long sleep?

Waking up during deep sleep causes sleep inertia, that heavy, foggy feeling. Timing your alarm to the end of a cycle can help, but a consistent schedule and enough total sleep matter most.

Is this medical advice?

No. The calculator gives general estimates based on average sleep cycles. If you regularly struggle to sleep or feel tired during the day, talk to a doctor.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

BMI CalculatorCalculate BMI and a healthy weight range.TDEE Calorie CalculatorFind maintenance calories, calories to lose weight and macros.Pregnancy Due Date CalculatorFind your due date and how many weeks pregnant you are.Age CalculatorFind your exact age and next birthday countdown.90 Minute TimerA ready-to-go 90 minute countdown with alarm, presets and fullscreen view.Breathing ExerciseGuided breathing with an animated pacer: box, 4-7-8, coherent 5.5 or custom, with chime cues.Brown Noise GeneratorEndless deep brown noise with warmth, stereo width, fade-in and a sleep timer.Daylight Saving Time DatesSee when daylight saving time starts and ends in the US, UK, EU, Australia and NZ.Body Fat CalculatorBody fat % with the US Navy and BMI methods, lean vs fat mass.Ideal Weight CalculatorCompare ideal body weight from the Robinson, Miller, Devine and Hamwi formulas.Weight Loss Percentage CalculatorWork out the percentage of body weight you have lost and track progress to your goal.Waist to Hip Ratio CalculatorWork out your waist-to-hip ratio and WHO health risk category for men and women.Ideal Gas Law CalculatorSolve PV = nRT for pressure, volume, moles or temperature with automatic unit conversion.Lean Body Mass CalculatorEstimate lean body mass, fat mass and body fat % with the Boer, James and Hume formulas.Pregnancy Weight Gain CalculatorSee your recommended pregnancy weight gain by BMI and week, using the IOM 2009 guidelines.Baby Percentile CalculatorWeight, length and head circumference percentiles for babies 0–24 months on WHO growth charts.Blood Alcohol CalculatorEstimate BAC over time from your drinks with the Widmark formula, with peak and time to sober.A1C CalculatorConvert A1C % to estimated average glucose in mg/dL and mmol/L, and back.FFMI CalculatorFind your fat-free mass index and normalized FFMI from weight, height and body fat.Puppy Weight CalculatorEstimate your puppy's adult weight from its age, current weight and breed size.Growth Rate CalculatorTotal growth, compound growth rate per period, linear average and a projection.Army Body Fat CalculatorArmy tape test body fat (2023 one-site or legacy method) vs AR 600-9 standards by age.Blood Pressure CalculatorBlood pressure reading to AHA category, mean arterial pressure and pulse pressure.Waist to Height Ratio CalculatorWaist to height ratio in cm or inches with health bands and the 0.5 rule waist target.Alcohol Units CalculatorUK alcohol units from volume and ABV, plus a weekly total vs the 14-unit guideline.Barbell Plate CalculatorWhich plates to load on each side of the bar for any target weight, in kg or lb.GFR CalculatorEstimate eGFR from creatinine, age and sex with CKD-EPI 2021 and see the CKD stage.Mean Arterial Pressure CalculatorCalculate mean arterial pressure (MAP) and pulse pressure from a blood pressure reading.Body Shape CalculatorFind your body shape (hourglass, pear, apple, rectangle) from bust, waist and hip sizes.Child BMI CalculatorBMI and CDC BMI-for-age percentile for kids and teens 2–20, with weight category.Horse Weight CalculatorEstimate a horse's weight in kg and lb from heart girth and body length tape measurements.Quit Smoking Savings CalculatorMoney saved, cigarettes not smoked and health milestones since your quit date.Sun Position CalculatorSolar altitude, azimuth and shadow length for any place and time, with a daily sun chart.Tire Age CalculatorDecode the DOT tire date code to see when a tire was made, its age and when to replace it.Tree Age CalculatorEstimate how old a tree is from its trunk circumference and species growth factor.Yarn Yardage CalculatorEstimate yards or metres of yarn and skeins needed by project, size and yarn weight.Biological Age CalculatorEstimate your biological age from sleep, exercise, smoking, diet, BMI and blood pressure.Body Roundness Index CalculatorBRI from waist and height, with risk band chart, estimated body fat and visceral fat signal.Car Seat Stage FinderEnter age, weight and height to see which car seat stage your child needs, per AAP guidance.Child Height Percentile CalculatorFind a child's height-for-age percentile and z-score on the CDC growth chart, ages 2 to 20.Cycling Power CalculatorWatts needed for a speed, or speed from watts, using weight, gradient, CdA, Crr and wind.Diabetes Risk TestQuick type 2 diabetes risk score from age, family history, blood pressure, activity and weight.Ergonomic Desk Height CalculatorIdeal sitting and standing desk, chair, keyboard and monitor height from your height.Eyeglass Prescription ExplainedTurn SPH, CYL, AXIS, ADD and PD into a plain-English explanation of your glasses prescription.Heart Disease Risk CalculatorFramingham 10-year heart disease risk and heart age from cholesterol, BP, smoking and diabetes.Meat Temperature GuideUSDA safe internal temperature, doneness, pull temp, carryover and rest time for any meat.Metabolic Age CalculatorEstimate your metabolic age by comparing your BMR with healthy-weight averages for each age.Passer Rating CalculatorCalculate NFL quarterback passer rating and NCAA passing efficiency from a stat line.Relative Fat Mass CalculatorEstimate body fat % from height, waist and sex with the RFM formula, and compare it with BMI.Running Route Distance CalculatorClick on a map to draw a running, walking or cycling route and get distance, laps and finish time.Skinfold Body Fat CalculatorBody fat % from caliper readings: Jackson-Pollock 3, 4, 7-site and Durnin-Womersley.Strength Standards CalculatorYour lift level (beginner to elite) and bodyweight ratio from lift, body weight, sex and age.Sugar Intake CalculatorYour daily added sugar limit in grams and teaspoons (AHA and WHO), compared with your intake.Swimming Laps CalculatorHow many laps or lengths make a mile or km in a 25 yd, 25 m or 50 m pool, and laps to miles.Weight TrackerLog weigh-ins and see a 7-day average chart, weekly trend and projected goal date.Win Percentage CalculatorTurn a win-loss-tie record into a win percentage and see the wins needed to hit a goal.
See all 51 Health & Body Calculators →