To use aspect ratio calculator, enter desired ratio, change pixel size, and click calculator to see the correct size.

Aspect Ratio
Width

Height

Image Size
Pixels

Pixels