It is calculated based on the odds displayed on the screen when you click 'Cash Out'. Your bet is multiplied by the odds on the screen and this amount is your winnings.