Data Storage Converter — Bits, Bytes, KB, MB, GB, TB, PB | LazyTools

Data Storage Converter

Convert between bits, bytes, kilobytes, megabytes, gigabytes, terabytes and petabytes — instantly, in both SI decimal (KB = 1,000 bytes) and IEC binary (KiB = 1,024 bytes) standards. Finally understand why your 1 TB drive shows as 931 GB in Windows. 100% private — nothing leaves your browser.

Free forever No login 100% browser-based SI & IEC supported

Data Storage Unit Converter Tool

Unit system
SI (decimal) mode active — 1 KB = 1,000 bytes. Used by hard drive manufacturers, network speeds and most file size APIs. Switch to IEC (binary) to see KiB, MiB, GiB values as reported by Windows, macOS and Linux.
Quick presets
All calculations run locally in your browser. No data is sent anywhere.

The table below shows both SI decimal (used by manufacturers) and IEC binary (used by operating systems) for each storage unit, with the percentage difference — the root cause of the "missing storage" mystery.

Unit name Symbol SI value (decimal) IEC equivalent (binary) Difference
Bitb1 bit1 bit0%
ByteB8 bits8 bits0%
Kilobyte / KibibyteKB / KiB1,000 bytes1,024 bytes+2.40%
Megabyte / MebibyteMB / MiB1,000,000 bytes1,048,576 bytes+4.86%
Gigabyte / GibibyteGB / GiB1,000,000,000 bytes1,073,741,824 bytes+7.37%
Terabyte / TebibyteTB / TiB1,000,000,000,000 bytes1,099,511,627,776 bytes+9.95%
Petabyte / PebibytePB / PiB1,000,000,000,000,000 bytes1,125,899,906,842,624 bytes+12.59%
Why this matters: A 1 TB hard drive contains exactly 1,000,000,000,000 bytes. Your OS shows it as ≈931 GiB because it divides by 1,024³ instead of 1,000³. The drive is not missing space — it's a units labelling difference. The larger the drive, the bigger the apparent discrepancy.

Calculate how long it takes to download or transfer any file size at a given internet or network speed.

3 min 8 sec
4.7 GB at 100 Mbps · Transfer speed: 12.5 MB/s
⭐ User Ratings

Rate this tool

4.8
Based on 142 ratings
5
105
4
24
3
9
2
3
1
1
Was this tool helpful? Leave your rating
✅ Thank you! Your rating has been recorded.
✦ Features

What this tool does

Everything you need to understand and convert data storage sizes — built into one clean, private, browser-based tool.

Real-time bidirectional conversion
Edit any field and all other units update instantly. No "convert" button to click.
SI and IEC side by side
Switch between decimal (KB = 1,000 B), binary (KiB = 1,024 B) or view both simultaneously — the only free tool to explain both clearly.
Reference table with % difference
See every unit from bit to petabyte in both systems, with the percentage difference explained — so you finally understand why your drive shows less.
Download time calculator
Enter a file size and connection speed to calculate exact download time. Supports speeds from 3G to 10 Gbps fibre.
Device quick-select presets
Load common storage sizes in one click — floppy disk, CD, DVD, Blu-ray, SSD and HDD. Great for instant reference.
One-click copy
Copy any individual converted value to your clipboard with a single click. Paste directly into documents, code or emails.
100% private — browser only
Every calculation happens in your browser tab. No data is sent to any server. No cookies. No tracking of your inputs.
Mobile-optimised
Full-featured on any screen size. Use it on your phone to quickly check storage sizing when buying devices in-store.
📖 How to use

How to use the Data Storage Converter

Convert any storage value in seconds — here's the step-by-step guide.

Choose your unit system
Select SI (decimal) if you're working with hard drive capacities, network speeds or cloud storage — manufacturers use this. Select IEC (binary) if you're reading values from Windows File Explorer, macOS Finder or a Linux terminal. Choose Both to compare side by side.
Enter a value in any field
Type a number into any of the unit input boxes — bits, bytes, KB, MB, GB, TB or PB. All other units update instantly and simultaneously. You can type in any field regardless of direction.
Or use a quick-select preset
Click any device preset button — Floppy disk, CD-ROM, DVD, Blu-ray, SSD 256 GB, HDD 1 TB — to instantly load that storage size and see its equivalent in all units.
Copy any result
Click the copy icon next to any unit value to copy it to your clipboard, ready to paste into a document, spreadsheet, code editor or message.
Check the Download Time tab for transfer speeds
Switch to the Download Time tab, enter your file size and select your connection speed to calculate exactly how long a download or file transfer will take.
🏆 Why LazyTools

What LazyTools offers that others don't

We researched every major free data storage converter and identified exactly what's missing. Here's how LazyTools compares on the features that actually matter.

Feature LazyTools ✦ UnitConverters.net TheCalculatorSite GoodCalculators
SI (decimal) unit system ✔ Yes ✔ Yes ✔ Yes ✔ Yes
IEC (binary) unit system ✔ Yes ✔ Yes ✘ No ✘ No
SI and IEC side by side view ✔ Yes ✘ No ✘ No ✘ No
Explains WHY drives show less storage ✔ Yes ✘ No ✘ No ✘ No
Download time calculator built-in ✔ Yes ✘ No ✘ No ✘ No
Device quick-select presets ✔ Yes ✘ No ✘ No ✘ No
Bidirectional (type in any field) ✔ Yes ✘ Dropdown ✘ Dropdown ✘ Dropdown
% difference reference table ✔ Yes ✘ No ✘ No ✘ No
No ads blocking the tool ✔ Non-intrusive Multiple ads Multiple ads Multiple ads
100% client-side (no data upload) ✔ Yes ✔ Yes ✔ Yes ✔ Yes
📖 Learn

Understanding Data Storage Units: The Complete Guide to Bits, Bytes, KB, MB, GB and TB

Every time you buy a hard drive, save a file, stream a video or choose a cloud storage plan, you're dealing with data storage units. Yet the same unit — a gigabyte — can mean two different things depending on whether a hard drive manufacturer or your operating system is doing the measuring. This causes real confusion, real frustration, and the persistent question: why does my 1 TB drive only show 931 GB in Windows?

This guide explains everything clearly — from the smallest unit (the bit) to petabytes and beyond — and shows you exactly why the SI and IEC systems produce different numbers for the same physical storage.

The building blocks: bits and bytes

Every piece of digital information — a text message, a photo, a film — is ultimately stored as a sequence of bits. A bit (short for binary digit) has exactly two possible values: 0 or 1. It's the smallest possible unit of digital information, the on/off switch of computing.

Eight bits grouped together form one byte. A single byte can represent 256 different values (2⁸), which is enough to encode any single character of text in basic ASCII — the letter "A", a comma, or a digit. Almost all larger storage measurements are multiples of bytes, not bits. The one notable exception is network speed, which is almost always measured in bits per second (bps, Mbps, Gbps) rather than bytes — which is why an "100 Mbps" broadband connection only delivers about 12.5 MB/s of actual file transfer speed.

Key rule: 1 byte = 8 bits. Network speeds are in bits/second. File sizes are in bytes. To convert Mbps to MB/s, divide by 8. A 100 Mbps connection delivers a maximum of 12.5 MB/s.

The two competing standards: SI vs IEC

Here is where the confusion begins. When computing was young, engineers adopted the prefix "kilo-" to mean 1,024 (2¹⁰) rather than the standard scientific meaning of 1,000 (10³). The reasoning was practical: 1,024 is the nearest power of two to 1,000, and computers work natively in powers of two. So "kilobyte" came to mean 1,024 bytes in computing, while in every other scientific field it meant exactly 1,000.

This ambiguity persisted for decades. In 1998, the International Electrotechnical Commission (IEC) formally resolved it by introducing new binary prefixes: kibi-, mebi-, gibi-, tebi-, with symbols KiB, MiB, GiB, TiB. These explicitly mean powers of 1,024. The existing prefixes — kilo-, mega-, giga-, tera- (KB, MB, GB, TB) — were formally assigned their original SI decimal meanings of powers of 1,000.

In practice, the industry split in two:

  • Hard drive and SSD manufacturers adopted the SI decimal standard (1 TB = 1,000,000,000,000 bytes exactly). This makes their drives sound larger.
  • Operating systems (Windows, older macOS, Linux) continued using binary measurements but labelled them with the old symbols (GB, MB) — technically meaning GiB, MiB. Modern macOS switched to SI in 2009.

Why your 1 TB drive shows as 931 GB in Windows

This is the single most searched question about data storage units — and the answer is now straightforward. A 1 TB hard drive contains exactly 1,000,000,000,000 bytes — that's 1 trillion bytes, as advertised.

Windows measures storage in binary units (GiB) but labels them as GB. It divides the total bytes by 1,024³ (= 1,073,741,824) to get gibibytes:

1,000,000,000,000 ÷ 1,073,741,824 = 0.9313 GiB ≈ 931 GB (as Windows displays it)

No storage is missing. The drive contains every byte it was sold with. The discrepancy is entirely a labelling convention difference: the manufacturer used decimal GB, and Windows reports in binary GiB using the same "GB" label. The confusion compounds with larger drives — a 4 TB drive appears as approximately 3.64 TB in Windows, a difference of 360 GB that feels significant.

When to use SI (decimal) vs IEC (binary)

A practical guide to knowing which system applies in a given context:

  • Use SI (KB, MB, GB, TB) for: hard drive and SSD capacities as sold, cloud storage plans (Google Drive, Dropbox, iCloud), network speeds and data allowances, file sizes reported by modern macOS (Catalina and later), most web APIs and programming languages.
  • Use IEC (KiB, MiB, GiB, TiB) for: Windows file sizes and storage displays, RAM capacity (always binary), Linux file system commands (df, du), older macOS (pre-2009), many developer tools and compiler outputs.

Practical examples: putting it in perspective

Abstract numbers become meaningful with real-world reference points. Here's how common storage sizes translate into something tangible:

  • 1 KB — approximately one short paragraph of plain text
  • 1 MB — one minute of audio at standard quality, or one small digital photo
  • 1 GB — approximately 1 hour of standard-definition video, or 200 full-resolution smartphone photos
  • 1 TB — around 500 hours of HD video, 250,000 photos, or 200,000 songs in MP3 format
  • 1 PB — the entirety of the US Library of Congress printed collection is estimated at around 10–15 TB, so 1 PB is roughly 70–100 Libraries of Congress

Data storage units in networking and cloud computing

Cloud storage, internet service providers and content delivery networks have standardised on SI (decimal) units almost universally. When your ISP says your broadband delivers "100 Mbps", they mean 100,000,000 bits per second — exactly, in SI decimal. When Google Drive offers "15 GB free", it means exactly 15,000,000,000 bytes of storage capacity.

This creates a practical trap: if you have a 15 GB Google Drive plan and try to fill it using Windows, you might think you only have about 13.97 GiB of space (because Windows displays GiB as GB). The actual capacity is 15,000,000,000 bytes either way — Windows just displays the number differently.

How our data storage converter works

This tool performs all calculations in your browser using precise JavaScript arithmetic. When you enter a value in any unit, the tool converts it to bytes first (using the appropriate multiplication factor for your chosen SI or IEC standard), then divides that byte value by the factor for every other unit to produce simultaneous results.

For SI mode: 1 GB = 10⁹ bytes, so 500 MB = 500 × 10⁶ = 500,000,000 bytes, displayed across all units simultaneously. For IEC mode: 1 GiB = 2³⁰ bytes = 1,073,741,824 bytes, and all conversions use powers of 1,024 throughout. The "Both" mode runs both calculation chains independently and displays them in separate columns, letting you see exactly why a manufacturer's "500 GB" drive shows as "465.66 GiB" in your OS.

The download time calculator divides file size in bits (file size in bytes × 8) by your connection speed in bits per second, then formats the result into hours, minutes and seconds for readability. All processing is instantaneous and completely local — your inputs never leave your device.

Frequently asked questions

Hard drive manufacturers use the SI decimal system where 1 TB = 1,000,000,000,000 bytes. Windows measures in binary (IEC) units where 1 TiB = 1,099,511,627,776 bytes. Dividing 1,000,000,000,000 by 1,099,511,627,776 gives approximately 0.909 — which Windows displays as roughly 931 GB. No storage is missing; it's a difference in how the number is labelled.
MB (megabyte) in the SI system = exactly 1,000,000 bytes (10⁶). MiB (mebibyte) in the IEC binary system = exactly 1,048,576 bytes (2²⁰). The mebibyte is approximately 4.86% larger than the megabyte.
In the SI decimal system: 1 GB = 1,000 MB. In the IEC binary system: 1 GiB = 1,024 MiB. The answer depends on which system you are using.
Divide by 8. There are 8 bits in a byte. So 100 Mbps = 100 ÷ 8 = 12.5 MB/s. A 500 Mbps fibre connection delivers a maximum of 62.5 MB/s transfer speed.
🔗 Related tools

More free converter and calculator tools from LazyTools — no login, no uploads, instant results.