What this fps calculator does
Frame rate is the number of images shown each second. Frame time is the other side of the same coin: how long each image stays on screen. This fps calculator converts between the two and also counts the frames in a clip, which is handy for video editing, animation, game tuning and monitor shopping.
Wikipedia describes frame rate as the frequency at which consecutive images are captured or displayed, commonly written in frames per second or FPS. [1] It also says frame time is related to frame rate but measures the time between frames. [1]
How to use the calculator
- Choose what your number is: frames per second or a frame time in milliseconds.
- Type the value.
- Optionally type a clip length in seconds to get the total number of frames.
- Press Calculate to see the frame rate, the frame time and the frame count.
The formulas
- Frame time in milliseconds = 1,000 ÷ fps.
- Frames per second = 1,000 ÷ frame time in milliseconds.
- Total frames = fps × seconds.
One second holds 1,000 milliseconds, so dividing 1,000 by the frame rate gives the milliseconds each frame lasts. The reciprocal relationship is our own working from the definition of a rate: if 60 frames fit into one second, each one takes one sixtieth of it.
Worked example
A game runs at 60 frames per second and you want to know the frame time and the number of frames in a 10 second clip.
| Step | Working | Result |
|---|---|---|
| Frame time | 1,000 ÷ 60 | 16.6667 ms |
| Frames in the clip | 60 × 10 | 600 frames |
Enter 60 in the value box, choose frames per second, add 10 seconds and the calculator shows the same values.
Common frame rates and their frame times
Wikipedia notes that film typically runs at 24 FPS, lists 25, 30, 50 or 60 FPS among video rates, and calls 60 frames per second the minimum for smoothly animated game play. [1] The frame times below follow from the formula above.
| Frame rate | Frame time |
|---|---|
| 24 fps | 41.6667 ms |
| 25 fps | 40 ms |
| 30 fps | 33.3333 ms |
| 50 fps | 20 ms |
| 60 fps | 16.6667 ms |
| 120 fps | 8.3333 ms |
| 144 fps | 6.9444 ms |
Why frame time matters
Frame rate is a count per second, so it hides how uneven delivery can be. A game averaging 60 fps can still feel rough if some frames take much longer than 16.7 ms. Looking at frame time shows the stutter that an average hides. Game developers set a frame time budget for the work done for each frame, and the calculator tells you how big that budget is at your target rate.
Using the frame count
- Video editing: estimate how many frames a clip holds before you trim or retime it.
- Animation: plan the number of drawings for a scene at 12, 24 or 30 frames per second.
- Time-lapse: work out how many photos you need for a finished clip of a given length.
- Slow motion: a clip recorded at a higher rate and played back at a lower rate lasts longer. Run the numbers for the recorded fps and the playback fps to compare.
Tips and common mistakes
- Do not confuse milliseconds with seconds. 16.67 ms is not 16.67 seconds.
- A frame time of zero or less is impossible, so the calculator asks for a positive value.
- Fractional rates such as 23.976 fps are common in video. Type them as decimals.
- The clip length is in seconds. Convert minutes first by multiplying by 60.
- A monitor refresh rate in hertz is a different measure from the frame rate a game produces, although the same arithmetic gives the time between refreshes.
The results are shown to six significant figures. Everything is worked out in your browser.
A second example: converting frame time
Suppose a profiler reports that a frame takes 22 milliseconds. Choose frame time as your input type and enter 22. The calculator returns about 45.4545 frames per second. To hold 60 fps, that frame would have to be cut from 22 ms to 16.67 ms, so the work done on each frame needs to shrink by about a quarter. This is the usual way developers turn a profiler reading into a clear target.
Slow motion and retiming
Slow motion works by recording more frames each second than you play back. A clip shot at 120 fps and played at 30 fps runs four times slower, because every second of action fills four seconds of playback. To plan this, find the frames in the real-time clip with the recording rate, then divide by the playback rate. For example, 5 seconds at 120 fps is 600 frames, and 600 frames at 30 fps last 20 seconds.
The reverse also works. If you need a 10 second finished clip at 24 fps, you need 240 frames. That tells you how many photos a time-lapse needs, or how many drawings an animator must prepare for a short scene.
Choosing a target frame rate
The right target depends on what you are making. Film and many cinematic videos use 24 fps for a familiar look. Broadcast and web video often use 25, 30 or 60. Fast games and competitive play aim for 60 and above, because each frame is shown for less time and motion looks smoother. Higher rates also cost more storage in video files and more processing power in games, so pick the lowest rate that gives the feel you want.
Run the calculator at two or three candidate rates and compare the frame times and the frame counts. The differences show you how much extra work or storage each step up will cost.
What next
Use this often? Add FPS to your Home screen.
Frequently asked questions
How do I convert fps to milliseconds?
Divide 1,000 by the frame rate. At 60 fps each frame lasts 16.6667 milliseconds.
How do I convert frame time to fps?
Divide 1,000 by the frame time in milliseconds. A frame time of 33.3333 ms gives about 30 fps.
How many frames are in a clip?
Multiply the frame rate by the length in seconds. A 10 second clip at 60 fps holds 600 frames.
What does the fps calculator mean by frame time?
It is the average time each frame is shown. It is the reciprocal of the frame rate, scaled to milliseconds.
Is higher fps always better?
Higher frame rates give smoother motion, but they need more processing and storage. The right rate depends on the use, such as film at 24 fps or fast games at 60 fps or more.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.