File Size Converter: Convert Bytes, KB, MB, GB & TB
Convert data sizes across Bytes, KB, MB, GB, TB, and PB using binary (1024) or decimal (1000) standards.
Wondering why your 1TB drive only shows 931 GB in Windows? Drive manufacturers sell storage in decimal (1000 bytes/KB), while Windows calculates capacity in binary (1024 bytes/KiB).
Estimated time to download or upload this file size across typical network speeds:
Compress and optimize JPEG, PNG, WEBP and GIF images with zero visual quality loss on Img369.
How it works
The Architecture of Digital Information Storage
In computer architecture, data storage, and telecommunications, file size quantifies the precise volume of digital data stored within a physical medium or transmitted across a communication bus. At the hardware level, all digital information is stored as microscopic electrical charges in NAND flash floating gates, magnetic polarities on platter hard drives, or electrical states in DRAM capacitors. The fundamental atomic unit of information is the bit (binary digit), capable of holding only two states: 0 or 1.
Because single bits are too small to represent complex characters or instructions, modern computing standardizes on the Byte (B), composed of exactly 8 bits:
1 Byte = 8 bits
One Byte can represent 256 unique permutations (28), which accommodates standard ASCII alphanumeric characters. However, as computer storage exploded from kilobytes in the 1970s to terabytes and petabytes today, a profound mathematical schism emerged between computer software engineers and hardware manufacturers: the battle between binary (base-1024) and decimal (base-1000) data measurement.
The Great Binary (IEC) vs. Decimal (SI) Standards Discrepancy
Early software engineers working with microprocessors noticed that 210 equals exactly 1,024. Because 1,024 is conveniently close to 1,000, they adopted the metric prefix "kilo-" to represent 1,024 bytes. For decades, this informal convention persisted without issue. However, as storage capacities scaled into megabytes and gigabytes, the mathematical divergence grew dramatically:
- Decimal Scale (SI Standards: Base 10): Mandated by the International Bureau of Weights and Measures (BIPM) and the International System of Units (SI). Storage scales strictly by powers of 10 (103, 106, 109, 1012). This standard is universally utilized by solid-state drive (SSD) manufacturers, mechanical hard disk makers (Western Digital, Seagate, Toshiba), flash memory brands (SanDisk, Samsung), and modern Apple macOS (since OS X 10.6 Snow Leopard).
- Binary Scale (IEC Standards: Base 2): Formalized in 1998 by the International Electrotechnical Commission (IEC 60027-2) to resolve international legal ambiguities. Storage scales strictly by powers of 2 (210, 220, 230, 240). To distinguish binary multipliers from decimal metric prefixes, the IEC coined specific unit names: Kibibyte (KiB), Mebibyte (MiB), Gibibyte (GiB), Tebibyte (TiB), and Pebibyte (PiB).
Why Your 1TB Hard Drive Shows Only 931 GB in Windows
The discrepancy between physical drive packaging and operating system reports is the most infamous manifestation of this mathematical divide. When you purchase a 1 Terabyte SSD, the manufacturer manufactures and formats the drive according to the official decimal SI standard:
1 TB = 1,000,000,000,000 Bytes (1012 B)
However, Microsoft Windows measures drive capacity using binary multiples (10243 bytes per gigabyte), while misleadingly labeling the result with the decimal abbreviation "GB" instead of the accurate IEC abbreviation "GiB":
1 GiB = 1024 × 1024 × 1024 = 1,073,741,824 Bytes
Dividing the manufacturer's byte count by the Windows binary divisor reveals the true reported figure:
1,000,000,000,000 / 1,073,741,824 ≈ 931.32 GiB (shown as "931 GB" in Windows)
Your hard drive is not missing 69 gigabytes of factory storage, nor is it defective. The drive possesses all one trillion bytes advertised. The apparent deficit is solely an artifact of Windows displaying binary gibibytes under a decimal label.
Master Storage Capacity & File Size Reference Matrix
The following master reference matrix illustrates exact numerical equivalents across decimal SI and binary IEC storage tiers:
| Unit Name | Standard Symbol | Base | Exact Byte Count | Primary Industry Application |
|---|---|---|---|---|
| Kilobyte (Decimal) | KB | 103 | 1,000 | Network packets, web assets, small text documents |
| Kibibyte (Binary) | KiB | 210 | 1,024 | RAM caches, Linux kernel memory structures |
| Megabyte (Decimal) | MB | 106 | 1,000,000 | MP3 audio files, JPEG photos, cellular data caps |
| Mebibyte (Binary) | MiB | 220 | 1,048,576 | System RAM sticks, software executable binaries |
| Gigabyte (Decimal) | GB | 109 | 1,000,000,000 | Hard disk drives, SSD capacity, Apple macOS |
| Gibibyte (Binary) | GiB | 230 | 1,073,741,824 | Windows Explorer drive space, GPU VRAM |
| Terabyte (Decimal) | TB | 1012 | 1,000,000,000,000 | Commercial NVMe SSDs, external backup drives |
| Tebibyte (Binary) | TiB | 240 | 1,099,511,627,776 | Enterprise RAID arrays, ZFS storage pools |
| Petabyte (Decimal) | PB | 1015 | 1,000,000,000,000,000 | Cloud hyperscaler datacenters (AWS S3, Google Cloud) |
| Pebibyte (Binary) | PiB | 250 | 1,125,899,906,842,624 | Supercomputer cluster shared scratch filesystems |
Understanding File Size vs. Size on Disk (Cluster Slack Space)
When inspecting file properties in any modern operating system, you will observe two separate numbers: Size and Size on disk. These numbers measure two entirely different physical concepts:
- Size (Logical File Size): The actual number of bytes of data contained within the file. For example, a plain text document containing 150 characters has a logical size of exactly 150 bytes.
- Size on Disk (Physical Allocation): The amount of physical drive space allocated by the file system (such as NTFS, exFAT, APFS, or ext4). Modern file systems partition disks into contiguous blocks called clusters or allocation units, most commonly sized at 4,096 bytes (4 KB).
Because a file system can assign a cluster to only one file at a time, any file that does not fill its final cluster leaves the remainder of that block unused. This wasted storage is known as internal fragmentation or slack space. That same 150-byte text file consumes an entire 4,096-byte cluster on disk. Consequently, a software development project containing 10,000 tiny source code and configuration files (such as a JavaScript node_modules directory) might occupy only 40 MB of actual data, yet consume over 90 MB of "Size on disk"!
Step-by-Step Practical Calculation Examples
Walking through everyday data storage calculations builds clarity when managing backups, cloud quotas, and media production assets.
Example 1: Calculating 4K Video Recording Storage Requirements
A videographer films an event in 4K ProRes 422 HQ at a sustained video bitrate of 220 Megabits per second (Mbps). How many Gigabytes of storage will a two-hour continuous shoot require?
- Step 1: Convert bitrate to Megabytes per second:
220 Mbps / 8 = 27.5 MB/s. - Step 2: Calculate total seconds in 2 hours:
2 hours × 3,600 seconds/hour = 7,200 seconds. - Step 3: Calculate total Megabytes:
27.5 MB/s × 7,200 seconds = 198,000 MB. - Step 4: Convert to Gigabytes (Decimal SI):
198,000 MB / 1,000 = 198.0 GB. - Conclusion: The videographer requires a memory card with at least 200 GB of free space (or a 256 GB card).
Example 2: Sizing Cloud Database Backups in GiB vs. GB
An enterprise cloud database generates an uncompressed daily database dump of 450 Gibibytes (GiB). The cloud storage provider bills archival storage at $0.02 per decimal Gigabyte (GB) per month. How many decimal GB must be billed?
- Step 1: Convert GiB to raw bytes:
450 GiB × 1,073,741,824 bytes/GiB = 483,183,820,800 bytes. - Step 2: Convert bytes to decimal GB:
483,183,820,800 / 1,000,000,000 ≈ 483.18 GB. - Conclusion: The 450 GiB database backup is billed as approximately 483.2 GB in decimal cloud storage pricing.
Example 3: Verifying Usable Capacity on a 512 GB MicroSD Card
A photographer inserts a brand-new 512 GB microSD card into a Windows laptop. What capacity should the photographer expect Windows to report?
- Formula:
GiB = (512 × 109) / 10243 - Calculation:
512,000,000,000 / 1,073,741,824 ≈ 476.84 GiB. - Result: Windows will report approximately 476.8 GB of usable capacity before any file system directory metadata is written.
Common Storage Pitfalls & System Traps
Keep these frequent technical pitfalls in mind when handling digital media and system administration:
- The FAT32 4 GB Single File Limit: USB flash drives and camera SD cards formatted in the vintage FAT32 file system cannot store any single file larger than 4,294,967,295 bytes (4 GiB minus 1 byte), regardless of how much total empty space remains on the drive. Attempting to copy a 6 GB video file or virtual machine disk onto a FAT32 partition triggers a "File is too large for the destination file system" error. Reformatting to exFAT or NTFS resolves the issue.
- RAM Is Always Binary, Disks Are Decimal: Computer dynamic RAM (DDR4, DDR5) and graphics card VRAM are architected strictly around binary address buses. A 16 GB RAM stick contains exactly
16 × 10243 = 17,179,869,184 bytes(16 GiB). In contrast, a 16 GB USB flash drive contains approximately16,000,000,000 bytes(14.9 GiB in binary). - Mobile Carrier Data Caps: Telecommunications carriers calculate smartphone data caps and cellular tethering allowances in decimal Megabytes and Gigabytes (base 1000). Streaming 1 GiB of data (1,073 MB) will deduct 1.074 GB against your monthly cellular quota.
Why Choose Convert369's Online File Size Converter
Convert369 provides the most versatile, technically accurate file size conversion utility available online:
- Dual Base Toggling: Effortlessly switch between Base 1024 (Binary IEC: KiB, MiB, GiB, TiB, PiB) and Base 1000 (Decimal SI: KB, MB, GB, TB, PB) to mirror your exact operating system or hardware environment.
- Live Multi-Unit Comparison Grid: View your entered file size translated across all seven storage denominations simultaneously with instant scientific accuracy.
- Estimated Transfer Time Calculator: Instantly check how long your file will take to transfer across common network connections, from 4G cellular to Gigabit fiber.
- 100% Client-Side Privacy: All mathematics execute locally inside your web browser using JavaScript. No file sizes, hardware details, or user data are ever uploaded to remote servers.
Frequently asked questions
Is File Size Converter free to use?
Yes. File Size Converter is completely free, with no sign-up, watermarks, or usage limits.
Is my data safe and private?
Yes. Everything runs locally in your browser, your entered data and calculations are never uploaded to a server, so your data never leaves your device.
Should I use the binary or the decimal base?
Both. Pick the base above. Binary (1024 per step) is what Windows File Explorer reports, and the KiB/MiB names go with it. Decimal (1000 per step) is what drive manufacturers print on the box, and what macOS has shown since 10.6.
Why does a 1TB hard drive only show 931 GB in Windows?
Drive manufacturers sell storage in decimal bytes (1,000,000,000,000 bytes = 1 TB), but Microsoft Windows measures storage in binary Gibibytes (GiB, 1024^3 bytes). 1,000,000,000,000 divided by 1,073,741,824 equals approximately 931.32 GiB.
What is the difference between a Kilobyte (KB) and a Kibibyte (KiB)?
A Kilobyte (KB) uses the decimal metric system and equals exactly 1,000 Bytes. A Kibibyte (KiB) uses the binary IEC standard and equals exactly 1,024 Bytes.
How many bits are in one Byte?
There are exactly 8 bits in one Byte. When converting file size in Megabytes (MB) to network transmission bits (Mb), multiply by 8.
How many Megabytes are in a Gigabyte?
In the decimal system (SI), 1 Gigabyte (GB) equals exactly 1,000 Megabytes (MB). In the binary system (IEC), 1 Gibibyte (GiB) equals exactly 1,024 Mebibytes (MiB).
What is the difference between file size on disk and actual file size?
Actual file size is the exact number of bytes contained in the file, whereas size on disk represents the physical cluster allocation used on the drive partition, rounded up to the nearest cluster size (typically 4 KB).
How many Gigabytes are in a Terabyte?
In the decimal SI standard, 1 Terabyte (TB) equals exactly 1,000 Gigabytes (GB). In the binary IEC standard, 1 Tebibyte (TiB) equals exactly 1,024 Gibibytes (GiB).
Can file sizes be negative numbers?
No. Digital storage capacity and file sizes represent positive physical byte counts in memory or disk storage and cannot be negative.