Data Storage Converter
Convert between Bit, Byte, KB, MB, GB, TB, PB, and binary units (KiB, MiB, GiB, TiB) instantly. See all conversions at once with SI vs IEC comparison.
SI (Decimal) vs IEC (Binary) Units
Side-by-side comparison of decimal and binary prefix systems used in data storage.
SI Decimal (KB, MB, GB)
- 1 KB = 1,000 bytes (103)
- 1 MB = 1,000,000 bytes (106)
- 1 GB = 1,000,000,000 bytes (109)
- 1 TB = 1,000,000,000,000 bytes (1012)
- 1 PB = 1015 bytes
IEC Binary (KiB, MiB, GiB)
- 1 KiB = 1,024 bytes (210)
- 1 MiB = 1,048,576 bytes (220)
- 1 GiB = 1,073,741,824 bytes (230)
- 1 TiB = 1,099,511,627,776 bytes (240)
- Difference grows at each level
Common File Size Reference
| File Type | Typical Size | In Bytes | Notes |
|---|---|---|---|
| Plain text file (1 page) | ~2 KB | ~2,000 | ASCII characters, no formatting |
| Word document (10 pages) | ~50 KB | ~50,000 | Text with basic formatting |
| MP3 song (4 min) | ~4 MB | ~4,000,000 | 128 kbps compression |
| Smartphone photo | ~4 MB | ~4,000,000 | 12 MP JPEG compressed |
| RAW camera photo | ~25 MB | ~25,000,000 | Uncompressed sensor data |
| HD movie (1080p, 2 hr) | ~4 GB | ~4,000,000,000 | H.264 compressed stream |
| 4K movie (2 hr) | ~20 GB | ~20,000,000,000 | H.265/HEVC compressed |
| Operating system install | ~5-20 GB | ~5-20 billion | Windows, macOS, or Linux ISO |
| AAA video game | ~50-150 GB | ~50-150 billion | Modern open-world titles |
| Full Blu-ray disc | ~50 GB | ~50,000,000,000 | Dual-layer BD capacity |
Tool Highlights
All Units at Once
See your data value converted to every supported unit simultaneously, including both SI decimal and IEC binary prefixes. No need to run separate conversions for each unit.
SI and Binary Support
Full support for both decimal prefixes (KB, MB, GB, TB, PB) and binary prefixes (KiB, MiB, GiB, TiB). Understand exactly how many bytes your data represents in either system.
Precision for Large Numbers
Handles conversions from bits to petabytes with high precision. Large values are displayed with full accuracy, so you can trust the results for technical and scientific calculations.
Reference Tables
Built-in file size reference table with common examples from text files to video games. Quickly understand real-world context for any data size you convert.
Click to Copy
Click any conversion result in the grid to copy it to your clipboard instantly. The primary result also has a dedicated copy button for quick access.
Real-Time Conversion
Results update as you type with no page reload or button click needed. Change the source or target unit at any time and see all results refresh immediately.
Quick Start Guide
- Enter the numeric value you want to convert in the input field.
- Select the source unit from the "From" dropdown (e.g., GB, MiB, or Bit).
- Optionally select a specific target unit in the "To" dropdown to highlight it.
- View the primary conversion result at the top and all unit conversions in the grid below.
- Use the swap button (↔) to quickly reverse the from and to units.
- Click any result in the grid to copy that specific value to your clipboard.
Hard drive manufacturers use base-10 (1 TB = 1,000,000,000,000 bytes) while operating systems use base-2 (1 TiB = 1,099,511,627,776 bytes). That is why your 1 TB drive shows only about 931 GB in your OS. This is not missing space -- it is a difference in counting systems, not a defect.
Confusing Mb (megabits) with MB (megabytes) when checking internet speed is extremely common. Your ISP advertises in megabits per second (Mbps), but file downloads show megabytes per second (MB/s). Since 1 byte = 8 bits, a 100 Mbps connection downloads at roughly 12.5 MB/s, not 100 MB/s.
Understanding Data Storage Units
Data storage measurement has a history intertwined with the evolution of computing itself. In the earliest days of electronic computers during the 1940s and 1950s, storage was measured in individual bits and bytes. A bit, short for binary digit, represents the fundamental unit of information in computing: a single zero or one. Eight bits form a byte, which can represent a single character such as a letter or number. These foundational units remain the building blocks of every digital storage measurement used today, from the smallest microcontroller to the largest data center.
As computers grew more powerful and storage capacities expanded, engineers needed larger units. The prefixes kilo, mega, giga, and tera were borrowed from the metric system to describe larger quantities. However, a critical ambiguity emerged. In the metric system, "kilo" strictly means 1,000. But in computing, memory is addressed using powers of two, making 1,024 (which is 2 to the 10th power) a more natural boundary. For decades, the term "kilobyte" was used informally to mean either 1,000 bytes or 1,024 bytes depending on context. Hard drive manufacturers used the decimal definition, while operating systems and RAM specifications used the binary one. This inconsistency confused consumers and professionals alike.
To resolve this confusion, the International Electrotechnical Commission (IEC) introduced a set of binary prefixes in 1998 under the standard IEC 80000-13. These new prefixes use distinct names: kibibyte (KiB) for 1,024 bytes, mebibyte (MiB) for 1,048,576 bytes, gibibyte (GiB) for 1,073,741,824 bytes, and tebibyte (TiB) for 1,099,511,627,776 bytes. The names combine the first two letters of the original metric prefix with "bi" for binary. Under this standard, KB, MB, GB, and TB refer strictly to powers of 1,000, while KiB, MiB, GiB, and TiB refer to powers of 1,024. Major organizations including IEEE, NIST, and ISO have endorsed these binary prefixes.
The practical impact of the SI versus binary distinction becomes more significant at larger scales. At the kilobyte level, the difference between 1,000 and 1,024 bytes is only 2.4 percent. But at the terabyte level, the gap widens to nearly 10 percent. A hard drive marketed as 1 TB (1,000,000,000,000 bytes) will appear as roughly 931 GiB in an operating system that uses binary units, making it look like storage is missing when in fact it is simply a unit labeling difference. Understanding this distinction is essential for system administrators, developers, and anyone purchasing or managing storage hardware.
The evolution of storage technology itself has been remarkable. The first commercial hard drive, the IBM 350 released in 1956, held approximately 3.75 megabytes and weighed over a ton. By the 1980s, personal computer hard drives offered 10 to 20 megabytes. The 1990s brought gigabyte-scale drives to consumers, and by the 2010s, terabyte drives became affordable for home use. Today, enterprise storage systems handle petabytes of data, and the terms exabyte and zettabyte appear in discussions of global data production. Cloud storage services from providers like Google, Amazon, and Microsoft collectively store exabytes of user data, demonstrating how far storage technology has come in just a few decades.
Whether you are a software developer calculating buffer sizes, a system administrator planning storage capacity, a content creator estimating project file sizes, or simply trying to understand why your new hard drive appears smaller than advertised, this data storage converter provides instant and accurate conversions across all commonly used units. It handles both the SI decimal system used by hardware manufacturers and the IEC binary system used by operating systems and memory specifications, ensuring you always have the precise number you need in the unit system appropriate for your context.
Common Scenarios
Cloud Architect
A cloud engineer sizing AWS S3 storage needs to convert between gibibytes (GiB) used in billing and terabytes (TB) quoted by the client. Getting the base-2 vs base-10 distinction right prevents budget overruns and ensures accurate capacity planning.
Video Editor
A filmmaker shooting 4K RAW footage needs to estimate how many hours of video fit on a 2 TB external drive. Converting between gigabytes and terabytes while accounting for the bitrate in megabits per second determines whether they need additional drives on location.
Network Administrator
A sysadmin troubleshooting slow file transfers needs to convert between the ISP's megabits-per-second bandwidth and the actual megabytes-per-second throughput users experience. This conversion identifies whether the bottleneck is the network or the storage device.
Your Questions Answered
What is the difference between KB and KiB?
KB (kilobyte) uses the SI decimal prefix, where 1 KB equals exactly 1,000 bytes. KiB (kibibyte) uses the IEC binary prefix, where 1 KiB equals 1,024 bytes. The "kibi" name was introduced by the International Electrotechnical Commission in 1998 to eliminate the long-standing ambiguity of "kilobyte" meaning either 1,000 or 1,024 bytes depending on context. At larger scales, this difference compounds: 1 TB is 1,000,000,000,000 bytes while 1 TiB is 1,099,511,627,776 bytes, a gap of nearly 10 percent.
Why does my 1 TB hard drive show less than 1 TB in the operating system?
Hard drive manufacturers label capacity using SI decimal units, where 1 TB equals 1,000,000,000,000 bytes. However, many operating systems (especially Windows) display storage using binary calculations. When the OS divides those bytes by 1,073,741,824 (one GiB), the result is approximately 931 GiB, not 1,000. No storage is missing; it is the same total number of bytes reported under a different unit convention. Additionally, a small portion of the drive is reserved for filesystem overhead, partition tables, and recovery data.
What are binary prefixes and why were they introduced?
Binary prefixes (KiB, MiB, GiB, TiB) were introduced by the IEC in 1998 to resolve decades of confusion over whether "kilo" meant 1,000 or 1,024 in computing contexts. Computer memory and addressing naturally use powers of 2, so engineers historically co-opted metric prefixes with a binary meaning. The IEC standard assigns unique names derived from "binary" (kibi, mebi, gibi, tebi) so that SI decimal prefixes retain their standard 1,000-based definitions. This system has been endorsed by IEEE, NIST, and ISO, though informal usage of KB to mean 1,024 bytes persists in some software.
What is the difference between a bit and a byte?
A bit is the smallest unit of data in computing, representing a single binary value: 0 or 1. A byte is a group of 8 bits and can represent 256 different values. File sizes are almost always expressed in bytes (KB, MB, GB), while network speeds are typically quoted in bits per second (Kbps, Mbps, Gbps). This distinction is important when calculating download times: a 100 Mbps internet connection transfers 12.5 megabytes per second (100 divided by 8). Always check whether a specification uses bits or bytes, as the 8x factor makes a large practical difference.
How much cloud storage do I actually need?
Your needs depend on what you store. For email and documents only, the free 15 GB tier offered by most providers is sufficient for most people. Photographers should estimate 3 to 5 MB per smartphone photo and 25 to 50 MB per RAW image, meaning 10,000 phone photos require roughly 40 GB. Video takes the most space: one hour of 1080p footage is about 3 to 5 GB, and 4K footage can exceed 10 GB per hour. Gamers with large libraries may need 1 TB or more. Choose your plan based on your heaviest media type and expected growth over the subscription period.
Why do RAM and storage use different unit systems?
RAM modules are manufactured in sizes that are powers of 2 because binary addressing requires it. A "16 GB" RAM stick actually contains 16 GiB (17,179,869,184 bytes). Storage drives like HDDs and SSDs are manufactured with exact decimal capacities because their physical construction does not require power-of-two alignment. A 1 TB SSD contains exactly 1,000,000,000,000 bytes. This manufacturing difference means RAM and storage use the same labels but different underlying definitions, which contributes to the confusion around data storage units. The IEC binary prefixes exist precisely to clarify this situation.
How do I convert between data storage units quickly?
For SI decimal units, each step is a factor of 1,000: 1 PB = 1,000 TB = 1,000,000 GB = 1,000,000,000 MB = 1,000,000,000,000 KB. For IEC binary units, each step is a factor of 1,024: 1 TiB = 1,024 GiB = 1,048,576 MiB = 1,073,741,824 KiB. To convert between bits and bytes, multiply or divide by 8. To cross between SI and binary, convert to bytes first, then divide by the appropriate power. This converter does all of that work for you instantly across every supported unit, including mixed SI-to-binary conversions.
Data Storage Evolution
The history of data storage is a story of exponential growth. In just five decades, we have gone from floppy disks that held less data than a single smartphone photo to solid-state drives that can store entire film libraries. Each generation of storage technology brought dramatic improvements in capacity, speed, and cost per gigabyte, fundamentally changing how we create, consume, and preserve digital information.
1971 — 8-Inch Floppy Disk
80 KB
IBM introduced the first commercial floppy disk, originally designed as a read-only medium for loading microcode into mainframe computers. It could hold roughly 80 kilobytes, enough for about 40 pages of plain text. The flexible magnetic disk inside a protective sleeve gave the technology its iconic name.
1984 — 3.5-Inch Floppy Disk
1.44 MB
The iconic rigid-shell floppy disk became the standard for personal computing throughout the late 1980s and 1990s. At 1.44 megabytes, it could store a few high-resolution photos or a short document. Software was distributed on stacks of these disks, sometimes requiring dozens for a single application.
1996 — DVD
4.7 GB
DVDs held 4.7 gigabytes on a single layer, over 3,000 times the capacity of a floppy disk. This was enough for a full-length movie with surround sound, launching the home video revolution and ending the VHS era. Dual-layer DVDs doubled this to 8.5 GB.
2007 — First Consumer 1 TB Hard Drive
1 TB (1,000 GB)
Hitachi released the first one-terabyte hard drive for desktop computers, a milestone that made massive personal media libraries practical. One terabyte can hold approximately 250,000 photos, 500 hours of video, or 17,000 hours of music.
2024 — Modern NVMe SSD
8 TB
Today's consumer NVMe solid-state drives offer up to 8 terabytes with read speeds exceeding 7,000 MB per second, roughly 100 million times the capacity and 140,000 times the speed of the original floppy disk. Enterprise SSDs reach 30 TB and beyond. With no moving parts, SSDs are also more durable and energy-efficient than mechanical hard drives.
This fifty-year journey from 80 KB to 8 TB represents a hundred-million-fold increase in storage capacity. The cost per gigabyte has dropped from thousands of dollars to fractions of a cent. Use the data storage converter above to translate between bytes, kilobytes, megabytes, gigabytes, terabytes, and petabytes for any calculation you need.