GIF File Size: KB vs KiB Before You Compress Again

Compare exact bytes with the destination's byte limit, not a rounded KB label. A 350,432-byte GIF is 350.432 decimal kB or 342.219 KiB. It fails a strict 350,000-byte check but passes a strict 358,400-byte check. The file has not changed; the divisor has.

350432 bytes expressed as 350.432 kilobytes and 342.219 kibibytes
The same downloaded GIF, expressed in two units.

Two real SlimGIF downloads, two different limits

On October 18, 2026, we downloaded the two outputs from our October 17 photograph-based palette test again. Their byte counts matched the saved files. This is a new byte-limit analysis of existing outputs, not a new compression or visual-quality experiment.

OutputByteskB / 1,000KiB / 1,024Below 350,000 BBelow 358,400 B
128 colors350,432350.432342.219FailPass
64 colors283,080283.080276.445PassPass

The 128-color output exceeds 350,000 bytes by 432 bytes. Against 358,400 bytes, that same output has 7,968 bytes of room. Merely changing the unit label would not remove those 432 bytes.

The 64-color output is 66,920 bytes below 350,000 and 75,320 bytes below 358,400. Both comparisons pass; visual quality was not measured.

Both historical outputs used lossy strength 30 and dimensions 100%. Read the input, source and compression method before generalizing from these two files. The original work checked frame order, delays, loop and dimensions by downloading and decoding locally; it did not measure visual quality.

Which of these two outputs fits a stricter cap?

At an illustrative 300,000-byte cap, the 128-color output fails by 50,432 bytes. The 64-color output passes with 16,920 bytes of room. At 280,000 bytes, even the 64-color output fails by 3,080 bytes. For these files, switching from 128 to 64 colors changes the result of the 300,000-byte check, but does not solve the 280,000-byte check. The 67,352-byte difference between these downloads is an actual reduction; the 350.432 versus 342.219 display difference is only a change of unit.

What do kB, KB and KiB mean?

Decimal kB is 1,000 bytes; binary KiB is 1,024 bytes. A bare “KB” label can be ambiguous in software, so ask for the exact byte threshold when the difference matters. NIST explains binary prefixes and their decimal counterparts.

350 decimal kilobytes equals 350000 bytes while 350 kibibytes equals 358400 bytes
The unit definition changes the threshold by 8,400 bytes in this example.

For an illustrative 350-unit cap, 350 × 1,000 is 350,000 bytes and 350 × 1,024 is 358,400 bytes. These are example thresholds, not a claimed current limit for Discord or any other service.

These byte comparisons test size only, not platform acceptance. Open GIF Compressor to test your own file.