How to use the aspect ratio calculator in 3 steps
- Enter the width and height of your video or image in pixels. The ratio appears at once, in lowest terms and as a decimal, with the nearest common ratio if yours isn't a round one.
- Resize without stretching. Choose whether to set a new width or a new height and enter it; the other side is worked out to keep the shape. Tick "Round to even numbers" if you want an even result.
- Fit it into a frame. Pick 16:9, 9:16 vertical, square, an Instagram feed size or your own frame, and see the size with bars (fit) or with a crop (fill).

What makes this aspect ratio calculator different
- Made for video. Besides the ratio and a new size, it shows how a landscape video sits in a vertical or square frame. You see the bars, the crop and a picture of each.
- Honest numbers. When rounding to whole or even pixels moves the shape, it says by how much. When a size is close to a common ratio but not exact, as with 1366 × 768, it says that too.
- Sizes you can use. For 16:9 it lists YouTube's recommended resolutions; for other ratios, sizes from 360 to 2160 pixels on the short side.
- Sourced frames. Each platform frame names the help page it comes from and the date we checked it.
- Private. Nothing you enter leaves your browser.
Use cases
- Turning a landscape video into a Short or a Reel: see how much a 9:16 frame crops, or how big the bars are.
- Exporting a smaller copy: find the height for 1280 or 854 pixels wide without stretching.
- Checking a file: find out whether a recording is really 16:9, 4:3 or something in between.
- Planning a thumbnail or a banner: work out a size that matches a ratio exactly.
Specs and limits
- Sizes: whole pixels from 1 to 100,000 on each side.
- Ratios: in lowest terms (for example 683:384), as a decimal (1.78:1, or 1:1.25 for portrait), and the nearest of 15 common ratios within 2%.
- Resize: rounds to the nearest whole pixel, or to an even number if you tick the box, and shows how far that moves the shape.
- Frames: YouTube 1080p and 4K, vertical 9:16 (1080 × 1920), square (1080 × 1080), Instagram feed 4:5 (1080 × 1350) and 1.91:1 (1080 × 566), or any custom size.
- Square pixels: the calculator treats every pixel as square.
- Privacy: only your inputs are remembered on this device, to fill the form next time. Nothing is sent anywhere.
Methodology
- Ratio: width and height divided by their greatest common divisor (1920 and 1080 share 120, giving 16:9). The decimal is the long side ÷ the short side.
- Nearest common ratio: the named ratio whose width ÷ height is closest to yours, shown if it's within 2%.
- Resize: new height = new width × height ÷ width, or new width = new height × width ÷ height, then rounded.
- Fit: the picture is scaled by the smaller of (frame width ÷ width) and (frame height ÷ height), and the rest of the frame is bars.
- Fill: the picture is scaled by the larger of the two, and whatever falls outside the frame is cropped.
- Check: 1920 × 1080 in a 1080 × 1920 frame fits at 1080 × 607.5 with 656.25 px bars top and bottom; filled, it is 3,413 px wide and keeps 31.6% of its width.
Sources
Checked on 30 November 2026.
- YouTube Help: Video resolution and aspect ratios: the standard aspect ratio on a computer is 16:9, with recommended resolutions from 426 × 240 to 7680 × 4320.
- YouTube Help: Upload YouTube Shorts: a Short has a square or vertical aspect ratio and is up to 3 minutes long.
- Instagram Help: Image resolution of photos you share on Instagram: photos are kept at up to 1,080 pixels wide when their aspect ratio is between 1.91:1 and 3:4 (heights from 566 to 1,440 pixels). This is Instagram's page for photos.
Frequently asked questions
How do I calculate an aspect ratio?
Divide the width and the height by the largest number that divides both. 1920 and 1080 are both divisible by 120, which gives 16 and 9, so 1920 × 1080 is 16:9. The calculator also gives the decimal form (1.78:1) and the nearest common ratio when yours isn't a round one.
What sizes are 16:9?
YouTube Help lists these for 16:9 video: 426 × 240, 640 × 360, 854 × 480, 1280 × 720, 1920 × 1080, 2560 × 1440, 3840 × 2160 (4K) and 7680 × 4320 (8K). Enter any 16:9 size and the calculator shows the list.
How do I resize without stretching?
Keep the same ratio: new height = new width × height ÷ width. A 1920 × 1080 video at 1280 wide becomes 1280 × 720. When the result isn't a whole number, the calculator rounds it and tells you how far that moves the shape.
What's the difference between fit and fill?
Fit shows the whole picture and fills the rest of the frame with bars. Fill covers the whole frame and crops what doesn't fit. A 1920 × 1080 video in a 1080 × 1920 vertical frame fits at 1080 × 608 with about 656 px of bars top and bottom; filled, it keeps only 31.6% of its width.
What aspect ratio do YouTube Shorts use?
YouTube Help says to upload a Short with a square or vertical aspect ratio, up to 3 minutes long. The vertical frame in this calculator is 9:16 at 1080 × 1920; you can also choose square or enter your own frame.
Is 1366 × 768 16:9?
Not exactly. In lowest terms it's 683:384, which is about 0.05% wider than 16:9. The calculator shows the exact ratio and the nearest common one for sizes like this.
Is anything uploaded?
No. The calculator only does arithmetic in your browser. Only your inputs are remembered on this device, to fill the form next time, and nothing is sent to us or anyone else.