Skip to content
SOAKJAM
Documents & Productivity

KB vs MB vs GB: A Simple Guide to File Size

Learn what KB, MB and GB mean, how they relate to each other, and why file size matters when storing, uploading, downloading or sharing files.

A Simple Guide to File Size KB vs MB vs GB

Introduction

When you download a photo, upload a document, install an app or check the storage on your phone, you will often see file sizes written as KB, MB or GB.

These abbreviations describe how much digital data a file or collection of files contains.

Understanding them can help you answer everyday questions such as:

  • Is this photo small enough to upload?
  • Why is this video taking so long to send?
  • How many files can fit on my phone?
  • Why is a PDF 5 MB while another is only 300 KB?
  • How much storage does an application need?

This guide explains KB, MB and GB in simple terms.

What Is a Byte?

A byte is a basic unit used to measure digital data.

Files stored on computers, phones and other devices are ultimately made from bytes.

A very small text file may require only a few thousand bytes, while a high-quality video can contain billions of bytes.

Because writing extremely large numbers of bytes is inconvenient, larger units such as KB, MB and GB are used instead.

What Does KB Mean?

KB stands for kilobyte.

A kilobyte is a relatively small amount of digital data.

Files commonly measured in KB include:

  • small text documents
  • simple icons
  • highly compressed images
  • small PDF documents
  • configuration files

For example, an optimized passport photo might be:

150 KB

while a simple text document could be only:

25 KB

When a website asks for something like:

Maximum file size: 200 KB

your uploaded file must stay below that limit.

What Does MB Mean?

MB stands for megabyte.

Megabytes are much larger than kilobytes and are one of the most common units you will see when working with everyday files.

Files often measured in MB include:

  • smartphone photographs
  • PDF documents
  • music files
  • presentations
  • short videos
  • application installers

For example:

2.5 MB photo

means the photograph contains considerably more data than a 200 KB image.

A multi-page scanned PDF might be:

8 MB

while a compressed version of the same document could be much smaller.

What Does GB Mean?

GB stands for gigabyte.

Gigabytes are commonly used when measuring large files or device storage.

Examples include:

  • long or high-resolution videos
  • large applications
  • computer games
  • software packages
  • phone storage
  • USB drives
  • computer disks

You may see a phone advertised with:

128 GB storage

or a computer with:

512 GB storage

These numbers describe the approximate amount of digital data the device can store.

How Do KB, MB and GB Relate?

How KB,MB,GB Relates

A simple way to remember the order is:

KB → MB → GB

Each step represents a much larger amount of data.

For many everyday explanations, you can think of it approximately like this:

1 MB ≈ 1,000 KB

1 GB ≈ 1,000 MB

So:

1 GB ≈ 1,000,000 KB

This makes it easier to understand why a 5 MB photo is much larger than a 200 KB image.

Why Do You Sometimes See 1,024 Instead of 1,000?

You may also see explanations that say:

1 MB = 1,024 KB

or:

1 GB = 1,024 MB

This comes from the way computers traditionally work with powers of two.

Modern storage manufacturers commonly use decimal units based on 1,000, while computer systems and software may sometimes use binary measurements.

More precise binary unit names also exist:

  • KiB — kibibyte
  • MiB — mebibyte
  • GiB — gibibyte

For normal everyday use, however, most websites and users simply work with KB, MB and GB.

Which Is Bigger: KB or MB?

MB is bigger than KB.

For example:

500 KB

is smaller than:

2 MB

This matters when uploading files.

If a website allows a maximum upload size of:

1 MB

then a 600 KB file will usually fit within the limit, while a 3 MB file will not.

Which Is Bigger: MB or GB?

GB is much bigger than MB.

A single photograph may be 4 MB, but a phone may contain many gigabytes of storage.

If one photo averaged approximately 4 MB, thousands of similar photos could use several gigabytes of storage.

Actual storage use will vary because every file can have a different size.

Why Can Two Photos Have Different File Sizes?

Two photographs can have the same pixel dimensions but different file sizes.

File size depends on many things, including:

  • image format
  • compression
  • image dimensions
  • detail in the scene
  • metadata
  • quality settings

For example, two images may both be:

1920 × 1080 pixels

but one might be:

350 KB

while another is:

2 MB

The dimensions are the same, but the amount of stored data is different.

Why Can PDFs Become Very Large?

PDF size depends heavily on what the document contains.

A text-only PDF may be very small.

A scanned PDF containing many high-resolution photographs can become much larger.

For example:

10 pages of text

may require relatively little storage.

But:

10 scanned colour pages

can require many megabytes if the images are stored at high quality.

Compressing or optimizing those images can reduce the final PDF size.

File Size and Upload Limits

Many websites place limits on uploaded files.

You might see requirements such as:

Maximum size: 500 KB

or:

File must not exceed 5 MB

This is common for:

  • job applications
  • passport photographs
  • government forms
  • email attachments
  • online registrations
  • document submissions

Always check both the required file format and the required file size.

For example:

JPG, maximum 200 KB

contains two separate requirements:

  1. The image must be JPG.
  2. The file must be no larger than 200 KB.

File Size and Internet Speed

Larger files generally take longer to upload and download.

For example, sending:

100 KB

normally requires much less data transfer than sending:

100 MB.

Your actual transfer time also depends on your internet connection, network congestion and the service being used.

This is why compressing oversized files can be useful before sending them online.

File Size and Phone Storage

Every photo, video, application and document on your phone uses storage.

Individual documents may seem small, but thousands of files can accumulate over time.

Videos usually consume significantly more storage than simple documents or compressed images.

You can free storage by:

  • removing unnecessary files
  • deleting duplicate photos
  • uninstalling unused applications
  • moving files to another storage location
  • compressing files when appropriate

Always keep important originals or backups before deleting or heavily compressing files.

Compression Can Reduce File Size

Compression attempts to store data more efficiently.

For images, compression may reduce a file from something like:

4 MB

to:

700 KB

depending on the image and chosen settings.

However, stronger compression can sometimes reduce image quality.

The goal is usually not to create the smallest file possible.

The better goal is:

small enough for the intended use while keeping acceptable quality.

A Simple Way to Remember

Think of the units as increasingly larger containers:

KB — small files

Examples: small images, text files and lightweight documents.

MB — everyday files

Examples: photos, PDFs, music and presentations.

GB — large files and storage

Examples: videos, applications, games and device storage.

Quick Comparison

KB — Kilobyte

  • Relatively small
  • Common for lightweight documents and compressed images
  • Often seen in strict upload limits

MB — Megabyte

  • Larger than KB
  • Common for photos, PDFs and everyday files
  • Frequently used for email and web uploads

GB — Gigabyte

  • Much larger than MB
  • Common for video, applications and storage capacity
  • Used when discussing phone, computer and drive storage

Final Thoughts

KB, MB and GB are simply different units for describing digital file size.

Remember the basic order:

KB < MB < GB

When uploading or sharing something, always check the file-size limit rather than looking only at the file type or image dimensions.

Understanding these basic units makes it much easier to manage storage, upload documents, compress images and choose the right file for online use.

Sources & references

  1. NIST – SI Prefixes and Decimal Multiples
  2. IEC – Prefixes for Binary Multiples
  3. Microsoft Support – Storage Settings in Windows

SOAKJAM Editorial Team

SOAKJAM contributor. Articles are reviewed for clarity and usefulness before publication.

View author articles →