All tools · Converters

Data Size Converter

Convert between bytes, KB, MB, GB, and TB.

Free to use, no sign-up required. Data Size Converter is one of 198 tools built into Xenition, alongside a chat that can use them for you.

Converts digital storage sizes between bits, bytes and KB up to PB. It answers questions like how big a file is in GB, or why a new drive shows less space than the box says.

How to use Data Size Converter

  1. Enter the size in the left box.
  2. Choose its unit — it starts on MB.
  3. Choose the target unit — it starts on GB.
  4. Read the result in the highlighted box.

How it works

This converter uses binary multiples: 1 KB = 1,024 bytes, 1 MB = 1,024 KB, and so on up to PB, the way Windows reports file and disk sizes. A bit is one eighth of a byte.

Example

A drive sold as 500 GB holds 500,000,000,000 bytes. Enter that in B and convert to GB: the tool shows 465.661287 GB, which is the figure Windows displays.

Questions about Data Size Converter

Why does my new hard drive show less space than advertised?

Drive makers count in decimal (1 GB = 1,000,000,000 bytes), while Windows counts in binary (1 GB = 1,073,741,824 bytes). Nothing is missing; the same bytes are divided by a bigger number. macOS has used decimal units since 2009, so it shows the box figure.

What are KiB, MiB and GiB?

They are the formal names for the binary units: 1 KiB = 1,024 bytes. Strictly, KB means 1,000 bytes, but KB is still widely used for 1,024, as it is in this tool.

Is a bit the same as a byte?

No. A byte is 8 bits. Storage is measured in bytes (B) and network speeds in bits (b).

Units and conversion factors

Data Size Converter converts between 7 units: bit, B, KB, MB, GB, TB and PB. Factors are given against B.

UnitIn B1 B equals
1 bit0.125 B8 bit
1 KB1024 B0.0009765625 KB
1 MB1048576 B0.0000009537 MB
1 GB1073741824 B0.0000000009 GB
1 TB1099511627776 B0 TB
1 PB1125899906842624 B0 PB

Quick conversion chart

Common quantities in B, converted. Every value is computed from the factors above, so the chart and the converter cannot disagree.

BbitKBMBGB
1 B80.00097656250.00000095370.0000000009
2 B160.0019531250.00000190730.0000000019
5 B400.00488281250.00000476840.0000000047
10 B800.0097656250.00000953670.0000000093
25 B2000.02441406250.00002384190.0000000233
100 B8000.097656250.00009536740.0000000931

Common questions

How many bit are in 1 B?

1 B is 8 bit. To convert B to bit, divide by 0.125 — so 10 B is 80 bit.

How many B are in 1 bit?

1 bit is 0.125 B. To convert bit to B, multiply by 0.125 — so 10 bit is 1.25 B.

How many KB are in 1 B?

1 B is 0.0009765625 KB. To convert B to KB, divide by 1024 — so 10 B is 0.009765625 KB.

How many B are in 1 KB?

1 KB is 1024 B. To convert KB to B, multiply by 1024 — so 10 KB is 10240 B.

How many MB are in 1 B?

1 B is 0.0000009537 MB. To convert B to MB, divide by 1048576 — so 10 B is 0.0000095367 MB.

How many B are in 1 MB?

1 MB is 1048576 B. To convert MB to B, multiply by 1048576 — so 10 MB is 10485760 B.

How many GB are in 1 B?

1 B is 0.0000000009 GB. To convert B to GB, divide by 1073741824 — so 10 B is 0.0000000093 GB.

How many B are in 1 GB?

1 GB is 1073741824 B. To convert GB to B, multiply by 1073741824 — so 10 GB is 10737418240 B.

Use it from chat

You do not have to open Data Size Converter to use it. Ask Xenition in plain language and it runs the right tool, then carries the answer into whatever you are working on — a document, a spreadsheet, a deck.

Related tools