Interesting formulas! Remember, too, that the odometer is the item which needs to be correct, FIRST, then the speed SECOND.
The way I used to do any speedo gear changes was to look at how many revs/mile the driveshaft did, between the prior and later rear axle ratios or tire sizes. Then...