Skip to main content
Calcimator

Aspect Ratio Converter

Calculate letterbox, pillarbox, and crop dimensions between aspect ratios.

About this calculator

Converting between aspect ratios always comes down to a mismatch between Source Width / Source Height and the Target Aspect Ratio, and this calculator shows both ways to resolve it: adding bars (preserving every source pixel) or cropping (filling the frame, losing some source area). When the source is relatively wider than the target -- a 21:9 cinematic source going onto a 16:9 display, for example -- fitting the full width means adding Letterbox Bar Height above and below, while filling the frame without bars means trimming Crop Width down and keeping the full Source Height. When the source is relatively narrower than the target -- a 4:3 source going onto a 16:9 display -- fitting the full height means adding Pillarbox Bar Width on both sides, while filling the frame means trimming Crop Height down and keeping the full Source Width.

Only one of Letterbox Bar Height or Pillarbox Bar Width is ever non-zero for a given conversion, since a source can't simultaneously be both relatively wider and relatively narrower than the target. Image Retained is the share of the original pixel area the crop option keeps -- it's always 100% for the bars approach, since letterboxing and pillarboxing never discard source pixels, only add blank space around them. Pixel Loss is the flip side: the actual pixel-area difference between the source and the cropped output.

Inputs

px
px

Results

Letterbox Bar Height

0 px

Pillarbox Bar Width300 px
Crop Width1,920 px
Crop Height823 px
Image Retained76.2%
Pixel Loss493,440
How to Use This Calculator
  1. Enter the Source Width and Source Height in pixels — the resolution of your original footage.
  2. Input the Target Aspect Ratio (e.g., 16:9, 2.39:1) to see how your image fits the new frame.
  3. Review Letterbox Bar Height (px) to see top/bottom padding needed for widescreen formats.
  4. Check Pillarbox Bar Width (px) for side padding when converting to narrower ratios.
  5. Use Crop Width and Crop Height (px) if you prefer to fill the frame by trimming edges.
  6. Image Retained (%) tells you how much of the original frame survives the conversion.

What each input means

Source Width
Width of the source video in pixels.
Source Height
Height of the source video in pixels.
Target Ratio Width
Width component of target aspect ratio (e.g., 21 for 21:9).
Target Ratio Height
Height component of target aspect ratio (e.g., 9 for 21:9).

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    4 parameters
    Source Width = 1920, Source Height = 1080, Target Ratio Width = 21, Target Ratio Height = 9 = 4 input(s) provided
  2. Calculate Letterbox Bar Height
    Letterbox Bar Height = abs(letterboxHeight)
    0 = 0
  3. Calculate Pillarbox Bar Width
    Pillarbox Bar Width = abs(pillarboxWidth)
    300 = 300
  4. Calculate Crop Width
    Crop Width
    1920 = 1920

Engine last updated . Checked against 2 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.

Frequently Asked Questions

Can Letterbox Bar Height and Pillarbox Bar Width both be non-zero at once?

No. A source frame is either relatively wider than the target aspect ratio (which calls for letterboxing) or relatively narrower than it (which calls for pillarboxing) -- never both at the same time. Whichever one doesn't apply to your conversion is reported as zero.

Does the crop option ever lose pixels when converting to the same aspect ratio?

No. When Source Width and Source Height already match the Target Aspect Ratio exactly, Crop Width and Crop Height equal the original source dimensions, Image Retained reports 100%, and Pixel Loss is zero -- there's nothing to trim because the frame already fits.

Why would I choose cropping over letterboxing or pillarboxing?

Cropping fills the entire target frame with no blank bars, which looks better on displays that don't handle bars gracefully, at the cost of trimming some of the original image -- shown here as Pixel Loss and the complementary Image Retained percentage. Letterboxing or pillarboxing instead keeps every source pixel visible but adds black bars to fill the mismatched space.

Does Image Retained ever apply to the letterbox/pillarbox bars option?

No, Image Retained and Pixel Loss describe only the crop path -- adding bars never discards any source pixels, so that approach always retains 100% of the original image by definition. The two figures exist specifically to quantify what the crop alternative gives up.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Creative, Media & Design.