The portal says maximum 25 MB. Your phone clip is 180 MB. Email caps out around 25 MB too, and a lot of forms are stricter. Video is a different animal from photos (the tricks that shrink an image barely touch a video), so it’s worth knowing what actually moves the number.
Why Videos Are So Big
A video’s size is roughly bitrate × duration. Bitrate is how much data each second of video uses, and it’s driven by resolution (4K vs 1080p), frame rate (60fps vs 30fps), and the codec doing the compressing. A 4K/60 clip from a modern phone burns through data fast, which is why a one-minute video can be well over 100 MB.
What Actually Shrinks It
- Lower the resolution. Dropping 4K to 1080p (or 1080p to 720p) is the biggest single lever, and for most uploads, 1080p is plenty.
- Lower the bitrate. Re-encoding at a lower target bitrate directly cuts size; too low and it gets blocky, so there’s a floor.
- Use an efficient codec. H.264 is universal; H.265 (HEVC) squeezes the same quality smaller, if the destination accepts it.
- Trim the length. The cheapest megabytes are the seconds you don’t need: cut dead air at the start and end.
Bitrate is the lever, and the arithmetic is simple
Almost everyone reaches for resolution first, but the number that actually determines file size is bitrate: how many bits the encoder spends per second of video. The relationship is close to exact:
file size (MB) ≈ bitrate (Mbps) × duration (seconds) ÷ 8
Run it backwards and you get the setting you actually need. For a 90-second clip that must land under 25 MB: 25 × 8 ÷ 90 ≈ 2.2 Mbps total. Leave a little headroom for audio and container overhead (call it 2.0 Mbps for video and 128 kbps for audio), and you will hit the target on the first try instead of exporting four times and guessing.
This is why trimming is the most underrated compression tool available. Size scales linearly with duration, so cutting a 90-second clip to 60 seconds removes a third of the file without touching quality anywhere.
Resolution and bitrate have to move together
Dropping 1080p to 720p removes about 55 percent of the pixels, which sounds decisive but changes nothing on its own: if the bitrate stays where it was, the file stays roughly the same size. What lower resolution actually buys you is the ability to lower the bitrate without the picture falling apart, because each remaining pixel gets a larger share of the budget.
The practical rule: if your target bitrate is forcing visible blocking and smearing at 1080p, step down to 720p and the same bitrate will look noticeably cleaner. Fewer pixels described well beat more pixels described badly. Frame rate works the same way: 60fps footage cut to 30fps halves the frames competing for the budget, which suits talking heads and screen recordings far better than it suits fast motion.
Codec choice is a compatibility bet
H.264 is the safe default. It is the least efficient of the modern options and it plays essentially everywhere, which is usually the trade you want when a portal is going to ingest the file.
H.265 (HEVC) reaches similar quality at roughly 25 to 50 percent lower bitrate, and AV1 does better still. The catch is support: some upload portals reject them outright, and some accept the file and then fail to transcode it, which is worse because you find out later. Unless you know the destination handles it, hitting your size target with H.264 and a lower bitrate is more reliable than hitting it with a newer codec.
If your encoder offers two-pass, use it when you have a hard ceiling. A single pass has to guess how to spend the budget as it goes; two passes analyse the footage first and then distribute bits toward the complex scenes, which is precisely the situation a fixed upload limit creates.
Free Tools
HandBrake (free, desktop) is the powerful option: it can re-encode to H.264/H.265 at a chosen resolution and quality. The catch: hitting an exact target size means guessing a bitrate, exporting, checking, and adjusting. QuickTime (Mac) can export at lower resolutions, and phone editors can trim and downscale. All of these work; they just take trial and error to land under a specific cap.
If you would rather not install anything
If you just want it under the limit without running the encode loop by hand, Video Under Size takes your clip and a target (say, 25 MB) and encodes an MP4/H.264 to fit. $1, no desktop software, no bitrate math. Agents can call the same operation over x402.
When You Shouldn’t Crush It
If the video is evidence, a demo where detail matters, or something a client will scrutinize, don’t nuke the quality to hit a tiny cap; trim length first, drop to 1080p, and only then lower bitrate. If you genuinely can’t hit the limit without ruining it, upload it to a link-sharing service and send the link instead.
When you are barely over the limit
A small overage does not need the full treatment. Trim a few seconds of dead air at the start or end (size scales linearly with duration, so this is the fastest win available), or drop a single resolution step. Either one usually closes a gap of a few megabytes without touching your bitrate settings at all.
On format, MP4 with H.264 is the answer unless you have a specific reason otherwise. It is universally accepted, which is worth more than the efficiency you give up. And the fear that compression will ruin the video is mostly misplaced: going 4K to 1080p and cutting dead time often gets you under a cap before quality degrades at all. Blocking and smearing come from aggressive bitrate cuts, not from sensible ones.
Start here
Video size is bitrate and duration: lower the resolution, trim the length, then encode to the number. Free tools like HandBrake can do it with some trial and error; when you just want it under a specific cap in one step, use the $1 video compressor, or browse the full $1 tools catalog.
