🌐 EN

📐 Aspect Ratio Calculator

Simplify a width-to-height ratio and compare how it fits or fills a target box.

1. Simplify the ratio

Simplified ratio —
Closest named aspect ratio
—
16:9

2. Scale a dimension, preserving the ratio

Using the width/height ratio above, enter just a target width or height and the other dimension is computed automatically.

Common named aspect ratios

RatioNameTypical usePreset

💡 How to use the aspect ratio calculator

Use it when resizing video, banners, ads, thumbnails, or print layouts without distortion. Load common presets such as 16:9 YouTube thumbnails, 9:16 Shorts/Reels, 1:1 square feed posts, and 4:5 portrait feed posts, then check whether the asset should fit inside the box or fill it and crop.

Inputs and checks

  • Enter original Width (W) and Height (H) as positive dimensions. A ratio such as 4:3 means four units wide for every three units high.
  • Choose Resize mode as Fit inside box or Fill and crop; enter Box width and Box height to compare the resulting size.
  • Enter Target width or Target height to update the linked other dimension; the calculated target dimension is rounded to a whole unit.
  • The named ratios and preset buttons are examples of proportions, not guarantees that a platform accepts a size. There is no Calculate button.

Reading the result

  • Simplified ratio divides original width and height by their greatest common divisor, the largest whole number dividing both; Decimal ratio and the nearest named preset are also displayed.
  • Fit uses the smaller scale that stays inside the box and shows Remaining padding. Fill uses the larger scale that covers the box and shows Potential crop. Scaled dimensions are rounded to whole units.
  • This tool calculates dimensions only; it does not resize or export an image.

Examples

Fit an 800 by 600 image inside a 400 by 400 box

Input
Width (W): 800 Height (H): 600 Resize mode: Fit inside box Target width: 400 (Target height updates to 300) Box width: 400 Box height: 400
Result
Simplified ratio: 4 : 3 Closest named aspect ratio: 4:3 · Classic display Exact match Decimal ratio: 1.3333:1 GCD: 200 Nearest preset: 4:3 Scaled result: 400 × 300 Scale: 50% Remaining padding: 0 × 100
How to check it
The greatest common divisor of 800 and 600 is 200, giving a width:height ratio of 4:3. Fit scales 800 × 600 to 400 × 300 inside 400 × 400, leaving 100 units of total vertical padding.

Fill a 400 by 400 box using an 800 by 600 image

Input
Width (W): 800 Height (H): 600 Resize mode: Fill and crop Target height: 300 (Target width updates to 400) Box width: 400 Box height: 400
Result
Simplified ratio: 4 : 3 Closest named aspect ratio: 4:3 · Classic display Exact match Decimal ratio: 1.3333:1 GCD: 200 Nearest preset: 4:3 Scaled result: 533 × 400 Scale: 66.67% Potential crop: 133 × 0
How to check it
The width:height ratio remains 4:3. Fill scales to about 533 × 400, covering the 400 × 400 box with 133 units of horizontal crop.

Frequently asked questions

Does 4:3 describe width or height first?
Width comes first. A 4:3 image is four units wide for every three units tall.
What is the difference between Fit and Fill?
Fit keeps the complete image inside the box, possibly leaving padding. Fill covers the box, possibly cropping edges.
Does the calculator edit my image?
No. It calculates proportions and dimensions without uploading or resizing an image.