Free Video Aspect Ratio Calculator for YouTube
Type a width and a height, or open a video or an image, and get its aspect ratio (16:9, 9:16, 4:5, 1:1, 21:9...), the same shape at common resolutions, the exact crop or black bars to turn it into 16:9 or 9:16, the window to cut a Short out of a horizontal video and the FFmpeg commands to do each one. Everything runs in your browser: your file never leaves your device.
Calculate the aspect ratio of a video size
Your file stays on your device. Nothing is uploaded: your browser reads only the size stored in the file and draws one small frame, right here in this tab.
The same shape at common sizes
| Size (pixels) | Note |
|---|
Change the shape
Make a Short from this video
Run the commands in the folder where your file is (for a typed size, replace input.mp4 with your file's name). If FFmpeg says it cannot copy the audio, change -c:a copy to -c:a aac -b:a 384k.
How to use it
- Type the width and the height in pixels, or open the video or image to read them from the file. A file with non square pixels or a rotation flag is shown at the size it plays at.
- Read the aspect ratio, its name and what YouTube Help says about that shape, then look up the same shape at common sizes.
- Pick the shape you need (16:9, 9:16, 1:1 or 4:5) and the output size. You get the black bars version, the cropped version with the exact crop rectangle, a plain resize and the FFmpeg command for each one. For a horizontal video, move the 9:16 window to your subject to cut a Short.
Every size and position in the results is an even number, because the usual H.264 export format needs even sizes. Shapes within 0.5% of the one you pick are treated as the same shape: the tool just resizes them, which stretches the picture by about 0.5% at most (under 10 pixels across a 1920 pixel wide frame).
What YouTube Help says about shapes and sizes
| Topic | YouTube Help (read October 21, 2026) |
|---|---|
| Videos | The standard aspect ratio for YouTube on a computer is 16:9; with other shapes, like vertical or square, the player adapts to the video (upload encoding settings). |
| 16:9 sizes | 7680 x 4320 (4320p, 8K), 3840 x 2160 (2160p, 4K), 2560 x 1440 (1440p), 1920 x 1080 (1080p), 1280 x 720 (720p), 854 x 480 (480p), 640 x 360 (360p), 426 x 240 (240p) (video resolution and aspect ratios). |
| Black bars | Avoid adding padding or black bars to the video itself: they stop the player from adapting to the video and the device (same page). |
| Shorts | Square or vertical, up to 3 minutes (upload Shorts). To keep a video out of Shorts, use a wider shape such as 16:9 (three minute Shorts). |
| Video thumbnails | 16:9, 3840 x 2160 recommended, at least 640 pixels wide (custom thumbnails). |
| Shorts thumbnails | 9:16, 2160 x 3840 recommended, at least 640 pixels tall. A vertical video with a 16:9 thumbnail gets an automatic 4:5 one on the home, explore and subscription pages (same page). |
| Podcast playlists | 1:1 thumbnails (same page). |
FAQ
Who made this
I'm Kevin Tabares. I've edited long-form YouTube videos since 2015 (1,277 videos and 152.2M+ views tracked on YT Jobs) for channels like Rex & Alexa, Puff and Mud. I built this calculator so anyone can get the exact numbers for a crop, black bars or a Short in seconds, without uploading anything. If you want an editor for your channel, get in touch.
More free tools
A Shorts crop preview to place a 9:16 crop on your video, a black bars checker, an export settings calculator and a thumbnail preview, all free and without signup.
See all tools →