This is a little outdated but I hope its still relevant.
When you're flipping a car that hits max horsepower near redline, you can divide the lowest gearbox by lowest final ratio then multiply by a new ratio to find out what it will trap at the shadow without moving 5th(6th/7th) gear. Assume loss of 15 mph if you move 5th or 6th all the way right. An example would be a 99 gearbox with a 2.500 lowest final; flipping this gearbox over 3.500 would result in a top speed of 138.6mph at the shadow without moving the last gear - roughly 123 if last gear is far right. Obviously a higher gearbox would mean a lower flip, unless you need to adjust for launch gear.
For a car that hits max horsepower at a substantially lower RPM than redline, you have to adjust the ratio to compensate for RPM at the shadow. A car that makes peak power at 5k RPM will not want to rev above 6k, so you'll need to flip on a higher ratio or stretch 5th/6th. It ends up being a lot of trial and error as those before me have said, but becomes second nature if you do it enough times.
I hope this helped.