Medication spacing calculator
Your times
Your times will appear here
Enter both medicines and the gap you were told, then press “Calculate”.
Not medical advice. Follow your label and pharmacist. See the full disclaimer.
All tools
- Every 8 hoursTimes for “every 8 hours” from any first dose.
- 3 times a daySpread three doses across your waking day.
- Travel and time zonesNext doses in home and destination time, with daylight saving.
- Course end dateThe date and time of your last dose.
- Refill datesRun-out date, refill-by date and trip check.
- Keep medicines apartKeep two medicines the gap apart that you were told.
- Take with mealsFit “with food” and “before meals” to your own meal times.
- Printable chartA printable morning, noon, evening and bedtime chart.
If you were told to keep two medicines a certain number of hours apart, enter both and the gap. The calculator keeps the first medicine as it is and moves the second, in 15-minute steps, until every dose is far enough apart. It never decides what gap two medicines need: use the gap from your label, pharmacist or doctor.
| Medicine | Times | Notes |
|---|---|---|
| Medicine A (kept as it is) | 8:00 AM and 8:00 PM | — |
| Medicine B | 10:00 AM and 10:00 PM | Moved from 8:00 AM; closest pair 2 h apart |
Where the gap comes from
Some instructions say to keep one medicine apart from another, for example “take 2 hours before or after” another medicine. Only your label, your pharmacist or your prescriber can tell you whether two of your medicines need a gap, and how long it must be. The FDA suggests asking whether there are interactions with any other medicines, dietary supplements, drinks or foods (FDA). This calculator takes the number of hours you were given and works out times that keep it. It does not know anything about the medicines themselves.
How the calculator finds a schedule
- Medicine A stays as it is. Enter it the way you take it now: every X hours, or X times a day across your waking hours. Its times are never moved.
- Medicine B is moved, not changed. It keeps the same number of doses and the same pattern. Only its first dose moves, in 15-minute steps, trying the times closest to your preferred time first.
- Every pair is checked. A time is accepted only if every dose of B is at least the gap away from every dose of A, and, for waking-hours medicines, every dose still falls between your wake-up time and bedtime.
The results show both medicines on one timeline, with the gap to the nearest dose of medicine A shown next to each dose of medicine B.
In the example above, medicine A is taken every 12 hours from 8:00 AM, and medicine B twice a day across the waking day, ideally from 8:00 AM. With a 2-hour gap, B’s first dose moves later so that every dose of B is at least 2 hours from a dose of A.
When no schedule fits
Sometimes there is no way to keep the gap. For example, if medicine A is taken every 2 hours, there is never a 2-hour gap free on either side of it. The calculator then says: “These can’t both be scheduled with a 2-hour gap during your waking hours.” Below that it shows the closest option it found, with the doses that are too close marked. Take that to your pharmacist. It is not a schedule to follow on its own.
More than two medicines
The calculator compares two medicines at a time. If you take several, MedlinePlus recommends keeping a list of all the medicines you take (MedlinePlus), and you can ask your pharmacist which ones need to be kept apart. Then put all of them on one timeline with the medication schedule calculator, which flags doses that fall within 30 minutes of each other.
Frequently asked questions
How many hours apart should I take two medicines?
This calculator cannot tell you. The gap depends on the medicines, and only your label, pharmacist or prescriber can give it. Once you know the number, enter it here.
Why does it move the second medicine and not the first?
So that one of your medicines stays exactly as prescribed. Enter the one whose times matter most, or that you already take at set times, as medicine A.
Can it handle a gap like 30 minutes or 4 hours?
Yes. Enter the gap in hours, up to 12; parts of an hour work too (0.5 is 30 minutes). For gaps around meals, for example “take 30 minutes before food”, the meal-time medication planner is a better fit.
What does “closest option” mean?
When no schedule keeps the full gap, the calculator shows the times that come nearest, with the doses that break the gap marked “Too close”. Ask your pharmacist what to do before using it.
Sources
Health statements on this page are based on these public sources. We link to the exact page so you can check the wording yourself.
- Think It Through: Managing the Benefits and Risks of Medicines — U.S. Food and Drug Administration
- Taking multiple medicines safely — MedlinePlus (U.S. National Library of Medicine)
Last updated November 9, 2026