Aspect ratio calculator.

Find the ratio of an image, video or screen, scale it to a new width or height without distortion, and copy the CSS.

Runs in your browser. Nothing you enter is sent to KRA Digital or anyone else.

Common ratios

More design tools · All 55 free tools

How to use it

  1. Enter a width and height to see the simplified ratio.
  2. With “Keep ratio” ticked, change the width or height and the other updates to match.
  3. Pick a common ratio such as 16:9 or 4:5 to size a new image or video.
  4. Copy the CSS aspect-ratio rule to reserve space for media and avoid layout shift.

Questions

What aspect ratio is 1920×1080?

16:9, the standard for HD video, most monitors and many video thumbnails.

Why reserve space with aspect-ratio?

Without width and height or an aspect-ratio, the browser doesn’t know how tall media will be until it loads, so content jumps. That hurts Cumulative Layout Shift (CLS).

What ratio is 1.91:1?

It is the shape of 1200×630 link-preview images used by Open Graph and many social platforms.

Let’s build something great.

Tell us what you want to build, who it is for and what it needs to do. We’ll help you define a practical next step.

Start a project