Calculate precise crop and pad dimensions for your videos to perfectly fit social media platforms like TikTok, Reels, and YouTube Shorts.
Video will be cropped to fill the screen without black bars. Some edges will be lost.
FFmpeg Command:
An aspect ratio is the proportional relationship between a video's width and height. For example, a standard HD video is 1920 pixels wide and 1080 pixels high, creating an aspect ratio of 16:9. Different social media platforms require different aspect ratios to display videos correctly without black bars.
TikTok, Instagram Reels, and YouTube Shorts natively use a 9:16 vertical ratio. Instagram Feed videos look best at 4:5 to maximize screen real estate, while standard YouTube videos are 16:9. Using our calculator, you can instantly find the precise pixel dimensions to crop or pad your original footage for any platform.
| Platform | Aspect Ratio | Recommended Resolution |
|---|---|---|
| TikTok / IG Reels / YT Shorts | 9:16 | 1080 x 1920 px |
| Instagram Feed | 4:5 | 1080 x 1350 px |
| Instagram Square | 1:1 | 1080 x 1080 px |
| YouTube Standard | 16:9 | 1920 x 1080 px |
FFmpeg is the industry standard command-line tool for video processing. Our calculator automatically generates the exact FFmpeg `-vf` (video filter) command required to crop or pad your video. You can simply copy and paste this command into your terminal to batch process videos without losing quality through traditional video editing software.
输入您原始视频的宽度和高度(像素)。
选择预设比例(例如 TikTok/Reels 的 9:16,或 YouTube 的 16:9)。
选择是裁剪还是填充视频,并复制生成的 FFmpeg命令。
裁剪会通过切除视频外边缘来填满目标宽高比。填充则会缩放整个视频以使其完整适应屏幕,并在空白区域添加黑边。
标准宽高比是 9:16(1080 x 1920 像素),这是一种覆盖整个手机屏幕的竖屏格式。
FFmpeg 使用视频滤镜(-vf)来应用裁剪或填充。生成的命令可以在您的终端中直接运行,快速处理视频且不会因重新编码造成画质损失。
是的,我们的视频宽高比计算器 100% 免费,完全在您的浏览器中运行,无需注册或安装任何软件。