Free tool. Exponential half-life model.
Melatonin half-life calculator
Enter dose and time to see an estimated decay curve for the next 10 hours.
Enter your dose
Melatonin is normally taken as a single tablet before bed, not logged across the day like caffeine. Pick a typical strength or enter your own amount, and when you took it.
This models immediate-release melatonin only
Estimated melatonin in your system right now
Enter a dose above to see your decay curve.
A curve is an estimate. Sam keeps how your nights actually went.
See your nights in SamWhat this means
- The curve is an estimate from the half-life model, not a measurement of your level.
- It models immediate-release tablets only. Extended-release forms clear more slowly.
- It shows how melatonin clears. It does not tell you when or how much to take.
Sleep program in Sam
Wear it to bed. Read it at breakfast.
Sam reads your nights from Apple Watch and keeps each one. Once a month, a short check-in adds how they felt.
- Last night next to your own nights before.
- One sleep goal and one habit to try each month.
- Export your check-ins as a PDF for your doctor.
Free on iPhone.

More on how long it stays
All free toolsSources
Elimination half-life (1-2 hours). StatPearls / NCBI Bookshelf (NBK534823), "Melatonin". https://www.ncbi.nlm.nih.gov/books/NBK534823/
Oral bioavailability (1%-74%). StatPearls / NCBI Bookshelf (NBK534823), "Melatonin". https://www.ncbi.nlm.nih.gov/books/NBK534823/
Immediate- vs extended/sustained-release. Pharmaceutics (2024), PMC11510348, "Comparative Pharmacokinetics of Sustained-Release versus Immediate-Release Melatonin Capsules". https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11510348/
Age and clearance. Gooneratne et al. (2012), Journal of Pineal Research, PubMed 22348451. https://pubmed.ncbi.nlm.nih.gov/22348451/
Further reading
- The Fastest Way to Reset Your Sleep Schedule Using Wearable DataResetting a disrupted sleep schedule means establishing a consistent wake time as your anchor point, managing light exposure to shift your circadian clock, and using your wearable's sleep timing data to confirm that the reset is actually taking hold.Read
- Apple Watch Sleep Stages vs. Polysomnography: How Accurate?Core, Deep and REM explained, and how accurate they are: Apple reports kappa 0.68 against sleep-lab polysomnography. Not for diagnosing sleep.Read
Frequently asked questions
Take care.
Sam is a wellness companion, not a medical device. It does not diagnose, treat, cure, or prevent any disease or health condition. Always consult a qualified healthcare professional for medical decisions.