LocalExcelTool
Get started

Compress a video under 25 MB with bitrate math that actually works

Every upload limit — 25 MB for an email attachment, 10 MB in a chat app, 100 MB on a portal — is the same thing wearing a different number: a bitrate budget. Do the division once and you stop guessing which quality setting will fit.

Last verified 2026-11-24

The short answer

A 25 MB cap is a bitrate budget, not a magic setting: 25 MB works out to about 3.3 Mbps for a one-minute clip, audio included. At 720p and 30 fps this compressor uses 1.94 Mbps of video plus 128 kbps of AAC, so 25 MB holds roughly 1 minute 37 seconds at 720p, 3 minutes 22 seconds at 480p, or 5 minutes 40 seconds at 480p with strong compression.

A size limit is a bitrate budget

File size = bitrate × duration ÷ 8. Bits per second, times seconds, gives bits; divide by eight for bytes. That is the entire model, and it means a 25 MB cap is not a quality setting you can copy from a forum — it is a budget you divide by the length of your clip.

Clip lengthBitrate you can afford (video + audio)
30 seconds6.7 Mbps
1 minute3.3 Mbps
2 minutes1.7 Mbps
5 minutes0.67 Mbps
10 minutes0.33 Mbps
25 MB counted as 25,000,000 bytes, which is how upload dialogs count.

Two minutes at 1.7 Mbps is comfortable 720p. Ten minutes at 0.33 Mbps is not: at that budget you are looking at 360p with visible blocking, or you cut the clip. Deciding this before you encode saves three attempts and a lot of fan noise.

What this compressor actually does

It is not a quality slider. It re-encodes to H.264 at a fixed bits-per-pixel target per level — light 0.11, balanced 0.07, strong 0.04 — so the bitrate is width × height × fps × bpp, with a floor of 300 kbps and a ceiling of 16 Mbps. Audio is AAC at 128 kbps, or 96 kbps at the strong level, or removed entirely. Those constants give the whole table:

Resolution @ 30 fpsLightBalancedStrongPer minute (balanced)
1920 × 10806.84 Mbps4.35 Mbps2.49 Mbps33.6 MB
1280 × 7203.04 Mbps1.94 Mbps1.11 Mbps15.5 MB
854 × 4801.35 Mbps0.86 Mbps0.49 Mbps7.4 MB
Video bitrates; the per-minute column includes the 128 kbps audio track.

Now read it against a 25 MB limit. 720p balanced is 15.5 MB per minute, so 25 MB is about 1 minute 37 seconds. 480p balanced is 7.4 MB per minute — 3 minutes 22 seconds. 480p strong is 4.4 MB per minute, nearly 5 minutes 40 seconds. If the clip is longer than that, the honest options are to cut it, drop to 480p strong, or split it into parts.

Why a browser re-encode is slower, and why that is fine

Upload-based compressors answer in seconds because they hand your file to a server farm with spare CPUs. This one decodes and re-encodes every frame on your machine through WebCodecs: a two-minute 1080p clip takes a couple of minutes on a laptop and the fans will spin. In exchange, nothing is uploaded, there is no queue, no watermark, no daily quota, and it works on a plane.

The requirements are real, though: desktop Chrome, Edge or Opera 94+, an MP4/H.264 source (browsers cannot decode HEVC, so an iPhone HEVC clip has to be exported as H.264 first), up to 200 MB and 15 minutes. Safari and Firefox lack the encoder and will refuse.

The sequence that works

  1. Decide the budget first: 25 MB ÷ clip length. If the answer is below 1 Mbps, shorten the clip before encoding anything.
  2. Choose the file. Pick 720p for anything meant to be watched, 480p when the limit is tight.
  3. Pick a level: light when the source is already clean and short, balanced by default, strong when you need the last 40% of file size and can live with softness.
  4. Cap the frame rate at 24 or 30 unless there is real motion — 60 fps is where most oversized clips come from.
  5. Run it, then check the downloaded size against the limit and the picture against a pause on a detailed frame.

If the result is still too big

  • Re-encoding an already-compressed file does not always shrink it. A 700 kbps source pushed through at 1.94 Mbps comes out larger and softer. Check the output size, and if it grew, the source was already at the limit — cut it instead.
  • Cut first, then compress. The budget is per second, so removing 40 seconds is a bigger win than any setting. The trimmer cuts at any timestamp rather than snapping to keyframes, but it re-encodes too — two passes cost some sharpness, so stop as soon as the file fits.
  • Drop the audio. A silent MP4 saves 128 kbps, which is 5–15% of the total at these resolutions, and nobody misses it on a screen recording.
  • Join, then compress, when you are sending several short clips: one encode of the whole thing beats four separate encodes that each carry their own overhead.

Frequently asked questions

Why can I not just type 25 MB and let it work it out?

Hitting an exact size needs two passes: encode, measure, then re-encode at a corrected bitrate. On a device that is already the bottleneck that doubles the wait. Choosing resolution and level from the table gets you inside the limit in one pass, which is why the tool exposes those two controls instead of a target size.

What happens to the audio?

It is re-encoded to AAC at 128 kbps (96 kbps at the strong level), or removed completely if you choose a silent output.

What are the limits on Discord, WhatsApp, Gmail and so on?

They change, and the number in the upload dialog is the only authoritative one. Use the per-minute figures above: a 10 MB cap is about 40 seconds at 720p balanced, or 80 seconds at 480p balanced.

Can I compress a video on an iPhone or iPad?

Not with this tool. Safari does not expose the WebCodecs encoder, so the work has to happen on a desktop browser. Export the clip as H.264 MP4 from the phone first.

Does the video get uploaded?

No. Decoding, scaling and encoding all run locally; the 200 MB cap is your browser tab's memory budget, not a server limit.

Related guides