Skip to content
Allin

Aspect ratio calculator

Find the aspect ratio of any width and height, like 16:9.

Enter Width (px), Height (px) and the Aspect ratio calculator works out Aspect ratio, Ratio (decimal) straight away. For instance, with Width (px) = 1,920 and Height (px) = 1,080 it returns Aspect ratio = 16:9 and Ratio (decimal) = 1.778.

How to use it

  1. Enter your values: Width (px), Height (px).
  2. Read the result instantly: Aspect ratio, Ratio (decimal).

Frequently asked questions

What does the Aspect ratio calculator actually compute?

It takes Width (px) and Height (px) and derives Aspect ratio and Ratio (decimal) from them. The calculation is live as you type, so the result updates on every change.

What information do I need to provide?

2 values: Width (px) and Height (px). Nothing else is required — no account, no file upload.

Can you show a worked example?

With Width (px) = 1,920 and Height (px) = 1,080, the calculator returns Aspect ratio = 16:9 and Ratio (decimal) = 1.778. Those figures come from running this exact tool, so you can reproduce them by entering the same values.

When would I actually use this?

Finding out how big a thing will be before you make it: how many gigabytes an hour of footage takes, how long a file needs on the connection you have, how large a photo prints before it goes soft, what bitrate fits the budget you were given.

What is the most common mistake?

Taking the advertised connection speed as the transfer speed. A 100 Mb/s line is megabits, the file is in megabytes, and the eight-fold difference between them is where most download estimates go wrong — before overhead and contention take their own share.

What is the difference between the Aspect ratio calculator and the Megapixel calculator?

This one returns Aspect ratio and Ratio (decimal); the Megapixel calculator returns Megapixels. That is the whole difference — open the one whose figure you need.

Is there a tool for the next step?

Print size calculator is the closest one after this: Find the maximum print size of an image from its pixel dimensions and DPI.

Where do the figures come from, and how current are they?

Byte prefixes follow the IEC convention where a kibibyte is 1 024 bytes and a kilobyte is 1 000 — drive makers use the second, operating systems often report the first, and a disk that shrinks on arrival is that gap and nothing else. Print sizing assumes 300 dpi unless you change it.

Further reading

All guides
ExplainerWhat Is Aspect Ratio? 16:9, 4:3 and How to Compute ItAspect ratio is the proportion of width to height. Learn what 16:9 and 4:3 mean, how to compute a ratio from pixel dimensions, and where each ratio is used.ExplainerDPI, PPI, and What Actually Controls Print SizeThe DPI figure inside an image file is a label. It changes no pixels. Printed size is pixels divided by PPI — and DPI, properly used, means something else entirely: the printer's dots.How-toHow to Find the Area of a Triangle: Base × Height and Heron's FormulaTwo reliable ways to find a triangle's area: half base times height when you know the height, and Heron's formula when you only know the three sides.ExplainerFrame Rates, Timecode, and the Drop-Frame That Drops NothingFrames = duration × rate is trivial until the rate is 29.97. Non-drop timecode then drifts exactly 3.6 seconds an hour. Drop-frame corrects it by skipping 108 frame numbers — the same 108 — but the correction is not perfect: counting every frame shows a residual of 3.6 milliseconds per hour.ExplainerHow Big Is That Audio File?Uncompressed audio size is exact arithmetic: sample rate × bit depth × channels × seconds ÷ 8. CD audio is 176,400 bytes per second. A 320 kbps MP3, by contrast, is bitrate × duration and does not depend on the sample rate at all — 2,400,000 bytes a minute whether it came from 44.1 or 48 kHz.ExplainerScreen Resolution, Pixel Density, and the Numbers Marketing UsesA diagonal plus an aspect ratio gives you width and height by Pythagoras, and the answer is not what the marketing implies: a 27-inch 21:9 has 16.2% less area than a 27-inch 16:9. Then pixels per degree, which shows the highest-PPI phone is not the sharpest thing you own.