Display the same bytes in two units

1 MB is 1,000,000 bytes; 1 MiB is 1,048,576 bytes. Dividing 15,000,000 bytes by each divisor gives 15 MB and about 14.31 MiB. Both numbers describe the same size.

15000000 / 1000000 = 15 MB
15000000 / 1048576 ≈ 14.31 MiB
Diagram expressing the same 15,000,000 bytes in MB and MiB
Original unit diagram. Both boxes describe the same byte count, not a before-and-after compression result. MiB is rounded to two decimal places.

NIST: binary prefixes

Check video estimates and upload limits

Moyoutil’s video estimate uses MB based on 1,000,000 bytes. For 60 seconds at a video bitrate of 3 Mbps with audio excluded, the calculation returns 22,500,000 bytes: 22.5 MB or about 21.46 MiB. With audio enabled, the function adds 128,000 bit/s and returns 23,460,000 bytes.

60 × 3000000 / 8 = 22500000 B
60 × (3000000 + 128000) / 8 = 23460000 B

MediaRecorder bitrates are encoder targets and may not be achieved exactly. Before relying on an upload limit, check the saved file’s actual byte count and the destination’s units. Moyoutil cannot produce an exact target size in MB.

W3C: MediaStream Recording, start()

Frequently Asked Questions

Does a larger MB number mean a larger file?

Not when the byte count is the same. Only the display unit changes in this example. Compare actual bytes using the same unit and the same file.