Skip to main content

Aspect Ratio Converter

Convert video aspect ratios and calculate letterboxing or pillarboxing dimensions. Enter values for instant results with step-by-step formulas.

Share this calculator

Formula

New Height = Width / (Target Ratio W / Target Ratio H)

When locking the width, divide by the target aspect ratio decimal to find the new height. When locking the height, multiply by the target ratio. Letterbox bar height equals (fitted height minus content height) divided by 2. Pillarbox bar width equals (fitted width minus content width) divided by 2.

Worked Examples

Example 1: Converting 16:9 Video for Instagram

Problem: You have a 1920x1080 (16:9) landscape video and need to create a 1:1 square version and a 9:16 vertical version for Instagram.

Solution: Square (1:1) from 1920x1080:\nCrop to center: 1080x1080\nPixels removed: (1920-1080) x 1080 = 907,200 pixels\nCrop loss: 907,200 / 2,073,600 = 43.8%\n\nVertical (9:16) from 1920x1080:\nCrop to center: 608x1080\nOr create new canvas: 1080x1920 with letterbox bars\nBar height each side: (1920-1080)/2 = 420 pixels

Result: 1:1 crop: 1080x1080 (43.8% loss) | 9:16 crop: 608x1080 (70.7% loss) | Consider reframing

Example 2: Cinema Aspect Ratio for Letterbox Display

Problem: A 2.39:1 anamorphic film (4096x1716) needs to be displayed on a 16:9 (3840x2160) 4K television. Calculate the letterbox bar dimensions.

Solution: Target display: 3840x2160 (16:9 = 1.7778)\nContent ratio: 2.39:1\n\nScale film width to display width:\nScaled height = 3840 / 2.39 = 1607 pixels\nTotal letterbox bar space = 2160 - 1607 = 553 pixels\nEach bar = 553 / 2 = 276.5 pixels (round to 277)\n\nEffective viewing area: 3840 x 1607

Result: Letterbox bars: 277 pixels top + 277 pixels bottom | Active image: 3840x1607 | 25.6% of screen is black bars

Frequently Asked Questions

What is aspect ratio and why is it important for video and images?

Aspect ratio is the proportional relationship between the width and height of an image or video frame, expressed as two numbers separated by a colon (such as 16:9 or 4:3). It defines the shape of the frame rather than its size, so a 1920x1080 video and a 1280x720 video both share the 16:9 aspect ratio despite having different pixel counts. Aspect ratio is crucial for maintaining proper visual proportions when scaling content across different displays and platforms. Using the wrong aspect ratio causes stretching, squishing, or unwanted black bars that degrade the viewing experience. Understanding aspect ratios is essential for content creators who need to deliver media across multiple platforms, each with its own preferred dimensions and display format requirements.

How do I calculate the correct dimensions when changing aspect ratio?

To calculate new dimensions when changing aspect ratio, you must decide which dimension to preserve (lock) and which to adjust. If you lock the width, divide the width by the target aspect ratio decimal to get the new height. If you lock the height, multiply the height by the target aspect ratio decimal to get the new width. For example, converting a 1920x1080 image (16:9) to 4:3 while locking the width: new height = 1920 / (4/3) = 1440 pixels, giving you 1920x1440. Locking the height instead: new width = 1080 x (4/3) = 1440 pixels, giving you 1440x1080. Each approach produces different total pixel counts and image areas, so choose based on whether width or height is more constrained by your output requirements.

What aspect ratios do major social media platforms use?

Each social media platform has preferred aspect ratios for different content types. YouTube primarily uses 16:9 (1920x1080) for standard video and now supports vertical 9:16 for YouTube Shorts. Instagram supports 1:1 (1080x1080) for feed posts, 4:5 (1080x1350) for portrait posts which get more feed real estate, and 9:16 (1080x1920) for Stories and Reels. TikTok uses 9:16 (1080x1920) for its vertical format. Twitter/X recommends 16:9 for images and video in landscape, and 1:1 or 4:5 for portrait. Facebook prefers 16:9 for video, 1:1 for feed photos, and 9:16 for Stories. LinkedIn uses 1.91:1 (1200x627) for shared links and 1:1 or 4:5 for native posts. Creating content at these specific ratios ensures maximum visibility without platform-imposed cropping.

What is anamorphic widescreen and how does it use aspect ratio?

Anamorphic widescreen is a cinematographic technique that uses special lenses to squeeze a wider field of view horizontally into a standard film frame, then unsqueezes it during projection to display the full wide image. A 2x anamorphic lens on 35mm film squeezes a 2.39:1 image into the standard 1.33:1 film gate, effectively doubling horizontal resolution compared to simply cropping the frame to 2.39:1. When the film is projected through a matching anamorphic lens, the image is stretched back to its correct proportions. In digital cinema, anamorphic formats are still used for their distinctive visual characteristics including horizontal lens flares, shallow depth of field, and a particular bokeh shape. Digital cameras can desqueeze anamorphic footage in-camera or in post-production. The technique remains popular because it provides more resolution and the characteristic wide cinematic look.

How do I avoid quality loss when converting aspect ratios?

Quality loss during aspect ratio conversion comes from three main sources: cropping (removing pixels), scaling (resampling pixels), and compression artifacts from re-encoding. To minimize loss when cropping, start with the highest resolution source possible so the cropped area still has sufficient pixel count. When scaling, use high-quality resampling algorithms like Lanczos or bicubic rather than bilinear or nearest-neighbor. Avoid upscaling whenever possible as it cannot add real detail and creates softness. When re-encoding, use high-quality codecs at appropriate bitrates. The ideal workflow is to shoot at the highest available resolution, edit in the widest aspect ratio you need, and then export multiple versions for different aspect ratios by cropping the master timeline. This avoids multiple rounds of encoding and maintains maximum quality.

What is pixel aspect ratio and how does it differ from display aspect ratio?

Pixel aspect ratio (PAR) describes the shape of individual pixels, while display aspect ratio (DAR) describes the overall frame shape. On modern digital displays, pixels are square with a 1:1 pixel aspect ratio. However, some older and professional video formats use non-square pixels. Standard definition NTSC DV video has a frame size of 720x480 but displays at 4:3 (or 16:9 anamorphic), which requires non-square pixels with PARs of approximately 0.9091 for 4:3 and 1.2121 for 16:9. The relationship is: DAR = width x PAR / height. When editing DV footage in modern editing software, the software must interpret the PAR correctly to avoid displaying the footage as squished or stretched. If footage looks slightly distorted in your editor, check the pixel aspect ratio settings in your sequence or project configuration.

References