{ Aspect Ratio Calculator }

// calculate & scale aspect ratios instantly

Calculate, convert, and scale aspect ratios instantly. Find missing dimensions, compare ratios, and export values for responsive web design and video production.

:
COMMON PRESETS
Leave blank to calculate
ร—
Leave blank to calculate
๐Ÿ“

Result will appear here

Enter a ratio and at least one dimension
ร—
๐Ÿ”ข

Ratio will appear here

Enter both width and height
ร—
Leave one blank to auto-calculate
ร—
%
๐Ÿ”ญ

Scaled dimensions here

Enter original size and a target dimension or %
:
Ratio 1
:
Ratio 2
:
Ratio 3
Heights will be calculated at this width
โš–๏ธ

Comparison will appear here

Enter 2+ ratios and a reference width

HOW TO USE

  1. 01
    Choose a Mode

    Select from Find Dimension, Find Ratio, Scale, or Compare tabs at the top.

  2. 02
    Enter Your Values

    Input your known dimensions or ratio. Use presets for common formats like 16:9 or 4:3.

  3. 03
    Calculate & Copy

    Click the Calculate button, then copy individual results with the copy buttons.

FEATURES

Find Missing Dimension Find Simplified Ratio Scale by % or px Compare Side-by-Side 8 Common Presets Visual Preview

USE CASES

  • ๐ŸŽฌ Video production โ€” scale 4K to 1080p
  • ๐Ÿ–ผ๏ธ Web design โ€” find height for given width
  • ๐Ÿ“ฑ Mobile UI โ€” convert portrait to landscape
  • ๐Ÿ–จ๏ธ Print design โ€” check image proportions
  • ๐ŸŽฎ Game development โ€” match display ratios

WHAT IS THIS?

An aspect ratio calculator helps you find the correct dimensions when you know a ratio but only one side โ€” like calculating height for a 16:9 video at 1280px wide. It's essential for responsive design, video production, and image resizing without distortion.

RELATED TOOLS

FREQUENTLY ASKED QUESTIONS

What is an aspect ratio?

An aspect ratio is the proportional relationship between width and height, expressed as two numbers separated by a colon (e.g., 16:9). It describes shape without specifying actual size โ€” a 1920ร—1080 and 1280ร—720 image share the same 16:9 ratio.

What does the "Find Dimension" mode do?

It calculates the missing dimension when you know the aspect ratio and one side. For example, given a 16:9 ratio and a width of 1280px, it tells you the height must be 720px to maintain that ratio.

How is the simplified ratio calculated?

The tool divides both dimensions by their Greatest Common Divisor (GCD) to find the simplest whole-number ratio. For example, 1920ร—1080 simplifies to 16:9 because both are divisible by 120.

What is the 16:9 aspect ratio used for?

16:9 (widescreen) is the standard for HD video, YouTube, most monitors, TVs, and modern presentations. Common resolutions include 3840ร—2160 (4K), 1920ร—1080 (Full HD), and 1280ร—720 (HD).

What's the difference between 4:3 and 16:9?

4:3 is a nearly square "standard definition" format used by older TVs and cameras. 16:9 is wider โ€” the modern widescreen standard. A 4:3 image appears with black bars (pillarboxing) on a 16:9 screen if not cropped.

Can I scale by percentage?

Yes. In the Scale mode, enter your original dimensions and a percentage value. The tool calculates both new dimensions proportionally โ€” for example, 50% of 1920ร—1080 gives you 960ร—540.

Does this tool round pixel values?

Yes, calculated pixel dimensions are rounded to the nearest whole number since fractional pixels don't exist on screens. The decimal value is shown alongside for reference when precision matters.

What's the best ratio for social media?

It varies by platform: Instagram feed uses 1:1 (square) or 4:5 (portrait). Instagram/TikTok stories use 9:16. Twitter/X header images use 3:1. YouTube thumbnails use 16:9. Facebook cover photos use approximately 2.7:1.

Aspect Ratio Calculator โ€” Find, Convert & Scale Dimensions

An aspect ratio calculator is one of the most fundamental tools in a designer's or developer's toolkit. Whether you're creating a video for YouTube, designing a responsive webpage, resizing images for social media, or laying out elements in a mobile app โ€” understanding and maintaining aspect ratios is critical. This free browser-based tool lets you calculate missing dimensions, find simplified ratios, scale proportionally, and compare multiple ratios at once, all without installing anything or signing up.

What Is Aspect Ratio?

Aspect ratio is the proportional relationship between a rectangle's width and its height. It's expressed as two numbers separated by a colon: W:H. The ratio 16:9 means for every 16 units of width, there are 9 units of height. Crucially, the ratio says nothing about actual size โ€” a massive cinema screen and a small phone screen can both be 16:9. The ratio only describes shape.

Aspect ratios matter because they govern how content fills a frame. Mismatched ratios lead to letterboxing (black bars top and bottom), pillarboxing (black bars left and right), or worse โ€” distorted, stretched content. Calculating ratios correctly ensures your images and videos always look exactly as intended across different screens and contexts.

Common Aspect Ratios and Their Uses

Different industries and platforms have settled on specific standard ratios:

How to Calculate Aspect Ratio โ€” The Math

The underlying math for aspect ratio calculations is straightforward once you understand it:

Finding a missing dimension: If you know the ratio (W:H) and the width, the height = width รท W ร— H. For example, at a 16:9 ratio with a width of 1280px: height = 1280 รท 16 ร— 9 = 720px.

Finding the simplified ratio from dimensions: Divide both numbers by their Greatest Common Divisor (GCD). The GCD of 1920 and 1080 is 120, so 1920รท120 = 16 and 1080รท120 = 9, giving the simplified ratio 16:9. The GCD can be found using the Euclidean algorithm, which our tool uses internally.

Scaling proportionally: To scale to a new width while preserving ratio: new height = (new width รท original width) ร— original height. To scale by percentage: new width = original width ร— (percentage รท 100), same for height.

Using the Aspect Ratio Calculator โ€” All Four Modes

Find Dimension mode is the most commonly used. Enter your aspect ratio (either manually or via a preset like 16:9), then enter either the desired width or height, leaving the other blank. The calculator fills in the missing value. This is essential when you have a container of known width and need to know the height, or when you have height constraints and need to determine width.

Find Ratio mode takes a different approach โ€” you start with dimensions. Enter a width and height and the tool reduces them to the simplest whole-number ratio using GCD. It also shows you the decimal ratio (width รท height) and identifies if the dimensions match any common named ratio. This is useful when you've received assets at unusual resolutions and need to know their ratio for use in a design system.

Scale Dimensions mode lets you resize while maintaining proportions. Enter original dimensions and then either a target width, a target height, or a percentage. The tool calculates the other dimension automatically. You can also scale to a percentage โ€” useful when creating @2x/@3x assets for retina displays (200% and 300% respectively) or thumbnails (e.g., 25% of full size).

Compare Ratios mode visualizes multiple ratios side by side. Enter up to three ratios and a reference width, and the tool shows what height each ratio produces at that width, along with visual bars representing the relative proportions. This helps when choosing between ratio options for a design, or when checking how different platform formats differ from each other.

Aspect Ratios in Web Development

In CSS, maintaining aspect ratios used to require a "padding-bottom hack" โ€” setting padding-bottom to a percentage to create a responsive box. Modern CSS now has the aspect-ratio property, making it trivial: aspect-ratio: 16 / 9; applied to an element automatically maintains that proportion as it resizes. Combined with width: 100%, this creates a perfectly responsive container for videos, images, or any element that should maintain proportions.

For <img> elements, always specify both width and height attributes in HTML and use CSS object-fit: cover or object-fit: contain to control how images fill their containers. This prevents layout shift during page load and gives you control over how images are cropped when aspect ratios don't match.

Aspect Ratios in Video Production

Video production has historically driven many aspect ratio standards. The 4:3 ratio comes from early cinema (1.33:1), which TV adopted. The transition to widescreen brought 16:9 (1.78:1) as the HDTV standard. Cinema uses even wider ratios โ€” 1.85:1 (flat) and 2.39:1 (anamorphic scope) โ€” which is why movies have black bars at the top and bottom even on a 16:9 TV.

When exporting video, always check that your output resolution matches your project's aspect ratio exactly. A 1920ร—1080 project exported at 1280ร—960 will produce a pillarboxed (or distorted) result because 1280ร—960 is 4:3, not 16:9. Our calculator helps you verify these numbers before exporting.

Tips for Maintaining Aspect Ratios

Why Use This Calculator Instead of Doing it Manually?

While the underlying math is simple, doing it in your head or on a separate calculator while working in a design tool is friction that slows you down and introduces errors. This tool gives you all four calculation modes in one place, with presets for the most common ratios, instant results, copy buttons for quick transfer, and a visual preview so you can see the proportions before committing to them. It's browser-based and requires no installation, login, or file upload โ€” just open and use.

โ˜•