Interval schedule calculator
A fixed interval over a fixed window is a simple division, but the boundary — whether the last one fits — is where mistakes happen.
hours
hours
Events per day
3
- Daily total
- 1500.0
- Within the daily maximum
- 1
- Most events the maximum allows
- 6
- Headroom under the maximum
- 1500.0
- Events over the whole period
- 21
- Time of the last event
- 19:00:00
- Total over the period
- 10 500
Show the working
- Interval = 6
- Waking window = 16
- First event at = 7
- Days = 7
- Amount per event = 500
- Daily maximum = 3000
- Events per day = floor(16 / 6) + 1 = 3
- per_day_full = 24 / 6 = 4
- Events over the whole period = 3 * 7 = 21
- Daily total = 3 * 500 = 1500
- Total over the period = 1500 * 7 = 10 500
- Within the daily maximum = 1500 <= 3000 ? 1 : 0 = 1
- Time of the last event = mod(7 + (3 - 1) * 6, 24) * 3600 = 68 400
- Most events the maximum allows = 500 > 0 ? floor(3000 / 500) : 0 = 6
- Headroom under the maximum = 3000 - 1500 = 1500
Values are shown to six significant figures here; the arithmetic itself runs on exact fractions and is only rounded where a number is printed.
Scenarios & local history
Compare a saved scenario
Recent calculations
The formula
- events per window = floor(window / interval) + 1
For medication, follow the label and a pharmacist rather than a calculator. This is scheduling arithmetic, not dosing advice.