Image resize calculator

Enter source and target dimensions to get the scale.

Drop a file here or click to select.

Result
No result yet.

1920 x 1080 into 800 x 600 fits at 800 x 450.

Example

Calculate the scale factor and output dimensions when fitting an image into a target box, preserving aspect ratio.

1920 x 1080 into 800 x 600 fits at 800 x 450.

Processed locally in your browser.