Width, frame rate and clip length drive GIF size before any quality slider. In our test, 720 px at 20 fps was 3.5 times the bytes of 480 px at 12 fps; neither file had audio.
A GIF is a palette and a clock, not a small video
A GIF stores a sequence of indexed-colour images. Each frame refers to a palette of at most 256 colours, and each frame has a delay measured in hundredths of a second. There is no audio stream and no general-purpose video codec. That is why a GIF can autoplay in places where a video cannot, and also why it becomes large so quickly.
Three controls dominate the result: how many pixels wide each frame is, how many frames are stored per second, and how long the clip runs. A fourth setting, the palette and dithering, changes how the limited colours are spent. A “quality” slider is usually manipulating those same ingredients, not adding new information.
Our test used a 3-second synthetic source and the same 256-colour palette and Bayer dithering for each export. It compared 480 px at 12 fps, 640 px at 15 fps and 720 px at 20 fps. The results show the size direction clearly; they do not prove that one pair is best for every destination.
The measured size gap
| Settings | Bytes | Frames | Delay pattern | Palette | Ratio to 480/12 |
|---|---|---|---|---|---|
| 480 px, 12 fps | 1,237,912 | 36 | 80/90 ms | 250 colours | 1.00x |
| 640 px, 15 fps | 2,546,439 | 45 | 60/70 ms | 251 colours | 2.06x |
| 720 px, 20 fps | 4,334,302 | 60 | 50 ms | 248 colours | 3.50x |
The 720/20 file was 3.50 times the bytes of the 480/12 file. The 640/15 file was 2.06 times. These are rounded ratios from the exact byte counts, not estimates. The frame counts matched the requested rates over exactly 3.000 seconds: 36, 45 and 60.
The larger exports did not use all 256 colours. The sampled palettes held 250, 251 and 248 distinct colours. A palette limit is a ceiling, not a promise that every colour will be useful. Dithering can also add noise that makes the file harder to compress.
Width and frame rate multiply, but not perfectly
Going from 480 to 720 pixels wide is a 2.25x increase in pixel count if the aspect ratio stays the same. Going from 12 to 20 frames per second is a 1.67x increase in frames for the same duration. Multiplying those gives 3.75x the raw samples. The measured file ratio was 3.50x, slightly lower because GIF compression, palette reuse and the particular frames do not scale linearly.
That arithmetic is still the right way to predict direction. Doubling both width and frame rate is roughly four times the raw data, before palette effects. Doubling only the width is roughly twice the pixels per frame. Halving the clip length removes half the frames. A smaller clip is often the largest single saving, and it is the one most people forget while adjusting quality controls.
GIF delays are stored in centiseconds. At 12 fps, a perfect 83.33 ms delay is impossible, so the test alternated 80 and 90 ms and still totalled 3.000 seconds. At 15 fps it used 60 and 70 ms. At 20 fps it used a fixed 50 ms. Players may clamp very short delays, and they may round differently. Motion smoothness is therefore not exactly the number in the frame-rate menu.
The 256-colour limit is visible at edges
GIF’s palette works best on flat graphics, limited illustrations and clips with a narrow colour range. Photographic skin tones, gradients, fog and subtle shadows need more colours than the format can store. Dithering approximates the missing tones with patterns of available colours. At small display sizes it can look acceptable; at full size it can look grainy or animated.
Text and sharp edges are a different problem. A palette can reproduce a solid letter shape, but antialiasing and compression can leave a halo. A GIF that looked fine in a large preview may look rough when a chat app displays it at a smaller size, because the app rescales the already-quantised pixels. Test at the size where it will actually appear.
The test’s PSNR values were 42.60, 42.26 and 43.20 dB against a scaled palette-free reference. They are useful consistency checks, not a ranking of the three settings. PSNR does not measure palette flicker, banding, motion smoothness or whether a viewer likes the result.
Choose settings from the destination backward
| Destination | Practical starting point | What to check |
|---|---|---|
| Chat reaction or small inline preview | 480 px, 10–12 fps | File size, legibility at phone width, loop |
| Documentation or a help article | 640 px, 12–15 fps | Text edges, colour banding, page weight |
| Portfolio or large embed | 720 px, 15–20 fps | Total page bytes, motion smoothness, mobile data |
| Longer demonstration | Short MP4 or WebM instead | Audio, duration, playback controls, bandwidth |
A GIF that loops forever also keeps drawing attention. If the motion is decorative, “play once” can be less distracting. If the file is meant to show a repeated action, a clean loop matters more than a high frame rate. Trim the clip so the loop point is intentional instead of letting the source end mid-gesture.
The browser tool offers 480, 640 and 720 px widths at 10, 15 and 20 fps, with loop forever or play once. It caps export at 20 seconds and does not add audio. That cap is a practical browser-memory limit, not a GIF specification limit.
A GIF is sometimes the wrong deliverable
Use a video file when the clip needs audio, lasts more than a few seconds, contains fine photographic detail, or must stay under a tight page-weight budget. A short MP4 with H.264 can look better at a fraction of the size, and modern browsers and social platforms usually autoplay muted video. WebM can be smaller again where it is supported. The tradeoff is compatibility and the way the destination handles autoplay.
Use a GIF when the destination specifically expects an image, when silent autoplay is the point, or when the motion is simple enough that the palette limit is not distracting. A GIF is also useful for a short interface demonstration where a video player would add unnecessary controls.
Do not convert a long video to GIF just to avoid choosing a video format. The size grows with every frame, and the quality ceiling is fixed at 256 colours. Trimming to the meaningful three seconds is usually more effective than lowering the width until the text becomes unreadable.
A five-minute export check
- Trim to the shortest section that tells the story.
- Choose width by the display size, not by the source resolution.
- Start at 12–15 fps for screen content; use 20 fps only if motion needs it.
- Export a short test and inspect the loop point, text edges and a colour gradient.
- Compare the file size with the page or message budget.
- Open the GIF on a phone at the size it will be seen. If it is unreadable, shorten it or switch to video.
Download the 480/12 GIF · 640/15 GIF · 720/20 GIF
The samples are synthetic and were exported with desktop FFmpeg 8.1.1. A browser export uses a different FFmpeg build and may produce different bytes. The size direction should hold; the exact ratios belong to this source and these settings.
Common questions
Does a higher GIF frame rate always look better?
Not necessarily. More frames can look smoother, but they also increase size and can expose palette flicker. Test the motion at the size where it will be displayed.
Why is my GIF larger than the MP4?
GIF stores indexed frames with limited compression and no inter-frame video codec like H.264. A short MP4 is usually much smaller for the same duration and detail.
Can a GIF have audio?
No. The GIF format does not carry an audio stream. Use a video format if sound is part of the message.
Why do the frame delays alternate?
GIF delays are stored in hundredths of a second. Some frame rates cannot be represented by one integer delay, so exporters alternate values to keep the total duration close.
Sources & further reading
Written for ToolWillow with original explanations and examples. Consult current product documentation for controls that vary by version.



