Bitrate.

Video bitrate

Bitrate, duration, file size.

Three linked questions. How big the file will be. What bitrate fits the limit. What YouTube, Twitch, and X actually publish. Audio is in the total.

Elementary streamsbytes = (video bit/s + audio bit/s) × seconds ÷ 8

The same three numbers

Edit the bitrate or the file size. The other follows. Duration and audio stay in both.

Duration

Chips are published rates. Any other non-negative kbps value is fine to type.

Type a video bitrate. The file size is that bitrate plus audio, times the duration.

Units, and what the estimate leaves out

1 kbps = 1,000 bit/s. 1 Mbps = 1,000 kbps. That is the decimal kilo FFmpeg uses for a trailing k.

1 MB = 1,000,000 bytes. 1 MiB = 1,048,576 bytes. 1 GB = 1,000,000,000 bytes. 1 GiB = 1,073,741,824 bytes. Platforms that write “MB” or “GB” do not say which base they mean. Decimal is the smaller cap.

The estimate is video plus audio elementary streams. It does not add MP4, MOV, WebM, or MKV overhead. Two-pass -b:v targets the average video bitrate, not a hard file-size ceiling.

Two-pass FFmpeg

8 Mbps video · 128 kbps audio

Nothing is encoded in the browser. Pass 1 writes a stats log. Pass 2 writes the file at the video bitrate above. The pattern is FFmpeg’s -pass option (opens in a new tab): pass 1 can drop audio and write to null. HEVC sends the pass number and stats file through -x265-params, which the libx265 wrapper parses.

Shell for the null output


    

What the platforms publish

Figures checked 2026-11-08. Instagram, TikTok, and the file-size caps are limits. YouTube, Twitch, and the X table are recommendations. Each row links to the page.

Use a bitrate to send it to the calculator. Fit under a cap to solve the other way.

Published video bitrates and upload limits. Each row cites its source.
Platform Item Figure Detail

Notes

Sources