Calculator Studio

Aspect Ratio Calculator

Enter source pixel dimensions and a target ratio to get the simplified ratio, exact crop or padding rectangle, optional export size and a downloadable resize spec.

Crop or pad geometryPDF resize specShareable URL state
Pixel workflow arithmetic.
No image is uploaded.

Source dimensions and target ratio

Results update as you type.
Source image or video frame
px
px
Target ratio
ratio
ratio
px
ticket

This is geometry planning only. It does not upload, edit or recompress your image.

Crop and resize sketch

How the aspect-ratio calculation works

The calculator simplifies both source and target ratios, compares their decimal values, then calculates the largest centered crop for fill mode or the smallest centered padded canvas for fit mode. An optional export long edge scales the target ratio into pixel dimensions.

source ratio = source width ÷ source height target ratio = ratio width part ÷ ratio height part fill crops the source; fit pads the canvas

Before exporting

  • Use final pixel dimensions from the platform, client or print workflow when available.
  • Crop mode removes image content; fit mode preserves content by adding padding.
  • Exact resizing, compression and sharpening still happen in your image or video editor.

Common questions

Is this only a ratio simplifier?

No. It also calculates the centered crop or padded canvas needed to move from your source dimensions to the target ratio, plus optional export pixel dimensions.

What is the difference between fill and fit?

Fill crops the source so the target ratio is filled without empty borders. Fit keeps the whole source visible and pads the canvas to the target ratio.

Why are export dimensions rounded?

Pixel dimensions must be whole numbers. Small rounding differences are normal and are usually negligible at export.