Video bitrate calculator

Video Bitrate Calculator

QUICK ANSWER

Work out bitrate, file size, or duration from the other two, with audio counted separately. Need a video under 25 MB or 100 MB? Target-size mode gives you the exact video bitrate to set and a ready-to-copy ffmpeg two-pass command. A bits-per-pixel check tells you whether that bitrate is enough for your resolution and frame rate.

  • Solve bitrate, size, or duration
  • Fit a video into a target size
  • ffmpeg two-pass command
  • Bits-per-pixel quality check
  • MB and MiB units explained
  • Shareable result link
Video bitrate calculator

Solve for bitrate, file size, or duration

What do you want to calculate?
kbps

0 means no audio track. 128 kbps AAC is a common stereo default.

File size
385 MB
367 MiB in binary units · 384,600,000 bytes

(5,000 + 128 kbps) × 1,000 × 600 s ÷ 8 = 384,600,000 bytes

Upload time for this file
5 Mbps upload10m 15s
20 Mbps upload2m 34s
100 Mbps upload31s
Footage per drive at 5.13 Mbps
1 GB26 min
64 GB27 h 44 min
256 GB110 h 56 min
1 TB433 h 21 min

Quality check: bits per pixel

5 Mbps of video at 1920 × 1080, 30 fps = 0.080 bits per pixel
Good. Typical web delivery quality. Text stays sharp, moderate motion holds up.
Suggested video bitrate at 1920 × 1080, 30 fps, H.264 / AVC
Lean1.87 Mbps to 3.73 Mbps
Good3.73 Mbps to 7.46 Mbps
High7.46 Mbps to 15.6 Mbps

A heuristic, not a standard: bands are bits per pixel per frame (Lean 0.03, Good 0.06, High 0.12, H.264 scale), with HEVC, VP9, and AV1 credited at 0.6×, 0.7×, and 0.5× the H.264 bitrate. Static screen content looks fine lower; grainy or fast-moving footage needs more.

Sizes use decimal units by default (1 MB = 1,000,000 bytes), the way bitrates and most upload limits are counted. Windows Explorer shows binary units (1 MiB = 1,048,576 bytes) but labels them "MB", so the same file looks about 4.6% smaller there at MB scale and 6.9% smaller at GB scale. Pick a MiB or GiB unit if you are matching a number you read in Windows.

Why this tool exists

  • Pure math in your browser. Nothing is uploaded.
  • No signup and no account needed.
  • Your inputs live in the page link, so you can share or bookmark a result.
60+ conversions and counting
Trusted by creators at startups, agencies, and Fortune 500 teams.
This tool is free to use, with no signup.

How to use the bitrate calculator

  1. 1

    Pick what you want to calculate

    Choose file size, bitrate, or duration. The calculator hides the field you are solving for and asks for the other two.

  2. 2

    Enter video and audio separately

    Video bitrate goes in kbps or Mbps, audio in kbps (0 for no audio). When you solve for bitrate, the audio is subtracted so you get the video number your encoder needs.

  3. 3

    Fitting a size limit? Use target mode

    Enter the limit (for example 25 MB) and the clip length. You get the video bitrate with a small safety margin, plus the two ffmpeg commands that hit it.

  4. 4

    Check the quality

    Set resolution, frame rate, and codec. The bits-per-pixel check says whether the bitrate is lean, good, or high for that picture size, and suggests a range.

YouTube recommended upload bitrates (SDR)

YouTube re-encodes everything you upload, so these are the bitrates it asks for in the source file, not what viewers stream. YouTube's recommended upload codec is H.264, and these are its SDR numbers. Source: YouTube Help, recommended upload encoding settings, as of October 2026. YouTube also recommends 128 kbps for mono and 384 kbps for stereo audio.

Resolution24, 25, 30 fps48, 50, 60 fps
2160p (4K)35 to 45 Mbps53 to 68 Mbps
1440p (2K)16 Mbps24 Mbps
1080p8 Mbps12 Mbps
720p5 Mbps7.5 Mbps
480p2.5 Mbps4 Mbps
360p1 Mbps1.5 Mbps

Twitch and OBS streaming bitrates

Live streams are limited by your upload speed and by what viewers can download, so they run far below upload-master bitrates. Twitch recommends constant bitrate (CBR), a 2-second keyframe interval, and AAC audio at up to 160 kbps. In OBS, set these under Settings, Output, Streaming. Source: Twitch Help, broadcasting guidelines, as of October 2026. Leave headroom: your upload speed should comfortably exceed the stream bitrate.

StreamVideo bitrate
1080p, 60 fps6,000 kbps
1080p, 30 fps4,500 kbps
720p, 60 fps4,500 kbps
720p, 30 fps3,000 kbps

Working to an upload size limit

Gmail allows 25 MB of attachments per message and offers a Google Drive link above that. Chat apps and forums set their own caps, which change by plan and over time, so check the current number and pick it from the target size chips or type it in. Since some services count megabytes in binary, a 2% margin plus a decimal MB target keeps you safely under either reading.

When the bitrate that fits is too low to look good, change the picture rather than starving the encoder. Lower the resolution with the video resizer, cut the clip with trim video, or shrink an existing file with the video compressor. If you are still planning a screen recording, the recording size calculator estimates the file from Clipy's recorder presets before you hit record.

Or skip the size limit entirely

For screen recordings, the simplest way around an attachment cap is not to attach anything. Record with Clipy and share a link: the recording uploads as you record, viewers stream it in the browser, and coding agents like Claude Code can read its transcript and key moments from the same link.

The formula: size = bitrate × duration ÷ 8

Bitrate is measured in bits per second, file size in bytes, and a byte is 8 bits. So a file's size is its total bitrate (video plus audio) multiplied by its length in seconds, divided by 8. A 10-minute video at 5 Mbps total is 5,000,000 × 600 ÷ 8 = 375,000,000 bytes, or 375 MB. Turn the formula around and you get the other two: bitrate = size × 8 ÷ duration, and duration = size × 8 ÷ bitrate. Bitrates use decimal prefixes everywhere (1 kbps = 1,000 bits per second, 1 Mbps = 1,000,000). File sizes are the confusing part: macOS Finder counts 1 MB as 1,000,000 bytes, while Windows Explorer counts 1,048,576 bytes and still writes MB. The calculator lets you pick either, and labels the binary ones MiB and GiB so the difference stays visible.

CBR, VBR, and CRF: why the formula gives an average

Constant bitrate (CBR) holds the rate steady, so file size follows the formula closely. Live streaming uses it because the network needs a predictable rate; Twitch recommends CBR for that reason. Variable bitrate (VBR) lets the rate swing: more bits for busy scenes, fewer for static ones, with the same average. Constant rate factor (CRF, in x264 and x265) targets a quality level instead of a bitrate, so the file size is unknown until the encode finishes. That is why a calculator is exact for CBR and for the average of a VBR encode, and only a ballpark for CRF. If you need to land under a size, use a bitrate-targeted encode, ideally two-pass.

Why two-pass encoding hits a target size

In a single pass the encoder decides how many bits each frame gets without knowing what is coming next, so it either overshoots or plays it safe and wastes the budget. A two-pass encode first analyses the whole video and writes a stats log, then encodes for real using that log. Because it knows where the hard scenes are, it can spend the exact average bitrate you asked for and put the bits where they matter. The output usually lands within a percent or two of the predicted size. The remaining gap is container overhead (the MP4 or WebM index, timestamps, and headers) plus small rate-control drift. That is what the safety margin in target mode covers. 2% suits typical MP4s; very short clips have proportionally more overhead, so give them more room.

Picking a bitrate for your resolution

Bits per pixel (bpp) is the video bitrate divided by width × height × frames per second. It puts a 720p30 and a 4K60 encode on the same scale, which makes it a useful sanity check. As a rough H.264 guide, around 0.03 to 0.06 bpp is lean but workable for screen recordings and live streams, 0.06 to 0.12 is solid web quality, and above 0.12 is upload-master territory. HEVC, VP9, and AV1 reach similar quality with fewer bits, so the calculator credits them accordingly. Treat these bands as a starting point. A slide deck with a moving cursor compresses far better than handheld footage with film grain, so screen recordings can sit at the low end and still look sharp.

Common questions

How do I calculate video file size from bitrate?

Add the video and audio bitrates, multiply by the duration in seconds, and divide by 8 to get bytes. For example, 4,872 kbps video plus 128 kbps audio is 5,000 kbps. Over 600 seconds that is 5,000,000 × 600 ÷ 8 = 375,000,000 bytes, which is 375 MB (about 357.6 MiB).

What bitrate do I need to fit a video under 25 MB?

Divide 25 MB (200,000,000 bits) by the duration in seconds, take off a couple of percent for overhead, then subtract the audio bitrate. A 12-minute clip with 64 kbps audio gets about 208 kbps of video, which is very little, so downscale it to 480p or lower. A 2-minute clip gets about 1.5 Mbps, which is fine for 720p. Target mode does this math and writes the ffmpeg command for you.

Is Mbps the same as MB/s?

No. Mbps is megabits per second and MB/s is megabytes per second. One byte is 8 bits, so 8 Mbps equals 1 MB/s. Video bitrates and internet speeds are quoted in Mbps; file sizes and disk speeds are usually quoted in MB or MB/s.

Why is my exported file a different size than the calculator says?

Most exports use VBR or CRF, so the real average bitrate depends on how much motion and detail the video has. Container overhead adds a little, and an audio track you forgot to count adds more. Finally, check whether you are reading the size in MB or MiB: Windows shows binary units, which look about 5% smaller at MB scale.

What bitrate should I use for 1080p?

It depends on where the video goes. YouTube's upload guidance for 1080p SDR is 8 Mbps at 24 to 30 fps and 12 Mbps at 48 to 60 fps. Twitch's broadcasting guidelines suggest 4,500 kbps for 1080p30 and 6,000 kbps for 1080p60 live streams. For screen recordings shared as files, 2 to 5 Mbps with H.264 is usually plenty because most of the screen does not move.

Does a higher frame rate need double the bitrate?

Not quite. Modern codecs store most frames as changes from nearby frames, and at 60 fps consecutive frames are more similar. That is why YouTube's high-frame-rate recommendations are about 1.5 times its standard-frame-rate ones rather than double. Bits per pixel will look lower at 60 fps for the same quality, so read the bpp bands with that in mind.

Which codec gives the smallest file at the same quality?

Roughly, AV1 is the most efficient, then HEVC (H.265) and VP9, then H.264. The calculator credits AV1 at about half the H.264 bitrate, HEVC at about 0.6 times, and VP9 at about 0.7 times. Those are rough rules of thumb that vary by encoder and settings. H.264 still plays on the most devices and editors.

What does the safety margin in target mode do?

It reserves a small slice of the target size for things the bitrate does not count: the container's index and headers, and the encoder landing a little above or below the requested average. With 2%, a 25 MB target is planned as 24.5 MB of audio and video, so the finished file should come in under the limit.

How much video fits on a 64 GB card?

Use the duration mode: enter 64 GB as the file size and your bitrate. At 50 Mbps total, 64 GB holds about 2 hours 50 minutes; at 100 Mbps it holds about half that. The calculator also lists how much footage fits on 1 GB, 64 GB, 256 GB, and 1 TB at the current bitrate.

Tool not working the way you expect?

Tell us what broke. We resolve every report within 24 hours.

Send feedback →

More free tools

Recording size calculator
Estimate file size and upload time before you record, by resolution, codec, and quality.
Video compressor
Shrink a video for Slack, email, or cheaper hosting.
Compress audio
Shrink an audio file for email or Discord. Pick a bitrate, get a lighter MP3.
Resize video
Resize for YouTube, TikTok, or square. Letterbox or center-crop.
Frame rate converter
Change video fps from 12 to 120 without changing speed. Drop, blend, or interpolate frames.
Trim video
Cut a video into clips. Multiple ranges in one go.
LinkedIn video size
LinkedIn video specs for posts and ads, plus a resizer for 16:9, 1:1, 4:5, and 9:16.
Aspect ratio converter
Reframe video to 9:16, 1:1, 4:5, or 16:9. Crop to fill or fit with bars.
Webcam Recorder
Record webcam clips with MP4 export, captions, teleprompter, and trim.
Voice Recorder
Record audio in your browser with live levels, multiple takes, and trim, then save WAV, MP3, or M4A. No upload.
Screen and Webcam Recorder
Record your screen with your camera in the corner, in one file.
Bug Report Recorder
Record a UI bug and give your coding agent the reproduction context.
Code Walkthrough Recorder
Explain a change out loud and hand over something an agent can read.
PPI Calculator
Pixel density, dot pitch, screen size, and Retina distance for any display, plus Mac and Windows scaling.
Screen Recording Checker
Diagnose a broken recording: container, codecs, duration, and playback compatibility.
Recording Readiness Test
Check mic, camera, speakers, and screen-share support before you hit record.
Speaker Test
Stereo left/right speaker and headphone check in your browser.

See all free tools.

Doing this for an AI workflow?

Clipy recordings are agent-readable out of the box. One link carries the video, keyframes, and transcript.

Clipy for AI agents