Bits & Bytes Calculator
Bits & Bytes Calculator
IEC units (KiB, MiB, GiB…) always use 1024 regardless of this setting
Enter speed in Mbps to calculate file transfer time
Enter a Storage Value
Type a number, choose its unit, and pick decimal SI or binary IEC mode. Conversions for all units appear here instantly.
Convert any data storage unit — decimal SI or binary IEC — in real time
Every time you buy a hard drive, download a file, or stream a video, you are dealing with data storage measurements. Yet few people understand exactly how those numbers relate to each other — or why the 1 TB drive you bought shows only around 931 GB in Windows. The Bits & Bytes Calculator gives you a single tool to convert between every standard data unit instantly, with support for both the decimal (SI) system used by manufacturers and the binary (IEC) system used by operating systems. Data is measured in bits and bytes. A bit is the smallest unit of digital information — either a 0 or a 1. Eight bits make one byte, which is enough to represent a single character of text. From there, the units scale upward: kilobyte, megabyte, gigabyte, terabyte, petabyte, and exabyte. The confusion arises because there are two competing definitions of what 'kilo', 'mega', and 'giga' mean in this context. In the SI (International System of Units) standard — the same one used for metres and grams — 'kilo' always means one thousand (10³). So 1 kilobyte = 1,000 bytes, 1 megabyte = 1,000,000 bytes, and 1 gigabyte = 1,000,000,000 bytes. Hard drive manufacturers use SI units because it makes their products look larger. A 1 TB drive contains exactly 1,000,000,000,000 bytes in SI. However, computers work in powers of two. Early engineers found it convenient to use 1,024 (which is 2¹⁰) as 'kilo' because it is the nearest power of two to 1,000. Under this binary convention, 1 kilobyte = 1,024 bytes, 1 megabyte = 1,024² = 1,048,576 bytes, and 1 gigabyte = 1,024³ = 1,073,741,824 bytes. Operating systems like Windows, macOS, and Linux historically reported sizes using these binary values but labelled them with the SI prefixes (KB, MB, GB), causing widespread confusion. To resolve this, the International Electrotechnical Commission (IEC) introduced standardised binary prefix names in 1998: kibibyte (KiB = 1,024 bytes), mebibyte (MiB = 1,024² bytes), gibibyte (GiB = 1,024³ bytes), tebibyte (TiB), pebibyte (PiB), and exbibyte (EiB). Modern operating systems are gradually adopting these names, though legacy KB/MB/GB labelling for binary values persists across the industry. The percentage difference between binary and SI grows with scale. At the kilobyte level, binary is only 2.4% larger than SI. At the megabyte level the gap is 4.86%, at gigabyte it reaches 7.37%, and at the terabyte level binary is 9.95% larger than SI. This is exactly why that 1 TB hard drive (1,000,000,000,000 SI bytes) appears as only 931 GiB when your OS divides by 1,024³ instead of 1,000³. Bandwidth and data transfer rates add yet another layer. Internet speeds are measured in megabits per second (Mbps) — note bits, not bytes. To find how fast a file downloads in megabytes per second (MB/s), you divide by 8. A 100 Mbps fibre connection transfers 12.5 MB/s (SI). Use the transfer time section of this tool to calculate exactly how long any file will take to download or upload given your connection speed. Common real-world reference points help make these numbers concrete. A standard MP3 song runs around 4 MB. A 12-megapixel JPEG photo takes roughly 3–5 MB. One minute of 1080p HD video needs about 130 MB, while 4K video consumes around 375 MB per minute. A typical PC game installation occupies 30–80 GB. A Windows 11 installation requires about 20 GB. A Blu-ray disc holds 25 GB. Consumer hard drives now range from 1 TB to 8 TB. Understanding these benchmarks lets you estimate storage requirements, plan backups, and compare cloud storage plans with confidence. This calculator handles all of these scenarios. Enter any value in any unit, switch between SI and binary modes, and instantly see the equivalent in every other unit simultaneously. The highlighted row shows your source unit so you can verify the conversion at a glance. Copy any value to the clipboard with a single click. Enter your connection speed to get an instant download time estimate. The file size reference table shows how your entered storage compares to everyday file types — useful for planning how many files fit on a drive or how long a large file will take to transfer.
Understanding Data Storage Units
What Are Bits and Bytes?
A bit (binary digit) is the fundamental unit of digital information — it can hold exactly one of two values: 0 or 1. All digital data, from text files to high-definition video, is ultimately encoded as sequences of bits. Eight bits are grouped together to form one byte, which is large enough to represent a single character in ASCII encoding or one sample of very low-quality audio. Because individual bits and bytes are so small, data storage and file sizes are routinely described in larger multiples: kilobytes, megabytes, gigabytes, terabytes, petabytes, and exabytes. The bit remains important for network and bandwidth measurements, where speeds are expressed in megabits per second (Mbps) rather than megabytes per second (MB/s).
How Are Unit Conversions Calculated?
All conversions in this tool use bits as the universal base unit. Every unit has a 'bits per unit' factor. To convert, the input value is first multiplied by the source unit's factor to get a count of bits, then that count is divided by the target unit's factor. For SI (decimal) units: 1 KB = 8,000 bits, 1 MB = 8,000,000 bits, 1 GB = 8,000,000,000 bits. For binary units: 1 KB = 8,192 bits (8 × 1,024), 1 MB = 8,388,608 bits (8 × 1,024²), 1 GB = 8,589,934,592 bits (8 × 1,024³). IEC binary units (KiB, MiB, GiB etc.) always use 1,024-based factors regardless of which mode is selected, since they are defined exclusively in terms of powers of two.
Why Does the SI vs Binary Distinction Matter?
The SI/binary distinction has real-world consequences for consumers and IT professionals alike. When you buy a 1 TB hard drive, the manufacturer uses SI: 1 TB = 1,000,000,000,000 bytes. Your operating system — which divides by 1,024³ to compute gigabytes — reports the same drive as approximately 931 GB. This is not a manufacturing defect; it is a difference in measurement convention. The gap widens at larger scales: a 4 TB drive appears as roughly 3.64 TB in Windows. Understanding this discrepancy prevents confusion when comparing advertised drive capacity against available OS-reported space, and when planning backups, RAID arrays, or cloud storage allocations.
Limitations and Notes
This tool performs mathematical unit conversion and does not account for filesystem overhead, partition tables, or formatting requirements that reduce usable drive space beyond the SI/binary difference. Real-world usable capacity on a formatted drive is always somewhat less than the raw capacity due to filesystem metadata, bad sector reserves, and partition alignment. Transfer time estimates assume ideal, sustained throughput at the stated connection speed; real-world speeds are affected by protocol overhead, network congestion, server limitations, and hardware bottlenecks. Bandwidth is treated as decimal Mbps (1 Mbps = 1,000,000 bits per second) as is standard for ISP-rated speeds. Very large values (zettabytes, yottabytes) are omitted to keep the tool focused on practically relevant ranges.
How to Use the Bits & Bytes Calculator
Choose Your Standard
Select 'Decimal SI (1000)' if you are working with hard drive specs, cloud storage, or ISP-rated bandwidth — these follow the SI convention where 1 KB = 1,000 bytes. Select 'Binary (1024)' if you want results that match what Windows, macOS, or Linux reports for file and drive sizes, where 1 KB = 1,024 bytes. IEC units (KiB, MiB, GiB) always use 1024 regardless of your selection.
Enter Your Value and Unit
Type any positive number — including decimals — into the storage value field, then choose the unit from the dropdown. Units are grouped by type: base units (bit, byte), decimal SI (KB through EB), and binary IEC (KiB through EiB). Use the quick preset buttons to instantly load common reference sizes like 500 MB, 1 GB, or 1 TB without typing.
Read the Conversion Tables
Results appear immediately in two tables — one for SI decimal units and one for IEC binary units. Your input unit row is highlighted so you can quickly locate it. Each row shows the converted value and a scale bar that visualises the relative magnitude of that unit on a logarithmic scale. Click the copy icon on any row to copy that converted value to your clipboard for pasting elsewhere.
Estimate File Transfer Time
Optionally enter your internet connection speed in Mbps in the connection speed field. The calculator will display how long the entered storage size would take to download or upload at that speed. The result is shown in a human-friendly format (hours and minutes for large files, seconds or milliseconds for small ones) along with the effective MB/s transfer speed.
Frequently Asked Questions
Why does my 1 TB hard drive show only 931 GB in Windows?
Hard drive manufacturers measure capacity using SI decimal units where 1 TB equals exactly 1,000,000,000,000 bytes. Windows historically calculates drive capacity using binary arithmetic, dividing by 1,024³ to get gigabytes instead of dividing by 1,000³. This means Windows reports 1,000,000,000,000 ÷ 1,073,741,824 ≈ 931.32 GiB, labelling it as GB. The drive is not faulty — the two systems simply use different definitions of the same unit names. Modern versions of macOS switched to SI units in 2009 and report the drive as 1 TB. Linux typically shows the binary value in GiB if using updated tools.
What is the difference between KB and KiB?
KB (kilobyte) has two competing definitions that have caused decades of confusion. In SI, 1 KB = 1,000 bytes. In older computing convention, 1 KB = 1,024 bytes. To eliminate ambiguity, the IEC introduced the kibibyte (KiB) in 1998 as an unambiguous name for 1,024 bytes. Similarly: 1 MiB = 1,024² = 1,048,576 bytes (vs 1 MB = 1,000,000 bytes SI), and 1 GiB = 1,024³ = 1,073,741,824 bytes (vs 1 GB = 1,000,000,000 bytes SI). Modern operating systems and tools increasingly use KiB/MiB/GiB to be explicit, though legacy KB/MB/GB labelling for binary values still appears widely.
How do I convert Mbps to MB/s?
Internet and network speeds are measured in megabits per second (Mbps), where each second transfers that many millions of bits. To convert to megabytes per second (MB/s) in SI, divide by 8: 100 Mbps = 12.5 MB/s. This is because 1 byte = 8 bits. So a 100 Mbps broadband connection can theoretically download a 1 GB file (1,000 MB) in 1,000 ÷ 12.5 = 80 seconds under ideal conditions. Real-world speeds are lower due to protocol overhead, latency, and server limits. Enter your connection speed in the transfer time section of this calculator to get instant estimates.
What is a nibble, and why does the calculator show it?
A nibble (also spelled nybble) is a group of 4 bits — exactly half a byte. The term is a playful extension of the byte naming convention. One nibble can represent values from 0 to 15, making it useful for representing a single hexadecimal digit (0–9, A–F). Nibbles are referenced in low-level programming, memory addressing, and certain network protocol fields. The calculator shows nibbles in the bit breakdown section as a useful reference for developers and engineers working with binary data at a low level.
Do cloud storage services use SI or binary units?
Most cloud storage providers — including Google Drive, Dropbox, iCloud, and OneDrive — advertise and measure storage using SI decimal units (1 GB = 1,000,000,000 bytes). This means a 100 GB cloud plan holds 100,000,000,000 bytes. When your operating system reports how much of that storage is used, it may display the figure in binary GiB (dividing by 1,024³), which can make your usage appear slightly larger or the capacity slightly smaller. For example, a 100 GB plan would appear as approximately 93.1 GiB in a binary-reporting OS. Always check whether a tool or OS is using SI or binary units when comparing storage figures.
What is a petabyte, and who uses exabytes?
A petabyte (PB) equals 1,000 TB in SI, or about 10¹⁵ bytes. Large enterprises, data centres, and government agencies deal with petabyte-scale data. Major social media platforms store multiple petabytes of photos and videos. An exabyte (EB) is 1,000 petabytes — 10¹⁸ bytes. Global internet traffic is measured in exabytes per month. Individual organisations rarely handle exabyte-scale data; this territory belongs to hyperscale cloud providers like AWS, Google, and Microsoft Azure. Beyond exabytes are zettabytes (10²¹) and yottabytes (10²⁴), which are theoretical at the scale of total global data today.