Here is the portafilter size of most machine brands.  A tamper should be matched to portafilter size.