Aspect Ratio

What Is an Aspect Ratio Calculator?

An aspect ratio calculator determines the proportional relationship between width and height from any dimensions. Enter a width and height, and this tool instantly calculates the simplified ratio, equivalent dimensions at different sizes, and the CSS aspect-ratio property value.

Common Aspect Ratios

16:9 — widescreen video, hero images, YouTube. 4:3 — traditional TV, presentations, blog images. 1:1 — Instagram posts, profile pictures, icons. 9:16 — Stories, TikTok, mobile video. 3:2 — DSLR photography, standard prints. 21:9 — ultrawide cinema, panoramic headers.

How to Use This Aspect Ratio Calculator

  1. Enter the original dimensions — Type the width and height of your image, video, or element in pixels.
  2. See the simplified ratio — The calculator reduces your dimensions to the simplest whole-number ratio (e.g., 1920×1080 → 16:9).
  3. Calculate missing dimensions — Enter a new width or height and the tool calculates the matching dimension that preserves the original ratio.
  4. Copy the result — Grab the ratio, the CSS aspect-ratio value, or the calculated dimensions for your project.

Worked examples: what size is that, really?

Many screen and image sizes are named after a ratio they do not quite have. Type a width and a height and the calculator reduces them by their greatest common divisor; when that leaves large numbers it also shows the nearest common ratio and how far off it is. These results were read from the calculator in Chromium on October 12, 2026:

SizeWhat it isExact ratioDecimalNearest common ratio
1366 × 768Common laptop screen683:3841.7786Close to 16:9 (0.05% wider)
1440 × 90016:10 laptop screen8:51.6000exactly 16:10
2560 × 1080Sold as a 21:9 ultrawide64:272.3704Close to 2.39:1 (0.82% narrower); 21:9 is 2.333
3440 × 1440Sold as a 21:9 ultrawide43:182.3889Close to 2.39:1 (0.05% narrower)
1200 × 630Open Graph share image40:211.9048no common ratio within 2%
1080 × 1350Instagram portrait post4:50.8000exactly 4:5

The two "21:9" monitors are not the same shape: 2560 × 1080 is 0.8% narrower than 3440 × 1440, and neither is exactly 21:9. That matters when you build a full-screen layout or a video for one of them. For CSS, use the exact pair (aspect-ratio: 64 / 27), or set the image's real width and height attributes and let the browser derive the ratio, which also reserves the space before the image loads.

Scaling to a new size. Switch on Lock ratio to keep the shape: editing either field then sets the other from the ratio captured when you locked, so 1920 × 1080 locked and typed down to a width of 1280 gives exactly 720, and a height of 2160 gives 3840. Clicking a ratio card keeps your current width and sets the matching height (a width of 1280 on 4:3 gives 960). With the lock off, the two fields are independent, which is what you want when you are measuring an existing size.

Frequently Asked Questions

What is an aspect ratio?
The proportional relationship between width and height (e.g., 16:9). Describes the shape of images, videos, and screens. Common: 16:9 (widescreen), 4:3 (traditional), 1:1 (square).
How do I calculate it?
Divide width and height by their greatest common divisor. 1920÷120=16, 1080÷120=9, so 1920x1080 = 16:9. This tool calculates instantly from any dimensions.
Best ratio for web images?
16:9 for heroes/video, 4:3 for content images, 1:1 for social/thumbnails, 3:2 for photography. Match your layout and target platform.
What aspect ratio is 1920x1080?+
1920×1080 simplifies to a 16:9 aspect ratio. This is the standard widescreen ratio used by Full HD monitors, YouTube videos, and most modern displays.
How do I calculate aspect ratio from pixel dimensions?+
Divide both the width and height by their greatest common divisor (GCD). For 1920×1080, the GCD is 120, giving you 16:9. This calculator automates this process for any dimensions.
How do I calculate aspect ratio?+
Divide both width and height by their greatest common divisor (GCD). For example, 1920÷120 = 16, 1080÷120 = 9, so 1920x1080 is 16:9. This tool calculates it instantly from any dimensions.
What aspect ratio is best for web images?+
16:9 for hero images and videos (matches widescreen displays). 4:3 for traditional content images. 1:1 for social media and thumbnails. 3:2 for photography. Match the ratio to your layout design and target platform.
What aspect ratio should I use for a hero video on a website?+
16:9 is the safe default because every modern video editor, hosting platform, and browser handles it natively and it matches the format most footage is shot in. For a hero background that occupies the full viewport on desktop, consider 21:9 (cinematic) — it crops nicely on mobile when paired with object-fit: cover and feels more premium. Avoid hero videos in 4:3 or vertical aspect ratios on desktop; they leave large empty bands that fight the rest of the layout.

📖 Learn More

Related Article How to Calculate Aspect Ratio for Images & Video →

Built by Derek Giordano · Part of Ultimate Design Tools

Privacy Policy · Terms of Service