The formulas
Engagement rate (followers) = engagements ÷ followers
Engagement rate (impressions) = engagements ÷ impressions
Rates by impressions reward posts that travel beyond your followers. Rates by followers are easier to compare between accounts.
Worked example
An Acme post earns 540 engagements, is seen 24,000 times, and the account has 18,000 followers. By followers: 540 ÷ 18,000 = 3.0%. By impressions: 540 ÷ 24,000 = 2.25%.
Engagement is not traffic
A post can be loved and still send no one to your site. Put a tagged short link in bio or in the caption and measure clicks separately.