File Size Converter
Type a size like 1.5 GB or 700 MiB and see it in every unit, both decimal (SI) and binary (IEC).
Processed locally in your browser/ Your data stays in your browser.
What is File Size Converter?
Storage sizes come in two families. SI units count in powers of 1000 (1 KB = 1,000 bytes, 1 MB = 1,000,000 bytes) and are used by drive makers and network speeds; IEC units count in powers of 1024 (1 KiB = 1,024 bytes, 1 MiB = 1,048,576 bytes) and match what many operating systems really allocate. That is why a "500 GB" disk shows about 465 GiB.
This converter parses a number with an optional unit (B, KB, MB, GB, TB, PB, KiB, MiB, GiB, TiB… also bits such as Mb, and the French o/Ko/Mo/Go), then prints bytes, bits and the value in every SI and IEC unit. Calculations use exact BigInt fractions, so even absurdly large numbers keep every digit.
How does it work?
- Enter one size per line, such as 1.5 GB, 500 MiB or 2048 (bare numbers use the unit you choose).
- Choose the unit for bare numbers if needed.
- Read the table of SI and IEC values, plus the best-fit unit for each family.
- With several lines you get a comparison table; invalid lines are reported without stopping the rest.
Common use cases
- Understanding why a drive advertised in GB shows less space in the operating system.
- Converting an upload limit from MB to bytes for a server configuration.
- Comparing a bandwidth in megabits per second with a file size in megabytes.
- Estimating how many MiB a given number of bytes takes when writing docs or quotas.
Examples
Try this input in the tool above:
1.5 GB
1.5 GB = 1.4 GiB
Privacy
File Size Converter runs entirely in your browser. The text or files you provide are processed on your device and are not uploaded, logged or stored on our servers.
Limitations
The unit "Mb" (megabit) is distinguished from "MB" (megabyte) by letter case; lowercase "mb" is read as megabytes. Displayed decimals are rounded, while the byte count stays exact.
Frequently asked questions
What is the difference between MB and MiB?
A megabyte (MB) is 1,000,000 bytes; a mebibyte (MiB) is 1,048,576 bytes (1024²). The gap grows with size: about 7% at GB level.
Why does my 1 TB disk show 931 GB?
The maker counts 1 TB = 10¹² bytes, while the operating system reports in binary units, where that is about 931 GiB.
How many bits are in a byte here?
Eight. 1 byte = 8 bits, so 1 MB (SI) = 8,000,000 bits, and a 100 Mb/s link moves 12.5 MB (SI) per second at best.
Related tools
File Inspector
Drop a file to see what it really is: detected type, size, checksums, header bytes and warnings when the extension lies.
File Tools
Base Converter (Base 2 to 36)
Type a number, pick its base and the base you want, and get an exact result with a quick view in binary, octal, decimal, hexadecimal and base 36.
Developer Tools
Duration Converter
Type a duration in whatever style you have and see it in every unit, as an ISO 8601 duration and as a readable sentence.
Date & Time
File to Base64 Converter
Drop a file and get its Base64 string or a data: URL you can paste into HTML, CSS, JSON or an API request.
File Tools
Hex Viewer
Drop a file to see its raw bytes in the familiar offset | hex | ASCII layout, plus its detected type and size.
File Tools
Decimal to Hex Converter
Turn decimal integers into hexadecimal, with byte grouping, a 0x prefix and fixed-width two’s complement for negative values.
Developer Tools