Data Storage Converter, Bytes to KB, MB, GB & TB Free
This data storage converter switches accurately between bytes, KB, MB, GB, TB, and PB, with both decimal (1000 based) and binary (1024 based) modes so your numbers match what your operating system, hard drive, or cloud provider actually shows, no sign up needed.
Same stated value, shown in both conventions, this is why a “1TB” drive shows less than 1TB free space in your operating system.
Why a 1TB drive shows up as 931GB, and how this converter handles both answers correctly
Buy a drive labeled 1 terabyte, plug it in, and your operating system reports something like 931 gigabytes. Nobody stole 69 gigabytes. Two different, both legitimate, definitions of the prefix giga are colliding, and this tool is built specifically to keep them separate instead of quietly picking one and hiding the discrepancy from you.
The entire calculation happens in your browser using two static lookup tables and multiplication. There is no server round trip and no analytics call tied to what you type.
Decimal versus binary, confirmed straight from the source code
Yes, this tool explicitly distinguishes the two systems, and it is not a cosmetic toggle. Switching modes swaps out the entire factor table the converter multiplies against, and a comparison row runs both interpretations of your input side by side so the gap is visible rather than buried.
The conversion steps
mode variable to either decimal or binary, which decides which of the two arrays every later calculation reads from.
Math.pow(1024,3) in parallel, printed as a labeled comparison so you can see both readings for the same physical amount of data at once.
Full unit table, both systems, factor relative to one byte
| Unit | System | Factor (bytes) |
|---|---|---|
| Byte | Both | 1 (base unit) |
| KB | Decimal (SI) | 1,000 |
| MB | Decimal (SI) | 1,000,000 |
| GB | Decimal (SI) | 1,000,000,000 |
| TB | Decimal (SI) | 1,000,000,000,000 |
| PB | Decimal (SI) | 1,000,000,000,000,000 |
| KiB | Binary (IEC) | 1,024 |
| MiB | Binary (IEC) | 1,048,576 |
| GiB | Binary (IEC) | 1,073,741,824 |
| TiB | Binary (IEC) | 1,099,511,627,776 |
| PiB | Binary (IEC) | 1,125,899,906,842,624 |
Two more things the tool does with the number
Everyday file count estimates
Your byte total is divided against typical file sizes: photos at roughly 4MB, songs at 5MB, HD movies at 2.5GB, 4K movies at 15GB, PDFs at 1MB and a minute of HD video at 130MB, so a raw number turns into “about how many of these will fit.”
Adaptive number formatting
Extremely large or small results switch automatically to exponential notation, while everyday values get locale aware thousands separators and a decimal count that shrinks as the number grows, keeping the display readable at every scale.
Standards behind the two systems
The confusion is old enough to have its own standards history. Early computing borrowed the metric prefix kilo and quietly redefined it as 1,024 because that is the nearest power of two, which was convenient for memory addressing but incompatible with the actual metric system. In 1998 the International Electrotechnical Commission introduced kibi, mebi, gibi and tebi as unambiguous binary prefixes under what is now IEC 80000-13, specifically so kilo could go back to meaning exactly 1,000 everywhere. Adoption has been slow. Operating systems mostly still print GB when they mean GiB, which is the exact mismatch this tool is built to expose.
Binary prefix standards
- NIST, Prefixes for Binary Multiples is the clearest official explainer distinguishing kilo from kibi and giga from gibi.
- ISO/IEC 80000-13:2008 is the formal standard defining the binary prefix system this tool’s binary mode implements.
- BIPM SI Brochure defines the decimal metric prefixes that drive manufacturers correctly follow.
Storage figures worth checking
Figuring out why a newly purchased drive reports less space than the box promised, planning cloud storage tiers where providers bill in decimal GB but your OS displays binary GiB, sizing a video project against available disk space using the file count estimates, converting bandwidth caps from an ISP contract into a usable monthly file budget, and settling arguments between developers about whether a kilobyte is 1,000 or 1,024 bytes with an actual standard cited instead of a guess.
FAQ: Data Storage Converter
Drive manufacturers label capacity using decimal terabytes (1TB = 1,000,000,000,000 bytes), but your operating system displays that same byte count using binary units labeled “GB,” where 1 GB actually means 1,073,741,824 bytes. Doing the math, 1 trillion bytes divided by that binary GB size comes out to about 931 GB, which is exactly the “missing” space people notice, nothing is actually lost, it’s purely a labeling and counting convention difference.
Both are technically correct, they’re just different, deliberately defined standards for different contexts. The International Electrotechnical Commission (IEC) created the KiB/MiB/GiB naming specifically to remove ambiguity, with “KB” technically meaning 1000 bytes under SI decimal rules and “KiB” unambiguously meaning 1024 bytes. In casual conversation, most people still say “GB” when they mean either one, which is where the confusion originates.
RAM capacity is always manufactured and reported in binary units (powers of 1024), unlike storage drives, which is why a stick of “16GB” RAM is actually exactly 17,179,869,184 bytes with no discrepancy or “missing” memory. This is because memory addressing in hardware is inherently based on powers of 2, unlike drive capacity marketing which historically adopted decimal for larger, rounder looking numbers.
Most major cloud storage providers report your used and available space using decimal (1000 based) units, matching the same convention drive manufacturers use, so a listed “15 GB free” plan means 15,000,000,000 bytes. This is generally consistent across most cloud services today, though it’s always worth checking a specific provider’s documentation if the exact figure matters for your use case.
A byte is 8 bits, and it’s the fundamental unit storage is measured in, while bits are typically used for measuring data transfer speed instead (see our dedicated data transfer speed converter for that conversion). This tool works exclusively in bytes and its multiples, since that’s the standard unit for file sizes and storage capacity.
After petabyte comes exabyte (EB), then zettabyte (ZB), then yottabyte (YB), each 1000 (or 1024 in binary) times larger than the last. These units are mostly relevant to data center and global internet infrastructure scale discussions rather than everyday personal computing, which is why this tool focuses on the more commonly needed units up through petabyte.
This usually comes down to the same decimal vs binary convention difference, some tools and operating systems label binary units (1024 based) as “MB” or “GB” when they technically mean MiB or GiB, while others correctly use decimal. Comparing the raw byte count, which stays constant regardless of labeling, is always the most reliable way to check if two reported sizes actually match.
No, all calculations happen locally in your browser, nothing is sent to a server or stored.
From the blog
Reading around units
Where measurement systems came from and why two of them still argue.