File Size Converter

Convert any file or storage size between bytes, kilobytes, megabytes, gigabytes, terabytes and petabytes, in both decimal (KB, MB) and binary (KiB, MiB) units. You can also estimate how long a download or upload will take.

  • 100% free
  • No sign-up
  • Private & local
  • Works on mobile
Exact size
-
-

Decimal units (base 1000)

Binary units (base 1024)

Download / upload time

Estimated time
-
ConnectionTime

Private by design: your files are processed locally in your browser and are never uploaded to any server.

What Is a File Size Converter?

A file size converter translates a quantity of digital data from one unit to another: bytes to kilobytes, megabytes to gigabytes, gigabytes to terabytes and so on. It sounds simple, but there is a well-known source of confusion. Storage manufacturers and networking use decimal units, where 1 KB = 1,000 bytes. Operating systems such as Windows often use binary units, where 1 "KB" = 1,024 bytes. That's why a new "1 TB" hard drive shows up as about 931 GB on a Windows PC. No space is missing; the two numbers use different units.

This converter shows every unit side by side, both decimal (KB, MB, GB, TB) and binary (KiB, MiB, GiB, TiB), plus bits, so you always know exactly how big a file or drive is. It also estimates how long a file will take to download or upload at any connection speed.

How to Convert File Sizes

  1. Enter a number in the Size field.
  2. Choose its unit: decimal (KB, MB, GB), binary (KiB, MiB, GiB) or bits (Mb, Gb).
  3. Read the results. All equivalent sizes appear instantly in both tables.
  4. Estimate transfer time by entering your internet speed in Mbps or MB/s.

Decimal vs Binary Units

Decimal (SI)BytesBinary (IEC)Bytes
1 KB (kilobyte)1,0001 KiB (kibibyte)1,024
1 MB (megabyte)1,000,0001 MiB (mebibyte)1,048,576
1 GB (gigabyte)1,000,000,0001 GiB (gibibyte)1,073,741,824
1 TB (terabyte)10121 TiB (tebibyte)1,099,511,627,776
1 PB (petabyte)10151 PiB (pebibyte)1,125,899,906,842,624

The difference grows with each step: about 2.4% at the kilobyte level, 7.4% at gigabytes and almost 10% at terabytes.

Bits vs Bytes: Why Download Speeds Look Faster Than They Are

A byte is 8 bits. File sizes are measured in bytes (capital B), but internet speeds are advertised in bits per second (lowercase b), so 100 Mbps means 100 megabits per second. Divide by 8 to get megabytes per second: a 100 Mbps connection downloads at most about 12.5 MB/s. Real-world downloads are usually 5–15% slower because of network overhead, Wi-Fi quality and server limits, so treat the calculator's times as best-case estimates.

Features

  • All units at onceBytes to petabytes in both decimal and binary systems.
  • Bits includedConvert to bits, kilobits, megabits and gigabits for networking.
  • Transfer time calculatorEstimate download and upload times at any speed.
  • Common speeds tableCompare 4G, broadband, fibre and gigabit connections instantly.
  • Exact byte countsSee the precise number of bytes with thousand separators.
  • Instant and privateEverything is calculated in your browser.

Everyday Examples

  • Email attachments: a 25 MB Gmail limit is 25,000,000 bytes, or about 23.8 MiB.
  • Phone storage: a "128 GB" phone offers about 119 GiB before the operating system takes its share.
  • Hard drives: a "2 TB" drive shows as roughly 1.82 TB (TiB) in Windows.
  • Downloads: a 50 GB game takes about 67 minutes on a 100 Mbps connection.

Where Each Unit System Is Used

ContextUnits used
Hard drive, SSD and USB packagingDecimal (1 GB = 109 bytes)
Windows File ExplorerBinary, labelled KB/MB/GB
macOS, iOS, Android storageDecimal
RAM and memoryBinary (8 GB RAM = 8 GiB)
Internet speedsDecimal bits per second (Mbps)
Linux tools (ls -h, df -h)Binary, often shown as K, M, G

Frequently Asked Questions

How many bytes are in a megabyte?

In decimal units, 1 MB = 1,000,000 bytes. In binary units, 1 MiB = 1,048,576 bytes.

How long does it take to download 1 GB?

At 100 Mbps, 1 GB takes about 80 seconds in ideal conditions. At 20 Mbps (typical 4G), it takes about 7 minutes.

How many GB is a terabyte?

1 TB is 1,000 GB in decimal units. In binary units, 1 TiB is 1,024 GiB.

Is 1 GB equal to 1000 MB or 1024 MB?

By the international (SI) standard, 1 GB = 1000 MB. In the binary system, 1 GiB = 1024 MiB. Windows displays binary values but labels them "GB", which causes the confusion.

Why does my 1 TB drive show only 931 GB?

The manufacturer counts 1 TB as 1012 bytes. Windows divides by 10243 and shows about 931 "GB", which is actually 931 GiB. It's the same amount of space.

How many MB per second is 100 Mbps?

100 megabits per second divided by 8 = 12.5 megabytes per second, before real-world overhead.

What does macOS use?

Since Mac OS X 10.6, macOS reports sizes in decimal units (1 KB = 1000 bytes), matching drive manufacturers.

Is my data sent anywhere?

No. All conversions run instantly in your browser.