Why use Aspect Ratio Calculator?
- Automatically simplifies any ratio using the greatest common divisor (GCD)
- Enter a new width to get height, or height to get width — your choice
- One-click presets for 16:9, 4:3, 1:1, 21:9, 3:2 and 9:16
- Results rounded to whole pixels — ready to paste into your design tool
About Aspect Ratio Calculator
Aspect ratio is the proportional relationship between the width and height of an image or screen. Getting it wrong stretches or squashes your content, which looks unprofessional. This free calculator takes your original dimensions, finds the simplified ratio (e.g. 1920 × 1080 simplifies to 16:9 using the greatest common divisor), and then lets you type either a new width or a new height — the other dimension is calculated instantly so the ratio is preserved perfectly.
One-click presets for the most common ratios — 16:9 (HD video), 4:3 (classic screens), 1:1 (social media squares), 21:9 (ultrawide), 3:2 (photography) and 9:16 (portrait / Stories) — mean you can jump to a standard size in seconds. Everything runs in your browser; no images are uploaded or stored.
How to use Aspect Ratio Calculator
- 1
Set original dimensions
Type your current width and height in pixels, or click a preset button (e.g. 16:9) to populate common dimensions automatically.
- 2
Enter one new dimension
Type either the new width or the new height you want. The other field calculates instantly to maintain the exact aspect ratio.
- 3
Copy and use the result
The scaled width and height are displayed rounded to the nearest pixel. Click Copy to grab both values as a tidy "W × H" string for your workflow.
Frequently asked questions
What is aspect ratio and why does it matter?
Aspect ratio describes the ratio of width to height. A 16:9 image is 16 units wide for every 9 units tall. Maintaining it when you resize prevents stretching or squashing. It matters for video (16:9 is the HD standard), social media (Instagram recommends 1:1 or 4:5), photography (DSLRs shoot 3:2) and web design.
How is the simplified ratio calculated?
The tool divides both dimensions by their greatest common divisor (GCD). For example, 1920 and 1080 share a GCD of 120, so 1920 ÷ 120 = 16 and 1080 ÷ 120 = 9, giving 16:9.
The result is a decimal — why is it rounded?
Pixel dimensions must be whole numbers. The calculator rounds the computed dimension to the nearest integer. In practice the rounding error is less than one pixel, so the ratio is preserved to very high accuracy.
Can I use this for non-pixel units?
Yes — the calculator works with any unit as long as both dimensions use the same unit. You can enter centimetres, inches or any other measurement; the ratio calculation is purely mathematical.
Related calculators
Browse more free tools
Explore every category in our toolbox.