Calculate events per second from an event count and elapsed time, or find the event count or duration from a rate, with per-minute and per-hour rates.

Optional settings

Used only when capacity is entered. Blank uses 70%, a planning choice rather than a performance guarantee.

Calculator Functions

FunctionWhat it doesWhat it requires
Events per secondFinds the average event rate over a time windowRequires the number of events and the elapsed duration
Expected event countFinds how many events a steady rate produces in a time windowRequires the average event rate in events per second and the elapsed duration
Duration for event countFinds how long a steady rate takes to reach an event countRequires the number of events, the average event rate and a result duration unit

Durations can be entered in milliseconds, seconds, minutes, hours or days. Every result also shows the rate per minute and per hour and the average interval between events. Two optional settings, capacity per instance and target utilization, add an estimate of how many identical instances the rate needs.

Events Per Second Formulas

EPS = E ÷ T
EPSAverage event rate (events/s)
ENumber of events
TElapsed duration in seconds

A duration in another unit is converted to seconds first: 1 minute is 60 s, 1 hour is 3,600 s and 1 day is 86,400 s.

Events per second

The formula above applies directly. 500 events in 5 minutes is 500 ÷ 300 = 1.67 events/s, which is 100 events per minute or one event every 600 ms on average. 400,000 events in a day is 400,000 ÷ 86,400 = 4.63 events/s.

Expected event count

E = EPS × T

A steady 50 events/s for 1 hour gives 50 × 3,600 = 180,000 events. The answer is an expectation at a constant rate, so it can be fractional.

Duration for event count

T = E ÷ EPS

1,000,000 events at 50 events/s take 1,000,000 ÷ 50 = 20,000 s, which is 5.56 hours. A rate of zero never reaches a positive count.

Instances for a capacity target

N = ⌈EPS ÷ (C × u ÷ 100)⌉

C is the capacity of one instance in events/s, u is the target utilization in percent, and ⌈ ⌉ means rounding up to a whole instance. A blank utilization is treated as 70%. At 4.63 events/s with instances that each handle 2 events/s, the usable capacity per instance is 2 × 0.70 = 1.4 events/s, so 4.63 ÷ 1.4 = 3.3 rounds up to 4 instances. Those 4 instances can carry 8 events/s in total, 3.37 events/s more than the average load.

Limits of This Estimate

  • The rate is an average over the whole window. It says nothing about bursts, and the interval shown is 1 ÷ rate, not a measurement of the gaps between individual events.
  • The instance estimate assumes identical instances, evenly spread load and steady throughput. Peaks, latency targets and redundancy need separate analysis.
  • The 70% utilization default is a planning choice, not a performance guarantee.