To calculate CPE, you need to add up all the costs associated with your email marketing campaign and then divide that total by the number of emails sent. The formula is: CPE = Total Campaign Cost / Number of Emails Sent For example, if you spend $500 on a campaign and send 10,000 emails, your CPE would be $0.05.