Were it me, I'd look at the tire you wanted to buy on the manufacturer's website, they will usually list the rim width for each tire size. Compare that to the width of the rim on your bike and stick to what fits. I wouldn't try to fit a smaller tire onto a larger rim if I didn't have to.
I know...