Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)
Mebibytes to Gibibytes

Mebibytes to Gibibytes

Convert installer ISO sizes from mebibytes to gibibytes before writing bootable media, and check them against the FAT32 4 GiB file cap.

Reading Installer ISO Sizes in MiB Before You Write a USB

Download mirrors are stubbornly fond of mebibytes. A directory listing on a distribution mirror will show an installer image as 6100M or 4700 MiB, while the flash drive in your hand is labelled in whole gibibytes and the writing tool wants to know whether the image will fit. Converting the mirror's figure into GiB before you plug anything in is the difference between a clean write and a half-copied stick that fails ten minutes into an install.

A gibibyte is exactly 1 024 mebibytes, so divide by 1 024. An image listed as 4 700 MiB is 4 700 ÷ 1 024 = 4.59 GiB — which already puts it past the 4 GiB ceiling that a FAT32 volume can hold in a single file.

Mirrors Speak MiB

Mirror indexes, torrent clients and ls -lh all report an image in mebibytes, often with a bare M suffix that hides which unit is meant.

Media Is Sold in Round Numbers

A stick is marketed as 8, 16 or 32 — never as the figure its partition table actually exposes. The two numbers need to be compared in the same unit before you commit.

Hard Ceilings, Not Warnings

The 4 GiB single-file limit on FAT32 does not degrade gracefully. A copy either fits or it fails outright, so the check has to happen beforehand.

The same conversion comes up again after the write, when you compare a checksum manifest or a partition layout that reports its numbers in mebibytes against a drive described in gibibytes. Keeping one unit in your head for the whole operation is what makes the sizes comparable at a glance.

Checking an Image Size Before It Reaches the Stick

Both fields are live and editable, so a mirror listing can be checked in a couple of seconds without leaving the download page for long.

1

Take the Figure From the Mirror

Copy the size shown next to the ISO. If the listing gives a bare M suffix, treat it as MiB — that is what almost every Unix-derived listing tool means by it.

2

Enter It on the Left

Type the mebibyte value into the input field. Spaces inside the number are ignored and a comma is accepted in place of a dot, so a figure pasted from a locale-formatted page still parses.

3

Compare Against Your Media

The gibibyte result appears as you type. Hold it against two numbers: the usable size your writing tool reports for the drive, and the 4 GiB single-file cap if the target volume is FAT32.

4

Copy the Value Into Your Notes

The copy button on either field puts the plain number on the clipboard with no unit attached, ready to drop into a build script, a partition plan or a ticket describing the media you prepared.

Going the other way: press the swap button to work GiB → MiB, which is what you want when a partitioning tool asks for a size in mebibytes and all you have is a gibibyte figure — a 5 GiB persistence partition is 5 120 MiB. You can also simply type into the right-hand field instead, since both panels drive the conversion.

Installer Image Sizes From MiB to GiB

Installer images cover an enormous range. A minimal network installer is a rounding error next to a full desktop live image, and the difference decides which stick you can use and whether the filesystem on it matters at all. Approximate current sizes:

Installer imageMiBGiB
Alpine Linux standard x86_64190 MiB0.19 GiB
Debian netinst, amd64700 MiB0.68 GiB
A 1 GiB reference point1 024 MiB1 GiB
Fedora Workstation live image2 400 MiB2.34 GiB
Ubuntu Server live installer2 900 MiB2.83 GiB
FAT32 single-file ceiling4 096 MiB4 GiB
Windows 11 x64 installation media5 800 MiB5.66 GiB
Ubuntu Desktop 24.04 LTS6 100 MiB5.96 GiB

Notice where the FAT32 row falls. Everything above it in the table either has to go onto an exFAT or NTFS volume, or be written with a tool that splits the oversized file inside the image as it copies.

Every Unit a Mirror Might Use

The searchable dropdowns on both sides carry the whole storage range, so a listing given in plain bytes or in decimal megabytes converts just as easily as one given in MiB.

Image Size and Partition Size Together

With both fields editable you can push the image size in one way and a proposed partition size in the other, comparing the two without ever clearing the form.

Clipboard Output for Scripts

Copying gives you the bare number, which is what a dd invocation, a partition table entry or a build manifest expects — no unit suffix to strip out.

Precision Where It Counts

Results carry up to eight decimals, so a size that sits a hair over a boundary shows as 4.01 GiB rather than being rounded down into a false pass.

Bootable Media Questions

Why do download mirrors list an ISO in MiB instead of GiB?

Mirrors are generated by Unix tooling, and tools such as ls -lh and du -h scale in powers of 1 024 by default while printing a bare M or G. Mebibytes also give a more useful resolution: a listing that says 6 100 M tells you more than one that says 6 G. When the suffix is ambiguous, the safest reading on a Linux mirror is that M means MiB, and the byte count in the checksum file settles it definitively.

My drive is labelled 8 GB — why won't a 7.9 GiB image fit?

Because those two numbers are counted differently. The 8 on the packaging is eight thousand million bytes, which is about 7.45 GiB once the operating system counts it in binary units — already less than 7.9. On top of that, some capacity goes to the partition table and to the filesystem's own structures, so the usable figure is lower again. Check the size your writing tool reports for the device, not the label, and compare it in gibibytes against the converted image size.

What happens when a file inside the ISO is larger than 4 GiB?

FAT32 records file length in a 32-bit field, so it cannot represent anything at or beyond 4 096 MiB. Windows installation media is the classic casualty: the install.wim inside it regularly exceeds that, and a plain file copy onto a FAT32 stick fails partway through. There are three usual ways out — format the stick as exFAT or NTFS, use a writer that splits the oversized file into install.swm chunks, or write the ISO to the raw device so the internal filesystem never touches FAT32 at all.

How do I confirm the image copied to the USB stick is intact?

Verify the download first against the published SHA-256 sum, then verify the media. For a raw write you can read exactly as many bytes back off the device as the image contains and hash that, which catches a truncated or partially flushed write — the commonest cause of an installer that boots and then dies mid-way. Comparing sizes alone is not enough, since a stalled copy can still leave a file of plausible length. Always let the write drain and unmount cleanly before pulling the stick.

How much room should I leave for a persistence partition?

Work out what is left after the image and give most of it to persistence, keeping a small margin. On a stick that a tool reports as 14.4 GiB usable, an image of 6 100 MiB takes 5.96 GiB, leaving roughly 8.4 GiB. A persistence volume of 5 GiB — 5 120 MiB when the partitioner asks in mebibytes — is comfortable for package updates and a working home directory. Bear in mind that a persistence file stored on a FAT32 data partition runs into the same 4 GiB cap, which is a reason to place it on an ext4 partition instead.

MiB
GiB

Installer Image Sizes

190 MiB=0.19 GiB
700 MiB=0.68 GiB
2,400 MiB=2.34 GiB
4,096 MiB=4 GiB
5,800 MiB=5.66 GiB
6,100 MiB=5.96 GiB

Mebibyte (MiB)

How mirrors and listing tools size an image: a netinst ISO is about 700 MiB, a full desktop live image around 6 100 MiB.

Gibibyte (GiB)

How your writing tool sizes the target: the FAT32 single-file ceiling sits at exactly 4 GiB, so images past it need another filesystem.

Enter the size the mirror lists in MiB and compare the GiB result with your stick
Watch the 4 GiB line — anything above it needs exFAT, NTFS or a split write
Swap the direction when a partitioner asks for a persistence size in mebibytes
Runs locally: the conversion happens in your browser after the page loads
Want to learn more? Read documentation →
1/5
Start typing to search...
Searching...
No results found
Try searching with different keywords