Skip to main content
Calcimator

Data Storage Converter

Convert between bytes, kilobytes, megabytes, gigabytes, terabytes, and petabytes.

Every rung of this ladder is a factor of 1024, not 1000. Your entry is reduced to a raw byte count using powers of two, then expanded back into six columns, so one gigabyte here means 1,073,741,824 bytes and one kilobyte means 1024. That is the binary convention that operating systems have always used, presented under the decimal SI names, and the mismatch is exactly why a drive advertised as one terabyte shows up as roughly 0.9095 on this page and as 931 gigabytes in a file manager: the manufacturer counted 10^12 bytes and the software divided by 1024 four times. Standards bodies coined kibibyte, mebibyte and gibibyte to end that argument, and this converter takes the older side of it. Two details catch people out. Petabytes can be selected as an input unit but no petabyte column is printed, so very large entries come back in terabytes. And the Bits row multiplies bytes by eight, which matters because network and broadband speeds are quoted in bits per second while file sizes are quoted in bytes — the familiar factor-of-eight discrepancy between an advertised connection and an observed download rate. Nothing here models time, so it will not tell you how long a transfer takes, nor does it account for compression, filesystem overhead, or the difference between raw and formatted capacity.

Convert

Results

Gigabytes
1 GB
Megabytes
1,024 MB
Terabytes
0.001 TB
Kilobytes
1,048,576 KB
Bytes
1,073,741,824 B
Bits
8,589,934,592 bits
How to Use This Calculator
  1. Enter the Value to convert.
  2. Select the From unit: Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, or Petabytes.
  3. Review all equivalent values — GB, MB, TB, KB, Bytes, and Bits — displayed at once.

How the result changes with Value

ValueGigabytesMegabytes
100,000,000100,000,000 GB102,400,000,000 MB
350,000,000350,000,000 GB358,400,000,000 MB
649,999,999649,999,999 GB665,599,998,976 MB
899,999,999899,999,999 GB921,599,998,976 MB

What each input means

Value
The input value.

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    Value = 1, From = 3 = 2 input(s) provided
  2. Calculate Gigabytes
    Gigabytes = round((bytes / 1024 ^ 3) * 10000) / 10000
    1 = 1
  3. Calculate Megabytes
    Megabytes = round((bytes / 1024 ^ 2) * 10000) / 10000
    1024 = 1024
  4. Calculate Terabytes
    Terabytes = round((bytes / 1024 ^ 4) * 10000) / 10000
    0.001 = 0.001
  5. Calculate Kilobytes
    Kilobytes = round((bytes / 1024) * 10000) / 10000
    1048576 = 1048576

Engine last updated . Checked against 2 independently-derived tests how we verify calculators.

Frequently Asked Questions

Does this use 1000 or 1024 per step?

1024 at every level, all the way from bytes to petabytes. If you need the decimal interpretation that drive manufacturers use, where a megabyte is a flat million bytes, this page will not give it to you. The two conventions diverge by about 2.4 percent at each rung, which compounds to nearly 10 percent by the time you reach terabytes.

Why does my new 1 TB drive show less than a terabyte?

Nothing is missing. The manufacturer sold you 10^12 bytes and this converter divides by 1024 four times, which restates that same capacity as roughly 0.9095 terabytes or 931 gigabytes. Both numbers describe an identical physical disk.

What is the Bits row for?

It is simply the byte count multiplied by eight, and it exists because bandwidth is advertised in bits per second while files are measured in bytes. That single factor of eight explains most complaints that a broadband line downloads slower than promised.

I picked Petabytes but see no petabyte result.

Petabytes is available as an input unit only; the results table stops at terabytes. A one petabyte entry therefore comes back as 1024 in the Terabytes row, which is the same quantity written one rung further down the ladder.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Unit Conversions.