In Photoshop, you can use the dimensions of one image to crop another image.
Open two images in Photoshop.
Select the image with the desired crop size to make it active.
Select the Crop tool from the toolbox and click the Front Image button on the tool options bar. This enters the image’s height, width, and resolution in the respective fields on the options bar.
Switch to the image that you want to crop, and drag out with the Crop tool. The tool will be constrained to the previous image’s aspect ratio as you drag. When you release the mouse button and press Enter (Windows) or Return (Mac) to apply the crop, the image will be resized to the desired height, width, and resolution.