The ratio of the diameters is the same as the ratio of the circumferences. It's all a linear relationship and circuference is just twice diameter.
Sometimes tire manufacturers give tire info in diameter and sometimes in revolutions per mile. (5280 X 12) divided by circumference in inches, is revolutions per mile. Or, for diameter to revolutions per mile, (5280 X 12) divided by (diameter in inches X 2)
Either way, once you decide on diameter or circumference, and get the numbers for both tires, you just divide the new into the old. This gives you a multiplier such as 1.08 for instance. Next, multiply your speed by that multiplier (ratio). If the new tires are bigger you'll go faster by the percentage difference. In this case the old speed X 1.08, just as an example.
If the new tires are larger, your ratio will be more than 1. Smaller will give you less than 1.