Free tool

Aspect Ratio Calculator

Calculate width and height keeping the ratio. Presets 16:9, 4:3, 21:9 and more. It also gives you the simplified ratio.

:
Simplified ratio: 16:9

Built by

Miguel Ángel Colorado Marin (MACM)

Full-Stack Developer · Guadalajara, España

I develop web apps, digital tools and full projects — from design to deployment.

Contact me

How to calculate the aspect ratio?

  1. 1

    Set the ratio

    Type the ratio (for example 16:9) or pick a common preset with one click.

  2. 2

    Enter one dimension

    Type the width or the height in pixels and the other dimension is calculated automatically.

  3. 3

    Lock what you prefer

    Choose to lock the width or the height when changing the ratio, to keep that value fixed.

  4. 4

    Read the simplified ratio

    Below you'll see the ratio reduced to its simplest form (for example 1920×1080 → 16:9).

Frequently asked questions

What is the aspect ratio?

It's the proportion between the width and height of an image or screen, like 16:9. Keeping it prevents content from distorting when resizing.

What is it for?

To calculate dimensions of videos, images, banners or screens keeping the correct proportion, with no black bars or stretching.

Does it calculate both ways?

Yes. Change the width and the height updates, or the other way around, always keeping the chosen ratio.

Is anything sent to a server?

No. It's a math calculation that happens in your browser. Nothing is uploaded or stored.

Related tools

Embed Aspect Ratio Calculator on your site

Add Aspect Ratio Calculator to any web page with a simple iframe. Free, with attribution to miguelacm.es.

<iframe
  src="https://miguelacm.es/embed/aspect-ratio"
  width="100%"
  height="700"
  frameborder="0"
  title="Aspect Ratio Calculator — miguelacm.es"
></iframe>
View embed in new tab →