How to Compress a Video: Methods, Tools, and What Actually Affects File Size

Video files are among the largest you'll deal with on any device. A single minute of 4K footage can run several gigabytes, and even 1080p video adds up fast. Compression reduces that file size — but how you do it, and what tradeoffs you accept, depends heavily on what you're working with and what you need the video for.

What Video Compression Actually Does

Compression works by reducing the amount of data needed to represent a video. There are two broad types:

  • Lossless compression preserves every detail of the original file. File sizes shrink modestly — useful for archiving or editing workflows, but not practical for sharing or storage savings.
  • Lossy compression permanently discards data the encoder judges to be imperceptible or low-priority. This is what most people mean when they talk about compressing a video. File sizes can drop dramatically, but quality trades off against how aggressively you compress.

The engine doing this work is a codec — a compression/decompression algorithm. Common codecs include H.264 (widely compatible), H.265/HEVC (more efficient, smaller files at similar quality), AV1 (even more efficient, but slower to encode), and older formats like MPEG-4. The codec you choose affects both output quality and compatibility with devices and platforms.

The Main Variables That Determine File Size

Understanding compression means understanding the levers involved:

VariableWhat It Affects
Resolution4K vs. 1080p vs. 720p — a major driver of raw file size
BitrateData per second of video; lower bitrate = smaller file, more compression artifacts
Frame rate60fps vs. 30fps vs. 24fps — higher rates mean more data
CodecH.265 achieves roughly half the file size of H.264 at comparable quality
DurationLonger video = proportionally larger file
Content typeFast motion, complex scenes, and grain are harder to compress than static shots

Adjusting any of these — or combining changes across several — shapes the final file size and how the video looks.

Common Methods for Compressing a Video

On a Computer (Windows or macOS)

Desktop software gives you the most control. HandBrake is a free, widely used tool that lets you choose codec, resolution, bitrate, and output format. You can compress a single file or batch-process a folder.

The basic workflow is consistent across most desktop tools:

  1. Import the source video
  2. Choose an output format (MP4 with H.264 or H.265 is a safe default for compatibility)
  3. Adjust resolution and quality settings (many tools use a quality slider or a target bitrate)
  4. Export

Built-in options exist too. On macOS, QuickTime Player can export video at lower quality settings with a few clicks — less control, but faster. On Windows, the Photos app and Clipchamp (included in Windows 11) offer basic compression through their export settings.

On a Smartphone 📱

Mobile compression is more limited but increasingly capable. Both iOS and Android can reduce video resolution and quality when exporting through their native apps or third-party tools from the app store.

On iPhone, the Camera app lets you shoot at lower resolutions and frame rates in Settings, which reduces file size before you even capture. After the fact, apps like iMovie allow exporting at reduced quality. On Android, the options vary significantly by manufacturer and OS version.

For quick sharing, many social platforms compress video automatically on upload — which is compression, but the platform controls how aggressively it's applied.

Online Tools

Browser-based compressors (like Clideo, Compress2Go, or similar services) require no software installation. You upload the file, select a quality level, and download the result. These are convenient for occasional use and smaller files, but they involve uploading your video to a third-party server — a consideration if the content is sensitive or private.

Online tools also tend to have file size limits, and upload/download time can make the process slow for large files.

What Changes When You Compress

This is where trade-offs become real. Reducing a video's bitrate too aggressively introduces compression artifacts — visible blockiness, color banding, or blurring during fast motion. The right compression level is usually the one that achieves your target file size while keeping those artifacts below your tolerance threshold.

A few general patterns hold across tools and formats:

  • Dropping resolution (e.g., 4K → 1080p) often gives larger file size reductions than lowering bitrate alone, with less visible quality loss — especially if the video will be watched on a phone or small screen
  • Switching from H.264 to H.265 can roughly halve file size with similar visual quality, but older devices or platforms may not support H.265 playback
  • Reducing frame rate from 60fps to 30fps noticeably reduces size and is usually undetectable in most non-action footage

Format and Compatibility Matter Too 🎬

The container format (MP4, MOV, MKV, AVI) is separate from the codec, but they interact. MP4 with H.264 is the most universally compatible combination — it plays on nearly every device, browser, and platform. MOV is native to Apple tools and broadly supported. MKV is flexible and common in desktop media players but less reliable for direct sharing.

If your compressed video needs to play on a specific device, be uploaded to a specific platform, or be edited in a specific app, check what formats and codecs that target supports before you compress.

The Part That Depends on You

The "right" compression isn't a fixed setting — it's a function of your source footage quality, the device or platform receiving it, your tolerance for quality loss, and whether file size or visual fidelity is the higher priority. A 10-minute training video destined for a corporate intranet has different requirements than a short clip being texted to a friend or a film project being archived for future editing.

The tools and methods exist across every skill level and platform. What they can't determine is which trade-off is acceptable in your specific situation.