Free tool · by Malejemplo

Letterbox calculator

Pick a size and a ratio. Get the black bars in pixels.

Size
Ratio

It stays in your browser.

Sample film frame with the letterbox bars applied
138 px
138 px
Bar, top and bottom138px
Visible1,920 × 804

The formula

visible height = width ÷ ratio
bar = (height − visible height) ÷ 2

1920×1080 at 2.39:1: 1920 ÷ 2.39 ≈ 803, so (1080 − 803) ÷ 2 ≈ 138 px per bar.

Common ratios, ready to read

Bar per side, in pixels, on a 16:9 frame.

RatioBars1920×10803840×2160
2.39:1Top & bottom138 px → 1920×804277 px → 3840×1606
2.35:1Top & bottom131 px → 1920×818263 px → 3840×1634
2.20:1Top & bottom104 px → 1920×872207 px → 3840×1746
2:1Top & bottom60 px → 1920×960120 px → 3840×1920
1.85:1Top & bottom21 px → 1920×103842 px → 3840×2076
4:3Left & right240 px → 1440×1080480 px → 2880×2160
1:1Left & right420 px → 1080×1080840 px → 2160×2160
4:5Left & right528 px → 864×10801,056 px → 1728×2160
9:16Left & right656 px → 608×10801,313 px → 1214×2160

In DaVinci Resolve

  1. Timeline › Output Blanking. Pick a ratio from the list.
  2. Inspector › Cropping. Type the bar size in Crop Top and Crop Bottom (Left and Right for pillarbox).

FAQ

How big are the black bars for 2.39:1 on 1920×1080?
138 px at the top and 138 px at the bottom. The picture left is about 1920×804.
Letterbox or pillarbox?
Letterbox is bars on top and bottom, for a ratio wider than your frame (2.39:1 on 16:9). Pillarbox is bars on the sides, for a narrower one (1:1 or 4:5 on 16:9).
Why is the resulting ratio not exactly 2.39?
Bars are whole pixels and equal on both sides, so the height is rounded. The difference is invisible.

Skip the maths

GATE.24 puts the bars on for you: 6 crop formats from 2.39:1 to 1:1, inside DaVinci Resolve.

See GATE.24

Cinema 35