You're off on the wrong track. Forget the whole concept of "size".
What you need to do is make sure the pixel dimensions are the same. How many pixels high by how many pixels wide.
That's the only true size of a Photoshop image. The rest is just arbitrarily assigned with the ppi (pixels per inch) number.