Formula of Value Bet

Someone has the math formula to verify a valuebet, what is the ev, comparing odds of an european booki to odds from pinnacle.
Thanks