File Size Converter
Convert file sizes between bytes, KB, MB, GB, and TB using binary powers of 1024, with the equivalent value shown in every unit at once.
File Size Converter
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser — no data is sent to any server.
Formula: 1 KB = 1024 B | 1 MB = 1024 KB | 1 GB = 1024 MB | 1 TB = 1024 GB
Worked example — 4812.8 MB
Formula
1 KB = 1024 B | 1 MB = 1024 KB | 1 GB = 1024 MB | 1 TB = 1024 GB
Standard binary file size conversions using powers of 1024.
Worked Examples
Example 1: 4.7 GB
Problem:Convert 4.7 GB (DVD size)
Solution:4.7 × 1024 = 4812.8 MB
Result:4812.8 MB
Frequently Asked Questions
Why does my drive show less space than advertised?
Drive manufacturers use 1 GB = 1,000,000,000 bytes (SI), but your OS uses 1 GB = 1,073,741,824 bytes (binary). A 500 GB drive shows as ~465 GiB.
What is the difference between GB and GiB?
GB (gigabyte) uses the decimal system: 1 GB = 1,000,000,000 bytes. GiB (gibibyte) uses the binary system: 1 GiB = 1,073,741,824 bytes (2 to the 30th power). Hard drive makers use GB; operating systems historically used GiB but labelled them GB, causing the apparent discrepancy.
How large is a typical photo, video, or document file?
A smartphone JPEG photo is 2–8 MB. A 1-minute 1080p video is roughly 130–500 MB depending on codec. A Word document is typically 50 KB–5 MB. A 4K movie can be 50–100 GB. Knowing these sizes helps estimate storage needs for backups and cloud storage.
How many bytes are in a terabyte?
Using the binary standard (as operating systems show), 1 TB equals 1,099,511,627,776 bytes (2 to the 40th power). Using the decimal standard (as drive manufacturers advertise), 1 TB equals exactly 1,000,000,000,000 bytes. The 10% gap explains why a 1 TB drive shows about 931 GB in Windows or macOS.
Why does a small file take up more space on disk than its size?
Filesystems allocate in fixed-size clusters or blocks, commonly 4 KiB on NTFS and ext4, and a file always occupies a whole number of them. A 500-byte file therefore consumes 4,096 bytes and wastes the remaining 3,596 as slack space. That is why Windows reports both Size and Size on disk, and why a folder holding thousands of tiny files can occupy several times its nominal total. Larger cluster sizes speed up big sequential files at the cost of more waste on small ones.
How do bytes and bits differ when comparing a file size with a network speed?
This converter counts file storage in bytes, but network links are rated in bits per second, and eight bits make one byte, so the two figures never compare directly. A file of 1 gigabyte sent over a 100 megabit per second line is 8,000 megabits of payload and needs at least 80 seconds. Watch the capitalisation, since a capital B means bytes and a lowercase b means bits, and remember that real transfers lose a further slice to protocol headers and retransmissions.
What are the correct symbols for binary and decimal units?
IEC 60027-2 gives binary multiples their own names and symbols: KiB, MiB, GiB and TiB for kibibyte through tebibyte, each a power of 1024. The SI decimal forms are kB, MB, GB and TB, powers of 1000, and note that the SI prefix kilo takes a lowercase k, so the widespread KB is informal. Case separates the base unit too: capital B means byte and lowercase b means bit. Writing GiB when you mean 1,073,741,824 bytes removes the ambiguity entirely.
How much does Base64 encoding inflate a file?
Base64 packs every three bytes into four printable characters, so the encoded form is four thirds the original size, about 33 percent larger, plus one or two padding characters at the end and a little more again if line breaks are inserted. That overhead is the price of pushing binary data through text-only channels such as email attachments, data URIs in a stylesheet and JSON payloads. It is a good reason to link to an image rather than inline it once the file passes a few kilobytes.
Why does the same folder report a different size on two systems?
The divisor is the first cause: Windows divides by 1024 while still printing the label GB, whereas macOS has reported decimal gigabytes since Snow Leopard, so an identical folder reads about seven percent smaller on Windows. Beyond that, hard links and reflinks may be counted once or twice, sparse files can be reported by their logical length or by the blocks actually allocated, and transparent compression on NTFS or APFS shrinks the on-disk figure while leaving the logical size unchanged.
How do I estimate a video file size from its bitrate?
Multiply the bitrate by the running time and divide by eight to reach bytes. A one-hour recording at 10 Mbps is 10,000,000 bits per second times 3,600 seconds, which is 3.6 x 10^10 bits, or 4.5 x 10^9 bytes: 4.5 GB in decimal terms and about 4.19 GiB as an operating system would display it. Add the audio track bitrate the same way. Variable bitrate encodes only average their target, so treat the result as a planning figure rather than an exact one.
Background & Theory
History
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer · Editorial policy
Related Calculators
💾Data Size Converter
Convert between data sizes
🧮Git Repository Size Calculator
Estimate repository size growth based on commit frequency, file sizes, and branching strategy.
🧮Epoch Timestamp Converter Calculator
Calculate epoch timestamp converter with inputs, formulas, and instant results.
🧮Timezone Offset Converter Calculator
Calculate timezone offset converter with inputs, formulas, and instant results.
🧮Hex Binary Converter
Calculate hex binary converter with interactive inputs and clear steps.
🧮RGB to CMYK Converter
Calculate rgb to cmyk converter with interactive inputs and clear steps.