Skip to content
ClipTools
Utilities

Video Bitrate Calculator

Find the exact bitrate for any target file size and duration

Share this tool

100% private. Your file is processed locally in your browser with WebAssembly — it is never uploaded to a server, stored, or seen by anyone.

Rate this tool

Used it? Tap a star — your rating helps others find tools that work.

No ratings yet — be the first to rate it.

The Video Bitrate Calculator works out the exact target bitrate you need to hit a desired file size for a given video duration, using the formula bitrate (kbps) = file size (kilobits) / duration (seconds). Enter your target size and runtime to get the total bitrate, or work backwards to estimate how large a file a chosen bitrate will produce. It also lets you subtract an audio bitrate to isolate the video-only bitrate you should pass to an encoder like x264, x265, or VP9.

Everything is calculated instantly in your browser with plain JavaScript, so there is no file to upload, no waiting, and nothing leaves your device. Because it is pure math rather than video processing, no ffmpeg.wasm or WebAssembly encoding is involved and the result is exact, not an estimate from a sample. It is built for video editors, YouTubers, and developers who need to fit a clip under a hard size cap such as Discord, email, or a platform upload limit.

Why use this tool

Hit hard size caps precisely

Work backwards from a fixed limit like Discord's 25 MB, an email attachment ceiling, or a course-platform upload cap to the exact bitrate that fits, instead of guessing and re-exporting.

Separates video and audio bitrate

Automatically subtracts your audio bitrate from the total budget so the video bitrate you copy into the encoder is correct, the single most common cause of oversized exports.

Works in both directions

Calculate bitrate from a target size, or flip it to predict the output file size from a chosen bitrate and duration for planning storage and uploads.

Instant, private, and offline-capable

Pure browser-side math means results are immediate, no file ever leaves your device, and the calculator keeps working with no internet connection once loaded.

How to use the Video Bitrate Calculator

  1. Choose your direction

    Decide whether you want to find the bitrate from a target file size or estimate the file size from a known bitrate, and select that mode.

  2. Enter the duration

    Type your video length in hours, minutes, and seconds so the calculator can divide the size budget across the full runtime.

  3. Enter the size or bitrate

    Input your target file size in MB or GB (for example 25 MB for Discord) or, in reverse mode, the bitrate in kbps or Mbps.

  4. Set the audio bitrate

    Enter your audio bitrate, such as 128 or 192 kbps AAC, so the tool subtracts it and returns the video-only bitrate your encoder needs.

  5. Copy the result

    Read off the calculated video bitrate and paste it into your encoder, FFmpeg command, or export dialog, aiming slightly under the value to stay below a hard size cap.

Popular use cases

  • A creator needs to send a 4-minute gameplay clip on Discord's free 25 MB limit and uses the calculator to find the exact bitrate that keeps it just under the cap.
  • A YouTuber planning a 10-minute upload checks in reverse whether a 5 Mbps 1080p bitrate produces a file size their slow connection can upload in a reasonable time.
  • A developer writing an FFmpeg two-pass script computes the precise -b:v video bitrate for a fixed-size deliverable, subtracting the 128 kbps AAC audio track first.
  • An online course author compressing lessons to a strict per-file size budget estimates how many minutes of footage fit at a given bitrate before encoding the whole library.

Frequently asked questions

Is the bitrate calculator free to use?
Yes, the Video Bitrate Calculator on ClipTools.net is completely free with no signup, account, or payment required. There are no usage limits, watermarks, or paywalled features. You can run as many calculations as you want.
Are my files or data uploaded to a server?
Nothing is uploaded. This is a pure JavaScript calculator that only takes numbers (target size, duration, and audio bitrate) as input, never a video file. All math runs locally in your browser, so no data ever leaves your device and the tool even works offline once the page has loaded.
How do I calculate the bitrate for a target file size?
Bitrate in kilobits per second equals the target file size in kilobits divided by the duration in seconds. For example, a 25 MB target over 60 seconds is 25 x 8192 = 204,800 kilobits / 60 = roughly 3,413 kbps total. The calculator does this conversion automatically, including the 8x byte-to-bit step that most people forget.
Should I subtract the audio bitrate from the result?
Yes, if you set a separate audio bitrate. Encoders apply the video bitrate and audio bitrate independently, so the calculator subtracts your audio bitrate (for example 128 kbps AAC) from the total to give the video-only bitrate you pass to the encoder. Forgetting to do this is the most common reason an exported file overshoots its target size.
What units does the calculator support?
You can enter file size in MB or GB and bitrate in kbps or Mbps, and duration as hours, minutes, and seconds. It handles the unit conversions internally using 1 byte = 8 bits and 1 megabit = 1,000 kilobits, then shows the bitrate in your chosen unit so you can paste it straight into a command or export dialog.
Will the calculated bitrate guarantee an exact output file size?
It gives a very close target, but real encoders vary slightly because of container overhead, variable bitrate (VBR) fluctuation, and keyframe placement. To stay safely under a hard cap like Discord's 25 MB, aim a few percent below the calculated bitrate. Constant bitrate (CBR) or two-pass encoding tracks the target most precisely.
What is a good bitrate for 1080p or 4K video?
As a rough guide, YouTube recommends about 8 Mbps for 1080p at 30fps and 35-45 Mbps for 4K, while streaming-quality 1080p often sits around 5 Mbps. Higher frame rates and lots of motion need more. Use the calculator in reverse to check whether your size budget can actually fit a quality bitrate at your resolution.
Can I use this to estimate file size from a known bitrate?
Yes. Enter a bitrate and duration instead of a target size, and the calculator returns the resulting file size using size = bitrate x duration / 8. This is useful for predicting how big a recording or livestream capture will be before you start, or for checking storage needs for a batch of clips.