Choose the height and width of aspect ratio and analyze the missing values.
AspectCalc is an application to set the perfect ratio of size. Select the source width toX1 and the source target height to Y1 or you can also pick from the Pick By Aspect column, enter the target values into X2 and Y2, and the application will calculate the missing values.