Video Aspect Ratio Calculator

Calculate precise crop and pad dimensions for your videos to perfectly fit social media platforms like TikTok, Reels, and YouTube Shorts.

1. Original Resolution

2. Target Platform / Ratio

TikTok / Reels / Shorts (9:16)
Instagram Feed (4:5)
Square (1:1)
YouTube Widescreen (16:9)
Cinematic (21:9)

Video will be cropped to fill the screen without black bars. Some edges will be lost.

Approximate safe zones for text and UI elements.

3. Calculation Results

Final Resolution:

1080 x 1920

FFmpeg Command:

ffmpeg -i input.mp4 -vf "crop=1080:1920:420:0" output.mp4

What is an Aspect Ratio?

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.

Social Media Dimensions Guide

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.

PlatformAspect RatioRecommended Resolution
TikTok / IG Reels / YT Shorts9:161080 x 1920 px
Instagram Feed4:51080 x 1350 px
Instagram Square1:11080 x 1080 px
YouTube Standard16:91920 x 1080 px

Using FFmpeg to Crop or Pad

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.

如何计算视频宽高比

1

输入原始尺寸

输入您原始视频的宽度和高度(像素)。

2

选择目标平台

选择预设比例(例如 TikTok/Reels 的 9:16,或 YouTube 的 16:9)。

3

复制 FFmpeg 命令

选择是裁剪还是填充视频,并复制生成的 FFmpeg命令。

常见问题解答

裁剪(Crop)和填充(Pad)有什么区别?

裁剪会通过切除视频外边缘来填满目标宽高比。填充则会缩放整个视频以使其完整适应屏幕,并在空白区域添加黑边。

TikTok 和 Instagram Reels 的最佳视频比例是多少?

标准宽高比是 9:16(1080 x 1920 像素),这是一种覆盖整个手机屏幕的竖屏格式。

FFmpeg 命令是如何工作的?

FFmpeg 使用视频滤镜(-vf)来应用裁剪或填充。生成的命令可以在您的终端中直接运行,快速处理视频且不会因重新编码造成画质损失。

这个计算器是免费的吗?

是的,我们的视频宽高比计算器 100% 免费,完全在您的浏览器中运行,无需注册或安装任何软件。