Sub topic 3
Choosing a denominator: sent or delivered, unique or total
This chapter assumes you can read a percentage as numerator over denominator. It also assumes you know the funnel from earlier chapters: sent, bounced, delivered, then engagement events. The question here is which number goes under the fraction, and which kind of count goes on top. Two campaigns with identical behavior can show different rates depending on those choices.
Why the denominator is a decision
Every email rate has the form events / base. The numerator is an event count, such as opens, clicks or unsubscribes. The base is the group of messages or people you measure against. Changing the base changes the rate without changing a single recipient's behavior.
Two choices matter:
- Sent or delivered. Sent counts every message your system handed to the network. Delivered counts only messages the receiving server accepted.
- Unique or total. A unique count counts each recipient once per campaign, however many times they acted. A total count counts every event.
Sent versus delivered
A bounced message never reached an inbox, so its recipient had no chance to open or click. Including bounces in the base penalizes the campaign for a problem that happened before the reader could see it.
For engagement rates, delivered is the usual base. It measures what share of people who could have engaged did engage. For delivery rate itself, the base must be sent, because the metric is about how many sends arrived.
| Metric | Usual numerator | Usual base |
|---|---|---|
| Delivery rate | Delivered | Sent |
| Bounce rate | Bounced | Sent |
| Open rate | Unique opens | Delivered |
| Click rate | Unique clickers | Delivered |
| Click-to-open rate | Unique clickers | Unique opens |
| Unsubscribe rate | Unsubscribes | Delivered |
| Complaint rate | Spam complaints | Delivered |
Some providers and mailbox-provider dashboards divide by sent instead. The difference is small when bounces are low and large when they are not. A list with 8% bounces reports engagement rates about 8% lower (relative) on a sent base.
The base can move
Delivered is not always final when you first look. Soft bounces, such as a full mailbox or a temporary server error, are retried for hours or days. A message counted as not delivered at hour 1 may be delivered at hour 20. This has two consequences:
- The delivered count in a report can rise after the send.
- Rates computed early use a different base than rates computed later.
When you compare campaigns, compare them at the same age, for example 72 hours after the send. Otherwise a campaign you checked at hour 6 looks worse than one you checked at hour 48, regardless of quality.
Unique versus total
A single recipient can generate many events. They may open the message on a phone, then a laptop, then reopen it a week later. Each open is a separate request for the tracking image.
- Unique opens count how many different recipients opened at least once.
- Total opens count every open event.
A rate with total events on top answers "how many events per message", which is not a percentage of people. It can exceed 100%. A rate with unique recipients on top answers "what share of recipients did this", which stays between 0% and 100%.
For headline rates, use unique counts. Keep total counts for questions about intensity. Examples are how often one link is re-clicked and how often a message is revisited. Mixing the two is a common reporting error. For example, a dashboard divides total clicks by unique opens and labels the result click-to-open rate.
Worked example in Python
The function below computes each rate with an explicit base and returns 0 when the base is empty. Run it to see how much the choices move the numbers.
def rate(numerator, denominator):
return numerator / denominator if denominator else 0.0
sent = 10000
bounced = 200
delivered = sent - bounced
unique_opens = 3920
total_opens = 6500
unique_clickers = 310
total_clicks = 520
print(f"Open rate (unique / delivered): {rate(unique_opens, delivered):.2%}")
print(f"Open rate (unique / sent): {rate(unique_opens, sent):.2%}")
print(f"Open rate (total / delivered): {rate(total_opens, delivered):.2%}")
print()
print(f"Click rate (unique / delivered): {rate(unique_clickers, delivered):.2%}")
print(f"Click rate (total / delivered): {rate(total_clicks, delivered):.2%}")
print(f"Click-to-open (unique / unique): {rate(unique_clickers, unique_opens):.2%}")
print(f"Click-to-open (total / unique): {rate(total_clicks, unique_opens):.2%}")With these numbers, the unique-over-delivered open rate is 40.00%. Over sent it is 39.20%. Over delivered with total opens it is 66.33%, which makes the campaign look far better than it was. The two click-to-open lines show the same mix-up in smaller form: 7.91% for unique over unique, and 13.27% for total clicks over unique opens.
None of these figures is wrong arithmetic. Each answers a different question. The error is reporting one and describing it as another.
Computing both in SQL
Most teams compute these from an event table with one row per event. The query below produces unique and total counts side by side, so the difference is visible for each campaign.
SELECT
campaign_id,
COUNT(DISTINCT CASE WHEN event_type = 'delivered' THEN recipient_id END) AS delivered,
COUNT(DISTINCT CASE WHEN event_type = 'open' THEN recipient_id END) AS unique_opens,
COUNT(DISTINCT CASE WHEN event_type = 'click' THEN recipient_id END) AS unique_clickers,
COUNT(CASE WHEN event_type = 'open' THEN 1 END) AS total_opens
FROM email_events
GROUP BY campaign_id;COUNT(DISTINCT ...) on recipient_id gives unique counts. A plain COUNT of matching rows gives totals. The ratio total_opens / unique_opens is itself informative. It is the average number of opens per opener, and a value that jumps between campaigns often points to a measurement change rather than a change in reader behavior.
Pitfalls in the query
- Uniqueness is per campaign. The query groups by
campaign_id, so a recipient who opens two campaigns counts once in each. Do not sum campaign-level unique counts and call the result unique people across campaigns. That total double-counts. - Identifier choice.
recipient_idmust identify a person or address, not a message. If your system assigns a new ID per send,DISTINCTdoes nothing useful. - Click events without a delivery event. Late or missing events can produce more clickers than delivered recipients for a recipient. Check that your numerator population is a subset of your base population.
Combining campaigns
When you report a month of campaigns, average the pooled counts rather than the individual rates. Suppose campaign A has 1,000 delivered and a 50% open rate. Campaign B has 9,000 delivered and a 20% open rate. The simple average of the rates is 35%. The pooled rate is (500 + 1,800) / 10,000 = 23%. The pooled rate is the one that describes the month, because it weights each campaign by its size.
Choosing under real constraints
Use these rules as a default, and note when you depart from them:
- Use delivered as the base for every engagement rate, and sent only for delivery and bounce rates.
- Use unique counts for rates, and total counts only for explicitly labeled intensity measures.
- Fix a measurement window, such as 72 hours, before comparing campaigns.
- Write the formula in the report footnote. A reader should see "unique opens / delivered" and not have to guess.
- Never change definitions mid-series without restating the earlier numbers.
Summary of the decision
Ask two questions for every rate. First, could the recipient have acted? That decides sent or delivered. Second, are you counting people or events? That decides unique or total. A rate is ready to report when both answers are written next to the number.
Exercise
A campaign has 20,000 sent, 1,000 bounced, 5,700 unique opens and 9,500 total opens. What are the open rate (unique opens over delivered) and the sent-based unique open rate, and why does the first one fit better as the headline?
Show answer
Delivered is 20,000 - 1,000 = 19,000. The delivered-based unique open rate is 5,700 / 19,000 = 30.00%. The sent-based rate is 5,700 / 20,000 = 28.50%. The delivered base fits better as the headline because bounced recipients could not open the message, so counting them in the base understates how well the message performed among people who received it. The total-open figure (9,500 / 19,000 = 50.00%) should not be called an open rate, since it counts events rather than people.
Exercise
Campaign A has 2,000 delivered and a 10% click rate. Campaign B has 8,000 delivered and a 4% click rate. What is the pooled click rate across both, and why does it differ from the simple average of the two rates?
Show answer
Campaign A has 200 clickers and Campaign B has 320 clickers, so the total is 520 clickers out of 10,000 delivered. The pooled rate is 5.20%. The simple average of 10% and 4% is 7%, which overstates the result because it gives the small campaign the same weight as the large one. The pooled rate weights each campaign by its delivered count.