Melatonin Dosage Calculator
How much melatonin should you actually take tonight?
Enter your age, body weight, and sleep goal to get a recommended starting melatonin dose and timing window. The result reflects current general guidance for adults and children — not a prescription.
—
Send feedback
💡 Share your idea or report a problem
✓ Thanks! We'll take a look.
Learn more
How It Works
The formula, explained simply
Melatonin does not knock you out — it signals your brain that darkness has arrived. Think of it as a dimmer switch on your arousal system, not an off button. Your body already produces melatonin naturally, starting about two hours before your habitual sleep time, rising steeply, and fading by morning. Taking a supplement adds to that signal, either reinforcing it when your natural production is low or nudging it earlier or later to shift your sleep window.
The calculation here works in two phases. First, it establishes a base dose from your age and goal: adults get goal-adjusted recommendations, children get a weight-based calculation anchored at 0.05 mg per kilogram with a ceiling of 3 mg, and adults over 65 start at 0.5 mg because their bodies clear the hormone more slowly. Second, it adjusts for your reported sensitivity — if you have previously felt groggy the next day, that is a strong signal your personal threshold is below the standard range.
Timing is calculated from your bedtime minus an offset. For general sleep onset, 60 minutes is the standard window — enough time for the supplement to absorb and begin influencing your central body clock. For jet lag and shift work, 30 minutes is sufficient because those scenarios involve a rhythm shift, not just sedation. The goal of the tool is to give you the lowest effective dose at the right moment, not the highest dose you can tolerate.
When To Use This
Right tool, right situation
This calculator is appropriate when you want to start melatonin and have no guidance from a prescriber, when you are adjusting an existing dose that is not working, when you are calculating a safe starting dose for a child, or when you are preparing for a flight across multiple time zones. It covers the most common use cases accurately.
Do not rely on this tool if you are taking prescription sleep medications, antidepressants with serotonergic activity, blood thinners, or immunosuppressants — melatonin interacts with all of these in ways that require professional review. The tool also does not account for underlying sleep disorders such as sleep apnea, restless leg syndrome, or circadian rhythm disorder, where melatonin is either ineffective or needs specialist dosing.
The result is also less reliable for chronic nightly use. Melatonin is well-supported for short-term use — one to four weeks — but the data on long-term nightly supplementation, particularly for children, is thin. If you find yourself taking melatonin every night for more than a month without improvement, a sleep specialist is more useful than a higher dose.
Common Mistakes
Why results sometimes look wrong
The most common mistake is taking the dose on the pharmacy label rather than the lowest effective dose. Supplement manufacturers sell 5 mg and 10 mg tablets because they are the same price to produce and look more potent. In practice, a 10 mg dose delivers roughly 20 times the physiological signal your body produces on its own at peak — the excess does not improve sleep and leaves a residue that can impair alertness the following morning.
A second mistake is taking melatonin at the wrong time. People who cannot fall asleep often take it the moment they get into bed, which is already past the ideal window. If your goal is 11 PM sleep onset, you need to have taken melatonin by 10 PM — meaning you have to think ahead, not react to sleeplessness. Taking it too late compresses the absorption window and reduces effectiveness.
A third mistake specific to jet lag is using melatonin in the direction that feels natural rather than the direction that corrects the problem. Traveling east requires you to fall asleep earlier than usual at the destination. Taking melatonin at home-time bedtime rather than destination bedtime extends jet lag rather than resolving it. The tool asks for your goal specifically to avoid this — the dose and timing differ meaningfully depending on whether you are drifting or correcting.
The Math
Worked examples and deeper derivation
The dose calculation follows three branches depending on age. For children under 18, the formula is: dose (mg) = body weight (kg) x 0.05, rounded to the nearest 0.25 mg, with a hard ceiling of 3 mg. For adults between 18 and 64, the base dose is set by sleep goal: 0.5 mg for general onset and early waking, 2 mg for jet lag, and 3 mg for shift work — these reflect ranges used in most published studies. For adults 65 and over, the base is always 0.5 mg regardless of goal.
The sensitivity multiplier applies after the base is set. Reported next-day grogginess triggers a 0.5x reduction on the starting dose and a 0.75x cap on the high end of the range, then re-rounds to the nearest 0.25 mg. This is a conservative heuristic, not a pharmacokinetic formula — individual clearance rates vary too much to model precisely from weight alone.
Timing offset subtracts minutes from your bedtime: 60 minutes for sleep onset and early waking, 30 minutes for jet lag and shift work. The output time is computed in 24-hour total-minutes arithmetic and converted back to 12-hour display format. If no bedtime is entered, the tool returns a generic 60-minute instruction instead.
Expert Unlock
The thing most explanations skip
The weight-based pediatric formula used here (0.05 mg/kg) assumes linear dose-response scaling, which holds reasonably well between 20 and 80 lbs but likely breaks down at the extremes. Very small children have immature hepatic clearance, meaning even a low dose may persist longer than the formula suggests. The 3 mg ceiling is a practical guard, not a pharmacologically derived maximum — it reflects the highest dose used in pediatric studies, not a toxicity threshold. For shift-work dosing in adults, the real variable the formula cannot capture is your current circadian phase — the same 3 mg dose taken six hours apart produces opposite phase-shifting effects depending on where you are in your body clock cycle.
What dose of melatonin should I actually start with?
Need something this doesn't cover?
Suggest a tool — we'll build it →