There are about half-a-dozen dimensions that can vary and some of these need to be measured quite accurately (+/- 0.5 mm). It is possible to do this with an engineer's tape measure with a mm scale but you really need to use a pair of calipers. See, for example:
Free Delivery in the UK. 4.9/5 Star Rating From Customers. We stock a large range of tap cartridges With guides available to help you find your replacement tap cartridges.
tap-cartridges.com
If you take the cartridge along to your local plumbers merchant they will probably be able to find a match for you.