Enter width & height in pixels
×

Enter any pixel dimensions — e.g. 1920 × 1080 — and get the simplified ratio, decimal, megapixels, orientation, and the closest standard format.

Original dimensions
×
Enter one new dimension — the other is calculated
×

Enter original dimensions, then type either the new width or height — the missing value is calculated automatically.

Enter the ratio
:
Known dimension

Enter a ratio like 16:9, choose whether you know the width or height, type the value, and get the missing dimension.

Presets
Visual Preview
W H
Simplified Ratio
Reduced to lowest whole numbers
Decimal Ratio
Width ÷ Height
Megapixels
Total pixel count
Orientation
Crop to Common Ratios — center crop from your
Ratio Crop Dimensions Trimmed

What Is an Aspect Ratio? A Complete Guide

An aspect ratio is the proportional relationship between a rectangle's width and its height, expressed as two numbers separated by a colon — for example, 16:9 or 4:3. It describes the shape of an image, video, screen, or print without specifying actual pixel dimensions.

A 1280×720 video and a 3840×2160 video both have a 16:9 aspect ratio — they are the same shape, just different resolutions. Understanding aspect ratios is essential for:

  • Video production — avoiding black bars (letterboxing/pillarboxing)
  • Social media — uploading images that don't get cropped unexpectedly
  • Photography — composing shots knowing your camera's native ratio
  • Print design — ensuring your digital file matches the intended paper size
  • Web development — creating responsive containers with the correct proportions

Most Common Aspect Ratios & Where They're Used

16:9
HD Widescreen
YouTube, Netflix, TVs, most monitors, Zoom. The dominant format since 2009.
9:16
Vertical / Stories
Instagram Reels, TikTok, YouTube Shorts, Snapchat. 16:9 rotated 90°.
4:3
Classic Standard
Old TVs, iPads, Micro 4/3 cameras. Still common in education & video conferencing.
1:1
Square
Instagram feed posts, profile photos, album art, favicon grids.
21:9
Ultrawide
Ultrawide monitors, cinematic gaming, wide-format video.
3:2
DSLR / APS-C
Full-frame & APS-C cameras (Canon, Nikon, Sony). Also 4×6 photo prints.
4:5
IG Portrait
Instagram portrait posts. Tallest ratio allowed in-feed without cropping.
2.39:1
Anamorphic Cinema
Cinematic widescreen — Nolan's films, most Hollywood blockbusters.
RatioDecimalOrientationCommon Uses
1:11.00SquareInstagram feed, profile photos, album art, favicons
4:31.33LandscapeOlder TVs, iPads, Micro Four Thirds cameras, video conferencing
3:21.50LandscapeFull-frame & APS-C DSLRs (Canon, Nikon, Sony), 4×6 prints
16:91.78LandscapeYouTube, Netflix, modern TVs, computer monitors, Zoom
16:101.60LandscapeMany MacBooks, some PC monitors (more vertical space)
21:92.33Ultra-wideUltrawide monitors, cinematic gaming, some streaming content
9:160.56PortraitInstagram Reels, TikTok, YouTube Shorts, Snapchat
4:50.80PortraitInstagram portrait feed posts (tallest without cropping)
2:30.67PortraitPortrait photography, Pinterest pins
1.85:11.85CinemaFlat cinema format (many Hollywood films)
2.39:12.39CinemaAnamorphic widescreen (Nolan films, blockbusters)
1.43:11.43IMAXIMAX films (taller than standard cinema)

How to Calculate Aspect Ratio from Pixel Dimensions

The formula uses the Greatest Common Divisor (GCD) of width and height:

function gcd(a, b) {
    return b === 0 ? a : gcd(b, a % b);
}

// Example: 1920 × 1080
const g = gcd(1920, 1080);              // → 120
const ratio = `${1920 / g}:${1080 / g}`; // → "16:9"

Step by step: Find the GCD of width and height. For 1920 and 1080, the GCD is 120. Divide both by the GCD: 1920 ÷ 120 = 16, 1080 ÷ 120 = 9. Express as 16:9. For 2560×1440: GCD is 80 → 32:18 → simplifies to 16:9.

Aspect Ratio Formulas for Common Calculations

Formula 1: Find the Missing Dimension (Scale Proportionally)

When you know the original dimensions and one new dimension:

new_height = (new_width / original_width) × original_height
new_width  = (new_height / original_height) × original_width

// Example: 1920×1080 image scaled to 800px wide
new_height = (800 / 1920) × 1080 = 450px

Formula 2: Calculate the Decimal Ratio

decimal_ratio = width ÷ height
// 16:9 → 1920 ÷ 1080 = 1.777... ≈ 1.78:1

Formula 3: Find Megapixels

megapixels = (width × height) ÷ 1,000,000
// 1920 × 1080 = 2,073,600 pixels → 2.07 MP

In CSS you can preserve aspect ratio automatically with width: 100%; height: auto; on an <img> tag, or use .container { aspect-ratio: 16 / 9; width: 100%; } on any container element.

Letterboxing, Pillarboxing, and Cropping Explained

Letterboxing — Black bars on the top and bottom. Occurs when a wide-format source (e.g., 16:9) is shown in a narrower container (e.g., 4:3 TV). The content is shrunk to fit the full width, leaving empty space above and below.

Pillarboxing — Black bars on the left and right. Occurs when a narrow-format source (e.g., 4:3) is shown in a wider container (e.g., 16:9 screen). The content is shrunk to fit the full height, leaving empty space on the sides.

Cropping — The image is cut off to fill the container. Some platforms (like Instagram) let you choose between cropping or fitting. Use the Crop Suggestions table in the tool above to see exactly how many pixels are trimmed for each target ratio.

Aspect Ratio for Social Media Platforms (2025)

YouTube

  • Standard video: 16:9 — 1920×1080 for 1080p, 3840×2160 for 4K
  • YouTube Shorts: 9:16 — 1080×1920
  • Thumbnails: 1280×720 (16:9)
  • Channel banner: 2560×1440 (16:9)

Instagram

  • Feed square: 1:1 — 1080×1080
  • Feed portrait: 4:5 — 1080×1350 (tallest allowed without cropping)
  • Feed landscape: 1.91:1 — 1080×566
  • Reels / Stories: 9:16 — 1080×1920

TikTok

Primary format: 9:16 (1080×1920). Landscape 16:9 and square 1:1 are also supported.

Twitter / X

Single image: up to 16:9, optimal 1600×900. Profile header: 1500×500 (3:1).

LinkedIn

Post images: 1.91:1 to 1:1 (recommended 1200×627). Company cover and profile banner: 1584×396 (4:1).

Facebook & Pinterest

Facebook feed post: 16:9 (1200×675 recommended). Pinterest: 2:3 (1000×1500) is the recommended pin size.

Aspect Ratio in Photography

Camera Native Ratios

Camera TypeNative RatioExample Resolution
Full-frame DSLR (Canon, Nikon, Sony)3:26000×4000 (24 MP)
APS-C (crop sensor)3:26000×4000 (24 MP)
Micro Four Thirds (Olympus, Panasonic)4:34592×3448 (16 MP)
Medium format (Hasselblad, Fuji GFX)4:3 or 1:18272×6200 (51 MP)
iPhone (portrait)~19.5:9 display, 4:3 camera4032×3024

Print Size Aspect Ratios

Print SizeAspect RatioCrop from 3:2 Camera
4×6"3:2No crop (perfect match)
5×7"7:5 (1.4:1)Slight crop from width
8×10"4:5 (0.8:1)Crop from both sides
11×14"7:5 (1.4:1)Crop from width
16×20"4:5 (0.8:1)Crop from both sides
24×36"3:2No crop

When shooting with a 3:2 camera, leave extra space around your subject so you can crop to 8×10 or 5×7 without losing important details.

Resolution Reference by Aspect Ratio

16:9 Common Resolutions

NameResolutionMegapixels
8K UHD7680×432033 MP
4K UHD3840×21608 MP
1440p (QHD)2560×14403.7 MP
1080p (FHD)1920×10802 MP
720p (HD)1280×7200.9 MP
480p (SD)854×4800.4 MP

4:3 Common Resolutions

NameResolutionMegapixels
1080p 4:31440×10801.55 MP
720p 4:3960×7200.69 MP
480p / VGA640×4800.31 MP

9:16 Vertical Video Resolutions

NameResolutionMegapixels
Vertical 4K2160×38408.3 MP
Vertical 1080p1080×19202 MP
Vertical 720p720×12800.9 MP

Pro Tips for Working with Aspect Ratios

  1. Always check platform requirements before exporting — YouTube, Instagram, and TikTok change their recommended dimensions periodically. This tool's presets are updated for 2025 standards.
  2. Use Scale Dimensions for responsive images — When designing for the web, scale images proportionally. Never set both width and height arbitrarily unless you want distortion.
  3. Know your camera's native ratio — Most DSLRs shoot 3:2. If you plan to print 8×10 (4:5), compose with extra headroom knowing you'll crop the sides.
  4. Choose letterboxing vs. cropping deliberately — Letterboxing/pillarboxing preserves the entire image but adds black bars. Cropping fills the screen but cuts content. Choose based on your most important visual area.
  5. Use the Crop Suggestions table — Before exporting for multiple platforms, check exactly how many pixels will be trimmed for each target ratio. Plan your composition accordingly.
  6. Shoot in your delivery ratio — If your final video will be 9:16 for TikTok, shoot vertically. Cropping horizontally-shot 16:9 footage to 9:16 loses ~55% of the frame.
  7. Use CSS aspect-ratio for responsive containers.video-wrap { aspect-ratio: 16 / 9; width: 100%; } keeps embeds proportional at any screen size without JavaScript.
  8. Test your images at actual platform sizes — Platform previews often crop thumbnails to specific ratios. Always upload the exact recommended dimensions to avoid unwanted cropping in feeds.

Summary: Quick Reference by Use Case

Use CaseAspect RatioTypical Resolution
YouTube main video16:91920×1080 or 3840×2160
YouTube Shorts9:161080×1920
Instagram feed square1:11080×1080
Instagram feed portrait4:51080×1350
Instagram Reels9:161080×1920
TikTok9:161080×1920
Twitter/X post16:91600×900
LinkedIn post1.91:11200×627
Pinterest pin2:31000×1500
DSLR photography3:26000×4000 (24 MP)
4×6 print3:21800×1200 (300 DPI)
8×10 print4:52400×3000 (300 DPI)
A4 document (300 DPI)1:1.4142480×3508
Ultrawide monitor21:93440×1440
Cinema (flat)1.85:11998×1080
Cinema (anamorphic)2.39:11920×804

Frequently Asked Questions

What aspect ratio is best for YouTube videos?

For standard YouTube videos, use 16:9 (1920×1080 for 1080p, 3840×2160 for 4K). For YouTube Shorts, use 9:16 (1080×1920). Thumbnails must be 16:9 at 1280×720. Channel banners should be 2560×1440.

What is the difference between 16:9 and 4:3 aspect ratio?

16:9 (widescreen) has a decimal ratio of ~1.78 — at the same height, a 16:9 frame is about 33% wider than a 4:3 frame (~1.33). 4:3 was standard for old CRT TVs and monitors; 16:9 is the modern standard for HDTV and most online video platforms.

How do I maintain aspect ratio when resizing an image?

Use the Scale Dimensions mode in this tool. Enter your original width and height, then type either the new width or new height. The calculator automatically finds the missing dimension using: new_height = (new_width / original_width) × original_height. In CSS, set width: 100%; height: auto; on images.

What resolution is 16:9 aspect ratio?

There is no single resolution — 16:9 describes the shape, not the pixel count. Common 16:9 resolutions include 1920×1080 (1080p), 3840×2160 (4K), 1280×720 (720p), and 2560×1440 (1440p QHD). All have the same 16:9 shape at different sizes.

What aspect ratio should I use for Instagram posts?

Square feed: 1:1 (1080×1080). Portrait feed: 4:5 (1080×1350) — the tallest allowed in feed without cropping. Landscape feed: 1.91:1 (1080×566). Reels and Stories: 9:16 (1080×1920).

What does 16:9 mean in pixels?

16:9 means for every 16 units of width, there are 9 units of height. In pixels, any resolution where width ÷ height = 1.777… is 16:9. Examples: 1920×1080, 1280×720, and 3840×2160 are all 16:9 at different sizes.

How do I convert an aspect ratio to pixels?

You need one known dimension. For a 16:9 ratio where you know the width is 1920px: height = (1920 ÷ 16) × 9 = 1080px. The Ratio → Pixels mode in this tool does this instantly for any ratio and any known dimension.

What is the aspect ratio of A4 paper?

A4 paper has an aspect ratio of 1:√2 (approximately 1:1.414). At 300 DPI, A4 is 2480×3508 pixels (portrait) or 3508×2480 (landscape). This unique ratio means when you fold A4 in half, you get A5 with the same proportions — and A3 is two A4 sheets side by side.

What is the difference between 1080p and 1080i?

Both are 1920×1080 resolution (16:9), but they differ in how frames are drawn. 1080p (progressive) draws all 1080 lines sequentially — smoother motion, used for streaming and modern cameras. 1080i (interlaced) draws every other line and was used in broadcast TV. For modern video, always choose 1080p.

Does aspect ratio affect file size?

Not directly — file size depends on total pixel count (megapixels) and compression. However, different aspect ratios at the same height have different widths, so total pixels change. For example, 1920×1080 (16:9, 2 MP) vs 1440×1080 (4:3, 1.55 MP) — the 4:3 version has 25% fewer pixels and a proportionally smaller uncompressed file.

What is the most common aspect ratio for monitors?

As of 2025, 16:9 remains the most common monitor aspect ratio, followed by 16:10 (MacBooks, some PC monitors) and 21:9 (ultrawide gaming and productivity monitors). The 16:9 standard has dominated since around 2010.

How do I find the aspect ratio of an image on my computer?

On Windows: right-click the image, select Properties → Details tab, and look for Dimensions. Divide width by height. On macOS: Get Info, look under More Info. Or use the Find Ratio mode in this tool — type width and height and the simplified ratio appears instantly.


Related Developer & Design Tools

More free tools to speed up your workflow — all run locally in your browser.