Free calculator

Aspect Ratio Calculator

2.39:1 inside 1920 × 1080 is 1920 × 804, with 138 px letterbox bars top and bottom. Pick any source and ratio to get the largest frame that fits, the bars in pixels, an anamorphic desqueeze, or the picture scaled to a delivery size.

Spherical: no squeeze

Worked out as 4096 ÷ 1716 = 2.387:1, the scope frame

Rounding
Scale to a delivery size

Frame size

1920 × 804px

Bars, each side
138 px top and bottom
Frame aspect ratio
2.388:1
Pixel count
1.54MP
Exact size
1920 × 804.38px
Smart rounding: 804.38 → 804 px, the nearest even pixel or standard size. Exact keeps the fraction.
1920 × 804 inside 1920 × 1080

Free, no sign-up. Runs in your browser.

This web tool keeps Smart-rounded frames inside the source, snaps a typed ratio to the nearest standard, and scales the cropped frame to a delivery size. Save, share and get the Pro tools in the app.

How it works

The largest frame of a ratio
if W ÷ r ≤ H: frame = W × (W ÷ r), else frame = (H × r) × H

A ratio wider than the source keeps the full width and loses height (letterbox); a narrower ratio keeps the full height and loses width (pillarbox). 2.39:1 is worked out as 4096 ÷ 1716 = 2.387, the shape of the 4096 × 1716 scope frame, 16:9 as exactly 16 ÷ 9, 1.33:1 as 4:3 and 1.66:1 as 5:3. A vertical ratio such as 9:16 is worked out with the camera turned 90°.

Where

W, H
source width and height(px)
r
target ratio, width ÷ height (2.39 for 2.39:1)
Letterbox and pillarbox bars
top = bottom = (H − h) ÷ 2; left = right = (W − w) ÷ 2

The picture sits in the middle, so the space left over splits into two equal bars. w and h are the frame size after rounding.

Smart and Exact rounding
Smart: a standard size within 0.5%, else 2 × round(x ÷ 2)

Smart rounding (the default) snaps a dimension to a common video size such as 1080, 2160 or 1716 when it is within 0.5%, and otherwise to the nearest even pixel, which encoders prefer; the other side is then worked out from the rounded one. A Smart frame never ends up bigger than the source. Exact keeps the fraction (804.38) so you can see the true size.

Anamorphic desqueeze and fit
desqueezed width = W × squeeze; fit scale = min(TW ÷ (W × squeeze), TH ÷ H)

An anamorphic lens squeezes the picture sideways; desqueezing multiplies the width by the squeeze factor. To fit the desqueezed picture inside a target size (TW × TH), both sides are multiplied by the smaller of the two scales.

Anamorphic footage

Choose a lens squeeze to desqueeze anamorphic footage. A 2880 × 2160 recording shot with a 2× anamorphic lens desqueezes to 5760 × 2160, a 2.67:1 picture. Fit to target then scales that picture into a delivery frame: inside 3840 × 2160 it becomes 3840 × 1440, with 360 px bars top and bottom.

Scaling to a delivery size

Turn on Scale to a delivery size to place the frame in another resolution. Fit shows the whole picture and adds bars, Fill covers the delivery frame and cuts off the overflow, and Stretch fills it by scaling each axis differently, which distorts the image. The DCI 4K 2.39:1 frame, 4096 × 1716, fit into 1920 × 1080 is 1920 × 804 with 138 px bars.

Worked example

2.39:1 inside a 1920 × 1080 frame

  1. 2.39:1 is worked out as 4096 ÷ 1716 = 2.38695
  2. 1920 ÷ 1080 = 1.778, narrower than 2.387, so the width is kept: w = 1920
  3. h = 1920 ÷ 2.38695 = 804.375
  4. Smart rounding to the nearest even pixel: 804.375 → 804
  5. Bars: (1080 − 804) ÷ 2 = 138 px top and bottom

2.39:1 in 1920 × 1080 is 1920 × 804, with 138 px bars top and bottom

Quick reference

Common ratios inside 1920 × 1080 and 3840 × 2160 (Smart rounding, bars in pixels on each side)

RatioIn 1920 × 1080Bars (HD)In 3840 × 2160Bars (UHD)
4:3 (1.33:1)1440 × 1080240 left and right2880 × 2160480 left and right
1.66:11800 × 108060 left and right3600 × 2160120 left and right
16:9 (1.78:1)1920 × 1080None3840 × 2160None
1.85:11920 × 103821 top and bottom3840 × 207642 top and bottom
2:11920 × 96060 top and bottom3840 × 1920120 top and bottom
21:9 (2.33:1)1920 × 822129 top and bottom3840 × 1646257 top and bottom
2.35:11920 × 818131 top and bottom3840 × 1634263 top and bottom
2.39:11920 × 804138 top and bottom3840 × 1608276 top and bottom
2.76:11920 × 696192 top and bottom3840 × 1392384 top and bottom
1:11080 × 1080420 left and right2160 × 2160840 left and right

Save, share and get the Pro tools in the CineMath app

CineMath is a free download for iPhone, iPad and Mac, with this calculator built in. In version 1.3, coming soon to the App Store, CineMath Professional saves calculations to your history, shares them as links, and adds the Camera Database and Data Planning.

Questions

What resolution is 2.39:1 in 4K?

In 4K UHD (3840 × 2160) a 2.39:1 frame is 3840 × 1608, with 276 px bars top and bottom (the exact height is 1608.75). In DCI 4K (4096 × 2160) it is 4096 × 1716, the 2.39:1 frame SMPTE ST 428-1 gives for a 4K cinema image, with 222 px bars.

How big are the letterbox bars for 2.39:1 in 1080p?

138 px top and bottom. 1920 ÷ 2.387 = 804.375, which rounds to an 804 px tall picture, and (1080 − 804) ÷ 2 = 138. If you letterbox to 1920 × 800 instead, the bars are 140 px and the frame is 2.40:1.

What is the difference between 1.85:1 and 2.39:1?

They are the two common theatrical shapes, often called flat (1.85:1) and scope (2.39:1). Inside a DCI 4K container, SMPTE ST 428-1 gives 3996 × 2160 for 1.85:1, which keeps the full height, and 4096 × 1716 for 2.39:1, which keeps the full width. In a 1920 × 1080 frame, 1.85:1 is 1920 × 1038 with 21 px bars and 2.39:1 is 1920 × 804 with 138 px bars.

What is 21:9 in pixels?

21:9 is 2.333:1. Inside 1920 × 1080 it is 1920 × 822 (822.86 exactly) with 129 px bars, and inside 3840 × 2160 it is 3840 × 1646 with 257 px bars. Choose Custom ratio and type 21:9 to work it out for any source.

How do I calculate a frame size for an aspect ratio?

Divide the source width by the ratio. If the answer fits inside the source height, that is the height of the frame and the width stays the same. If not, multiply the source height by the ratio to get the width instead. For 1.85:1 in 3840 × 2160: 3840 ÷ 1.85 = 2075.7, which fits, so the frame is 3840 × 2076 after rounding to an even pixel.

Should I use Smart or Exact rounding?

Use Smart for a frame you will make: it gives whole, even pixel sizes and snaps to a standard size such as 1716 or 2160 when it is within 0.5%, and it never goes past the edge of the source. Use Exact to see the true value, such as 804.375 for 2.39:1 in 1080p, before any rounding.

Related