How to use
- Enter the ratio, for example 16 and 9. You can also type an original size such as 1920 and 1080.
- Enter the new width in pixels, for example 1280.
- Read the matching height (720 px).
- Press Copy to copy the height, or Share to send a link with your numbers.
Examples
| Ratio width | Ratio height | New width | Matching height |
|---|---|---|---|
| 16 | 9 | 3,840px | 2,160px |
| 4 | 3 | 800px | 600px |
| 21 | 9 | 3,440px | 1,474.29px |
About this tool
The formula
Keeping the aspect ratio means the width and height grow or shrink by the same factor:
new height = new width × ratio height ÷ ratio width
For a 16:9 frame that is 1280 wide, the height is 1280 × 9 ÷ 16 = 720.
Common ratios
- 16:9: HD and 4K video, most monitors and TVs. 1280×720, 1920×1080, 2560×1440, 3840×2160.
- 4:3: older TVs and monitors, many tablets, and the default photo shape of most phone cameras. 800×600, 1024×768.
- 3:2: the 35 mm film frame and most DSLR sensors, such as 6000×4000.
- 21:9: ultrawide monitors and some cinema formats. The name is a marketing label: a 3440×1440 screen is really 43:18, about 2.39:1, and 2560×1080 is 64:27, about 2.37:1, while a true 21:9 is 2.33:1.
- 9:16: vertical video for phone screens, 1080×1920. Swap the two ratio numbers to work in portrait.
Using real sizes instead of a ratio
You don’t have to reduce a size to a ratio first. Typing 1920 and 1080 into the ratio fields gives exactly the same results as 16 and 9, because only their proportion matters. This is handy for odd sizes, such as a 1366×768 screenshot.
Fractions of a pixel
Screens only have whole pixels, so round the height to the nearest whole number. Video encoders often prefer even numbers, and some work best with multiples of 8 or 16: scaling 1920×1080 down to 854 wide gives 480.375, which is usually stored as 480. A 21:9 frame 2560 wide works out to 1097.14, another reason to check the real pixel size of an ultrawide display.
Finding the width instead
To go the other way, put the ratio in backwards: enter 9 and 16 as the ratio and the known height as the new width, and the result is the matching width.
Frequently asked questions
How do I calculate height from width and aspect ratio?
Multiply the width by the ratio’s height and divide by the ratio’s width. At 16:9, a width of 3840 gives 3840 × 9 ÷ 16 = 2160.
What is the height of a 4:3 image that is 800 pixels wide?
800 × 3 ÷ 4 = 600 pixels.
Is 3440×1440 really 21:9?
Not exactly. 3440×1440 reduces to 43:18, about 2.39:1, while 21:9 is about 2.33:1. 21:9 is a rounded label for ultrawide screens.
How do I find the width from a height?
Swap the ratio numbers. Enter 9 and 16 as the ratio and the height as the new width; the result is the width for a 16:9 frame.