Skip to content
ENExplore Calculators

Data Size Calculator

Free Data Size Calculator calculator with clear step-by-step results.

About Data Size Calculator

Converts a data quantity into bytes and back out in both the decimal units storage vendors use and the binary units operating systems report. The 7% gap between a gigabyte and a gibibyte is why a drive sold as 1 TB shows as roughly 931 GB once formatted.

Formulas

Decimal units

1 KB = 1,000 B, 1 MB = 10^6 B, 1 GB = 10^9 B

Binary units

1 GiB = 1,024^3 B = 1,073,741,824 B

Worked example

With the default values below, Data Size Calculator returns Bytes of 4,700,000,000. Change any input above and every figure here is recalculated in your browser.

Inputs used

Quantityminimum 0
4.7
Unitone of Bytes, Kilobytes (decimal, 1000), Megabytes (decimal), Gigabytes (decimal), Terabytes (decimal), Gibibytes (binary, 1024)
Gigabytes (decimal)

Results

Bytes
4,700,000,000 B
Megabytes (decimal)
4,700.0000 MB
Gibibytes (binary)
4.377216 GiB
Bits
37,600,000,000 b

Step by step

  1. 1Values used
  2. 2Decimal units
  3. 3Binary units
  4. 4Bytes= 4,700,000,000 B
  5. 5Megabytes (decimal)= 4,700.0000 MB
  6. 6Gibibytes (binary)= 4.377216 GiB
  7. 7Bits= 37,600,000,000 b

Assumptions and limits

  • The result is derived only from the 2 inputs listed above. Anything not among them is not part of the calculation.
  • In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
  • Figures are rounded for display to 6 decimal places, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.

How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.

Frequently Asked Questions

Why does my drive show less space than advertised?

Manufacturers count decimal gigabytes while most operating systems display binary gibibytes. A 1 TB drive is 10^12 bytes, which is 931 GiB - before filesystem overhead.

Are bits and bytes interchangeable?

No. Network speeds are quoted in bits per second and file sizes in bytes, a factor of eight apart. A 100 Mbps link transfers at most about 12.5 MB per second.

Data Size Calculator – Calculate Bytes & Megabytes (decimal)