For ultimate speed you want to be just over the top power revs, so if it hit peak power at 8400rpm you want the desired speed to be at 8450. I also lift the next gear down to as high as possible so you don't drop too many revs as you change into top. I use this a lot on ovals and where there are long straights.
Edit: Also tried the math theory. The car maintained only 246. The math would certainly give someone a place to start fine tuning their car, tho.