Linked width and height
One field drives the other while the link is on, which is how most sizing questions actually arrive, and the link toggles off when you need to break the proportion on purpose.
Enter the size you have, type the width or height you want, and the matching number appears with the ratio reduced beside it.
Type one dimension and the linked field solves the other as you go.
Reduced ratio, decimal value, and megapixel count update on every keystroke.
Three short steps take you from a pair of measurements to the exact size you need next.
Put the current width and height into the original size boxes. If you only know the proportion, choose it from the ratio list such as 16:9 or 4:5 and the boxes fill themselves.
Enter either the new width or the new height. With the link switched on the other box solves itself instantly, and switching the link off lets you type both to compare a deliberate distortion.
Copy the finished size, copy the CSS aspect-ratio declaration for a stylesheet, or save the whole pixel table as a CSV so the numbers are still there tomorrow.

One field drives the other while the link is on, which is how most sizing questions actually arrive, and the link toggles off when you need to break the proportion on purpose.
Dimensions are divided down to whole numbers and checked against the standard proportions, so 1920 by 1080 reads as 16:9 rather than a raw decimal you have to interpret.
Seven common widths are listed with the height each one needs, snapped onto the ratio so a row like 1280 by 720 is exact rather than nearly right.
A proportion box redraws as you type, giving a quick visual check that the ratio you picked is landscape, portrait, or square before you commit to it.
Copy buttons hand you the finished pixel pair or a valid CSS aspect-ratio declaration, and a text or CSV download keeps the working out for a handover note.
Alongside the answer you get the percentage of the original width and the megapixel count, which is often what decides whether a size is worth exporting at all.
This page is arithmetic and nothing more, so it is worth being clear about what happens to the dimensions you type and what is kept afterwards.
Each proportion is solved by arithmetic running in this browser tab as you type, with no request sent anywhere and no calculation queued on a machine you do not control.
Typed dimensions live in the page only. Reloading clears them, and nothing is written to an account, a cookie, or a saved history list.
Open the page and start typing. There is no sign-in wall, no usage counter, and no limit on how many proportions you solve.
Small details that separate a proportion that holds up in production from one that quietly drifts.
Nothing you type is sent anywhere, so internal spec numbers stay on this machine.
No account, cookie, or saved history records the dimensions you tried out here.
Use the true pixel dimensions rather than a rounded figure from a spec sheet.
Odd source sizes rarely reduce to a tidy ratio, which the decimal reading makes obvious.
Results are rounded to whole pixels because part of a pixel cannot be exported.
A near match is flagged as close rather than exact, so read that label carefully.
Aspect Ratio Calculator takes typed numbers only, so there is no upload and no file size ceiling to worry about.
Divide both numbers by their greatest common divisor. Entering 1920 and 1080 does that for you and returns 16:9, along with the decimal 1.7778 for anywhere that wants a single figure.
720 pixels. Choose 16:9 in the ratio list, type 1280 into the new width box, and the linked height solves itself while the size table below confirms the pair.
Because the numbers are near the standard but not on it, usually after an earlier crop rounded a pixel. Round to the nearest listed size in the table to land on the ratio exactly.
Yes. Displays, video frames, print areas, and CSS containers all use the same proportion arithmetic, and the copy button hands over an aspect-ratio declaration a stylesheet accepts as written.
Leave the link switched on and edit a single field. The other side recalculates from the original proportion, so the shape stays identical while the pixel count changes.
4.1 (342 ratings)