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 KB | 1,000 | 1 KiB | 1,024 |
| 1 MB | 1,000,000 | 1 MiB | 1,048,576 |
| 1 GB | 1,000,000,000 | 1 GiB | 1,073,741,824 |
| 1 TB | 1,000,000,000,000 | 1 TiB | 1,099,511,627,776 |
| 1 PB | 1,000,000,000,000,000 | 1 PiB | 1,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.