Aspect Ratio Calculator

Calculate aspect ratios from width and height with common presets available.

Enter Width/Height

Calculation Result

Aspect Ratio
16:9
Decimal Format
1.78
Calculation Details
Input Dimensions
1920 × 1080
Greatest Common Divisor (GCD)
120
The largest number that divides both numbers
Ratio Calculation
1920 ÷ 120 = 16
1080 ÷ 120 = 9
Divide by GCD to get the simplest ratio

What is Aspect Ratio Calculator?

An online tool that calculates the aspect ratio (width to height ratio) from the dimensions of images, videos, or design elements. It features two modes: calculating aspect ratios and automatically computing dimensions based on a specified ratio. Streamline your design and video editing workflows efficiently.

Key Features

Mode 1: Calculate Aspect Ratio

  • Automatically calculate aspect ratio from width and height inputs
  • Automatic ratio simplification using GCD (Greatest Common Divisor)
  • Display decimal format aspect ratios simultaneously
  • Clear visualization of calculation details (GCD, calculation steps)

Mode 2: Calculate Dimensions

  • Select from common presets (16:9, 4:3, 1:1, etc.)
  • Support for custom ratio inputs
  • Enter either width or height, and the other dimension is automatically calculated
  • Real-time dimension updates

Quick Start

To Calculate Aspect Ratio

  1. Select the "Calc Ratio" tab
  2. Enter width and height (e.g., 1920 × 1080)
  3. The aspect ratio is automatically calculated and displayed (16:9)

To Calculate Dimensions

  1. Select the "Calc Dimensions" tab
  2. Choose a ratio from presets (or enter a custom ratio)
  3. Enter either width or height
  4. The other dimension is automatically calculated

Use Cases

  • Checking the aspect ratio of images or videos
  • Determining layout ratios for designs
  • Maintaining ratios across different resolutions
  • Setting aspect ratios in video editing
  • Finding dimensions that match a specific ratio

Calculation Formulas and Examples

Basic Formulas

Aspect Ratio = Width : Height (simplified by GCD)
Decimal Ratio = Width ÷ Height

Calculation Examples

  • 1920 × 1080 → 16:9 (1.78)
  • 1280 × 720 → 16:9 (1.78)
  • 1024 × 768 → 4:3 (1.33)
  • 1080 × 1080 → 1:1 (1.00)

Detailed Calculation Process

/* Calculation Example */
1920 × 1080
GCD(1920, 1080) = 120
1920 ÷ 120 = 16
1080 ÷ 120 = 9
Result: 16:9

Dimension Calculation Examples

/* For 16:9 ratio with width of 1920px */
Height = (1920 × 9) ÷ 16 = 1080px

/* For 16:9 ratio with height of 720px */
Width = (720 × 16) ÷ 9 = 1280px

Preset List

PresetRatioUsage
16:91.78:1Full HD, 4K video, common displays
4:31.33:1Standard screen, classic displays
1:11:1Square, Instagram posts
21:92.33:1Cinemascope, ultrawide monitors
9:160.56:1Vertical video, smartphone video
3:21.5:1DSLR camera, photo printing
16:101.6:1WUXGA, laptop screens

FAQ (Frequently Asked Questions)

Why simplify the aspect ratio?

16:9 is more intuitive and easier to understand than 1920:1080. Simplification using GCD clarifies the essential ratio.

What is the decimal format aspect ratio used for?

It's useful for the CSS aspect-ratio property and programming calculations. It also makes it easier to numerically compare ratio sizes.

How does automatic calculation work in "Calculate Dimensions" mode?

After selecting a preset or custom ratio, when you enter either width or height, the other value is automatically calculated while maintaining the selected ratio. For example, if you select 16:9 and enter 1920 for width, the height is automatically calculated as 1080px.

How do I use custom ratios?

In "Calculate Dimensions" mode, select the "Custom" button to input your own ratio (width ratio and height ratio). This supports special ratios like 5:4 or 21:10.