Frame rate vs frame time: why an average of 60 can still stutter
Frames per second is an average. Smoothness depends on how evenly frames arrive, and a single 50 ms frame is visible even when the average looks fine.
By HZBench editorial teamPublished:
Frame rate counts frames per second. Frame time is how long each frame takes: 1000 divided by the rate. At 60 Hz a frame lasts about 16.7 ms, at 120 Hz about 8.3 ms and at 144 Hz about 6.9 ms. Browsers aim to run animation callbacks once per display refresh [1], so on a healthy system each frame interval sits close to that number.
The average hides the problem
Take 60 frames where 59 last 16.7 ms and one lasts 50 ms. The total is about 1033 ms, so the average is about 58 frames per second. On a counter that looks almost perfect. On screen, that one 50 ms frame is a visible hitch: the picture holds for three refreshes instead of one.
| Scenario | Average FPS | What you see |
|---|---|---|
| 60 frames, all 16.7 ms | 60 | Smooth |
| 59 × 16.7 ms + 1 × 50 ms | ≈ 58 | One visible hitch per second |
| Frames alternating 10 ms and 23 ms | ≈ 60 | Uneven motion, often called micro-stutter |
These are arithmetic examples, not measurements. They show why a frame-rate number alone cannot describe smoothness.
Numbers that do describe it
- Median frame time: the typical frame, not pulled by outliers.
- Spread (P5 to P95): how wide the normal range is.
- Stability: the share of frames within ±10% of the median.
- Missed frames: intervals much longer than the median (HZBench counts more than 1.45× the median).
- Long gaps: pauses over 250 ms, usually a hidden tab or a blocked page, reported separately so they do not distort the rest.
Reading the HZBench histogram
The scan sorts every frame interval into six groups relative to the median. On time is within ±10%. Slow is longer than that but under 1.45 times the median. Missed is 1.45 to 2.5 times, which usually means one refresh was skipped. Stall is longer than 2.5 times. Fast and near-fast are intervals shorter than the median, which often appear next to a slow frame as the browser catches up. A healthy result has nearly everything in on time, with missed and stall close to zero.
Where long frames come from
In a browser, a frame can only be produced when the main thread is free. Chrome's documentation defines long tasks as tasks that occupy the main thread for 50 milliseconds or longer [2]; while one runs, the page cannot render. Rendering work itself (style, layout, paint) also has to fit inside the frame budget to keep motion smooth [3]. Outside the browser, power saving, thermal limits and background apps produce the same pattern.
The HZBench home page shows the same kind of strip: a line of the latest frame times, with hitches marked. It pauses while you scroll so your own scrolling is not counted.
Sources
- [1] Window: requestAnimationFrame() method, MDN Web Docs (accessed )
- [2] Long Animation Frames API, Chrome for Developers (accessed )
- [3] Rendering performance, web.dev (accessed )