Data Unit Converter: bits, bytes, KB, MB, GB, TB and KiB to TiB

Type one value and read it in every unit at once, with the decimal (1,000) and binary (1,024) standards side by side and exact to the last digit.

  • Every unit at onceone value, and bits through petabytes all update together. No picking a target unit first.
  • Decimal and binary side by sidethe 1,000-based MB and the 1,024-based MiB shown together, so the standard is never silently assumed.
  • Exact arithmeticinteger maths rather than floats, so large values don't drift in the last digits.
  • Bulk list conversionpaste a column of mixed sizes: 1.5 GB, 4096 KiB, 800 Mbit, and export the whole table to CSV or JSON.
  • Mbps ↔ MB/s with download timeconvert the megabits an ISP sells into the megabytes a download reports, then see how long a file actually takes.
  • Nothing leaves your browserevery conversion runs client-side. No upload, no account, works offline.

Data unit converter

Enter a value once and see it in every unit at the same time, bits, bytes, KB, MB, GB and TB alongside their binary KiB, MiB, GiB and TiB counterparts. Both the 1,000 and 1,024 interpretations are always visible, so nothing is silently assumed, and every figure is exact, no float rounding.

1 GB = 1,000,000,000 bytes here (SI). Windows labels its GB as powers of 1,024. Pick GiB if that's what you mean.

Bytes (decimal (SI)1 KB = 1,000 B
B1,500,000,000
KB1,500,000
MB1,500
GB1.5
TB0.0015
PB0.0000015
Bytes) binary (IEC)1 KiB = 1,024 B
KiB1,464,843.75
MiB≈ 1,430.51147461
GiB≈ 1.39698386192
TiB≈ 0.00136424205266
PiB≈ 0.00000133226762955
Bits8 bits = 1 byte
bit12,000,000,000
kbit12,000,000
Mbit12,000
Gbit12
Tbit0.012

Data unit converter: bits, bytes, KB, MB, GB and TB without the guesswork

This free data unit converter shows a value in every unit at the same time: bits, bytes, kilobytes, megabytes, gigabytes, terabytes and petabytes, alongside their binary counterparts KiB, MiB, GiB, TiB and PiB. Type once and read the answer in whatever unit you need: no picking a single "from" and "to" pair, no Convert button, no navigating to a different page for KB to MB than for MB to GB. Results update the instant you type, and every figure is computed with exact arithmetic rather than floating-point, so what you copy is precisely right at any scale.

1000 or 1024? Both, always visible

The single biggest source of file-size confusion is that "kilobyte" has two competing definitions: the SI decimal standard (1 KB = 1,000 bytes), used by drive manufacturers, networks and macOS, and the binary convention (1,024 bytes), which Windows still uses while keeping the KB label. Most byte converters silently pick one : or worse, don't say which. This converter shows the decimal and binary columns side by side, labelled correctly (KB versus KiB, MB versus MiB, GB versus GiB), so the 1000-versus-1024 question answers itself on every conversion. It's also why a 1 TB drive appears as roughly 931 GB in Windows: same bytes, different unit definition - type 1 TB and you'll see the 931.32 GiB right there.

Bits versus bytes: the capital letter that changes everything

A lowercase b is a bit; an uppercase B is a byte: eight times bigger. Internet plans are sold in megabits per second (Mbps) while downloads display megabytes per second (MB/s), so a "100 meg" connection tops out near 12.5 MB/s and everyone briefly assumes something is broken. The converter keeps a dedicated bits column so bit-to-byte conversion is always one glance away, and the Speed & time tab converts Mbps to MB/s directly and turns any file size plus connection speed into an actual download time.

Bulk file size conversion with CSV export

Real work rarely involves one number. Paste a whole list: one size per line, any mix of units, like 1.5 GB, 4096 KiB or 800 Mbit - and the bulk converter reads every line, tells you exactly how it interpreted each unit, and converts them all to the unit you choose. The full table exports to CSV or JSON with every unit as its own column, ready for capacity planning, storage quotes or a migration spreadsheet. No other everyday byte converter does lists; this one treats them as the normal case.

Exact at every scale

Most online converters compute in floating point, which is why they answer 0.001 MB with 0.0009999999999999998 or round 931.322574615478515625 down to "931.32". This tool converts on exact integers under the hood, and every conversion between these units terminates as a finite decimal. So it shows the complete, exact value whenever it fits, marks the rare rounded display with ≈, and always copies the exact figure to your clipboard.

Quick reference: data units at a glance

Decimal (SI) Bytes Binary (IEC) Bytes
1 KB1,0001 KiB1,024
1 MB1,000,0001 MiB1,048,576
1 GB1,000,000,0001 GiB1,073,741,824
1 TB1,000,000,000,0001 TiB1,099,511,627,776
1 PB1,000,000,000,000,0001 PiB1,125,899,906,842,624

And for bits: 8 bits = 1 byte, so 1 Mbit = 0.125 MB and 1 Gbps = 125 MB/s. Every value in the table is exact. These units are all powers of 2 and 10, which is what lets this converter promise exact results everywhere.

Built for the same workflow as our network tools

This converter lives alongside the subnet calculator, MAC address lookup and access list matcher because the person sizing a subnet is often the same person sizing the bandwidth or the storage behind it. Like those tools, everything here runs entirely in your browser: nothing you type is uploaded, there is no account, and the page keeps working offline once loaded.

Data unit questions, answered

How many kilobytes are in a megabyte?

Under the SI (decimal) standard used by drive manufacturers, networks and macOS, 1 megabyte = 1,000 kilobytes and 1 kilobyte = 1,000 bytes. This is the definition standards bodies recommend for MB and KB.

The older binary convention (still used by Windows and many tools) treats 1 "megabyte" as 1,024 kilobytes of 1,024 bytes each. That unit is properly called a mebibyte (MiB, 1,048,576 bytes). This converter always shows both, so you never have to guess which one a number means.

Is 1 GB equal to 1000 MB or 1024 MB?

Both answers exist, which is exactly why the confusion persists. By the SI definition, 1 GB = 1,000 MB = 1,000,000,000 bytes. This is what storage manufacturers, ISPs and macOS use.

Windows and much older software use powers of 1,024 but keep the GB label: their "GB" is really a gibibyte (GiB) of 1,073,741,824 bytes, which equals 1,024 MiB. When precision matters, use GiB for the 1,024-based unit and GB for the 1,000-based one.

Why does a 1 TB drive show only 931 GB?

Nothing is missing. The drive really holds 1,000,000,000,000 bytes: one terabyte by the decimal definition printed on the box. Windows divides that same number by 1,024 three times and reports 931.32, labelling it GB when the unit it computed is actually gibibytes (GiB).

The gap grows with size: a 1 TB drive shows about 931 GiB, a 4 TB drive about 3,725 GiB, and a 16 TB drive about 14,552 GiB. Same bytes, two unit definitions.

What is the difference between Mb and MB?

The capital B is the whole difference: a lowercase b is a bit, an uppercase B is a byte, and one byte is eight bits. So 1 MB (megabyte) = 8 Mb (megabits), and a 100 Mb file is only 12.5 MB.

Network speeds are quoted in bits per second (Mbps), while file sizes and download progress are shown in bytes (MB, MB/s), which is why the two constantly get mixed up.

How do I convert bits to bytes?

Divide by 8: a byte is eight bits, so 96 bits = 12 bytes, and 1,000,000 bits = 125,000 bytes. Going the other way, multiply bytes by 8 to get bits.

The same ratio applies at every prefix: divide megabits by 8 to get megabytes, gigabits by 8 to get gigabytes. It's the one data-unit conversion that has no 1000-versus-1024 ambiguity at all.

How fast is 100 Mbps in MB/s?

100 Mbps is 12.5 MB/s: divide the megabits by 8. That's why a "100 meg" connection downloads at around 12 MB/s in your browser, not 100.

Real transfers usually run a little below the theoretical figure because 5 - 10% of the line is spent on protocol overhead, and other devices share the connection. As quick anchors: 50 Mbps ≈ 6.25 MB/s, 500 Mbps ≈ 62.5 MB/s, 1 Gbps ≈ 125 MB/s.

What are KiB, MiB and GiB?

They are the binary units: kibibyte (KiB) = 1,024 bytes, mebibyte (MiB) = 1,048,576 bytes, gibibyte (GiB) = 1,073,741,824 bytes, continuing with TiB and PiB. The IEC introduced the names in 1998 so that powers of 1,024 would stop being sold, displayed and calculated under the same names as powers of 1,000.

You'll meet them anywhere precision matters: Linux tools, RAM sizes (which are always binary), cloud-provider billing and container memory limits. When a spec says GiB, it always means the 1,024-based unit.

How many bytes are in a KB, MB, GB and TB?

Using the SI decimal definitions: 1 KB = 1,000 bytes, 1 MB = 1,000,000 bytes, 1 GB = 1,000,000,000 bytes, and 1 TB = 1,000,000,000,000 bytes. Each step is ×1,000.

Their binary counterparts step by ×1,024 instead: 1 KiB = 1,024 bytes, 1 MiB = 1,048,576, 1 GiB = 1,073,741,824, and 1 TiB = 1,099,511,627,776 bytes.

Can I convert many file sizes at once?

Yes. The Bulk convert tab takes a pasted list with one size per line, such as 1.5 GB, 4096 KiB or 800 Mbit, in any mix of units, and converts every line at once to the unit you choose.

The whole table exports to CSV or JSON with every unit included as its own column, ready for a spreadsheet, a capacity plan or a report. Everything runs in your browser, so the list never leaves your device.