How to compress a video to a specific size
- Drop your video onto the box above, or click it to choose one. MP4, MOV, WebM and MKV all work, including videos straight from an iPhone or Android phone.
- Choose the size the video must fit: 10 MB, 20 MB for Discord, 25 MB for email, 50 MB, 100 MB, or type your own.
- Check the plan under the video details. It shows the resolution and bitrate the tool will use to hit your size.
- Click Compress video and keep the tab open while it works. A progress bar shows how far along it is.
- Play the result to check it, then click Download compressed video.
The whole process runs inside your browser. Your video is never uploaded to a server, so private clips stay private and there is no upload wait, no file size limit set by a website, and no watermark.
How the tool hits an exact file size
A video's file size is almost entirely its bitrate multiplied by its length. A 60-second video at 2.5 megabits per second (Mbps) is about 2.5 × 60 ÷ 8 ≈ 19 MB.
So instead of guessing a quality setting, the tool works backwards from the size you need:
- It divides your target size by the video's length to get the total bitrate available.
- It reserves a small share for the sound (48 to 128 kbps depending on how much room there is) and about 4% for the file's own structure.
- It gives the rest to the picture, and picks the highest resolution that still looks clean at that bitrate. Squeezing a 4K picture into a few hundred kilobits per second looks blocky; the same bits at 720p or 480p look sharp.
- If the finished file still comes out slightly too large, which can happen with very busy footage, it compresses again a little harder, automatically.
The result is an MP4 file using H.264 video and AAC sound, the combination that plays on practically every phone, computer, website and messaging app.
How long can a video be for a given size?
The longer the video, the fewer bits each second gets. As a rough guide, with sound included:
- 10 MB: about 30 seconds at 720p, or around 2 minutes at 360p.
- 20 MB: about 1 minute at 720p, or 4 minutes at 360p.
- 25 MB: about 75 seconds at 720p, or 5 minutes at 360p.
- 50 MB: about 2.5 minutes at 720p, or 2 minutes at 1080p.
- 100 MB: about 5 minutes at 720p, or 4 minutes at 1080p.
If a video is too long to look good at the size you need, the tool tells you how much would fit. Removing the sound frees up 64 to 128 kbps, which helps most with short clips. Trimming the video to the part that matters is often the best fix of all.
Tips for better-looking results
- Remove the sound if you do not need it. Screen recordings, product clips and silent b-roll gain picture quality for free.
- Lower the resolution for long videos. If text or faces look smeared, set Max resolution to 720p or 480p. Fewer pixels with more bits each almost always looks better than many starved pixels.
- Start from the original file. A video that has already been compressed by a messaging app loses more quality each time it is compressed again.
- Use a computer for long 4K videos. Phones can compress video too, but long, high-resolution clips take much longer and need more memory.
Frequently asked questions
Is my video uploaded anywhere?
No. The video is decoded and encoded by your own browser using its built-in video engine (WebCodecs). Nothing is sent to QuickToolsBox or anyone else, which also means there is no upload size limit.
Why does my browser say it cannot compress video?
The tool needs the WebCodecs video encoder, which is built into current versions of Chrome, Edge, Safari and Firefox. Update your browser, or try another one. Very old phones and some in-app browsers do not support it.
Will compressing reduce the quality?
Some quality is always traded for size, but the tool keeps it as high as the size allows by choosing a sensible resolution. Short videos and generous sizes usually look almost identical to the original.
Why is the result smaller than the size I chose?
The tool aims slightly under the limit so the file is never rejected for being a few kilobytes too big. If the original video was already well under the target, it uses at most the bitrate the video can actually use.
How long does it take?
It depends on the video's length and resolution and on your device. A one-minute 1080p phone video usually takes well under a minute on a recent computer, often faster than uploading it to an online compressor would.
Can I compress a video for Discord or email?
Yes. Choose 20 MB · Discord for a free Discord account, or 25 MB · Email for Gmail attachments. See the dedicated Discord video compressor and compress video to 25 MB pages for the exact limits.