tools / fps-test
fps-test/
Measures how many frames your browser actually draws per second and estimates your screen's refresh rate and dropped frames. It measures the browser's frame rate, not in-game FPS; it only reads frame timestamps and saves or uploads nothing.
Results
| Shortest frame gap | — ms |
|---|---|
| Median frame gap | — ms |
| Longest frame gap | — ms |
| Average FPS | — |
| Dropped frames | — |
| Frames counted | — |
Frame gap chart
Moving block
What is a refresh rate test
A refresh rate test counts how many frames per second the browser draws, using the timestamps of requestAnimationFrame callbacks. This page takes the frame gaps of the last 5 seconds, drops frames longer than 1.5 times the median, and when the rate is within 3% of a common tier such as 60, 120 or 144 it shows that tier.
How it works
Before drawing each frame, the browser calls the page's requestAnimationFrame callback once and passes that frame's timestamp. This usually happens at the screen's refresh rate: on a 144 Hz screen, a browser that isn't struggling draws 144 frames a second. The page keeps the gaps between frames from the last 5 seconds, first drops gaps longer than 1.5 times the median (dropped frames), then divides the remaining total time by the number of frames and converts that to frames per second; if it is within 3% of a common rate (60, 75, 90, 100, 120, 144, 165, 180, 240 or 360), it shows that rate. It doesn't use the median directly because browser timestamps are often rounded to 1 ms: a 120 Hz frame lasts 8.33 ms and the gaps read as 8, 8 and 9 ms, so the median of 8 would give 125, while the average gives 120.
Example
The median frame gap over the last 5 seconds is 6.94 ms, and the average without dropped frames is also 6.94 ms: 1000 ÷ 6.94 ≈ 144.1 frames per second, only 0.06% away from 144, so it shows 144 Hz. In the same stretch one gap is 13.9 ms, more than 1.5 times the median (10.41 ms), so it counts as one dropped frame and is left out of the average.
FAQ
Is this the same as the FPS shown in games
No. This measures how often the browser draws frames for this page, which equals the screen's refresh rate when the browser isn't struggling. In-game FPS depends on the game and your graphics card, and a web page can't measure it. This page is a direct way to confirm your screen is really running at 120 Hz or 144 Hz.
My monitor is 144 Hz, so why does it show 60
This page can only see the rate at which the browser actually draws frames; 60 means the browser is drawing at 60. Check two things first: the refresh rate selected in your system's display settings, and whether the cable and port support that rate. Then come back and click "Start over".
Why does it say "Measuring" at first, and why do the numbers jump
The refresh rate appears only after 2 seconds of samples, and the stats cover the last 5 seconds. Browser timestamps are only guaranteed to about 1 ms, while a 240 Hz frame lasts just 4.17 ms, so a single gap is too imprecise and several seconds of samples are used together. "Frames in the last second" is a plain count and moves a frame or two around the refresh rate; that's normal.
How are dropped frames counted
When the gap between a frame and the previous one is more than 1.5 times the median of the last 5 seconds, it counts as one dropped frame and shows as a red dot on the chart. Gaps longer than 250 ms are treated as interruptions (switching tabs, the computer freezing) and ignored. Heavy work on the page, other demanding programs or lots of open tabs all lead to more dropped frames.
What happens if I switch tabs during the test
Browsers pause animation callbacks in background tabs, so this page pauses too. When you come back it resumes automatically and drops the time you were away, so that gap isn't counted as one huge dropped frame. Click "Pause" to stop by hand, or "Start over" to clear the samples and begin again. If you stay paused for more than 5 seconds and then click "Start", the old samples have expired and sampling starts again from 0 seconds.
Why is the refresh rate not a common value, like 50 or 200
When the measurement is more than 3% away from every one of 60, 75, 90, 100, 120, 144, 165, 180, 240 and 360, the rounded measured value is shown, with "not a common refresh rate" underneath. Screens at 59.94 Hz or 143.9 Hz are close enough and show as 60 and 144. A value like 50 or 200 may simply be your screen's rate; if the number is unstable or far from your screen's spec, the browser isn't keeping pace with the screen, for example because the computer is busy. Close other programs and click "Start over".
What is the moving block for
The block moves right at 480 pixels per second and starts again from the left at the end. When the screen and browser are smooth it glides evenly; if it jumps in jerks, frames were dropped at that moment, which you can compare with the dropped-frame count. With "Reduce motion" on in your system, the block stays still.
Is any of the measured data saved or uploaded
No. The page only reads the frame timestamps the browser provides; the numbers live in the page's memory and are cleared on reload. Nothing is saved and no network requests are made. Analytics only records that this page was opened; your results are not sent to it.