TR

Home / Guides / What Is the Difference Between KB, MB, GB and TB? A Guide to File Size Units

What Is the Difference Between KB, MB, GB and TB? A Guide to File Size Units

Updated: October 13, 2026 · AracMerkezi

▶ Open File Size Converter

You may have noticed that your phone says 128 GB but shows less space in settings, or that a 100 MB file does not download in one second on a 100 Mbps internet connection. The reasons are that file size units are used in two different ways and that bits and bytes get mixed up. In this guide we explain the difference between KB, MB, GB and TB, the conversion formulas and common points of confusion.

What are bits and bytes?

A bit is a computer's smallest unit of information and takes the value 0 or 1. A byte is made up of 8 bits. File sizes are usually expressed in bytes and their multiples, while internet speeds are expressed in bits and their multiples. A lowercase “b” means bit and an uppercase “B” means byte: Mb is a megabit and MB is a megabyte.

AbbreviationMeaning
bbit
Bbyte (8 bits)
Mbpsmegabits per second
MB/smegabytes per second

1000 or 1024?

Because computers work with the binary number system, 1 KB has historically been taken as 1,024 bytes. On the other hand, in science and commerce “kilo” means 1,000. Two separate standards emerged to resolve this conflict:

UnitDecimal (SI)Binary (IEC)
Kilo1 kB = 1,000 bytes1 KiB = 1,024 bytes
Mega1 MB = 1,000,000 bytes1 MiB = 1,048,576 bytes
Giga1 GB = 1,000,000,000 bytes1 GiB = 1,073,741,824 bytes
Tera1 TB = 10¹² bytes1 TiB = 2⁴⁰ = 1,099,511,627,776 bytes

In practice the two systems are close, but the gap grows as the unit gets larger: about 2.4% for KB, 4.9% for MB, 7.4% for GB and about 10% for TB.

Why does my disk look smaller than advertised?

Storage manufacturers state capacity using the decimal system. Windows calculates using the binary system but still writes “GB”. As a result:

This is not a shortfall or a malfunction; it is the same number of bytes shown in a different unit. In addition, the operating system, formatting and system files take up some space as well. macOS uses the decimal calculation, so it shows a value closer to the manufacturer's label.

Converting between units

Using the binary calculation (the File Size Converter on this site uses this convention: 1 KB = 1,024 bytes):

Examples:

With the decimal calculation, simple multiplication and division are enough: 1 GB = 1,000 MB. The 4.7 GB capacity of a DVD is a decimal figure; in the binary calculation it comes to about 4.38 GiB.

Internet speed and download time

Internet speeds are given in bits. A 100 Mbps connection carries 100 megabits per second, that is, 100 / 8 = 12.5 MB of data. The download time is found like this:

Time (s) = File size (MB) × 8 / Speed (Mbps)

Example: A 500 MB file downloads over a 50 Mbps connection in 500 × 8 / 50 = 80 seconds. A 1 GB (1,000 MB) file takes 1,000 × 8 / 100 = 80 seconds at 100 Mbps. Real speeds are usually below the theoretical value because of the server, Wi-Fi signal, network congestion and protocol overhead. For more detail, see the guide How to Calculate File Download Time: The Difference Between Mbps and MB.

Approximate sizes by file type

The values below are approximate and variable; they depend on content, quality and compression:

To reduce the size of photos and images, see the article How to Reduce Image Size, and to identify file types, take a look at the File Extension Info tool.

Backing up large files and calculating quotas

Unit knowledge comes in handy for quota and time calculations in practice. If you have a 20 GB mobile data quota and an app update is 100 MB, with the binary calculation you can do 20 × 1,024 / 100 = about 205 updates; with the decimal calculation this is 200. The difference is small but grows with large files.

Suppose you want to upload a 500 GB backup over a 100 Mbps connection. With the decimal calculation, 500 × 1,000 = 500,000 MB; 500,000 × 8 / 100 = 40,000 seconds, which is about 11.1 hours. In the binary calculation this rises to 11.4 hours. In reality the time can be longer because of connection interruptions and load differences; this is why it makes sense to leave large backups for the night or the weekend.

Which unit should you use?

In everyday use, one rule is enough: when comparing capacity and price, use the decimal value the manufacturer states, and keep the binary value in mind when comparing against the size you see in your file manager. Do not compare the two values directly without converting between them. A cloud storage plan saying 100 GB and a 100 GB folder fitting on your computer may not be the same thing; the small difference can turn into hours of transfer time with large archives.

Common mistakes

Tools for a quick calculation

The File Size Converter converts units from bytes up to GB. The Download Time Calculator gives an estimated time when you enter the file size and your internet speed. To learn about file types, you can use the File Extension Info tool.

Frequently asked questions

How many bits is 1 byte?

1 byte is 8 bits; because internet speed is measured in bits and file size in bytes, the result can differ by a factor of 8.

How many MB is 1 GB?

In the decimal system (manufacturers) 1 GB = 1,000 MB; in the binary system (operating systems) 1 GiB = 1,024 MiB.

Why does my disk look smaller than the label says?

The manufacturer counts 1 TB as 1,000 billion bytes, while the operating system displays it on a base-1,024 scale; as a result it appears about 9% smaller.

Tools mentioned in this guide

More guides

This article is for general information only and is not legal, financial or medical advice. We are not an official institution.