Back to Digital & Tech

File Size Converter

Convert between bytes, KB, MB, GB, and TB using decimal or binary unit bases.

● Live Preview
Result
—
(base )
From 0
Base
B
KB
MB
GB
TB
base —
Input
0
Output
—

Input

Results

0 =—
Unit Base (decimal)

</> Formula

calculation
bytes = value × base^(fromExp) result = bytes ÷ base^(toExp) base = 1000 (decimal) or 1024 (binary)

Explanation

Click Explain for a plain English summary of how this works.

Common Examples

1 GB → MB
— MB
1024 MB → GB
— GB
500 MB → B
— B
2 TB → GB
— GB

FAQ

Why is my drive smaller than the box?▾

Manufacturers use decimal (base 1000); Windows and many tools use binary (base 1024). A '1 TB' drive shows ≈ 931 GiB.

Which base should I use?▾

Use 1024 for RAM, file managers on Windows/Linux, and software. Use 1000 for storage capacity quoted on packaging.