Crop Box For Target Ratio
Calculator
Results
- Crop width (px)
- 3,000
- Crop height (px)
- 3,000
- Crop horizontal offset (px)
- 500
- Crop vertical offset (px)
- 0
Design and print results
| Crop width (px) | 3,000 |
| Crop height (px) | 3,000 |
| Crop horizontal offset (px) | 500 |
| Crop vertical offset (px) | 0 |
formula-map diagram
- Crop width (px)
- 3,000
- Crop height (px)
- 3,000
- Crop horizontal offset (px)
- 500
- Crop vertical offset (px)
- 0
Formula breakdown
Formula
crop box = largest centered rectangle at target ratio that fits inside the source= 3000
Note
Simplified model: these are standard prepress and typographic relationships computed on nominal values. Real press bulk, paper caliper and shrinkage, ink limits for a given profile, font metrics and binding allowances vary by supplier and by job, so confirm with your printer and a proof before going to press.
Example: with the default inputs, calculator.design.crop_width_px is 3000.
More in Design and printing
See all →Frequently asked questions
How do I crop an image to a target aspect ratio?+
Enter the source width and height in pixels and the target ratio, for example 16 and 9. The calculator returns the largest crop box with that ratio that fits inside the image.
Where is the crop box placed?+
It is centered. The calculator gives the X and Y offsets in pixels from the top-left corner so the box sits in the middle of the source.
Which side gets cropped?+
If the source is wider than the target ratio, the width is reduced and the full height is kept. Otherwise the height is reduced and the full width is kept.
What if the image already has the target ratio?+
Then no cropping is needed. The crop box equals the source size and both offsets are zero.
Does it resize the image?+
No. It only gives the crop dimensions and offsets in the source's own pixels. Any scaling to a final size is a separate step.