Skip to content
Pixora
VideoCompressionEmail

How to compress a video for email (under 25MB)

Email attachment limits are smaller than the number they advertise, and video is the one thing that blows past them instantly. Here is the math that lets you aim a clip at an exact size and land under it every time.

By Updated 20 July 20265 min read

Photos strain an email attachment; video breaks it outright. A single minute of phone footage can be 100MB or more, which is several times any provider limit before you have even added a subject line. The good news is that video compression is far more predictable than it looks — because file size is almost entirely a function of one number you can dial in directly.

This guide covers the real email limits, the one equation that lets you aim a clip at an exact size, and the order of operations that keeps it watchable while it shrinks. By the end you will be able to hand any video a size ceiling and land under it on the first try.

What is the real email size limit?

Every provider publishes a maximum, but the usable figure is smaller. Email cannot carry raw binary, so every attachment is re-encoded into text with Base64, which inflates it by roughly a third. A 25MB limit therefore holds only about 18MB of actual file, and the limit applies to the whole message, not each attachment.

Published attachment limits versus what actually fits.
ServiceStated limitReal usable file
Gmail25 MB (then Drive)About 18 MB
Outlook.com20 MBAbout 15 MB
Yahoo Mail25 MBAbout 18 MB
Typical corporate Exchange10 MBAbout 7 MB

How do you calculate the target bitrate?

Video file size is bitrate multiplied by duration. Bitrate is how many bits of data each second of video is allowed to use, so if you fix the length and the target size, the bitrate you can afford falls straight out of the arithmetic. Flip the equation around and you get the number to compress toward.

target size (MB) x 8192 = target size in kilobits
target kilobits / duration (s) = total bitrate (kbps)
total bitrate - audio bitrate = video bitrate

Example: 20 MB clip, 90 seconds long
20 x 8192          = 163,840 kilobits
163,840 / 90       = 1,820 kbps total
1,820 - 128 (audio) = ~1,690 kbps video

So a 90-second clip aimed at 20MB gets roughly 1,690 kbps of video plus 128 kbps of audio. That is a perfectly reasonable bitrate for 720p, which is why short clips compress for email so cleanly. The compress video to a target size tool runs this exact calculation for you — you type 20MB and it works out the bitrate and encodes to match.

Aim a video at an exact size

What if the bitrate is too low to watch?

The math has a floor. If your clip is long, dividing a fixed size across all those seconds leaves each one starved of bits, and the picture turns blocky. When the calculated video bitrate drops below about 800 kbps for 720p, the answer is not more compression — it is fewer pixels or fewer seconds.

  • Drop the resolution. Going from 1080p to 720p, or 720p to 480p, roughly halves the bitrate a frame needs to look clean. The resize video tool changes dimensions before you compress.
  • Trim the dead ends. Cutting a slow intro and a trailing pause with the trim video tool shortens the duration, which raises the bitrate every remaining second can use.
  • Lower the frame rate for screen recordings, where 30fps is often overkill and 15fps looks identical for a slide-based capture.

The general compress video tool lets you push quality manually when you want to feel out that floor by hand rather than pin an exact size.

Should you send the audio instead?

Sometimes the picture is not the point. If you are emailing a recorded meeting, a lecture, or a voice note, the video track is dead weight — nobody is watching the screen, they just need to hear it. Stripping the video out and sending an MP3 can turn a 200MB file into a two or three megabyte attachment that sails under every limit.

Use video to MP3 to pull the audio out, or the compress audio tool if the resulting MP3 is still larger than you want. For anything speech-based, this is almost always the better attachment.

There is a point where fighting the compressor is the wrong move. If a clip only fits under 20MB by looking terrible, do not ship the terrible version — put the original in cloud storage and paste a share link. It sidesteps every server limit, keeps full quality, and lets the recipient stream rather than download a heavy attachment onto a phone. Gmail already does this automatically above 25MB; there is no reason to wait for that threshold.

Frequently asked questions

Why did my 24MB video bounce on Gmail?

Base64 encoding inflated it past the real ceiling. The stated 25MB leaves room for only about 18MB of actual file, so anything above roughly 18 to 20MB risks rejection once the message is assembled with its headers.

What format should the video be in?

MP4 with H.264 video and AAC audio. It plays in every mail client and on every phone without a plugin, and it compresses efficiently. If your clip is a MOV or WebM, convert it to MP4 with the video converter before you attach it.

Is my video uploaded when I compress it here?

No. Every Pixora video tool runs on your own device using ffmpeg compiled to WebAssembly, so the file is read from your disk and processed in the browser. It only leaves your machine when you attach it to the email yourself.

How long does compressing a video take in a browser?

Longer than a desktop app, because the in-browser encoder is single-threaded. A short clip of a minute or two is quick; a long or high-resolution file can take several minutes. Trimming and resizing first keeps the wait short.