MP4 files get smaller by reducing either the video resolution, the frame rate, or the bitrate — the amount of data per second

An MP4 file is just a container holding video, audio, and sometimes subtitles. To shrink it, you have to remove or compress the actual content inside. The three levers that work are: lowering the resolution (720p instead of 1080p), dropping the frame rate (24 fps instead of 60 fps), or reducing the bitrate (the amount of data the video uses per second). Most tools let you adjust one or all three. The trade-off is always the same: smaller file means lower quality, and you cannot recover quality once it is gone.

The easiest path depends on what you are shrinking the file for. If you need it to fit on a phone or send over email, you can afford to lose some quality. If you are archiving it or sending it to someone who will edit it, you should lose as little as possible. The tool you choose matters less than understanding what settings to change and why.

Key Takeaways

  • Bitrate is the single most effective lever for shrinking MP4 files; lowering it from 5000 kbps to 2000 kbps cuts file size roughly in half with visible but often acceptable quality loss.
  • Free tools like HandBrake (Windows, Mac, Linux) and FFmpeg (command line) let you control resolution, frame rate, and bitrate; paid tools like Adobe Media Encoder offer the same controls with a different interface.
  • Exporting at 1080p 30fps with a 2000–3000 kbps bitrate produces a file roughly one-third the size of the original 1080p 60fps file with noticeable but watchable quality.
  • The original file is not changed during compression; the tool creates a new smaller file, so you can always keep the original and try different settings.
  • Codec choice (H.264 versus H.265) affects file size, but H.265 requires more processing power and is not supported on all devices, so H.264 is safer for most uses.

Understanding bitrate and why it matters most

Bitrate is measured in kilobits per second (kbps) and represents how much data the video uses every second. A 1080p video at 60 fps with a 5000 kbps bitrate uses 5000 kilobits of data per second. The same video at 2000 kbps uses 2000 kilobits per second — roughly 60 percent less data, and a file roughly 60 percent smaller.

The catch is that lower bitrate means the video compressor has to throw away more detail. At 5000 kbps, a 1080p video looks sharp. At 2000 kbps, the same video looks softer and may show visible blocks or color banding in areas of solid color or gradients. At 1000 kbps, the loss becomes obvious to anyone watching. The acceptable bitrate depends on what the video shows: a talking head can look fine at 2000 kbps, but a landscape or action scene needs higher bitrate to avoid visible artifacts.

Most compression tools let you set a target bitrate, and the tool will encode the video to hit that target. Some tools also offer a quality slider (often labeled 0–51 or similar) instead of a bitrate number; the tool then chooses the bitrate needed to hit that quality level. Quality sliders are easier to use but give you less control over the final file size.

How to compress MP4 files with HandBrake

HandBrake is free, runs on Windows, Mac, and Linux, and gives you full control over resolution, frame rate, and bitrate. read it from handbrake.fr. Open the program, click "Open Source" and select your MP4 file. The main window shows a preview and a list of settings on the right side.

To shrink the file, start with the "Video" tab. Under "Codec", select H.264 (the most compatible option). Under "Framerate", change it from "Same as source" to 30 if the original is 60 fps. Under "Quality", you have two choices: use the "Quality" slider (drag it left to lower quality and shrink the file) or set a target bitrate by clicking "Bitrate" and entering a number like 2000 or 3000 kbps. For most uses, a bitrate between 2000 and 4000 kbps is a good starting point.

Next, click the "Dimensions" tab. If the original is 1080p (1920 × 1080), you can lower it to 720p (1280 × 720) to cut the file size further. Leave "Keep Aspect Ratio" checked so the video does not stretch. Once you have set resolution, frame rate, and bitrate, click "Start Encode" at the top. HandBrake will create a new MP4 file in the folder you choose. The original file is untouched.

Using FFmpeg from the command line

FFmpeg is free and runs on Windows, Mac, and Linux, but it works from the command line rather than a graphical window. If you are comfortable typing commands, it is faster and more flexible than HandBrake. read it from ffmpeg.org and follow the installation instructions for your operating system.

A basic FFmpeg command to shrink an MP4 looks like this:

ffmpeg -i input.mp4 -c:v libx264 -b:v 2000k -r 30 output.mp4

This command takes input.mp4, encodes it with H.264 codec (-c:v libx264), sets the bitrate to 2000 kbps (-b:v 2000k), sets the frame rate to 30 fps (-r 30), and saves it as output.mp4. To also lower the resolution to 720p, add -vf scale=1280:720 before the output filename. FFmpeg will show you the progress as it encodes.

The advantage of FFmpeg is that you can batch-process multiple files by writing a script, and you have access to every encoding option. The disadvantage is that there is no preview and no graphical interface, so you have to know what settings to type.

Choosing resolution and frame rate

Resolution is the number of pixels in the video. A 1080p video is 1920 × 1080 pixels. A 720p video is 1280 × 720 pixels. Lowering resolution cuts file size significantly: a 1080p video at the same bitrate and frame rate as a 720p video will be roughly twice as large. The trade-off is that 720p looks noticeably softer on a large screen, though it is fine on a phone or tablet.

Frame rate is how many still images per second the video shows. Most videos are either 24 fps (film-like), 30 fps (standard broadcast), or 60 fps (smooth motion). Lowering frame rate from 60 to 30 cuts the file size roughly in half. The video will look less smooth, especially during fast motion or pans, but for talking heads or slow-moving content, 30 fps is acceptable. Do not go below 24 fps unless the video is a slideshow.

A practical starting point: if the original is 1080p 60fps, export at 1080p 30fps with a 3000 kbps bitrate. If you need it smaller, drop to 720p 30fps with 2000 kbps. Test the result on the device you will watch it on before deleting the original.

When to use H.265 codec instead of H.264

H.265 (also called HEVC) is a newer codec that produces smaller files than H.264 at the same quality. A file encoded in H.265 at 2000 kbps can look as good as an H.264 file at 3000 kbps. The catch is that H.265 takes much longer to encode (sometimes 2–3 times longer), and not all devices support it. Older phones, some streaming services, and many older computers cannot play H.265 files.

Use H.265 only if you know the device that will play the file supports it and you have time to wait for encoding. For most uses — sending files to others, uploading to social media, or storing on a phone — H.264 is safer because it works everywhere. Both HandBrake and FFmpeg support H.265; in HandBrake, select "H.265" from the Codec dropdown. In FFmpeg, use -c:v libx265 instead of libx264.

Comparing file sizes: what to expect

Original SettingsCompressed SettingsTypical Size ReductionQuality Loss
1080p 60fps 5000 kbps1080p 30fps 3000 kbps40–50%Slight softening, acceptable for most uses
1080p 60fps 5000 kbps720p 30fps 2000 kbps70–80%Noticeable resolution drop, fine on phones
1080p 60fps 5000 kbps1080p 30fps 2000 kbps55–65%Visible compression artifacts in high-motion scenes
4K 60fps 15000 kbps1080p 30fps 3000 kbps85–90%Significant drop, but 1080p is still high quality

These are rough estimates because the actual reduction depends on the video content. A video with lots of motion or fine detail compresses less efficiently than a talking head or static scene. Always test the compressed file before deleting the original.

Frequently Asked Questions

Can I compress an MP4 without losing quality?

No. Compression always removes data. You can minimize the loss by using a high bitrate (3000–5000 kbps) and keeping the original resolution and frame rate, but the file will still be smaller than the original because the compressor is discarding some information. If you need the original quality, keep the original file and make a compressed copy for sharing or storage.

How long does it take to compress a video?

It depends on the file size, the settings, and your computer. A 1 GB video might take 10–30 minutes to compress on a modern computer. Lowering the bitrate or resolution speeds up encoding. H.265 encoding is slower than H.264. You can usually close HandBrake or let FFmpeg run in the background while you do other work.

What bitrate should I use for uploading to YouTube or TikTok?

YouTube recommends 2500–4000 kbps for 1080p 30fps video. TikTok compresses videos heavily on its own servers, so anything between 1500–3000 kbps works. Both platforms re-encode your video anyway, so do not worry about being too aggressive with compression. Test one upload and see how it looks.

Will the compressed file play on my phone?

Almost certainly, if you use H.264 codec. H.264 is supported on every modern phone. H.265 is supported on newer phones (iPhone 7 and later, most Android phones from 2016 onward) but not all. If you are unsure, stick with H.264. The file size difference is not worth compatibility problems.

Can I undo compression if I do not like the result?

No. Compression removes data permanently. You cannot re-compress a compressed file and get back the original quality. Always keep the original file before compressing. If the compressed version does not look good, delete it and try again with different settings using the original.