🎞️ Frame Rate Converter
240 frames = 4 s (4,000 ms) at 60 fps
Convert between frame rate (fps, frames per second) and the time per frame in milliseconds, and between a frame count and seconds. Handy for game development, video editing and checking frame data in fighting games.
How to use
- Choose "fps to ms" or "ms to fps" mode.
- Enter the frame rate or the time per frame.
- To convert between frames and seconds, pick a frame rate in the “Frames and seconds” box and enter either the frame count or the seconds.
- The converted value is shown automatically.
How the calculation works
This tool converts between frame rate (fps, frames shown per second) and the time per frame in milliseconds. The two are reciprocals: Frame time (ms) = 1000 ÷ fps fps = 1000 ÷ frame time (ms) In games and apps, the frame time is the frame budget — the time within which each frame's processing and rendering must finish. Holding 60 fps means doing all the work in about 16.67 ms. In television and video, odd rates such as 23.976 fps and 29.97 fps are common. They are a legacy of US colour television (NTSC), which slowed 24 and 30 fps by a factor of 1000/1001.
Worked example
60 fps → 1000 ÷ 60 ≈ 16.667 ms 144 fps → 1000 ÷ 144 ≈ 6.944 ms 24 fps (film) → 41.667 ms 29.97 fps (exactly 30000/1001 fps) → 1000 ÷ 29.97 ≈ 33.367 ms Conversely, a game that needs 20 ms per frame can reach at most 1000 ÷ 20 = 50 fps.
Things to be aware of
- A high average fps can still look choppy if a few frames take much longer. When profiling games, check frame times as well as the average.
- A monitor's refresh rate (Hz) is how many times per second the screen is redrawn. Frames rendered beyond the refresh rate are never shown.
- Drop-frame timecode (the scheme that adjusts timecode labels at 29.97 fps) is not handled.
FAQ
How many seconds is 240 frames?
It depends on the frame rate. Seconds = frames ÷ fps, so at 60 fps 240 frames is 240 ÷ 60 = 4 seconds, at 30 fps 8 seconds and at 24 fps 10 seconds. The “Frames and seconds” box converts in either direction.
What formula does this use?
Time per frame (ms) = 1000 / fps — a simple reciprocal relationship.
Why is 60fps equal to 16.67ms?
Dividing one second (1000ms) evenly into 60 frames gives 1000 ÷ 60 ≈ 16.6667 ms per frame.
How is this used in game development?
When building a fixed-frame-rate game loop, it helps you understand the time budget available for processing each frame.