File Size Converter

Convert file sizes between all byte units instantly: Bytes, KB, MB, GB, TB, PB (decimal SI) and KiB, MiB, GiB, TiB, PiB (binary IEC). Includes download time calculator and SI vs IEC explainer. Free, 100% client-side.

Download Time Calculator

Enter bandwidth to calculate

Typical File Sizes
File TypeApprox. SizeBytes
SMS / Short text~160 B160
MP3 song (3 min)~3 MB3,000,000
HD photo (JPEG)~5 MB5,000,000
10-min 1080p video~300 MB300,000,000
Full HD movie (H.264)~1.5 GB1,500,000,000
4K movie (HEVC)~25 GB25,000,000,000
Blu-ray disc (full)~50 GB50,000,000,000
Games (modern AAA)~70 GB70,000,000,000

Did we solve your problem today?

File Size Converter

Convert file sizes between all common units instantly — enter any value in Bytes, KB, MB, GB, TB or their binary equivalents (KiB, MiB, GiB, TiB) and all other units update in real time. All calculations run entirely in your browser — no data is sent to any server.

SI (Decimal) vs IEC (Binary) Units

The most common source of confusion with file sizes is the difference between decimal (SI) and binary (IEC) prefixes:

StandardPrefixFactorExample
Decimal (SI)kilo / mega / gigaPowers of 1,0001 GB = 1,000,000,000 B
Binary (IEC)kibi / mebi / gibiPowers of 1,0241 GiB = 1,073,741,824 B

Why does this matter? A “500 GB” hard drive uses the decimal standard, so it contains 500,000,000,000 bytes. But Windows (before Windows 10) would report this drive as ~465 GB because it used binary division — it was actually showing 465 GiB. The IEC introduced the KiB/MiB/GiB notation in 1998 to eliminate this ambiguity.

Bits vs Bytes

Network speeds are measured in bits per second (bps, Kbps, Mbps, Gbps), while file sizes use bytes:

This is why a “100 Mbps” plan downloads large files at roughly 12 MB/s, not 100 MB/s.

Download Time Formula

Download time (seconds) = File size (bytes) ÷ Bandwidth (bytes/second)

Where Bandwidth (bytes/s) = Mbps × 1,000,000 ÷ 8

Example: A 4K movie (25 GB) on a 500 Mbps connection:

Common Unit Conversions

FromToFormula
MB → GB÷ 1,0001500 MB = 1.5 GB
GB → MB× 1,0002.5 GB = 2,500 MB
MiB → GiB÷ 1,0241,536 MiB = 1.5 GiB
MB → MiB÷ 1.048576100 MB ≈ 95.37 MiB
GB → GiB÷ 1.0737418241 GB ≈ 0.9313 GiB
Mbit → MB÷ 8100 Mbit = 12.5 MB

Which Units Does My OS Use?

FAQ

What is the difference between MB and MiB?

MB (megabyte) uses the decimal SI standard: 1 MB = 1,000,000 bytes. MiB (mebibyte) uses the binary IEC standard: 1 MiB = 1,048,576 bytes (1024²). Hard drive manufacturers use decimal SI (so a "500 GB" drive is 500,000,000,000 bytes), while operating systems like Windows traditionally report storage in binary units (showing it as ~465 GiB). This tool supports both standards.

How do I convert MB to GB?

Divide megabytes by 1000 to get gigabytes (SI): 1500 MB ÷ 1000 = 1.5 GB. For binary units (MiB to GiB), divide by 1024: 1536 MiB ÷ 1024 = 1.5 GiB. Enter any value in the converter above and all units update simultaneously.

How is download time calculated?

Download time (seconds) = file size in bytes ÷ (bandwidth in Mbps × 125,000). Internet speed is measured in megabits per second (Mbps), while file sizes are in bytes — there are 8 bits in 1 byte, so 100 Mbps = 12.5 MB/s = 12,500,000 bytes/s. A 1 GB file at 100 Mbps takes about 80 seconds.

What are bits vs bytes?

1 byte = 8 bits. File sizes are measured in bytes (B, KB, MB, GB). Network speeds are measured in bits per second (kbps, Mbps, Gbps). When your ISP advertises "100 Mbps", that is megabits — divide by 8 to get the actual megabytes-per-second download speed (12.5 MB/s).

Which standard does Windows / macOS use?

Windows (up to Win 10) reports storage in binary units (GiB) but labels them "GB", causing confusion. macOS switched to decimal SI (GB) from OS X 10.6 Snow Leopard. Linux tools like `df` and `du` use binary by default unless the `-H` flag is added. This converter clearly labels SI (decimal) and IEC (binary) units separately.