Skip to content
FizzKit

Aspect Ratio Calculator

Enter a ratio or pick a preset — standard video, social (Instagram 4:5, stories, YouTube thumbnails, OG images), devices and print — and solve width or height with a lock on the side you want to keep. Scale by percent, snap to even or multiple-of-16 dimensions for video encoders, swap orientation, and read the simplified ratio and megapixels. The fit calculator shows the scaled size, letterbox bars or crop amounts for contain and cover into any box; a resolution table lists 240p to 8K at your ratio; DPI converts pixels to print size; and CSS aspect-ratio, Tailwind, padding-top and ffmpeg snippets are ready to copy.

Runs locally in your browser
Aspect ratio
:
Standard
Social
Devices & print
DimensionsLock decides which side stays when the ratio changes
Preview
1920 × 1080
Ratio
16:9
Simplified
16:9
Decimal
1.7778
From dims
16:9
Megapixels
2.07 MP
Orientation
landscape
Diagonal (px)
2203
CSS aspect-ratioaspect-ratio: 16 / 9;
Tailwindaspect-video
Padding-top hackpadding-top: 56.2500%;
HTML<img src="…" width="1920" height="1080" alt="" />
ffmpeg scale-vf "scale=1920:1080"
Fit into a box
Scale
66.67%
Scaled size
1280 × 720
Letterbox bars
none
Coverage
100.0%
CSSobject-fit: contain; width: 1280px; height: 720px;
Resolutions at 16:9
NameSizeMP
240p426 × 2400.10
360p640 × 3600.23
480p854 × 4800.41
720p (HD)1280 × 7200.92
1080p (Full HD)1920 × 10802.07
1440p (QHD)2560 × 14403.69
2160p (4K UHD)3840 × 21608.29
4320p (8K UHD)7680 × 432033.18
Print size
Inches
6.40 × 3.60
Centimetres
16.26 × 9.14
Quality
print

How to use Aspect Ratio Calculator

  1. 1Pick a preset ratio or type your own, and enter one dimension — the other is solved.
  2. 2Lock width or height so ratio changes keep the side you care about; snap to even or ×16 for video.
  3. 3Use Fit into a box to see scaled size, bars or crop for contain/cover.
  4. 4Copy the CSS, Tailwind or ffmpeg snippet, or pick a row from the resolution table.

About Aspect Ratio Calculator

Enter a ratio or pick a preset — standard video, social (Instagram 4:5, stories, YouTube thumbnails, OG images), devices and print — and solve width or height with a lock on the side you want to keep. Scale by percent, snap to even or multiple-of-16 dimensions for video encoders, swap orientation, and read the simplified ratio and megapixels. The fit calculator shows the scaled size, letterbox bars or crop amounts for contain and cover into any box; a resolution table lists 240p to 8K at your ratio; DPI converts pixels to print size; and CSS aspect-ratio, Tailwind, padding-top and ffmpeg snippets are ready to copy.

Aspect Ratio Calculator is part of FizzKit — a collection of focused developer and ad-tech tools. Because everything runs locally, it works offline once loaded and never exposes your data to a remote server.

Frequently asked questions

16:9, 4:3, 3:2, 1:1, 21:9, 2.39:1, 9:16 and 2:3, plus social sizes (Instagram 4:5 and 1.91:1, stories 9:16, YouTube thumbnail, OG image 1200×630, X and LinkedIn banners, Pinterest), devices (iPhone, iPad, MacBook, desktop) and print (A4, US Letter, 4×6). Custom ratios can be typed directly.