The quick answer
Reduce width and height by their greatest common divisor: 1920 and 1080 both divide by 120, giving 16:9. At a target width of 400 px, a 16:9 frame is exactly 400 × 225 px. The calculator does both instantly in your browser; nothing uploads, nothing is stored.
What the calculator does
An aspect ratio is one number divided by another, width over height, reduced to the smallest whole terms. This calculator takes three inputs (Width, Height, and a Target width for resizing) and returns four live result cards: the reduced ratio, the decimal ratio to four places, the matching pixel size at your target width, and which common standard the frame belongs to, 16:9, 4:3, 3:2, 1:1, 21:9, 9:16, or Custom.
The three inputs arrive prefilled with 1920 × 1080 and a 400-px target, so a 16:9 result is already on screen when the page opens. Results recompute on every keystroke, there is no calculate button, and the formula box under the results prints the working: Ratio = Width : Height (reduced by GCD); New size = ratio × target. A Reset to example button restores the defaults in one click.
How to drive it, step by step
Enter your dimensions
Type over Width (1920 by default), Height (1080) and Target width (400 px). Results recompute on each keystroke, so a typo shows immediately as an implausible ratio rather than a silent error.
Sanity-check with Reset to example
The button restores 1920 × 1080 with a 400-px target, which must produce exactly 16:9 at 400 × 225 px, the same answer worked by hand lower on this page. One click confirms the tool matches the documentation before you trust it with your own numbers.
Read the four result cards
The emphasized cards give the reduced ratio (16:9) and the matching size at your target width (400 × 225 px). The supporting cards add the decimal ratio (1.7778) and the common-standard match, which names the standard your dimensions belong to or says Custom.
Compare frames live
Type over the inputs to compare scenarios: 2560 × 1440 for a monitor, 1080 × 1920 for vertical video, then change the target width to the size your layout actually needs. Instant recomputation is what makes the page useful for design decisions rather than single answers.
Verify the formula once
Run the GCD reduction by hand once for your own inputs against the formula box under the results. After that you can trust both the tool and your understanding of it.
Three numbers in, a ratio and its exact pixel sizes out, in under a minute, and every result can be re-derived by hand from the arithmetic printed on this page.
The math: GCD reduction and scaling
Every result rests on two pieces of arithmetic: reducing a width:height pair by their greatest common divisor, and scaling one dimension to a target while holding the ratio fixed. 1920 and 1080 share the GCD 120, 1920 ÷ 120 = 16 and 1080 ÷ 120 = 9, so the ratio is 16:9. Nothing here is measured or estimated; it is exact integer arithmetic, identical on every run.
Input
Width: 1920 Height: 1080 Target width (for new size): 400
Output
Aspect ratio: 16:9 Decimal ratio: 1.7778 At target width: 400 × 225 px Common standard: 16:9
Try a second frame by hand: 2560 × 1440 shares the GCD 160, so it also reduces to 16:9, and at a 300-px target width the matching height is 169 px (300 × 1440 ÷ 2560 = 168.75, rounded to the nearest pixel). Different numbers, same ratio: that is the entire point of the reduction.
The common-standard card checks the reduced ratio against 16:9, 4:3, 3:2, 1:1, 21:9 and 9:16; anything else prints Custom, which is the honest answer rather than a forced match. 1366 × 768, for instance, reduces to 683:384, and the card says Custom rather than pretending it is 16:9.
Who actually needs ratio math
Aspect-ratio arithmetic shows up in five everyday jobs, and each wants something different from the calculator.
- Video editors, whose deliveries span 16:9 broadcast, 9:16 vertical and 1:1 square. A 9:16 frame at a 1,080-px height is exactly 607.5 px wide, and seeing that half-pixel before export is precisely the kind of answer this page exists to surface.
- UI and web designers, where CSS aspect-ratio boxes, hero images and card thumbnails all want one consistent frame. Reducing 1440 × 900 to 8:5 (both sides divided by 180) keeps a design system's proportions mathematical instead of eyeballed.
- Photographers, whose sensor formats and print sizes are ratio talk: 3:2 full-frame, 4:3 Micro Four Thirds, 5:4 and 7:5 sheet-film crops. Knowing exactly which pixels a 3:2 capture loses on the way to a 4:3 print is a ratio calculation, best done before the paper is cut.
- Social media managers, sizing one master asset into every platform frame: 16:9 on YouTube, 9:16 for Stories and Shorts, 1.91:1 for link-card images. The calculator returns the exact pixel dimensions for each target width.
- Students, for whom the worked example settles the argument when the workbook answer and the calculator disagree, because the factor and rounding used are printed on the page.
Exactness: integer ratios and rounding
The calculator is exact where its inputs are exact. The interesting behavior lives at the edges, and this section documents the three cases worth knowing.
- The target width echoes exactly as typed, and the computed height rounds. Enter 1080 × 1920 with a 607.5-px target and the card reads 607.5 × 1080 px; enter 608 instead and it reads 608 × 1081 px, because 608 × 1920 ÷ 1080 = 1080.9 rounds up. The ratio stays exact; the pixel count carries the honest half-pixel residue.
- A 16:9 frame at a 1,000-px target width is 1,000 × 563 px (562.5 rounded), while a 4:3 frame at the same width is exactly 1,000 × 750 px, no rounding needed.
- Odd dimensions rarely land on clean standards: 1366 × 768 reduces to 683:384, not 16:9, and the common-standard card prints Custom rather than pretending, which is exactly what a laptop with that panel needs to hear.
Your dimensions stay in your browser
Ratio reduction is pure math on your device: three integers in, four result cards out, nothing to upload and nothing to store. Open the network view while you type and the request list stays empty; your input never becomes a request.
The inputs people bring are spec-table numbers, delivery specs and layout drafts, and none of it needs to cross a network boundary to divide two integers. Three integers divided in your tab is the whole service; a server would only add a place for them to leak from.
How this stacks up against other ratio tools
This tool is replaceable, and pretending otherwise helps nobody. The table shows what it trades and what it refuses to trade away.
| Alternative | Where it wins | Where this tool wins |
|---|---|---|
| andrew.hedges.name-era ratio tools | The classic minimal ratio calculators; nothing to learn, nothing to scroll | Decimal ratio and common-standard match in the same view, on a mobile-friendly layout |
| omnicalculator's aspect-ratio calculator | Part of a huge calculator suite with dozens of adjacent tools a click away | One screen, one job: reduce, resize and match a standard, with a reset-to-example check |
| IDE / CSS aspect-ratio in code | Lives where the layout ships; the browser computes the ratio itself at render time | Answers the spec-table and delivery questions before any code exists, with exact pixel sizes for any target width |
| A spreadsheet (width/height formula) | Lives with your dimension table; whole columns of frames at once | One tap in any browser, the GCD reduction done for you, no formula to debug |
There are jobs this page is wrong for, laying out the actual CSS box (your IDE does that live) or batch-processing a hundred frames (a spreadsheet wins), and the table flags each instead of bluffing.
Fixing the common ratio mistakes
When something behaves unexpectedly, the causes are almost always one of these three, and each has a ten-second fix.
- A ratio that will not reduce to anything familiar usually means the dimensions were read in the wrong order: 1080 × 1920 is 9:16, not 16:9, and the decimal-ratio card makes the flip obvious (0.5625 versus 1.7778).
- A matching size one pixel off what the spec table promised is rounding, not error: the calculator rounds the computed height to the nearest whole pixel, and the exactness section above shows the 562.5-to-563 case.
- Custom where you expected a standard means the frame genuinely is not one: 1366 × 768 really is 683:384, and the honest card is doing its job.
If the page ever misbehaves beyond these, tell the team through the contact page; fixes for verified bugs usually land within days, not months.
Frequently asked questions
These are the questions people actually search about aspect ratio calculation, answered directly. If yours is missing, the contact page takes feature and question requests.
What formula does the Aspect Ratio Calculator use?
It implements Ratio = Width : Height (reduced by GCD); New size = ratio × target. The formula box under the results prints exactly that, and the worked example on this page computes the default inputs (1920 × 1080 at a 400-px target) by hand so you can confirm the arithmetic matches before entering your own numbers.
Does the Aspect Ratio Calculator work on mobile?
Yes. Open the page on iOS or Android and it behaves the same: a responsive two-column layout, number inputs sized for touch, and results that recompute on every keystroke. The tool is a web page, so there is nothing to install and nothing to update.
Can I trust the numbers the Aspect Ratio Calculator produces?
The reduction is exact integer arithmetic: the same inputs produce the same reduced ratio on every run, every browser, every machine. Audit any result with the Reset to example button (1920 × 1080 must yield 16:9 at 400 × 225 px) or by running the GCD division by hand; both take under a minute.
Is the Aspect Ratio Calculator free to use?
The page is free, and it stays free however often your work needs it. It is a client-side page, so your browser does the work, which removes the usual reason tools like this get paywalled. Heavy traffic does not change the price, because the price is zero.
Do you store what I enter into the Aspect Ratio Calculator?
Three integers in, four result cards out, all computed in your browser's memory with plain JavaScript and never transmitted. When the tab closes, your numbers close with it.
Calculators that pair well with ratio work
These tools share the Aspect Ratio Calculator's workflow most often; the internal links exist because people genuinely chain them, not for keyword decoration.
- PPI Calculator: density from the same width and height numbers. Once the ratio is settled, PPI tells you whether those pixels will be sharp at your viewing distance.
- Screen Resolution Utility: reads your current display's live resolution, so the width and height inputs can come straight from the screen in front of you.
- Device Pixel Ratio Viewer: shows your display's CSS-pixel ratio, the companion number when a physical ratio has to be reconciled with CSS pixels.
- Image Resizer: the next step once the ratio is known; resizing to the computed pixel size is where the numbers meet an actual file.
Sources and further reading
The method on this page is standard ratio arithmetic, GCD reduction and proportional scaling, and the sources below document it. The calculator, the worked examples and the printed formula agree by construction: the examples were produced by the same engine that renders your result.
Sources and further reading
- Wikipedia: Display aspect ratio (16:9, 4:3, 3:2 standards)(en.wikipedia.org)
- BIPM: The International System of Units (SI brochure)(bipm.org)
- NIST: exact definitions of customary units (inch = 25.4 mm)(nist.gov)
- NIST: Special Publication 811, SI units and conversion rules(nist.gov)
- NIST: metric conversion tables(nist.gov)
We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.