Online ratio tool

Aspect Ratio Calculator
for images, video, and screens

Calculate proportional width and height, simplify dimensions into a clean ratio, and preview common formats with this free Online Ruler aspect ratio calculator.

Aspect Ratio Calculator

Simplify dimensions or calculate a missing side from a chosen ratio.

Enter dimensions

Use pixels, inches, centimeters, or any matching unit. The simplified ratio stays the same.

Simplified ratio 16:9
Decimal
1.7778
Height %
56.25%

Live preview

Preview

Aspect ratio guide

How to calculate aspect ratio online

An aspect ratio compares width to height. Enter both dimensions and the Online Ruler calculator divides them by their greatest common factor to show the cleanest ratio.

01

Simplify any size

Use the ratio mode for images, screens, thumbnails, canvases, or video frames such as 1920 × 1080, 1280 × 720, or 1080 × 1920.

02

Resize without distortion

Use resize mode when you know one side and need the other side to keep the design proportional.

03

Choose common presets

Try 16:9 for HD video, 1:1 for square social posts, 9:16 for stories and reels, or 21:9 for ultrawide layouts.

FAQ

Aspect ratio calculator questions

What is an aspect ratio?

An aspect ratio is the proportional relationship between width and height. For example, 1920 × 1080 simplifies to 16:9.

How do I calculate aspect ratio?

Enter the width and height. The calculator divides both numbers by their greatest common factor to show the simplest width:height ratio.

What does 16:9 mean?

It means the width has 16 equal parts for every 9 equal parts of height. Common examples are 1920 × 1080 and 1280 × 720.

How can I calculate a missing width or height?

Open Resize mode, enter the ratio, choose whether your known side is width or height, and type the known value. The missing side updates automatically.

Which ratio should I use for video and social media?

Use 16:9 for widescreen video, 9:16 for vertical reels or stories, 1:1 for square posts, and 21:9 for cinematic or ultrawide layouts.

Can I use centimeters, inches, or pixels?

Yes. Aspect ratio is proportional, so pixels, inches, centimeters, or millimeters all work as long as width and height use the same unit.

Will resizing with the same ratio prevent distortion?

Yes. Keeping the same aspect ratio preserves the shape of an image, video, or design so it does not look stretched or squeezed.

Does this calculator upload my images?

No. The calculator only uses the numbers typed into your browser and does not require image uploads.

RELATED TOOLS

Aspect ratio calculator: method and limitations

An aspect ratio calculator expresses width compared with height and finds a missing dimension when resizing. For example, 1920 × 1080 pixels simplifies to 16:9.

How does aspect ratio calculator work?

Divide width by height to obtain the ratio. When preserving proportions, new height = new width × original height ÷ original width. Integer ratios can be reduced by their greatest common divisor.

  1. Enter the original width and height.
  2. Enter a target width or height to preserve proportions.
  3. Use the simplified ratio or rounded output dimensions in your editor.

What should I check before relying on it?

Round pixel dimensions to whole numbers when exporting an image. The ratio alone does not describe physical screen size, image quality, or cropping.

References and responsibility

Maintained by Imran Ahmed, Online Ruler. Contact us about an error or a source that needs updating.