Skip to content
TR ToolRux

Aspect Ratio Calculator

Enter width and height to find the aspect ratio, or scale to new dimensions while keeping proportions. Common presets for screens and social media.

Dimensions

Aspect Ratio

Ratio

16:9

Decimal

1.7778

Pixels

1920 × 1080

16:9

Scale to New Size

Height → px

Width → px

Common Resolutions

CSS Aspect Ratio

aspect-ratio: 16 / 9;
/* or */
aspect-ratio: 1.7778;
📖 Learn More

Everything you need to know

Instant Ratio Calculation

Enter any width and height and the tool instantly calculates the simplified aspect ratio, decimal value, and total pixels. The visual preview box scales to show the proportions.

Common Ratio Presets

Quick-select 16:9 (widescreen), 4:3 (standard), 1:1 (square), 21:9 (ultrawide), 3:2 (photo), 9:16 (mobile), and more. One click sets the dimensions.

Scale to New Dimensions

Enter a new width and the tool calculates the matching height — or enter a height and get the width. Perfect for resizing images, videos, or design frames while maintaining proportions.

Resolution Presets

Jump to common resolutions: HD (1280×720), Full HD (1920×1080), 4K (3840×2160), plus social media sizes for Instagram, Twitter, YouTube, and Open Graph images.

CSS Aspect-Ratio Output

Copy the generated aspect-ratio CSS property to use in responsive layouts. The tool provides both the fractional and decimal syntax for maximum flexibility.

Related Tools

Resize images to exact dimensions with the Image Resizer, generate favicons at standard sizes with the Favicon Generator, or explore unit conversions for design measurements.