- Sleep
- 00:48 → 08:48
- Seek bright light
- 08:48–11:48
- Avoid bright light
- 21:48–00:48
- Melatonin 0.5 mg
- 19:48
- Body clock
- 08:00
Circadian tools · time zones · caffeine · sleep
Plan the flight, the coffee and the night around one clock
A jet lag schedule you can put straight into your calendar, a caffeine curve with the last cup that still lets you sleep, and wake times that end a sleep cycle instead of cutting through one.
- No account
- Nothing uploaded
- Free
- Works offline after load
In short
BioClock is a free set of three circadian tools that run entirely in your browser: a jet lag planner that turns a time-zone change into a night-by-night light and sleep schedule with a calendar download, a caffeine half-life calculator that charts what is still in your body and the last time you can drink it before bed, and a sleep-cycle calculator for bed and wake times. No data you enter is uploaded, and no account is needed.
Jet lag planner
A schedule for every night of the trip
Pick the two airports, the date and how long you are staying. The plan reads the real offsets for that date, takes the shorter way round the clock, and gives each night a sleep window, light to seek, light to avoid and — eastbound — a melatonin time.
Times are 24-hour local time. Offsets are read for your travel date, so daylight saving is included.
Time difference
--14 h
14 h apart on the clock; 10 h Eastbound is the shorter way round
Shortest direction
Eastbound
10 h to shift
You land
Fri, Nov 28 · 09:00 local
Shift per day
60 min per day
Fully adapted
on night 10
Night by night
24-hour local time at your destination. Each bar runs from noon to noon, so the night sits in the middle. "Body clock" is when your body would naturally sleep; the sleep window is when to aim for bed to live on local time.
- Sleep
- Seek light
- Avoid light
- Sleep
- 00:36 → 08:36
- Seek bright light
- 08:36–11:36
- Avoid bright light
- 21:36–00:36
- Melatonin 0.5 mg
- 19:36
- Body clock
- 07:00
- Sleep
- 00:24 → 08:24
- Seek bright light
- 08:24–11:24
- Avoid bright light
- 21:24–00:24
- Melatonin 0.5 mg
- 19:24
- Body clock
- 06:00
- Sleep
- 00:12 → 08:12
- Seek bright light
- 08:12–11:12
- Avoid bright light
- 21:12–00:12
- Melatonin 0.5 mg
- 19:12
- Body clock
- 05:00
- Sleep
- 00:00 → 08:00
- Seek bright light
- 08:00–11:00
- Avoid bright light
- 21:00–00:00
- Melatonin 0.5 mg
- 19:00
- Body clock
- 04:00
- Sleep
- 23:48 → 07:48
- Seek bright light
- 07:48–10:48
- Avoid bright light
- 20:48–23:48
- Melatonin 0.5 mg
- 18:48
- Body clock
- 03:00
- Sleep
- 23:36 → 07:36
- Seek bright light
- 07:36–10:36
- Avoid bright light
- 20:36–23:36
- Melatonin 0.5 mg
- 18:36
- Body clock
- 02:00
- Sleep
- 23:24 → 07:24
- Seek bright light
- 07:24–10:24
- Avoid bright light
- 20:24–23:24
- Melatonin 0.5 mg
- 18:24
- Body clock
- 01:00
- Sleep
- 23:12 → 07:12
- Seek bright light
- 07:12–10:12
- Avoid bright light
- 20:12–23:12
- Melatonin 0.5 mg
- 18:12
- Body clock
- 00:00
- Sleep
- 23:00 → 07:00
- Seek bright light
- 07:00–10:00
- Avoid bright light
- 20:00–23:00
- Melatonin 0.5 mg
- 18:00
- Body clock
- 23:00
The file uses floating local times, so your calendar shows each block at the time you will actually be there. Sleep, light and melatonin become separate events.
How the shift is paced
Eastbound travel advances the body clock by at most about an hour a day; westbound travel delays it by up to ninety minutes a day. If the trip is shorter than the difference needs, the plan covers as much of the shift as it can and tells you how much is left. Until the clock has moved, the sleep window is pulled up to two hours to the side your body is on, then settles back to local night.
Why these hours
Bright light after the core body temperature minimum advances the clock; light before it delays the clock. We place the minimum about two hours before your usual wake time, so the light windows move with each night's target sleep.
Caffeine half-life
What is left when your head hits the pillow
Caffeine is cleared roughly first-order: every half-life the amount in your body halves. Choose a drink, the time you have it and your own half-life to see the curve, the amount left at bedtime and the last moment you could have had it.
Caffeine still in your body
Dose curve 25 / 50 mg
Left at bedtime
49.5 mg
15:00 → 23:00
Last drink for 25 mg at bedtime
by 10:05
12 h 55 min before bed
Last drink for 50 mg at bedtime
by 15:05
7 h 55 min before bed
The curve is a single first-order decay from the dose you enter. It ignores a second drink, food and individual absorption speed.
The formula
C(t) = C0 × 0.5^(t / t½). C0 is the dose, t the hours since the drink and t½ your half-life. The last-drink time solves the same equation for the 25 mg and 50 mg lines.
C(t) = C0 × 0.5t / t½
Why 25 and 50 mg
Neither is a medical threshold. They are practical cut-offs: 50 mg is about half a cup of tea and 25 mg about a quarter. Sleep onset and depth can change well below a dose that keeps you awake, and some people notice 10 mg.
Sleep cycle calculator
Bed and wake times that end a cycle
A sleep cycle averages about ninety minutes. Waking at the end of one usually feels better than waking in the middle of deep sleep. Add fifteen minutes to fall asleep and count backwards from the alarm, or forwards from the pillow.
15 min to fall asleep included
If you go to bed at 23:00, wake at
4 cycles
05:15
6 h asleep
short night
5 cycles
06:45
7 h 30 min asleep
recommended
6 cycles
08:15
9 h asleep
long night
Where 90 minutes comes from
Sleep cycles — non-REM and REM together — average about 90 minutes in adults but range from roughly 70 to 110. Four cycles is about six hours asleep, five is seven and a half, six is nine. Treat the numbers as a starting point and compare them with how you actually feel.
How to use it
Four steps, one plan
Everything below is calculated from the numbers you type. Nothing is sent anywhere.
Choose the route
Set where you leave from and where you land. The offsets are read for the actual travel date, so a daylight-saving change on either end is counted.
Read the difference
BioClock takes the shorter way round the clock and names the direction. Ten hours east is easier on the body than fourteen hours west, even though both describe the same pair of cities.
Follow the light
Each night has a window to seek bright light, a window to stay out of it and, eastbound, a low-dose melatonin time. Your sleep window slides toward local night as the clock shifts.
Take it with you
Download the calendar file: sleep, light and melatonin blocks land in your own calendar with local times, and they survive the flight.
The reasoning
What the three calculations assume
Short explanations, so you can judge how much to trust each number.
Light is the hand on the clock
A small group of cells in the hypothalamus keeps a rhythm close to 24 hours and resets mainly from light reaching the eye. Light falling after the core body temperature minimum advances the clock; light before it delays the clock. That is why the same morning sun helps an eastbound traveller and works against a westbound one. We estimate the minimum at about two hours before habitual wake and build the windows around it, using 10,000 lux as the rough mark for useful outdoor morning light.
Caffeine leaves on a half-life
Caffeine is cleared mostly by one liver enzyme, so the amount falls by half every half-life. For most adults the half-life is three to seven hours, around five on average; smoking shortens it, oral contraceptives, pregnancy and some liver conditions lengthen it. The calculator uses first-order decay, which matches the elimination phase well but not the hour or so it takes to reach peak blood levels.
Sleep runs in cycles
During the night the brain moves between non-REM and REM sleep in cycles, on average every 90 minutes, though 70 to 110 is normal. A cycle ends with lighter sleep, a window that is easier to wake from. The 15-minute latency is a rough adult average for falling asleep; if yours is different, set the bedtime earlier and read the wake times from there.
Reference
Light and melatonin by direction
The rules the planner applies, in one table.
| Direction | Seek bright light | Avoid bright light | Melatonin |
|---|---|---|---|
| Eastbound | The first three hours after you wake | The three hours before target bedtime | 0.5 mg, five hours before target bedtime |
| Westbound | The three hours before target bedtime | The two hours after waking | Skip — evening light does the work |
| Same zone | Normal daytime light | — | — |
Windows are relative to the night's target sleep, which is why they move from night to night. Bright light means daylight outdoors, not a phone screen.
Reference
Caffeine in common drinks
Typical values, for filling in the dose box.
| Drink | Serving | Caffeine |
|---|---|---|
| Americano | 350 ml, two shots | 150 mg |
| Espresso | 30 ml, one shot | 63 mg |
| Brewed coffee | 240 ml | 95 mg |
| Instant coffee | 240 ml | 62 mg |
| Green tea | 240 ml | 28 mg |
| Black tea | 240 ml | 47 mg |
| Energy drink | 250 ml can | 80 mg |
| Cola | 330 ml can | 34 mg |
| Dark chocolate | 30 g | 24 mg |
Brewed, instant, tea and chocolate values follow USDA FoodData Central; the energy drink figure is a typical can label. A café cup can be twice the size and twice the strength.
Questions
What people ask first
Is BioClock free, and do I need an account?
It is free and there is no account, no email and no sign-up. Open the page, use any of the three tools, download the calendar file if you want it. Nothing is metered.
Where does my travel or sleep data go?
Nowhere. The page has no upload call: your cities, dates and times are turned into a schedule inside the tab. Only your last settings and the theme are kept in this browser's localStorage, and clearing site data removes them.
How accurate is the jet lag plan?
It is a model, not a measurement. It uses two published rules of thumb — about an hour a day eastbound and up to ninety minutes westbound — and places light windows around an estimated temperature minimum two hours before your usual wake time. Real rhythms differ by an hour or two, and shift workers, night owls and short sleepers need a different plan.
Why is the first night's bedtime not my usual bedtime?
While your clock is still offset, the plan pulls the sleep window up to two hours to the side your body is on — later when you fly east and cannot fall asleep at local night, earlier when you fly west and feel sleepy before it. The window settles back to local night as the shift completes.
What half-life should I enter?
Five hours is the usual adult average. Choose three if you smoke, six to seven with oral contraceptives, pregnancy or liver problems, and remember that the real range runs from about 1.5 to 9.5 hours. If you want your own number, a caffeine tracker over a few days gives a better estimate than any table.
Why show 25 mg and 50 mg instead of zero?
Zero is impractical: caffeine tails off slowly, so a large coffee would never reach it. 50 mg is about half a cup of tea and 25 mg about a quarter, low enough that most people stop noticing an effect on sleep. If you are sensitive, aim for the 25 mg line.
Does the .ics file work with Google, Apple and Outlook calendars?
Yes. It is a standard iCalendar file with floating local times, so the events show at the destination's clock times wherever you import them. Sleep, light and melatonin are separate events you can move or delete.
Does the site work on a plane or offline?
After the first load, yes: every calculation runs in the page. The only outside request is the advertising script, and the tools keep working if it is blocked.
Limits
What this cannot tell you
Read this before you change anything that affects your sleep.
Not a diagnosis
BioClock does not diagnose, treat or prevent any condition. If you have insomnia, sleep apnoea, restless legs, a mood disorder or a job that rotates shifts, a clinician's plan will beat a generic schedule.
The model is generic
The daily rates and the two-hour temperature-minimum estimate are population averages. Chronotype, age, medication, alcohol and how much you slept before the flight all move the result. Treat the times as a starting point, not a prescription.
Melatonin is a drug
Low-dose melatonin is sold over the counter in some countries and by prescription in others, and content varies between products. It is not recommended for children, during pregnancy or breastfeeding, or alongside some medicines without advice. The planner suggests a time; whether to take it is a decision for you and a clinician.
Caffeine varies widely
Half-life ranges from about 1.5 to 9.5 hours between people. The curve assumes one drink with no food effect and no second cup, so it will not match a real day exactly. The 25 mg and 50 mg lines are practical markers, not safety limits.
Sleep cycles are an average
Ninety minutes is a mean, not your personal cycle. Waking at the end of a cycle is a comfort heuristic; the calculator cannot measure your sleep stages and is not a substitute for how you feel or for a sleep study.
What is verified
The arithmetic is checked against an independent implementation for every control in the page; the static package is served and measured at three viewport widths. The medical claims are not tested here — they rest on the published guidance cited below.
Basis and further reading
- Arendt J. Managing jet lag: some of the problems and possible new solutions. Sleep Medicine Reviews, 2009.
- Eastman CI, Burgess HJ. How to travel the world without jet lag. Sleep Medicine Clinics, 2009.
- Roenneberg T. Internal time: chronotypes, social jet lag and why you're so tired. Harvard University Press, 2012.
- Institute of Medicine. Caffeine in food and dietary supplements: examining safety. National Academies Press, 2014.
- USDA FoodData Central. Caffeine values for coffee, tea and chocolate.
- Dijk DJ, Czeisler CA. Contribution of the circadian pacemaker and the sleep homeostat to sleep propensity. Journal of Physiology, 1995.
BioClock is an educational planning tool, not a medical device. It does not diagnose, treat or prevent any condition. Talk to a clinician before changing sleep, melatonin or caffeine habits — especially if you are pregnant, nursing, a child, or taking medication.