ForHosting KIT · Audio & Voice

Audio file size calculator

This audio file size calculator estimates how many megabytes a recording will occupy when you know its duration and target bitrate.

● BetaFree · in your browser
Use it from WebAPIEmailTelegramApp soon

Enter the duration in seconds and the bitrate in kilobits per second, and the calculator returns a decimal megabyte estimate. It is useful for planning podcast uploads, music libraries, voice recordings, streaming downloads, and storage budgets before an encoder produces the final file. The calculation is deterministic, immediate, and based on the payload rate rather than a particular audio codec or container.

Turn duration and bitrate into a practical size estimate

Compressed audio is commonly described by a bitrate such as 64, 128, 192, or 320 kilobits per second. That rate says how much encoded audio data is produced during every second of playback. To estimate the complete payload, this calculator multiplies the duration in seconds by the target bitrate in kilobits per second. It then converts bits to bytes and uses decimal megabytes, where one megabyte is 1,000,000 bytes. In compact form, the calculation is duration multiplied by bitrate, divided by 8,000. The result is returned as file_size_mb and rounded to no more than six decimal places for stable, readable output. Use the total running time of the exported recording, including intros, outros, silence, and any other audio that remains in the finished program. Use the actual encoder target rather than the bitrate of an unrelated source file. With those two values, the estimate offers a clear baseline for upload limits, download planning, and storage forecasts before encoding begins.

Understand what the estimate includes and excludes

The result represents the nominal encoded audio payload at a constant target bitrate. A real file can differ slightly because containers may add headers, tags, artwork, chapter data, indexes, padding, or other metadata. Variable-bitrate encoding can differ more because the encoder spends additional bits on complex passages and fewer bits on simpler passages; its advertised bitrate is usually an average target rather than an exact rate for every second. Codec efficiency does not change this arithmetic: at the same bitrate and duration, MP3, AAC, Opus, and other compressed formats produce approximately the same payload size, although they may deliver different perceived quality. Uncompressed PCM audio is better estimated from sample rate, bit depth, channel count, and duration, not from a compressed target bitrate. The calculator deliberately uses decimal MB, which is common for network transfers and storage advertising. An operating system that reports binary MiB may display a smaller number for the same byte count. Treat the answer as a planning estimate, not a byte-exact promise about the final container.

Choose inputs that match your publishing workflow

Start with duration measured in seconds. Convert minutes by multiplying by 60, and include partial minutes when accuracy matters. Then choose the bitrate configured in the encoder or publishing preset. A speech-only recording may use a lower bitrate than stereo music, while an archival master may use a very different uncompressed format that this calculator is not intended to model. The service rejects zero, negative, missing, nonnumeric, infinite, and otherwise invalid values because none describes a meaningful duration or bitrate. For batch planning, call the API once per candidate or compute several scenarios in your own workflow: for example, compare the same episode at multiple target bitrates, or multiply the per-file estimate by the expected number of releases. Each API request costs $0.002, while the browser experience can perform the same deterministic calculation locally. When a platform enforces a strict maximum upload size, leave a safety margin for metadata and encoder variation instead of selecting settings whose estimate lands exactly on the limit.

Plan podcast hosting storage

Estimate the size of each episode from its final running time and export bitrate before committing to a hosting or archive budget.

Check an upload limit

Compare a planned audio export with a platform limit early enough to adjust bitrate or duration while leaving room for metadata overhead.

Forecast offline downloads

Calculate an approximate download footprint for lessons, guided audio, music, or voice content distributed to mobile devices.

What formula does the calculator use?

It multiplies duration in seconds by bitrate in kilobits per second, then divides by 8,000 to return decimal megabytes.

Does the result include tags, cover art, and container overhead?

No. It estimates the encoded audio payload. Headers, tags, artwork, indexes, and padding can make the finished file slightly larger.

Can I use an average variable bitrate?

Yes, as an estimate. Enter the expected average bitrate, but allow extra margin because the encoder's actual average may differ.

Why does my operating system show a different size?

This calculator uses decimal MB. Some systems display binary MiB, and the real file may also contain metadata or encoding overhead.

Can I estimate WAV or other uncompressed PCM audio?

Only if you already know its complete bitrate. For PCM, a calculator based on sample rate, bit depth, and channel count is usually more appropriate.

What does an API request cost?

Each API request costs $0.002. The same deterministic estimate is also available in the browser experience.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/audio/bitrate-estimate

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/audio/bitrate-estimate \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"duration_seconds":180,"bitrate_kbps":320}'
{
  "duration_seconds": 180,
  "bitrate_kbps": 320
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "audio.bitrate_estimate",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

max_mb200
max_minutes180
HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Read the full KIT documentation →