settlement payout calculation