Free File Size Converter
Convert between Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, and Petabytes instantly. Uses the standard binary (1024) system for accurate conversions.
Last Updated: 15 Jan 2026
1 KB = 1024 Bytes • 1 MB = 1024 KB • 1 GB = 1024 MB
Understanding Binary vs. Decimal File Sizes
One of the most confusing aspects of computing is file size measurement. This tool uses the Binary (IEC) standard, which is what your operating system (Windows, Linux, macOS) uses for displaying file sizes.
Drive manufacturers often use the Decimal (SI) standard where 1 KB = 1000 Bytes, which is why a 1 TB hard drive appears as only ~931 GB on your computer. This discrepancy is normal and expected.
File Size Unit Reference
Binary System (IEC)
Used by operating systems. Each unit is 1024 times the previous unit. This is what you see when viewing files on your computer.
- • 1 KB = 1,024 Bytes
- • 1 MB = 1,024 KB
- • 1 GB = 1,024 MB
Decimal System (SI)
Used by hard drive manufacturers. Each unit is 1000 times the previous unit. This is what's advertised on drive packaging.
- • 1 KB = 1,000 Bytes
- • 1 MB = 1,000 KB
- • 1 GB = 1,000 MB
Note on Terminology
Technically, units based on 1024 should be called Kibibyte (KiB), Mebibyte (MiB), etc. However, historically and in common usage—especially in Windows—they are referred to as KB, MB, and GB. This tool follows the common usage convention (1024 base) labeled as standard units.
Common File Size Examples
Frequently Asked Questions
What is the difference between binary and decimal file sizes?
Binary (IEC) uses base 1024 (1 KB = 1024 Bytes), which is what operating systems use. Decimal (SI) uses base 1000 (1 KB = 1000 Bytes), which hard drive manufacturers use. This is why a 1 TB drive shows as ~931 GB on your computer. Our converter uses the binary standard.
How do I convert MB to GB?
To convert Megabytes to Gigabytes, divide by 1024. For example, 2048 MB = 2 GB (2048 ÷ 1024 = 2). Our converter does this automatically when you enter a value and select the unit.
What is a Petabyte?
A Petabyte (PB) is 1,024 Terabytes or 1,125,899,906,842,624 Bytes. It's used for measuring extremely large data storage, such as data centers, cloud storage, and big data analytics.
Why does my hard drive show less space than advertised?
Hard drive manufacturers use decimal (base 1000) while operating systems use binary (base 1024). A 1 TB drive (1,000,000,000,000 bytes) appears as ~931 GB (931,322,574,615 bytes) in your OS because 1 GB = 1,073,741,824 bytes in binary.
Is this file size converter accurate?
Yes, our file size converter uses precise binary conversion formulas (base 1024) matching how operating systems calculate file sizes. All conversions are accurate and follow the IEC binary standard.
Can I convert Petabytes to Bytes?
Yes, our converter supports all conversions from Bytes to Petabytes. Simply enter your value, select the source unit, and instantly see the equivalent in all other units including Bytes.
Related Tools
Explore more tools in this category
Unit Converter
Convert length, weight, volume, etc.
Time Zone Converter
Check time across the globe.
Date Calculator
Calculate days between dates.
Age Calculator
Calculate exact age from birthdate.
Roman Numeral Converter
Convert numbers to/from Roman numerals.
Number to Words Converter
Convert numbers into text.
Popular Tools
Most used tools across all categories
Word Counter
Text Content ToolsCount words, characters, and lines.
ROI Calculator
Calculators Financial ToolsCalculate return on investment.
JSON Formatter
Code Developer ToolsPrettify and validate JSON data.
Password Generator
Password Security ToolsCreate secure passwords.
QR Code Generator
Qr Barcode ToolsCreate text or URL QR codes.
Image Compressor
Image Design ToolsReduce image size without quality loss.
Need More Converters & Utilities?
Explore our complete collection of free converters & utilities. All tools are 100% free, require no sign-up, and work instantly in your browser.
