Convert the size to bytes
Decimal units scale by powers of 1000. Binary units scale by powers of 1024. The input accepts up to 24 integer digits and 12 digits after the decimal.
Convert decimal and binary file sizes, estimate transfer times and compare the values in Three.js.
How to use
Input the dimensions, format, and quality of your file.
See the calculated file size in bytes, KB, MB, or GB.
Check how different formats affect the final file size.
The guide
Enter a nonnegative size and select its unit. Read its equivalent in bytes, decimal units and binary units, then compare ideal transfer times for eight network speeds. The conversion appears as a table and in Three.js.
A concrete input and expected output from the current implementation.
Input
Enter 1 with MiB as the input unit and inspect 1 Mbps.
Expected output
The result is 1048576 bytes, 1.048576 MB, and 8.388608 seconds at 1 Mbps.
The tool multiplies one MiB by 1024 squared, then converts bytes to bits and divides by one million bits per second.
Decimal units scale by powers of 1000. Binary units scale by powers of 1024. The input accepts up to 24 integer digits and 12 digits after the decimal.
The tool keeps its intermediate arithmetic in integers and rounds displayed fractions to 12 places. Values too small to round above zero are marked as less than the display resolution.
The transfer table multiplies bytes by eight and divides by the listed bits per second. Copy results includes both the size conversions and the ideal transfer times.
One MB is 1,000,000 bytes and one MiB is 1,048,576 bytes. Select the unit used by your source.
The estimates assume the full listed rate is available continuously. Protocol overhead, congestion and server limits can reduce actual throughput.
The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.
Sent. Thank you.