For twist rate to bullet weight calculator, a lot of people use Berger's tool online to know if their rifle's twist will stabilize their bullet. I don't know about calculating velocity for twist but someone smarter than me will chime in soon.
For an estimate of velocity, many folks say about 20fps per inch. So if a known velocity for a round on a 24" barrel is, say for example, 2700fps and you want to use the same round on an 18" barrel…subtract 120fps for an ESTIMATED velocity (6"x20fps) to get 2700-120=2580fps