File Size Converter

Convert file and storage sizes between bytes, decimal units, and binary units without mixing up GB and GiB. Useful for downloads, SSD capacity, upload limits, and cloud storage plans.

Examples

See how a decimal-labeled download size compares with a binary storage reading.

Converted size
4.3772 GiB
Byte-base equivalent
4,700,000,000 B
Conversion path
\begin{aligned}\text{4.7 GB} &= \text{4700000000 B} \\ &= \text{4.3772 GiB}\end{aligned}

The result changes because decimal units count powers of 1000 bytes, while binary units count powers of 1024 bytes.

Was this useful?

Examples

How It Works

Formula

b=v×ffromb = v \times f_{\text{from}}

r=bftor = \dfrac{b}{f_{\text{to}}}

Variables

vv

Input value

bb

Equivalent size in bytes(B)

rr

Converted result in the target unit

ffromf_{\text{from}}

Bytes per source unit(B)

ftof_{\text{to}}

Bytes per target unit(B)

The calculator converts your entry into bytes first, then divides by the target unit factor. That keeps decimal SI units and binary IEC units aligned through the same base.

Reference factors used by the calculator (bytes per unit):

  • 1 B = 1 B
  • 1 KB = 1000 B
  • 1 MB = 1000² B
  • 1 GB = 1000³ B
  • 1 TB = 1000⁴ B
  • 1 PB = 1000⁵ B
  • 1 KiB = 1024 B
  • 1 MiB = 1024² B
  • 1 GiB = 1024³ B
  • 1 TiB = 1024⁴ B
  • 1 PiB = 1024⁵ B

The value is multiplied by the source factor to get bytes, then divided by the target factor to get the converted size.

Frequently Asked Questions

01Why is 1 GB not the same as 1 GiB?
Because GB is decimal and uses powers of 1000, while GiB is binary and uses powers of 1024. One GB is 1,000,000,000 bytes, but one GiB is 1,073,741,824 bytes.
02When should I use GB versus GiB?
Use the unit that matches the number you were given. Download pages and storage plans often use decimal GB, while operating systems and technical tools often show binary GiB.
03Why does this converter use bytes as the base?
Bytes are the shared anchor between decimal and binary storage units. Converting through bytes keeps every path consistent instead of relying on one-off shortcuts.
04Does this estimate usable storage on a phone or SSD?
No. It only converts units. It does not estimate filesystem overhead, reserved space, vendor-specific labeling, or what a device will show after setup.
05Can I use this for internet speed or transfer time?
No. This calculator is for file size and storage units only. Network speed and upload time calculations need separate bitrate and duration inputs.

All calculators