MP3 file size is driven mainly by bitrate and duration. For constant bitrate audio, multiply the bitrate in kbps by the running time in seconds, divide by eight to convert bits to bytes, then divide by 1000 to estimate decimal megabytes. The final file can be slightly larger because of headers, ID3 metadata, and embedded artwork.
The basic formula
Audio bitrate describes how many kilobits are used for each second of encoded sound. In this context, one kilobit is normally treated as 1000 bits. There are eight bits in a byte and 1,000,000 bytes in a decimal megabyte.
The compact formula is:
file size in MB ≈ bitrate in kbps × duration in seconds ÷ 8 ÷ 1000
For a 30 minute recording at 128 kbps:
- Convert 30 minutes to 1800 seconds.
- Multiply 128 by 1800 to get 230,400 kilobits.
- Divide by 8 to get 28,800 kilobytes.
- Divide by 1000 to get approximately 28.8 MB.
This estimate describes the encoded audio payload closely enough for storage planning. It is not a guarantee of the exact final byte count.
Common one hour estimates
| Bitrate | Calculation | Approximate decimal size |
|---|---|---|
| 64 kbps | 64 × 3600 ÷ 8 ÷ 1000 | 28.8 MB |
| 96 kbps | 96 × 3600 ÷ 8 ÷ 1000 | 43.2 MB |
| 128 kbps | 128 × 3600 ÷ 8 ÷ 1000 | 57.6 MB |
| 192 kbps | 192 × 3600 ÷ 8 ÷ 1000 | 86.4 MB |
| 256 kbps | 256 × 3600 ÷ 8 ÷ 1000 | 115.2 MB |
| 320 kbps | 320 × 3600 ÷ 8 ÷ 1000 | 144 MB |
The dedicated guide to one hour MP3 storage extends these figures to larger collections and device capacity.
MB and MiB are not the same unit
Storage vendors commonly use decimal units. One MB is 1,000,000 bytes. Operating systems may display binary units even when the interface labels them as MB. One mebibyte, written MiB, is 1,048,576 bytes.
The one hour 128 kbps example contains about 57,600,000 bytes before small overhead. Divide that by 1,048,576 and it is about 54.9 MiB. Nothing disappeared. The same byte count is being expressed with a different unit. To estimate MiB directly while treating kbps as decimal kilobits, use:
size in MiB ≈ bitrate in kbps × 1000 × seconds ÷ 8 ÷ 1,048,576
Constant and variable bitrate behave differently
A constant bitrate stream uses approximately the same number of bits per second throughout. Duration and the selected bitrate therefore predict size closely. Quiet speech and dense music at the same constant bitrate and duration have nearly the same audio payload size.
A variable bitrate encoder allocates more data to passages it considers difficult and less to simpler passages. The final size depends on the average bitrate achieved across the recording. Use the average bitrate in the formula when it is available. Two variable bitrate files with the same duration and quality setting can have different sizes.
The MDN audio codec guide documents the standard MP3 bitrate and sample-rate ranges and notes MP3 support for variable bitrate.
Metadata and artwork add overhead
ID3 text fields are usually small relative to the audio. Embedded artwork can be much larger. A 2 MB cover image added to a 28.8 MB spoken recording increases the final file by about seven percent. Repeating the same large image across 100 tracks adds roughly 200 MB to the library.
Headers and technical metadata also occupy space, though usually little enough that the simple formula remains useful. If exact capacity matters, inspect actual files produced with the intended settings and artwork policy.
Bitrate is not sample rate
Bitrate measures compressed data per second. Sample rate describes how often the original audio waveform is sampled per second, such as 44.1 kHz or 48 kHz. Bit depth describes resolution for each sample in uncompressed or production contexts. These values are related to digital audio quality but are not interchangeable.
For an MP3 file, output bitrate is the direct input to the simple size formula. Do not insert sample rate in place of bitrate. A 44.1 kHz file at 128 kbps and another at 192 kbps have different estimated sizes because their bitrates differ.
A high output bitrate cannot repair the source
Increasing bitrate gives an encoder more data for its representation, but it cannot recreate detail already removed from a lossy source. Transcoding an already compressed stream to 320 kbps can create a larger file without producing the quality of an original lossless recording.
Choose an output that suits the source, content, player, and listening conditions. The article comparing 128 kbps, 192 kbps, and 320 kbps MP3 explains the quality and storage tradeoff.
Estimate a file before processing it
For media you own or may use, identify the duration and intended bitrate before starting with the YTMP3 MP3 option. A ten minute file at 192 kbps is approximately:
192 × 600 ÷ 8 ÷ 1000 = 14.4 MB
A two hour file at the same bitrate is approximately:
192 × 7200 ÷ 8 ÷ 1000 = 172.8 MB
These calculations help determine whether the device has enough local space and whether a long download is practical on the current connection.
Plan for available space rather than advertised capacity
A phone advertised with a certain capacity has less space available after the operating system, applications, photos, caches, and existing media. Cloud storage can also reserve versions or trash. Check actual free space before planning a large library.
Leave room for temporary download data and normal device operation. A file may fail near completion when there is enough space for the final estimate but not enough for temporary processing or browser storage.
Scale the formula to a complete collection
For a group of files with the same duration and bitrate, calculate one file and multiply by the number of items. Twelve lessons of 45 minutes each at 128 kbps use approximately 43.2 MB per lesson, or 518.4 MB in total before overhead. At 192 kbps, the same twelve lessons use about 777.6 MB.
When durations differ, add the running times first. A collection containing 20, 35, and 65 minute recordings has 120 minutes, or 7200 seconds. At 96 kbps, its estimated payload is:
96 × 7200 ÷ 8 ÷ 1000 = 86.4 MB
For mixed bitrates, calculate each group separately and add the results. This avoids an inaccurate average when one bitrate applies to most of the running time. Keep artwork overhead separate because an image is usually added per file rather than per hour. A large number of short tracks can therefore carry more artwork overhead than one long recording with the same total duration.
Use the estimate responsibly
The formula answers a storage question, not a permission question. Only process recordings you created, material licensed for the intended use, or media you may use under applicable law. File size does not indicate ownership, legitimacy, or source quality.
For planning, treat the result as a baseline and add a small margin for metadata, artwork, unit differences, and variable bitrate behavior. For exact figures, check the finished file's byte size in the operating system. Apply the numbers with the guide to MP3 settings for music and spoken content. The complete guide to YouTube audio quality and MP3 files connects this calculation with source limits, format choice, playback, and library organization.