The quick shorthand calc is-

output rpm*wheel diameter in inches*0.003=speed in mph

so, rearranging that-

speed in mph / (wheel diameter in inches * 0.003)

It's not perfectly accurate, but it's close.