I'm a little confused by this as well. 640x480 is 1.33:1, so if you calculate:
9/16*640 = 360 which is 120 less than 480, and therefore 60 off the top and bottom.
BUT, if you calculate 9/16*720 = 404-ish which is more what I would expect for the correct value.
Of course this isn't taking pixel aspect ratios into account...
Otherwise there's Citizen's Aspect Ratio Calculator: