Schedule arithmetic

Repeating schedule calculator for different start times

Enter two start times and repeat intervals in minutes. Find the first time both events meet, their next two meetings, or why their schedules never overlap.

Two events repeating every 12 and 18 minutes have a least common multiple of 36 minutes. That does not automatically mean their first meeting is 36 minutes from now. You also need their starting times. This worked example separates the first coincidence from the interval between coincidences.

Find a shared time

Pick a common starting point, then enter how many whole minutes pass before each event first happens. For the shuttle example, 09:00 is minute zero and 09:06 is minute 6.

Put both schedules on the same clock

Imagine a shuttle A starting at 9:00 and departing every 12 minutes. Shuttle B starts at 9:06 and departs every 18 minutes. These are invented fixed schedules, not a real transport timetable. Let 9:00 be minute zero. A's departures are 0, 12, 24, 36, 48, 60 and so on. B's are 6, 24, 42, 60 and so on.

Minutes measured from 9:00
DepartureA: every 12 minutesB: every 18 minutes, starting six minutes later
First06
Second1224
Third2442
Fourth3660
Fifth4878
Sixth6096

The first common value is 24: both depart at 9:24. Their next common departure is minute 60, or 10:00. The gap is 36 minutes, which is the LCM. The starting offset changed the first meeting; it did not change the spacing between later shared events.

Check the answer by substitution

A candidate time must satisfy both schedules. For minute 24, A has completed 24 ÷ 12 = 2 intervals. B has completed (24 − 6) ÷ 18 = 1 interval. Both results are nonnegative whole numbers, so the time is valid. Minute 36 fails the second check: (36 − 6) ÷ 18 is not a whole number.

Use the LCM calculator with 12 and 18 to find LCM 36 and GCF 6. Enter the two starting minutes in the repeating schedule calculator above to find the first shared departure. For small schedules, listing departures and checking the first overlap is often the clearest method.

Sometimes the events never meet

Now move B's first departure to 9:05. A always departs at a minute that is divisible by six. Every B departure is five minutes beyond a multiple of six, because 18 is also divisible by six. Those patterns cannot coincide. Adding another 36 minutes does not repair the offset.

The generalized Chinese remainder theorem explains when two repeating schedules overlap. For two positive whole-number periods, a common event is possible precisely when their greatest common factor divides the difference between their starting offsets. Here GCF(12, 18) = 6. It divides the original offset of 6, but not the revised offset of 5. This is an integer-arithmetic condition; both schedules must continue long enough for the candidate meeting to occur.

Use a short worksheet

  1. Choose a common time origin and one unit, such as minutes.
  2. Write each first-event offset and positive repeat interval.
  3. Check the offset difference against the GCF.
  4. If a meeting is possible, find a candidate and verify both interval counts.
  5. Add the LCM to generate later shared events, respecting the schedules' end times.

If both events start together at minute zero, their next shared event is one LCM later. If the question asks for the first event at or after a particular time, include that boundary: an event already occurring at the boundary is not the same as the next strictly later event.

This model assumes exact fixed intervals. Calendar months, daylight-saving changes, delays and schedules that pause overnight need additional rules. For the underlying number methods, see OpenStax's LCM explanation and our LCM versus GCF guide.

Keep exploring