Understand file size units
An upload limit is expressed in MB but a file listing uses bytes.
How to do it
Use the file size calculator to compare units and check whether the service uses decimal or binary units.
Check your result
Remember that 1 MB is 1,000,000 bytes while 1 MiB is 1,048,576 bytes. Leave a margin below the stated limit.