Guides & How-Tos

Letterboxing and Aspect Ratio Math for Video and Photo Crops

14 min read
Predict letterbox bars before export

You film a talking-head segment in 16:9, drop it into a TikTok edit, and watch the platform center-crop until your subject’s forehead and chin are gone. Or you send a 3:2 photo to the lab for a 4x6 print and get back a crop that chops off the edges you composed around. This is an expensive mistake. Aspect ratio mismatches are the silent killer of otherwise good work, and most creators only learn the ratios by trial and error after the damage is done. This post walks through the actual math behind letterboxing and pillarboxing, shows you how to pick the right delivery ratio for each platform, and demonstrates how to verify every dimension with CapyToolkit’s client-side Aspect Ratio & Letterbox Calculator before you export a single frame.

Why Aspect Ratios Cause Letterboxing and Pillarboxing

By defining the width-to-height proportions of an image, an aspect ratio describes the shape of a frame rather than its physical pixel density. Developers express the ratio as a decimal like 1.78:1 or simplify it to whole numbers like 16:9. Because of this distinction, a 1920x1080 video and a 3840x2160 video share the same 16:9 ratio despite a four-fold difference in pixel count.1 When a platform forces wider content onto a narrower screen, letterboxing occurs, producing horizontal bars at the top and bottom because the source cannot fill the display. A 2.39:1 film on a 16:9 television is the classic example. Pillarboxing is the mirror image: narrower content on a wider screen leaves vertical bars on the left and right, as anyone who has watched a 4:3 broadcast inside a 16:9 timeline can confirm. Wikipedia’s entries on letterboxing and pillarboxing and on the pillarbox effect walk through the history and the visual conventions if you want the full background.

Windowboxing is the worst of both worlds. Narrow content inside a wide frame produces bars on all four sides, and it almost always signals that someone handed a file to a platform without checking the ratio first. The fix is straightforward: know the source ratio and the target ratio before you export, then crop or pad intentionally instead of letting the platform decide for you. When you control the math, you control the frame.

The Math Behind Letterboxing and Pillarboxing

Deriving the bar size formula

Given a source width Ws, source height Hs, target width Wt, and target height Ht, the scale factor that fits the source inside the target without distortion is min(Wt/Ws, Ht/Hs). Multiply both source dimensions by that scale factor to get the displayed size. The horizontal bar size is (Wt - Ws*scale)/2 per side, and the vertical bar size is (Ht - Hs*scale)/2 per side. Only one of those two values is non-zero in a normal letterbox or pillarbox scenario, because the scale factor locks one axis to the target edge.

When to crop vs. when to letterbox

If the source is wider than the target, you either crop the sides or accept pillarbox bars. If the source is narrower, you crop the top and bottom or accept letterbox bars. While letterboxing preserves the absolute integrity of your original composition by padding the frame, it wastes available screen real estate; conversely, cropping utilizes every pixel of the target display at the cost of discarding your peripheral visual data. The right call depends on the deliverable. A theatrical trailer keeps the full 2.39:1 frame with letterbox bars. A social media cut of the same trailer crops into the center and loses the composition entirely.

Common ratio cheat sheet

A 4:3 source inside a 16:9 target produces a 12.5% pillarbox per side, which is 25% of the total width lost to bars. A 2.39:1 source inside a 16:9 target produces roughly a 12.8% letterbox per side, about 25.6% of the total height. A 16:9 source center-cropped to 9:16 loses approximately 68% of the frame area, with 34% removed from each side. That last number is the one that catches video creators off guard. If you film in landscape and hope to repurpose for vertical, you need to reframe at capture time, not in post.

To see how these layout shifts affect your composition, the table below maps out standard source-to-target conversions and their corresponding crop thresholds:

Source ratioTarget ratioBar directionBar size per sideTotal area lost
4:316:9Pillarbox (left/right)12.5% of width25% of width
2.39:116:9Letterbox (top/bottom)~12.8% of height~25.6% of height
16:99:16Center crop34% per side~68% of area
16:91:1Center crop21.875% per side~43.75% of area
21:916:9Letterbox (top/bottom)~11.9% of height~23.8% of height

Applying these formulas to standard production assets reveals exactly how minor aspect variances crop your active frame. For example, delivering a 4096x2160 DCI 4K source2 to a 1920x1080 16:9 timeline has a source ratio of 1.90:1 and a target ratio of 1.78:1. The scale factor is min(1920/4096, 1080/2160), which is min(0.469, 0.5) = 0.469. The displayed width is 4096 * 0.469 = 1920, and the displayed height is 2160 * 0.469 = 1013. The letterbox bars are (1080 - 1012.5)/2 = 33.75 pixels each at the top and bottom. That is a small but real crop you need to account for if you are positioning lower-thirds or subtitles. When you are working through these conversions for the 16:9 standard or the 4:3 legacy format, the 16:9 width-to-height conversions and 4:3 width-to-height conversions walk through the same math with preset values.

Platform-Specific Ratios for Video Delivery

Vertical video for TikTok and Reels

TikTok, Instagram Reels, and YouTube Shorts all use 9:16 as the native format, which is 1080x1920 pixels.3 Filming in 16:9 and center-cropping to 9:16 loses roughly 68% of the frame area, with 34% removed from each side. That is not a minor trim. It is a composition-destroying cut that removes half your horizontal field of view. Plan your framing for vertical from the start. Place your subject in the center third of the frame and keep critical visual information inside a 1080x1080 safe zone if you need to deliver both landscape and vertical versions from the same shoot.

Square and 4:5 for Instagram feed

Instagram feed posts support 1:1 (1080x1080) and 4:5 (1080x1350), both of which occupy more feed real estate than a 16:9 landscape post. The 4:5 ratio is the current sweet spot for reach because it fills more of the screen in the feed without getting cropped. A 16:9 landscape post in the Instagram feed gets letterboxed or pushed below the fold, and engagement drops accordingly. One caveat: Instagram switched its profile grid to a 3:4 thumbnail in 2025, so a 4:5 post loses roughly 34 pixels per side in the grid preview.4 Keep critical content inside the center 1012 pixels, or upload at the native 3:4 size of 1080x1440 to avoid the grid crop entirely.

CinemaScope 2.39:1 for narrative work

The 2.39:1 ratio, sometimes called CinemaScope or anamorphic widescreen, is the “widescreen film” look. Distributors deliver it as a 1920x800 active image inside a 1920x1080 frame with built-in letterbox bars, or as a flat 2.39:1 file that streaming platforms then windowbox onto the display. Wikipedia’s CinemaScope history covers how the ratio evolved from 2.35:1 to the modern 2.39:1 SMPTE standard.1 The letterbox bars are roughly 140 pixels each at the top and bottom in a 1080p container. If you are grading or adding subtitles, position them inside the 800-pixel active area, not the full 1080 height, or they will fall into the black bars on some players.

YouTube and LinkedIn both default to 16:9 for video. LinkedIn also supports 1:1 and 4:5 for feed posts, so the same vertical-safe framing advice applies. Before you export, enter your source resolution and the target platform ratio into the video aspect ratio reference and the social media aspect ratio guide to read off the exact bar sizes and safe zones. The full suite of browser-based tools from CapyToolkit that process everything locally lets you verify these dimensions without uploading any frame to a server. That matters when you are working with unreleased footage, client NDAs, or anything you would not want sitting on someone else’s cloud storage.

Photo Aspect Ratios and Print Size Crops

Camera sensor ratios

Every camera sensor has a native aspect ratio that locks in the shape of every uncropped file it produces. While full-frame and APS-C sensors natively capture images in a 3:2 frame, Micro Four Thirds chips and most smartphone cameras produce a taller 4:3 canvas, leaving square medium-format systems to output a symmetrical 1:1 format.5 Each of these ratios implies a different native crop, and that crop dictates how much of your composition survives when you print to a standard paper size.

Matching print sizes without distortion

Standard print sizes rarely match sensor ratios, so printing almost always forces a crop unless you stretch the image or add borders. Stretching distorts faces and straight lines in ways that scream “amateur” the moment someone looks at the print. A 6x4 landscape print sits at 3:2, which matches a full-frame sensor perfectly with zero crop. A 7x5 landscape print runs to 7:5, which no common sensor matches without trimming. A 10x8 landscape print is 5:4, which sits at odds with both 3:2 and 4:3 sensors. Larger sizes like 14x11 (14:11) and 20x16 (5:4) carry the same mismatch problems.

You can evaluate how common camera sensor shapes translate to standard commercial paper dimensions using this crop index, which assumes a landscape-to-landscape workflow (a landscape photo printed on landscape-oriented paper):

Sensor ratioPrint size (landscape)Print ratioCrop directionApproximate crop
3:26x43:2None0%
3:210x85:4Width~16.7%
3:27x57:5Width~6.7%
4:36x43:2Height~11%
4:310x85:4Width~6.25%
4:37x57:5Height~4.8%

Walk through a real example. A 24-megapixel full-frame file is 6000x4000 pixels at 3:2. Printing that shot as a 10x8 landscape targets a 5:4 ratio. Because the print is slightly taller relative to its width than the sensor, you crop from the sides. Reduce the 6000-pixel source width to 5000 pixels to match the 5:4 ratio at the full 4000-pixel height, and you lose 1000 pixels of width, roughly 16.7% of the horizontal field of view. Plan your composition with that margin baked in, or the lab will crop the edges of the scene for you.

Use the photo and print aspect ratio guide to look up the exact crop for your sensor and print combination. Enter your source resolution and the print dimensions into the calculator to read off the crop before you send anything to the lab.

When to Use CapyToolkit’s Aspect Ratio & Letterbox Calculator

The calculator runs entirely client-side. No image upload, no server processing, no EXIF data leaves your browser. That is the core difference between this tool and the dozens of online ratio calculators that ask you to upload a file so their server can read the dimensions. With those tools, your image sits on someone else’s storage, even if they claim to delete it afterward. Here, your source resolution never leaves your machine.

The workflow is simple.

  1. Enter your source width and height in pixels, or pick from the presets dropdown, which covers 8K UHDTV, 5K iMac, 4K UHDTV, 1080p HD, 720p HD, PAL, NTSC, and social-specific sizes like Facebook and Twitter banners.
  2. Enter a target width or height and read the scaled dimensions.
  3. Switch to the Letterbox tab, enter a display size, and see the exact bar dimensions plus a visual preview.

The presets alone save you from looking up common resolutions every time you start a new project.

This is a zero-cloud alternative for anyone who works with unreleased content, client NDAs, or sensitive material. You get the same numeric output as an online calculator without the privacy trade-off. Open the Aspect Ratio & Letterbox Calculator, enter your current project’s resolution, and verify the delivery dimensions before your next export.

Recap and Quick Reference

Aspect ratio mismatch is predictable, not random. Compute the bar sizes before you export and you will never be surprised by platform cropping again. Keep the common ratio cheat sheet above handy: 4:3 inside 16:9 gives you 12.5% pillarbox per side, 2.39:1 inside 16:9 gives you roughly 12.8% letterbox per side, and 16:9 center-cropped to 9:16 loses about 68% of the frame. For photo work, remember that 3:2 sensors lose roughly 16.7% of their width at a 10x8 landscape print, and 4:3 sensors lose about 6.25%. Vertical video demands the most planning, since a landscape shoot throws away two-thirds of its pixels when reframed for TikTok or Reels. Bookmark the calculator, run the numbers before every export, and stop letting platforms decide your crop for you. The ten seconds you spend checking the ratio now saves you the reshoot later.

Sources
  1. 1.

    Wikipedia, “Aspect ratio (image),” en.wikipedia.org, accessed June 2026. https://en.wikipedia.org/wiki/Aspect_ratio_(image)

  2. 2.

    Wikipedia, “Digital Cinema Initiatives,” en.wikipedia.org, accessed June 2026. https://en.wikipedia.org/wiki/Digital_Cinema_Initiatives

  3. 3.

    Google, “Upload YouTube Shorts,” support.google.com, accessed June 2026. https://support.google.com/youtube/answer/12779649

  4. 4.

    Jay Peters, “Instagram profile grids are going to feature rectangles instead of squares,” The Verge, January 2025. https://www.theverge.com/2025/1/17/24346304/instagram-profile-grids-rectangles-squares

  5. 5.

    DPReview, “Making (some) sense out of sensor sizes,” dpreview.com, October 2002. https://www.dpreview.com/articles/8095816568/sensorsizes

More in Guides & How-Tos