The basic formula to calculate ROEI is: ROEI = (Revenue Generated - Cost of Campaign) / Cost of Campaign For example, if your email campaign generated $10,000 in revenue and cost $2,000 to execute, your ROEI would be: ROEI = ($10,000 - $2,000) / $2,000 = 4 or 400%