KB vs KiB, MB vs MiB: Vì sao 1 TB Shows 931 GB (Miễn phí)
A KB là 1,000 bytes và a KiB là 1,024. That's why a 1 TB drive shows 931 GB và a "50 KB" limit có thể trip bạn up. Convert với a miễn phí unit converter.
Đăng ngày · 4 phút đọc
A kilobyte (KB) là 1,000 bytes và a kibibyte (KiB) là 1,024 bytes. The same split runs all way up: a megabyte (MB) là 1,000,000 bytes, a mebibyte (MiB) là 1,048,576. Drive makers count in thousands, while Windows counts in 1,024s but still writes "GB", so a 1 TB drive shows up as about 931 GB. The free unit converter has both kinds under Data size, so bạn có thể check any figure in a second.
Nothing là missing từ của bạn drive, và nobody là cheating bạn. Two counting systems share almost same names, và that causes real confusion, especially khi an trực tuyến form says "maximum 50 KB".
Two ways đến count bytes
Computers work in binary, so powers of two (1,024 = 2^10) came naturally đến early programmers, và "kilo" got borrowed cho 1,024 because it was close đến 1,000. Later, standards bodies gave binary units their own names (kibi, mebi, gibi, tebi) và kept kilo, mega và giga cho powers of ten, as in every other science.
| Decimal (SI) | Bytes | Binary (IEC) | Bytes |
|---|---|---|---|
| 1 KB (kilobyte) | 1,000 | 1 KiB (kibibyte) | 1,024 |
| 1 MB (megabyte) | 1,000,000 | 1 MiB (mebibyte) | 1,048,576 |
| 1 GB (gigabyte) | 1,000,000,000 | 1 GiB (gibibyte) | 1,073,741,824 |
| 1 TB (terabyte) | 1,000,000,000,000 | 1 TiB (tebibyte) | 1,099,511,627,776 |
The gap grows at each step: about 2.4% at kilo, 4.9% at mega, 7.4% at giga và 10% at tera. That's why nobody notices difference on a small tệp, but everyone notices it on a new hard drive.
Vì sao a 1 TB drive shows 931 GB
The box says 1 TB, meaning 1,000,000,000,000 bytes. Windows divides by 1,024 three times và labels answer "GB":
1,000,000,000,000 ÷ 1,073,741,824 = 931.3
So Windows reports 931 "GB", which là really 931 GiB. The same maths explains other sizes:
| Advertised | Shown by Windows |
|---|---|
| 64 GB | about 59.6 GB |
| 256 GB | about 238.4 GB |
| 500 GB | about 465.7 GB |
| 1 TB | about 931.3 GB |
Macs have shown sizes in decimal units since Mac OS X 10.6, so a Mac shows same drive as about 1 TB. Phones và other apps vary. Some space là also taken by operating system, recovery partitions và formatting, so "miễn phí space" là always a bit lower again.
Which one does a form mean by "KB"?
Điều này là where it matters in daily life. An exam hoặc job portal says "ảnh must be under 50 KB". Does it mean 50,000 bytes hoặc 51,200 bytes (50 × 1,024)? The form usually doesn't say, và different websites check differently.
- 50 KB (decimal) = 50,000 bytes
- 50 KiB (binary) = 51,200 bytes
A tệp of 50,500 bytes passes one check và fails other. The safe move là đến aim cho stricter số: get tệp under 50,000 bytes và it passes either way.
There's a second trap. Your computer, phone hoặc app may show sizes in 1,024s while calling them "KB". EveryApp's own tools do this too: size shown after compressing là in units of 1,024 bytes, labelled KB. A tệp shown as "49 KB" có thể be just over 50,000 bytes. For a 50 KB limit, aim cho 48 KB hoặc less as shown, và cho a 100 KB limit, aim cho about 97 KB hoặc less. The guides on compressing an image to 50 KB và PDF size in KB walk through getting there.
To see exact byte count of a tệp, check its properties: on Windows, right-click tệp và choose Properties; on a Mac, select it và choose Get Info. Both show size in bytes in brackets.
Converting between them
Mở free unit converter, choose Data size, và pick units in From và To. Some examples worth knowing:
- Type 1 và convert Terabytes (TB) đến Gibibytes (GiB): 931.32... GiB, số Windows shows.
- Type 50 và convert Kibibytes (KiB) đến Bytes: 51,200 bytes.
- Type 2 và convert Mebibytes (MiB) đến Megabytes (MB): about 2.097 MB.
The converter also has Bits, which matter cho internet speeds. Network speeds là quoted in bits per second, và there là 8 bits in a byte, so a 100 Mbps connection moves at most 12.5 MB of data per second, before any overhead.
Nếu bạn want đến see why 1,024 là a "round" số cho a computer, free number base converter shows it: 1,024 in binary là 10000000000, a 1 followed by ten zeros. The guide đến converting binary to decimal explains how that works.
Which should bạn use?
- Buying storage hoặc reading a spec sheet: decimal (GB, TB). That's how drives, memory các lá bài và phones là sold.
- Reading sizes on Windows: binary, labelled với decimal names. Mentally swap GB cho GiB.
- Meeting an upload limit: assume stricter decimal figure và leave a margin of a few percent.
- Writing technical documents: use KiB, MiB và GiB khi bạn mean 1,024s. It removes all doubt.
Check a size now
Next time a số looks wrong, convert it. The free unit converter has KB, MB, GB, TB và their KiB, MiB, GiB và TiB partners side by side, works on của bạn device, và shows answer as bạn type.
Câu hỏi thường gặp
- Is 1 KB 1,000 hoặc 1,024 bytes?
- Officially, 1 KB là 1,000 bytes và 1 KiB là 1,024 bytes. In practice, many programs, including Windows, still say KB khi they mean 1,024 bytes.
- Vì sao does my 1 TB hard drive only show 931 GB?
- The drive holds 1,000,000,000,000 bytes. Windows divides by 1,024 three times và calls result GB, which gives 931. It's same space, counted differently.
- Cách many bytes là a 50 KB upload limit?
- It depends on website: 50,000 bytes nếu it counts in thousands, 51,200 nếu it counts in 1,024s. Keep của bạn tệp under 50,000 bytes đến be safe.
- Điều gì là difference between MB và MiB?
- An MB là 1,000,000 bytes và an MiB là 1,048,576 bytes, about 4.9% more.
- Is a megabit same as a megabyte?
- No. A byte là 8 bits, so a megabyte là 8 megabits. Internet speeds use megabits per second (Mbps); tệp sizes use megabytes.
Máy tính
Dùng thử Chuyển đổi đơn vị
Miễn phí, không cần đăng ký, chạy trên trình duyệt. Chuyển đổi giữa đơn vị mét và đơn vị Anh-Mỹ về chiều dài, khối lượng, nhiệt độ, thể tích, diện tích, tốc độ, thời gian và dung lượng dữ liệu, như cm sang inch, kg sang lb, độ C sang độ F hoặc dặm sang km.