How to Compress a Video Without Losing Quality
Reduce video file size for sharing, uploading, or storage while keeping the video looking sharp.
- Difficulty
- Intermediate
- Time
- 15 min
Last updated
A 10-minute video from an iPhone might be 2–4 GB. This guide shows how to reduce that to 200–400 MB with no visible quality change.
Understanding Video Compression
Video file size depends on three factors:
- Codec — the compression algorithm (H.264, H.265/HEVC, AV1)
- Bitrate — data per second (higher = better quality, larger file)
- Resolution — fewer pixels means smaller files (1080p vs 4K)
H.265 (HEVC) achieves the same visual quality as H.264 at half the file size. Switching codec is often the biggest single improvement.
Method 1: HandBrake (Free, Best Results)
HandBrake gives you full control over codec and quality.
- Download HandBrake (free, handbrake.fr)
- Open your video file in HandBrake
- In Summary, set Container: MP4
- In Video, set:
- Video Codec: H.265 (x265)
- Quality: RF 22–26 (lower number = better quality; 22 is excellent, 26 is good)
- Click Start Encode
RF 22 produces excellent quality indistinguishable from the original for most content. RF 26 reduces size further with very minor quality reduction.
Method 2: Target a Specific File Size
If you need the video to be under a specific limit (e.g., WhatsApp's 100 MB limit):
In HandBrake, switch from Constant Quality to Average Bitrate (kbps). Calculate: Target size in MB × 8192 / duration in seconds = bitrate in kbps.
For a 5-minute video to be under 100 MB: 100 × 8192 / 300 ≈ 2730 kbps.
Method 3: Reduce Resolution
If your video is 4K (3840×2160) and you only need 1080p, reducing resolution saves 75% of the bitrate with no visible loss on a 1080p screen:
- In HandBrake Dimensions tab, set Resolution Limit to 1920×1080
Method 4: Cut Unnecessary Content
Trimming silent segments, intros, or repeated content reduces size without any quality loss. Use VLC (Playback → Record) or DaVinci Resolve (free) for precise trimming.
Recommended Presets for Common Destinations
- YouTube upload: H.264, RF 18, 1080p (YouTube re-encodes anyway; original quality only matters for the source)
- WhatsApp (under 100 MB): H.264, RF 26, 720p
- Archival: H.265, RF 20, original resolution
Advertisement
Learn more
- How to Reduce Video File Size Without Losing Quality
Reduce a large video from gigabytes to hundreds of megabytes with no visible quality change, using the right codec and settings.
- Best Video Format for YouTube, TikTok, and Social Media
Each social platform re-encodes your video regardless of format. Here is what to upload for the best output quality.