What is the formula for recoil velocity

what is the formula for recoil velocity