Shrinking a GIF: What Reduces File Size the Most
When you’re told a GIF is too large, it’s hard to know what to change. Four things mostly set its size: width, frame rate, length and format. I changed them one at a time on the same clip and measured.
The examples are 3 seconds of a 1080p scene from Blender’s open movie Big Buck Bunny (CC BY 3.0), made with the same settings as Video to GIF. Your numbers will differ, but the effects are similar.
Width: the biggest savings
| Width | Size (12 fps, 3 sec) |
|---|---|
| 640 px | 5.9 MB |
| 480 px | 3.3 MB |
| 320 px | 1.4 MB |
Halving the width halves the height too, leaving a quarter of the pixels, so going from 640 to 320 px cuts the size to nearly a quarter. In chat windows, 320–480 px is plenty sharp. Lower the width first.
In Video to GIF, width and frame rate are one click each.
Frame rate: savings in proportion
| Frames per second | Size (480 px, 3 sec) |
|---|---|
| 15 | 3.9 MB |
| 12 | 3.3 MB |
| 10 | 2.8 MB |
A GIF stores every frame, so fewer frames mean a smaller file: 15 → 10 fps is about 30% smaller. People moving look natural at 10–12 fps; fast action is better at 12–15. Below 5 fps, it looks like a slideshow.
Length: longer means bigger
| Length | Size (480 px, 12 fps) |
|---|---|
| 3 sec | 3.3 MB |
| 6 sec | 6.5 MB |
| 9 sec | 9.7 MB |
Size is nearly proportional to length. Most of the fun in a GIF is in a moment or two, so keeping just that moment saves space without hurting quality. If you’d rather not cut, raise the speed: at 2×, 6 seconds becomes a 3-second GIF.
Format: WebP or MP4 instead
| Format | Size (480 px, 12 fps, 3 sec) |
|---|---|
| GIF | 3.3 MB |
| WebP | 0.86 MB |
| MP4 | 0.08 MB |
GIF is limited to 256 colors per frame and uses old compression, so it’s by far the largest. WebP is about a quarter of the size, MP4 a few percent. Some places don’t accept WebP, and MP4 may be treated as a video rather than a GIF. See GIF vs WebP vs MP4.
The scene matters too
- Little motion and a fixed background: small, since only changes are stored.
- Shaky camera, leaves or water: large.
- Many smoothly changing colors (sunsets, gradients): large, sometimes with banding.
At the same settings, a steady shot that looks like it was filmed on a tripod makes a much smaller GIF.
Fitting a size limit
If you know where it’s going, you don’t need to experiment. Make the GIF in Video to GIF, then choose the place under Where will you share it? It tells you whether it fits and, if not, offers to remake it to fit. You can also set your own limit in MB.
When it’s over the limit, you’re told why and offered a way to fit.
For a GIF you already have, use Compress GIF, which can convert it to WebP, shrink it as a GIF or trim the ends.
In short: shorten it first, then reduce the width, then the frame rate. If it’s still too big, consider WebP or MP4.