Use pixels to set the canvas.
Enter the width or height your destination requires. With the aspect ratio locked, the other side follows the original proportions. For a 2400 × 1600 photo, choosing a width of 1200 gives a height of 800. Unlocking the ratio can stretch the subject, so use it only when that distortion is intended.