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
How to Use This Calculator
- Enter the Value to convert.
- Select the From unit: Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, or Petabytes.
- Review all equivalent values — GB, MB, TB, KB, Bytes, and Bits — displayed at once.
How the result changes with Value
| Value | Gigabytes | Megabytes |
|---|---|---|
| 100,000,000 | 100,000,000 GB | 102,400,000,000 MB |
| 350,000,000 | 350,000,000 GB | 358,400,000,000 MB |
| 649,999,999 | 649,999,999 GB | 665,599,998,976 MB |
| 899,999,999 | 899,999,999 GB | 921,599,998,976 MB |
What each input means
- Value
- The input value.
How this is calculated
Worked example, using the default values
- Identify Input ParametersValue = 1, From = 3 = 2 input(s) provided
- Calculate GigabytesGigabytes = round((bytes / 1024 ^ 3) * 10000) / 100001 = 1
- Calculate MegabytesMegabytes = round((bytes / 1024 ^ 2) * 10000) / 100001024 = 1024
- Calculate TerabytesTerabytes = round((bytes / 1024 ^ 4) * 10000) / 100000.001 = 0.001
- Calculate KilobytesKilobytes = round((bytes / 1024) * 10000) / 100001048576 = 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.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Download Time Calculator
Calculate how long it takes to download a file at various internet speeds. Compare download times across different connection speeds.
Technology & ComputingBinary/Hex/Decimal Converter
Convert a decimal number into its binary, octal, and hexadecimal representations. Includes bit count, byte size, and ASCII character lookup.
Technology & ComputingFile Size Converter
Convert file sizes between bytes, KB, MB, GB, and TB. Understand file size in different units.
Technology & ComputingDeveloper Tools Calculator
Download times, file sizes, screen PPI, and data encoding calculations.
Unit ConversionsTemperature Converter
Convert between Fahrenheit, Celsius, and Kelvin temperature scales instantly.
More in Unit Conversions.