The Resolution Aspect Ratio Calculator works out the aspect ratio of any screen or image. Enter the width and height to get the ratio in simplest form.
Resolution Aspect Ratio Calculator
Turn any pixel resolution into its clean ratio — 1920×1080 becomes 16:9 — with the gcd working shown.
Enter your values
Fill in the fields below — the result appears with every step shown.
Your result will appear here
Enter your values above, then press Calculate — or press Enter in any field.TinyExe · Resolution Aspect Ratio Result
Calculated locally in your browser
—
Name
—
Width (pixels)
—
Height (pixels)
—
Result
—
How this was calculated
What to do next
TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.
Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.
The short answer
A resolution aspect ratio calculator divides width and height by their greatest common divisor. Full HD at nineteen twenty by ten eighty has gcd one hundred twenty, simplifying to the familiar sixteen by nine widescreen ratio, whose decimal form one point seven seven seven eight is the headline value returned for any screen or image.
- Ratio = (width / gcd) : (height / gcd)
- 16:9 = 1.7778, 4:3 = 1.3333, 21:9 = 2.3333
- Same ratio at any size: shape, not size
Common display aspect ratios
Reference values for this calculator.
| Ratio | Decimal | Typical resolutions |
|---|---|---|
| 16:9 | 1.778 | 1920x1080, 3840x2160 |
| 4:3 | 1.333 | 1024x768, 1600x1200 |
| 21:9 | 2.333 | 3440x1440, 2560x1080 |
| 16:10 | 1.600 | 1920x1200, 2560x1600 |
| 1:1 | 1.000 | 1080x1080 (social square) |
The formula
The exact formula this calculator uses — every variable in it is explained in the card below.
The formula
Ideas enhancement: names the common ratio (16:9, 4:3, 21:9, 1:1) when the simplified pair matches one, and reports total pixel count alongside the ratio.
Worked examples
Worked examples with the full working shown — try them in the calculator to check.
Example 1
Full HD
Width 1920, height 1080
| Calculation | Steps |
|---|---|
| gcd(1920, 1080) = 120. 1920 / 120 = 16 and 1080 / 120 = 9, giving 16:9; decimal 1920 / 1080 = 1.7778. | 16:9 widescreen, decimal 1.7778. |
Result
Example 2
Classic display
Width 1024, height 768
| Calculation | Steps |
|---|---|
| gcd(1024, 768) = 256. 1024 / 256 = 4 and 768 / 256 = 3, giving 4:3; decimal 1.3333. | 4:3 classic ratio, decimal 1.3333. |
Result
Example 3
Square social image
Width 1080, height 1080
| Calculation | Steps |
|---|---|
| gcd = 1080, giving 1:1; decimal exactly 1. | 1:1 square, decimal 1.0000. |
Result
How to use this calculator
Step 1
Enter the resolution width in pixels.
Step 2
Enter the resolution height in pixels.
Step 3
Read the decimal ratio and the simplified whole-number ratio.
Step 4
Check the common-name line to see whether it is a standard display shape.
Step 5
For video, match this ratio to your timeline settings to avoid black bars.
Frequently asked questions
How is an aspect ratio simplified?
Divide both dimensions by their greatest common divisor. 1920 and 1080 share gcd 120, giving 16:9.
Why do 1366x768 monitors claim 16:9?
1366/768 = 1.7786, which is 16:9 to within a pixel rounding — the panel is a near-exact widescreen with a slightly unusual pixel count.
Does resolution size change the ratio?
No. 1280x720 and 3840x2160 are both 16:9; the ratio is shape, the resolution is size. Doubling both dimensions keeps the ratio identical.
What ratio are phone videos?
Vertical phone video is usually 9:16 (the reciprocal 0.5625) — enter width 1080, height 1920 to see it.
What about print aspect ratios?
Photo prints use the same maths: 6x4 inches is 3:2, 7x5 is 7:5. Enter inches instead of pixels and the ratio logic is unchanged.
About this calculator
An aspect ratio calculator converts a resolution — a width and height in pixels — into the simplified ratio that describes the screen or image's shape, such as 16:9, together with the decimal form of that ratio and the total pixel count.
Two resolutions can share a shape while differing hugely in size: 1280x720 and 3840x2160 are both 16:9. The simplification works by dividing both numbers by their greatest common divisor, which strips away the size and leaves only the proportion. That is why the gcd step is shown — it is the entire method, and it lets you verify any claimed ratio by hand.
Mismatched ratios are the cause of letterbox bars and stretched images: content made at 4:3 shown on a 16:9 screen must be padded, cropped or distorted. Checking the ratio before recording or exporting is the cheap moment to fix it, which is what this page is for.
Use it when setting up video timelines, resizing images for social platforms, checking whether footage will fill a screen without black bars, or specifying a monitor, projector screen or print size.
How to calculate it yourself
Step 1
Write the resolution as width : height.
Step 2
Find the greatest common divisor of the two numbers.
Step 3
Divide both numbers by the gcd.
Step 4
The resulting pair is the aspect ratio; divide width by height for the decimal form.
Real-life examples
YouTuber's export check
A creator records at 2560x1440 and wants to confirm her export matches her 16:9 timeline before a long render.
gcd(2560, 1440) = 160, giving 16:9 exactly; decimal 1.7778.
The export is true 16:9 — no bars, no crop; she renders with confidence.
Photo print cropping
A photographer checks whether a 6000x4000 file prints on 7x5 paper without cropping.
6000:4000 simplifies (gcd 2000) to 3:2 = 1.5, while 7:5 = 1.4 — different shapes.
The print will crop: she exports a 7:5 version (for example 5000x3571... proportionally 7:5) rather than letting the lab crop blindly.
Ideas & use cases
- Platform presets: run 1080x1350 (4:5 portrait), 1080x1080 (1:1) and 1080x1920 (9:16) to build a mental preset table for social exports.
- Screen shopping: when a monitor lists only its resolution, run it here to learn its true shape before comparing with your desk or content.
- Scaling test: any multiple of a ratio pair keeps the shape — verify 1280x720, 1920x1080 and 3840x2160 all land on 16:9.
Limitations & sources
- Pixel (or unit) dimensions only — it does not account for non-square pixels (anamorphic video) or display bezels and scaling settings.
Sources: Aspect ratio simplification via greatest common divisor: standard arithmetic; common display ratios per VESA/CEA display standards
