Aspect Ratio Calculator

Share:
Mathematics

Aspect Ratio Calculator

Simplify an aspect ratio and resize without distortion

By Checked against sources by Last reviewed ASPECT RATIO DESIGN IMAGE MATHEMATICS
Your browser is too old for this tool’s interactive features. Please update to Safari 13.1, Chrome or Edge 80, Firefox 74 or newer.

Aspect Ratio Calculator

Exact ratio
—

Resize without stretching

Fill one new side to get the other.

Crop to a different shape

The largest centred crop at the ratio you pick, and how much of the picture survives.

Checked against what the platforms publish

Each rule is quoted from the platform’s own page, as read on 18 Nov 2026.

WhereWhat the page saysYour image
  • YouTube publishes no date for its current thumbnail size. Archived copies of the same help page up to 5 March 2026 recommend 1280 × 720 with the same 640-pixel minimum width.
  • Shopee Singapore’s pages name the second shape differently: “Best practices for listing optimisation” (06-07-2026) says images must be 1:1 or 4:3; “Why upload product images in 3:4 ratio?” (12-01-2023) says 1:1 is mandatory and 3:4 may be added. Other Shopee markets have their own pages, not checked here.
  • LINE says rich menus are not displayed on LINE for PC. WeChat’s draft API also accepts 1_1, 16_9 and 2.35_1 for picture messages (newspic); the rows above are article (news) covers.
  • Not shown because no platform page we read states them: WeChat cover sizes in pixels, Xiaohongshu, Lazada and LINE VOOM image sizes.
📅 Research current as of 18 Nov 2026 · Sources: YouTube Help, “Add custom thumbnails on YouTube”; LINE Developers, Messaging API reference (rich menu image); WeChat developer docs, 新增草稿 (draft add) API, cover_info; Shopee SG Seller Education Hub, articles 27838, 17318 and 34; ITU-R BT.709-6 (06/2015) and BT.2020-2 (10/2015). Pages read 18 Nov 2026.
Standards, published formulas, and reference data are revised over time — check against a current authoritative source before relying on these figures.
Advertisement
After tool · AD-W1Responsive

How to Use the Aspect Ratio Calculator

Enter the original size

Width and height, in any one unit. Read the exact ratio and the nearest familiar one.

Resize

Fill a new width or a new height. The tool gives the other side and says whether it lands on whole pixels.

Crop

Pick a target ratio to see the largest centred crop and the share of the picture it keeps.

Check the platforms

The table tests the size against YouTube, LINE, WeChat and Shopee Singapore rules.

Advertisement
After how-to · AD-W2Responsive

The ratio is the rule; the pixels are a recommendation

An aspect ratio is a width and a height reduced to lowest terms. Reducing is exact arithmetic, and that is why it surprises people: plenty of real screen sizes do not reduce to the ratio they are sold as. 1366 × 768 reduces to 683:384, and 2560 × 1080 to 64:27. The calculator shows the exact ratio first, then the nearest familiar one and how far apart they are, so you can tell a rounding label from a different shape.

Resizing keeps the ratio by scaling both sides by the same factor. The catch is whole pixels. A height comes out whole only when the width is a multiple of the ratio’s first term: 16 for 16:9, 47 for 2.35:1. Otherwise the export is rounded and the shape moves by a fraction of a percent. The calculator gives that figure and the nearest sizes that avoid it.

Changing the shape is a different job. Stretching distorts the picture, so the alternative is to crop. A centred crop from one ratio to another keeps the smaller of the two ratios divided by the larger, so moving a 16:9 picture to a square keeps 56.25% of it. The platform table applies the same arithmetic to rules the platforms state themselves. YouTube gives a fixed recommended size; LINE gives a range and a minimum shape; WeChat’s API takes a crop as fractions of whatever you upload; Shopee Singapore requires a square.

Scale, don’t stretch: keep the aspect ratio constant and circles stay round; change the shape only by cropping.

What common sizes really reduce to, and what a crop costs

01

16:9 is the picture aspect ratio in ITU-R BT.709 (HDTV, 1 920 samples per line) and BT.2020 (3 840 × 2 160 and 7 680 × 4 320). The 4096-wide “4K” size, 4096 × 2160, reduces to 256:135 instead.

02

1366 × 768 reduces to 683:384, which is 0.05% wider than 16:9. The calculator shows both.

03

2560 × 1080 reduces to 64:27 and 3440 × 1440 to 43:18: about 1.6% and 2.4% wider than 21:9.

04

At 16:9 a height is a whole number of pixels only when the width is a multiple of 16. At 2.35:1 (47:20) the width has to be a multiple of 47.

05

A centred crop from 16:9 to 1:1 keeps 56.25% of the picture, and a crop to 9:16 keeps 31.64%.

06

LINE’s rich menu rule (width ÷ height 1.45 or more) sets the tallest image at 1724 pixels for the 2500 maximum width.

Frequently Asked Questions

  • Because 683:384 is the exact ratio: 1366 and 768 share no larger common divisor than 2. It is 0.05% wider than 16:9, which no one would see, so the calculator also names the nearest familiar ratio and the difference. A size that reduces to small numbers, like 1920 × 1080 to 16:9, is shown as exact.
  • A 2560 × 1080 screen reduces to 64:27 (2.370) and a 3440 × 1440 screen to 43:18 (2.389). True 21:9 is 2.333, so those sizes are about 1.6% and 2.4% wider. The name is a rounded label; the pixel counts are what the calculator reduces.
  • By dividing the width and height by their greatest common divisor. 1920 and 1080 both divide by 120, giving 16:9. Decimals are first scaled to whole numbers (2.5 × 5 becomes 25 × 50, then 1:2), which is why the calculator accepts at most six decimal places: past that it would be reducing a rounded copy of what you typed, so it asks you to shorten the number instead.
  • The matching side is calculated exactly. Whether it is a whole number of pixels depends on the ratio: at 16:9 only widths divisible by 16 give a whole height, so a 1000-wide copy of a 1920 × 1080 image needs a height of 562.5. The calculator says when that happens, how much rounding to 563 changes the shape, and the nearest sizes that keep the ratio exactly (992 × 558 and 1008 × 567).
  • Then the two may describe a different shape. The calculator still gives the matching side for each, and warns how much the pair you typed would stretch the picture. To change the shape without stretching, crop: the crop section gives the largest centred crop at the ratio you choose and how much of the picture it keeps.
  • They describe the crop as a share of the image, with (0,0) at the top-left corner and (1,1) at the bottom-right. WeChat’s draft API takes a cover crop in that form. The same crop in pixels depends on the size of the image you upload, which is why the fractions change when the original size changes.
  • From each platform’s own page, read on 18 Nov 2026: YouTube Help for thumbnails, LINE’s Messaging API reference for rich menus, WeChat’s developer documentation for draft covers, and Shopee Singapore’s Seller Education Hub. Sizes that circulate only on third-party sites, such as a WeChat cover in pixels, are left out because no platform page we read states them. Platforms change these pages without notice; YouTube’s recommended thumbnail size was 1280 × 720 in archived copies up to March 2026.
  • No. A ratio is a proportion, so pixels, centimetres or inches all work as long as both sides use the same unit. The whole-pixel checks and the platform rules assume pixels.
  • Completely free, with no account or limit. What you enter is processed in your browser and is not sent to our servers, unless you share or open a link that carries it.

Method & sources

How it computes

Exact arithmetic in the browser. Width and height (at most six decimals) are scaled to whole numbers and divided by their greatest common divisor; the nearest familiar ratio is the one with the smallest log difference. A new side is old side × ratio; it is whole only when the typed side is a multiple of the ratio term. A centred crop keeps min(M/T, T/M) of the area. Platform rules are quoted from each platform's page, read 18 Nov 2026.

What this tool implements

  • Ratio = (w, h scaled to integers) ÷ gcd; inputs refused above 1e9, below 0.000001 or with more than six decimals rather than rounded.
  • Resize: new height = new width × h/w; whole iff the new width is a multiple of the reduced width term (terms are coprime). Crop kept = min(M/T, T/M).
  • Fixed 2026-11-18 (wave 218): nearest familiar ratio shown with its signed error; 21:9 prose corrected to what the tool returns (2560x1080 = 64:27, 3440x1440 = 43:18); unsourced 4:3 TV and 3:2 35 mm cards cut; platform rules added only where the platform's own page states them.

Sources

  • Google, YouTube Help, "Add custom thumbnails on YouTube": 16:9 for videos and 9:16 for Shorts; "a resolution of 3840 x 2160 pixels for videos and 2160 x 3840 for Shorts, with a minimum width of 640 pixels for videos and a minimum height of 640 pixels for Shorts". Read 18 Nov 2026; archived copies up to 5 Mar 2026 recommended 1280x720.
  • LY Corporation, LINE Developers, Messaging API reference, rich menu image: width 800 to 2500 pixels, height 250 pixels or more, aspect ratio (width / height) 1.45 or more, max 1 MB. Read 18 Nov 2026.
  • Tencent, WeChat developer documentation (服务号), 新增草稿 draft/add API, cover_info: crop_percent_list in a (0,0)-(1,1) coordinate system; 图文消息 (news) supports only 2.35_1 and 1_1. No pixel size is stated. Read 18 Nov 2026.
  • Shopee Singapore Seller Education Hub: "Why upload product images in 3:4 ratio?" (12-01-2023), 1:1 mandatory for all listings; "Best practices for listing optimisation" (06-07-2026), 1:1 or 4:3; "Mall Listings Guidelines" (23-01-2026), minimum 500 x 500 pixels. Read 18 Nov 2026.
  • ITU-R Recommendation BT.709-6 (06/2015), parameter values for HDTV: aspect ratio 16:9, 1 920 samples per active line, square pixels.
  • ITU-R Recommendation BT.2020-2 (10/2015), parameter values for UHDTV: picture aspect ratio 16:9 for 3 840 x 2 160 and 7 680 x 4 320.
Advertisement
Pre-footer · AD-W3 728 × 90