Three counters become free together; each service takes exactly four minutes; twelve people are waiting. The last group starts at minute 12 and finishes at minute 16.

The worked example

Calculation
12 / 3 = 4
(4 - 1) * 4 = 12
4 * 4 = 16

These are constructed inputs. Displayed decimals are rounded; they are not product measurements.

Understand the result before using it

Label the groups by service wave: people 1–3 start at minute 0, 4–6 at minute 4, 7–9 at minute 8 and 10–12 at minute 12. Every group finishes four minutes after starting. Multiplying four waves by four minutes gives the final completion, not the last person's wait before service.

For a thirteenth person, a fifth wave starts at minute 16 and finishes at minute 20. This step change is why fractional waves do not describe an individual's position. The model assumes one shared queue and identical jobs. Separate queues, counters already busy or a priority rule change who starts when. Write those assumptions beside any posted waiting-time estimate.

The boundary of this calculation

Real service times differ. Start time and completion time answer different questions.

Inspect the example inputs and run the Python checks. They use only the published examples and do not read personal folders.