Compress video to 25 MB

Work out the bitrate that keeps your clip under 25 MB from the table below, enter it in the options and compress the video in the browser.

The short answer

There is no target-size setting, so the compressor cannot aim at exactly 25 MB. You get under 25 MB by choosing the bitrate yourself: file size is roughly bitrate × duration ÷ 8. The table below does that arithmetic for common clip lengths and keeps 10% in reserve. A clip of 5 minutes needs about 530 kbps of video to stay under 25 MB.

At this size, short clips can keep a high resolution and only long ones need a low one; the table shows where that line falls for each length. If a clip does not fit, trimming it with Trim start and Trim duration usually helps more than lowering the quality further.

Steps to get your video under the limit

  1. Upload your video

    Drop the file into the converter above, or click it to choose one. It accepts MP4, MOV, AVI, MKV, and WebM files.

  2. Choose the output format

    Pick the output on the file's row. MOV, AVI, MKV, and WebM files can be written as MP4; MP4 files can only be written as WebM. If Video codec lists H.264, choose it for MP4 output: it is the most widely supported video codec.

  3. Set the bitrate

    Open the file's options. Set Rate control to “bitrate”, then type the number from the table into Video bitrate. The control accepts 50 kbps and up. For a clip of 5 minutes under 25 MB, that is 530 kbps.

  4. Set the resolution

    Set Resolution to the value in the table; for that example, choose 360p (480×360). Leave Audio bitrate at 64 kbps or lower, because the table assumes that. If your clip is too long even for the last row, use Trim start and Trim duration to keep only the part you need.

  5. Compress, then check the size

    In the example, expect a file of roughly 22.3 MB. Start the compression and download the result. Check its size: if it is still over your limit, lower Video bitrate a little, lower Resolution or trim the clip, and run it again. NexMedia deletes the file after 2 hours.

Settings by length

Find your clip length in the first column. Each cell is the Video bitrate to enter and the Resolution to pick so the file stays under that size. The table assumes 64 kbps for the sound and keeps 10% of the cap in reserve.

Suggested video settings by clip length and size cap
LengthUnder 25 MB
30 seconds5,930 kbps, 1080p (1920×1080)
1 minute2,930 kbps, 720p (1280×720)
90 seconds1,930 kbps, 720p (1280×720)
2 minutes1,430 kbps, 480p (640×480)
3 minutes930 kbps, 480p (640×480)
5 minutes530 kbps, 360p (480×360)
10 minutes230 kbps, 240p (320×240)
15 minutes130 kbps, 240p (320×240)
30 minutesToo long: trim it

Worked example: file size ≈ bitrate × duration ÷ 8. For a clip of 5 minutes under 25 MB, the budget after the reserve is 600 kbps in total. Taking off 64 kbps for the sound leaves about 530 kbps for the video, which gives a file of roughly 22.3 MB.

The table counts one MB as 1,000,000 bytes, the smaller of the two common readings, so a file under the cap is under it either way. The encoder aims at the bitrate you set and the result can land slightly above or below it, which the reserve covers. The converter has no exact target-size setting.

What to expect from the quality

Compression is lossy: a lower bitrate and resolution mean less detail, and the loss shows first in fast motion, dark scenes and fine texture. The example above uses 530 kbps at 360p (480×360). The original cannot be recovered from the compressed file, so keep it. If a clip looks too soft, a shorter clip or a lower frame rate (Frame rate) leaves more bits for each frame.

About size limits

This page does not assume which service asked for 25 MB. Whatever the limit, aim a little under it: the table keeps 10% in reserve, and it counts a megabyte as 1,000,000 bytes, the smaller common reading.

Limits on NexMedia

NexMedia accepts uploads of up to 100 megabytes without an account, 500 megabytes with a free account and up to 100 gigabytes on paid plans. Guests can run 5 conversions a day and free accounts 25.

Compressed files are deleted after 2 hours.

See plans and limits

Questions and answers

Can the compressor hit an exact file size?

No. There is no target-size setting. You choose the bitrate, the encoder aims at it, and the size follows from bitrate × duration ÷ 8. That is why the table keeps 10% in reserve. If the first result is still too big, lower the bitrate or trim the clip and run it again. In the example, 5 minutes under 25 MB leaves a budget of 600 kbps in total.

Will the video look worse?

Yes, to some degree. A clip of 5 minutes under 25 MB needs about 530 kbps, and the compression is lossy: the smaller the cap for the length of the clip, the lower the bitrate and resolution have to be, and the more detail is lost. A short clip usually fits under a cap with less visible change than a long one squeezed under the same cap.

Which video format will I get?

MOV, AVI, MKV, and WebM files can be written as MP4; MP4 files can only be written as WebM. Check that the app or person you are sending it to can play the format you choose. If Video codec lists H.264, choose it for MP4 output: it is the most widely supported video codec.

How long can a video be and still fit under 25 MB?

That depends on the bitrate you can afford, and the table answers it row by row. For the clip of 5 minutes in the example, the budget is 600 kbps in total, which leaves 530 kbps for the video at 360p (480×360). A clip twice as long would have to halve that bitrate to stay under 25 MB, so for long clips lower the resolution first and trim second.

Related pages