Byte/Bit Converter

Convert between data size units: bytes, kilobytes, megabytes, gigabytes and terabytes, instantly. No signup. Ideal for files, storage, data and technical work.

Remove Ads
Remove Ads

Share on Social Media:

This free byte converter changes any data size between 14 units — bytes, kilobytes, megabytes, gigabytes, terabytes and bits — right in your browser. Type a value, pick the unit it is in and the unit you want, and the result appears instantly as you type. It works both ways: type in either box and the other one converts. No sign-up, no download, no Convert button to press.

On this page

  1. How to Convert Data Sizes Step by Step
  2. What the Data Size Units Are
  3. How the Units Scale Up
  4. Who Uses a Byte Converter
  5. Pro Tips for Data Size Conversions
  6. Common Byte Conversion Mistakes to Avoid
  7. Related Tools You May Need Next
  8. Frequently Asked Questions

How to Convert Data Sizes Step by Step

  1. Enter the data size. Type the value into the "From" box — for example, the size of a file, a download, or a storage drive. Both boxes start at 1.
  2. Choose the starting unit. Pick the unit your value is in from the "From" dropdown — bytes, kilobytes, megabytes, gigabytes, terabytes, bits, or any of the other units.
  3. Choose the target unit. Pick the unit you want the answer in from the "To" dropdown. The result appears instantly, as you type — there is no Convert button to press.
  4. Read the result. The converted value shows in large text above the boxes and fills the "To" box, rounded to 3 decimal places. Use the copy button on either box to copy a value.
  5. Convert it back, if you need to. The converter works both ways: type a value into the "To" box and the "From" box converts in reverse, so you can check a conversion by running it backwards.

Bits converting into bytes and larger data units

What the Data Size Units Are

Digital data size is measured in bytes and their multiples: kilobytes, megabytes, gigabytes, terabytes and beyond. The byte is the base unit of stored data, and each larger unit is a multiple of the one below, letting data sizes from tiny files to huge storage capacities be expressed conveniently. This converter offers all 14 units below and converts between any pair of them, one target unit at a time.

Unit1 unit = bytesWhat it measures
Bits0.125Single binary digits — used for internet speeds
Bytes1The base unit of stored data — 8 bits
Kilo Bytes (KB)1,024Small files, documents, short emails
Kilobits (Kb)128Small amounts of transmitted data
Mega Bytes (MB)1,048,576Photos, songs, apps, documents
Megabits (Mb)131,072Internet speeds and video bitrates
Giga Bytes (GB)1,073,741,824Videos, games, phone and laptop storage
Gigabits (Gb)134,217,728Fast network links
Tera Bytes (TB)1,099,511,627,776Hard drives, backups, large media libraries
Terabits (Tb)137,438,953,472Very fast network links
Peta Bytes (PB)1,125,899,906,842,624Data centres, cloud storage, archives
Petabits (Pb)140,737,488,355,328Backbone network capacity
Exa Bytes (EB)1,152,921,504,606,846,976Global data totals
Exabits (Eb)144,115,188,075,855,872Global network capacity

Worked example — a 2,048-byte file. Enter 2048, choose Bytes in the "From" box and Kilo Bytes in the "To" box: the tool shows 2 KB. Switch the "To" box to Bits and it shows 16,384 bits. And 1 GB converts to 1,024 MB. All three results are the tool's own outputs — check them yourself in the converter above.

The most important fact about these units: this converter counts in 1,024s, not 1,000s. One kilobyte here is 1,024 bytes, one megabyte is 1,024 kilobytes, and so on up the whole table. That is how operating systems report file sizes — Windows showing a "1.5 GB" file means 1.5 × 1,073,741,824 bytes.

Laptop showing data growing from bits to larger units

How the Units Scale Up

Every step up the byte scale multiplies by 1,024. That is the whole system — learn the ladder once and every conversion is the same idea.

ConversionResultHow it works
8 bits → bytes1 byte8 ÷ 8
1,024 bytes → kilobytes1 KB1,024 ÷ 1,024
1,024 KB → megabytes1 MB1,024 × 1,024 bytes
1,024 MB → gigabytes1 GB1,024 × 1,024 × 1,024 bytes
1,024 GB → terabytes1 TB1,024⁴ bytes
1,024 TB → petabytes1 PB1,024⁵ bytes
1,024 PB → exabytes1 EB1,024⁶ bytes
100 megabits → megabytes12.5 MB100 ÷ 8 — bits to bytes always divides by 8
1 GB → bytes1,073,741,824 bytes1,024³
1 TB → gigabytes1,024 GB1,024⁴ ÷ 1,024³

The key idea: bits and bytes are different units, and the step between them is always 8. A 100-megabit-per-second connection moves 100 million bits per second, which is 12.5 megabytes per second — so a 1 GB file takes about 86 seconds at 100 Mbps, not 10. That divide-by-8 is the single most useful data-size fact there is.

Who Uses a Byte Converter

People checking downloads and internet speed Converting a 100 Mbps connection into megabytes per second, or working out how long a file will take to download.

People managing storage Converting gigabytes to terabytes when a drive is nearly full, or checking whether a video fits on a USB stick.

Developers and IT staff Converting file sizes, memory limits and bandwidth between bits and bytes for servers, networks and code.

Photographers and video editors Converting megabytes to gigabytes for photo libraries and video files.

Students and teachers Data size conversion is a standard computing exercise — bytes to kilobytes, megabytes to gigabytes — and the converter gives instant answers to check working against.

Anyone buying a drive or a phone Comparing a 256 GB phone with a 1 TB drive, or understanding why a "1 TB" drive shows less than 1,024 GB in the operating system.

Data flowing through a converter into larger storage blocks

Pro Tips for Data Size Conversions

Remember the two anchor values. 1 byte is 8 bits, and 1 kilobyte is 1,024 bytes. If your answer is nowhere near these, something is off.

Divide by 8 to go from bits to bytes. Internet speeds are sold in bits per second (Mbps) and files are measured in bytes (MB). A 100 Mbps line downloads at 12.5 MB/s — always divide the speed by 8.

Convert back to check. Because this converter works both ways, type the result into the other box and confirm you get your starting value back. It takes two seconds and catches a wrong unit choice.

Note the 3-decimal rounding. Results are rounded to 3 decimal places, so 1 GB shows as 1,024 MB exactly, but a value like 0.0009765625 GB shows as 0.001 GB. For everyday use that precision is more than enough.

Know which 1,024 you are using. This tool counts kilobytes as 1,024 bytes — the way operating systems do. Hard-drive makers advertise 1 TB as 1,000,000,000,000 bytes, which is why a new "1 TB" drive shows about 931 GB in Windows. Neither number is wrong; they are different definitions.

Use bits for speeds, bytes for sizes. Network speeds (Mbps, Gbps) are bits; files, memory and storage (MB, GB, TB) are bytes. Keep the two apart and the divide-by-8 step in mind.

Common Byte Conversion Mistakes to Avoid

Mixing up bits and bytes. 100 megabits is 12.5 megabytes, not 100 megabytes. Forgetting the divide-by-8 makes a download look 8 times faster than it is — the most common data-size mistake there is.

Assuming 1 KB is 1,000 bytes. In this converter — and in your operating system — 1 KB is 1,024 bytes. Using 1,000 gives answers that drift further off at every step up the scale: 1 GB is 1,073,741,824 bytes, not 1,000,000,000.

Confusing the maker's gigabyte with the computer's gigabyte. A drive sold as "1 TB" holds 1,000,000,000,000 bytes, which your computer reports as about 931 GB. That is not missing space — it is the same bytes counted in 1,024s instead of 1,000s.

Guessing download times from the speed alone. A 1 GB file on a 100 Mbps line takes about 86 seconds, not 10 — because 1 GB is 8,590 megabits, and 8,590 ÷ 100 = 86 seconds. Convert first, then divide.

Forgetting that one target unit is shown at a time. This tool converts to one selected unit at a time, not to all 14 units at once. To see a size in several units, change the "To" dropdown for each one — each conversion is instant.

Related Tools You May Need Next

Data size is only one kind of measurement. For other tools, try our Word Counter for words, characters and keyword density, our Character Counter for characters with and without spaces, our Text to Binary converter for turning text into binary code, our Image Compressor for shrinking JPG and PNG files, and our Image Resizer for changing an image's width and height in pixels.

Frequently Asked Questions

How do I convert between data size units?

Type your value into the "From" box, pick its unit from the first dropdown, then pick the unit you want from the second dropdown. The result appears instantly as you type — there is no Convert button. The tool converts one target unit at a time, and it works both ways: type into the "To" box and the "From" box converts back.

What data size units does the converter support?

14 units: bits, bytes, kilo bytes, kilobits, mega bytes, megabits, giga bytes, gigabits, tera bytes, terabits, peta bytes, petabits, exa bytes and exabits. You can convert between any pair of them.

How many bytes are in a kilobyte?

1,024 bytes in this converter — and in your operating system. Some hard-drive makers use 1,000 bytes per kilobyte instead, which is why a drive's advertised size and the size your computer shows are different numbers for the same drive.

How many megabytes are in a gigabyte?

1,024 megabytes. One gigabyte is 1,024 × 1,024 × 1,024 = 1,073,741,824 bytes.

What is the difference between a bit and a byte?

A bit is a single binary digit, 0 or 1. A byte is 8 bits grouped together, and it is the smallest unit that can hold one character of text. Internet speeds are measured in bits per second; files and storage are measured in bytes.

How many megabytes per second is 100 Mbps?

12.5 MB/s. Mbps means megabits per second, and there are 8 bits in a byte, so 100 ÷ 8 = 12.5 megabytes per second. A 1 GB file therefore takes about 86 seconds to download at 100 Mbps.

How many gigabytes are in a terabyte?

1,024 gigabytes. One terabyte is 1,024 × 1,024 × 1,024 × 1,024 = 1,099,511,627,776 bytes.

Why does my 1 TB drive show less than 1 TB in Windows?

Because the drive maker counts 1 TB as 1,000,000,000,000 bytes while Windows counts 1 TB as 1,099,511,627,776 bytes. The drive holds 1,000,000,000,000 bytes, which Windows reports as about 931 GB. No space is missing — the two sides are using different definitions of a terabyte.

What is a petabyte?

A petabyte is 1,024 terabytes, or 1,125,899,906,842,624 bytes. It is used for data centres, cloud storage and large archives — a single petabyte holds roughly 500 billion pages of text.

Does the byte converter work in my browser?

Yes. It runs entirely in your browser on any device — phone, tablet or computer — with nothing to download or install and no sign-up. Type a value and the result appears as you type.

Is the byte converter free?

Yes, it is free with no sign-up, and it converts between any of the 14 units.