Skip to main content
Calcimator

Image Crop Calculator

Calculate crop dimensions to fit a target aspect ratio while maximizing area.

Inputs

px
px

Results

Crop Width

4,000 px

Crop Height2,250 px
Area Retained75%
Pixels Removed3,000,000
X Offset (centered)0 px
Y Offset (centered)375 px
How to Use This Calculator
  1. Enter the Source Width and Source Height in pixels from the original image file.
  2. Enter the Target Ratio Width and Height (e.g., 16 and 9 for a 16:9 crop).
  3. Review the Crop Width and Crop Height in pixels for the center-cropped output.
  4. Check Percentage Retained and Pixels Removed to understand how much of the image is lost.
  5. Use X Offset and Y Offset to position the crop precisely within your image editing application.

How the result changes with Source Width

Source WidthCrop Width
2,0012,001 px
7,0015,333 px
13,0005,333 px
18,0005,333 px

What each input means

Source Width
Width of the original image in pixels.
Source Height
Height of the original image in pixels.
Target Ratio Width
Width component of the target aspect ratio (e.g., 16 for 16:9).
Target Ratio Height
Height component of the target aspect ratio (e.g., 9 for 16:9).

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    4 parameters
    Source Width = 4000, Source Height = 3000, Target Ratio Width = 16, Target Ratio Height = 9 = 4 input(s) provided
  2. Calculate Crop Width
    4000 = 4000
  3. Calculate Crop Height
    2250 = 2250
  4. Calculate Area Retained
    Area Retained
    75 = 75

Engine last updated . Checked against 2 independently-derived tests how we verify calculators.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Creative, Media & Design.