You filmed a product demo in landscape, and now it needs to go into a vertical story, a square feed post and a 4:5 portrait ad. Or a screen recording includes a browser toolbar, a taskbar and a second monitor you would rather not show. In both cases the answer is cropping: keeping a rectangle of the picture and discarding everything outside it.
Cropping is simple, but it is easy to confuse with resizing or letterboxing, and a careless crop cuts off the subject halfway through the clip. This guide explains the differences, the maths of aspect ratios, and how to crop in the browser, in common apps and with ffmpeg.
Crop, resize or letterbox?
Three operations change how a video fits a frame, and they are often mixed up:
- Crop removes the edges. The remaining pixels are unchanged, so nothing is stretched, but part of the scene is gone.
- Resize (scale) changes the pixel dimensions of the whole picture. If you scale to a different aspect ratio without cropping, the image is distorted.
- Letterbox or pad keeps the whole picture and adds bars (black, blurred or coloured) to fill the new shape.
To turn a 16:9 landscape video into a vertical 9:16 one, you either crop a narrow slice out of the middle, or you pad the full picture with large bars above and below. Cropping fills the screen; padding keeps everything visible but looks small on a phone.
Aspect ratio arithmetic
An aspect ratio is width divided by height. To find the largest crop of a given ratio inside your video:
crop width = source height × (target width ÷ target height) if that fits
crop height = source width × (target height ÷ target width) otherwise
Examples from a 1920×1080 source:
| Target | Crop size | Share of the frame kept |
|---|---|---|
| 1:1 square | 1080×1080 | 56% |
| 4:5 portrait | 864×1080 | 45% |
| 9:16 vertical | 608×1080 (rounded to even) | 32% |
| 4:3 | 1440×1080 | 75% |
A 9:16 crop from landscape keeps only about a third of the frame, and a 608-pixel-wide video will be scaled up on a phone. If you know you will need vertical versions, film with extra room around the subject, or shoot in 4K so the crop still has plenty of pixels.
Platform recommendations for dimensions change over time, so check each network's current guidance for exact sizes.
Crop a video with our tool
The Crop Video tool shows the crop box directly on your video.
- Open Crop Video and drop your video. It must be a format your browser can play (MP4 or WebM usually, MOV in most browsers), because the crop box is drawn on the live preview.
- Choose an Aspect ratio: Free, 1:1 Square, 9:16 Story, 16:9 Wide, 4:5 Portrait or 4:3. The largest centred box of that shape appears.
- Drag the box to move it, or drag a corner to resize it; with a fixed ratio, the shape is kept.
- Use the slider under the video to check other moments, so the subject stays inside the box for the whole clip.
- For pixel-exact results, type values in Left (px), Top (px), Width (px) and Height (px). The line below shows the final output size, rounded to even numbers because H.264 requires them.
- Click Crop video, preview the MP4 and download it.
The crop position is fixed for the whole clip. The tool cannot follow a moving subject, so for footage where the person walks across the frame, use an editor with keyframed position or automatic reframing. The output is re-encoded to H.264 MP4 at a high quality setting; like all our video tools it runs single-threaded in your browser, so long or 4K videos take noticeably longer than in desktop software.
If your browser cannot play the file (for example an MKV or AVI), convert it first with MKV to MP4 or AVI to MP4.
Other ways to crop a video
iPhone and iPad
In Photos, tap Edit, then the crop icon. Choose an aspect ratio from the toolbar and drag the frame. This is quick and good enough for most social posts.
Android
Google Photos and most gallery editors include a crop tool with aspect ratio presets.
Windows and macOS editors
Clipchamp on Windows and iMovie on Mac both offer crop controls, and Clipchamp can change the project's aspect ratio to 9:16 with fit or fill options. Editors are the better choice when the crop needs to move over time.
ffmpeg
Crop a centred 9:16 slice from a landscape video:
ffmpeg -i input.mp4 -vf "crop=trunc(ih*9/16/2)*2:ih" -c:v libx264 -crf 20 -c:a copy vertical.mp4
When x and y are left out, ffmpeg centres the crop. The trunc(.../2)*2 part rounds the width down to an even number, which H.264 needs. For an exact region, use crop=width:height:x:y:
ffmpeg -i input.mp4 -vf "crop=1080:1080:420:0" -c:v libx264 -crf 20 -c:a copy square.mp4
Pad instead of cropping (keeping the whole picture inside a 1080×1920 frame):
ffmpeg -i input.mp4 -vf "scale=1080:-2,pad=1080:1920:(ow-iw)/2:(oh-ih)/2" -c:v libx264 -crf 20 -c:a copy padded.mp4
Tips and pitfalls
Crop before you scale
Crop first, then resize to the exact dimensions a platform wants. Resize Video handles the second step, and a compression pass helps if the upload has a size limit.
Mind the safe area
Vertical platforms overlay captions, buttons and profile names on the edges of the video. Keep important text and faces away from the top and bottom few percent of a 9:16 crop.
Remove distractions in screen recordings
Cropping off toolbars and taskbars makes a demo easier to read and, because fewer pixels are encoded, often smaller too. It is also a simple way to avoid showing notifications or bookmarks.
Sideways first, then crop
If the source is sideways, fix it with Rotate Video before cropping; see how to fix a sideways video for the reasons behind it.
Frequently asked questions
Does cropping a video reduce quality?
The pixels you keep are not scaled, but the video is re-encoded, which adds a small loss. The bigger effect is that a tight crop has fewer pixels, so it looks softer when shown full screen.
How do I turn a horizontal video into a vertical one?
Crop a 9:16 region from the landscape frame, or pad the whole picture into a 9:16 frame with bars. Cropping fills the phone screen; padding keeps the full scene visible.
Why are my crop dimensions changed by one pixel?
H.264 with the common yuv420p format needs even widths and heights, so the tool rounds the crop size down to even numbers.
Can the crop follow a moving person?
No. The crop box stays in one position for the whole clip. Use a video editor with animated crop or automatic reframing for moving subjects.
Why can't I draw the crop box on my file?
The box is drawn on the browser's own video player, so the format must be playable in your browser. Convert the file to MP4 first, then crop.