The catalog will indicate which direction to measure. Here is an excerpt from the Michel catalog for Germany. The footnote tells you that 364X is 31.5 mm wide by 21.75 mm high. 364Y is 32.75 mm wide by 21.5 mm high. There should be something similar in your catalog for the stamp(s) in question.
