How the calculation works
A ratio tells you how many units of width go with each unit of height. To get the missing side, scale the side you know:
- height = width × ratio height ÷ ratio width
- width = height × ratio width ÷ ratio height
For 4:3 at 1920 pixels wide: 1920 × 3 ÷ 4 = 1440. For 2.39:1 at the same width: 1920 ÷ 2.39 = 803.35, which rounds to 803.
Why the result is rounded
Pixels are whole numbers, so most ratios cannot be matched exactly at every width. The calculator rounds to the nearest pixel and shows the exact value under the fields whenever the two differ.
Why video wants even numbers
H.264 and H.265 usually store colour at half resolution (4:2:0 subsampling), so the width and height have to divide by 2. The even size in the readout is the nearest size that does. When the side you typed is already even, it stays as it is.
For every common ratio with its decimal value and standard resolutions in one table, see the aspect ratio cheat sheet.