Skip to main content
Calcimator

File Size Converter

Convert file sizes between bytes, KB, MB, GB, and TB. Understand file size in different units.

File sizes are reported in a chain of units that each scale by 1,024 from the one below it -- kilobytes, megabytes, gigabytes, and terabytes -- rather than by 1,000, because computer storage is fundamentally organized in binary, and 1,024 (2 to the tenth power) is the binary value closest to the everyday metric prefix "kilo." This calculator takes a raw byte count and divides it successively by 1,024 to produce the equivalent size in each larger unit, then automatically picks whichever unit keeps the displayed number in a readable range -- showing "2.5 GB" rather than "2,500 MB" or "2,500,000 KB" for the same file. That auto-selected display size is purely a presentation choice; the underlying byte count is identical no matter which unit displays it, the same way a distance doesn't change whether you read it in meters or kilometers. This distinction matters practically because operating systems, cloud storage providers, and download managers don't always agree on whether "1 KB" means 1,000 or 1,024 bytes -- some report storage capacity in the metric (1,000-based) convention while file sizes on disk use the binary (1,024-based) convention -- which is a common source of a drive or download appearing to hold slightly less than its labeled capacity.

Convert

bytes

Results

Display Size
1
Display Unit
MB
Kilobytes (KB)
1,024 KB
Megabytes (MB)
1 MB
Gigabytes (GB)
0 GB
How to Use This Calculator
  1. Enter the File Size (bytes) input — you can find this in the file properties on any operating system.
  2. The calculator instantly converts to Kilobytes (KB), Megabytes (MB), and Gigabytes (GB).
  3. The Display Size and Display Unit outputs together show the same byte count in whichever unit (bytes, KB, MB, GB, or TB) keeps the number most human-readable automatically.
  4. Use the MB or GB values when estimating download time or storage allocation requirements.
  5. For large datasets, the GB output helps you compare against drive capacities or cloud storage quotas.

How the result changes with File Size

File SizeDisplay SizeDisplay Unit
1,000,000,000,000931.32GB
3,500,000,000,0003.18TB
6,500,000,000,0005.91TB
9,000,000,000,0008.19TB

What each input means

File Size
File size in bytes.

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    File Size = 1048576 = 1 input(s) provided
  2. Calculate File Size
    File Size
    1 = 1
  3. Calculate Kilobytes
    Kilobytes
    1024 = 1024
  4. Calculate Megabytes
    Megabytes
    1 = 1

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

Frequently Asked Questions

Why do file sizes use 1,024 instead of 1,000 for each unit step?

Because binary computer memory is naturally organized in powers of two, and 1,024 (2 to the 10th power) is the power-of-two value closest to 1,000, making it a convenient near-match to the metric "kilo" prefix. That binary convention became standard for reporting file sizes even though storage capacity is often marketed using the cleaner 1,000-based metric convention instead.

Why does a hard drive sometimes show less capacity than its labeled size?

Drive manufacturers typically label capacity using the 1,000-based metric convention (a "1 TB" drive means 1,000,000,000,000 bytes), while operating systems usually display that same capacity using the 1,024-based binary convention. The drive isn't missing any actual storage -- the same byte count just reads as a smaller number once measured in 1,024-based units.

How much bigger is a gigabyte than a megabyte?

Exactly 1,024 times bigger in the binary convention this calculator uses -- one gigabyte equals 1,024 megabytes, the same way one megabyte equals 1,024 kilobytes. That consistent 1,024x step between each unit is what lets this calculator convert a single byte count into all four larger units at once.

Does converting a file size between units change the actual file?

No -- unit conversion only changes how the same quantity is displayed, not the file itself. A 5 MB photo and a 0.0049 GB photo (roughly) are the identical file with the identical byte count; only the label reading it in changes.

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

More in Technology & Computing.