Sub topic 3
Measuring response time: first response, average response and resolution
Response time is the base metric of social care. Targets, staffing and escalation rules all depend on it. This chapter defines the three standard measures, shows how to compute them from message timestamps, and covers the edge cases that make reported numbers unreliable.
It assumes you know the major social platforms, what a support team does, and what a service level agreement (SLA) is. Setting targets comes in the next chapter. Here the goal is to measure correctly.
The three measures
Each measure starts a clock when the customer writes and stops it at a different event.
| Measure | Clock starts | Clock stops | Question it answers |
|---|---|---|---|
| First response time (FRT) | Customer's first message | First human reply | How long did the customer wait to hear from us? |
| Average response time (ART) | Each customer message that begins a wait | The next human reply | How responsive are we across the whole conversation? |
| Resolution time | Case created | Case marked resolved | How long did it take to fix the problem? |
FRT is the most visible measure because customers notice silence first. ART shows whether agents keep up after the first reply. A team can answer in 5 minutes and then leave the customer waiting for hours on every follow-up. Resolution time measures the outcome, but it depends on factors outside the social team, such as a refund that needs finance approval.
What data you need
All three measures come from timestamps. For each event in a conversation, record:
- who sent it (customer or agent)
- when it was sent, in a single time zone such as UTC
- whether it was automated
- the channel and whether it was public or private
- the case's created and resolved times
Store timestamps with their time zone. Mixing local and UTC times is a common source of impossible results, such as a reply that appears to come before the question.
Computing the measures
The script below turns one conversation into the three measures. It tracks when the customer started waiting. It ignores automated replies, so they never stop the clock. It starts a new wait only when the customer writes after an agent reply, which means two customer messages in a row count as one wait.
from datetime import datetime
from statistics import mean
def minutes(start, end):
return (end - start).total_seconds() / 60
def human_reply_gaps(events):
"""Return the wait, in minutes, before each human reply."""
gaps = []
waiting_since = None
for sender, ts, is_auto in events:
if sender == "customer":
if waiting_since is None:
waiting_since = ts
elif sender == "agent" and not is_auto:
if waiting_since is not None:
gaps.append(minutes(waiting_since, ts))
waiting_since = None
return gaps
events = [
("customer", datetime(2026, 3, 2, 9, 0), False),
("agent", datetime(2026, 3, 2, 9, 0, 30), True), # auto-reply
("agent", datetime(2026, 3, 2, 9, 12), False),
("customer", datetime(2026, 3, 2, 9, 20), False),
("customer", datetime(2026, 3, 2, 9, 22), False), # same wait
("agent", datetime(2026, 3, 2, 9, 50), False),
("customer", datetime(2026, 3, 2, 10, 5), False),
("agent", datetime(2026, 3, 2, 10, 10), False),
]
resolved_at = datetime(2026, 3, 2, 10, 30)
gaps = human_reply_gaps(events)
print("First response:", round(gaps[0], 1)) # 12.0
print("Average response:", round(mean(gaps), 1)) # 15.7
print("Resolution:", minutes(events[0][1], resolved_at)) # 90.0The gaps are 12, 30 and 5 minutes. FRT is the first gap. ART is their mean, 15.7 minutes. Resolution runs from the first customer message to the resolved timestamp, which gives 90 minutes.
The auto-reply at 9:00:30 is excluded on purpose. If it counted, FRT would be 0.5 minutes, and every conversation would look instant.
Mean, median and percentiles
Response times are skewed. Most replies are fast, and a few cases wait a very long time. The mean is pulled toward those cases, so a single weekend backlog can make a good week look bad. Report the median and a high percentile as well.
from math import ceil
from statistics import mean, median
def percentile(values, p):
"""Nearest-rank percentile, p between 0 and 100."""
ordered = sorted(values)
rank = ceil(p / 100 * len(ordered))
return ordered[rank - 1]
waits = [5, 8, 10, 12, 15, 20, 25, 30, 45, 600]
print("Mean:", mean(waits)) # 77.0
print("Median:", median(waits)) # 17.5
print("90th percentile:", percentile(waits, 90)) # 45One 600-minute wait moves the mean to 77 minutes, although nine of ten customers waited 45 minutes or less. The median describes a typical customer. The 90th percentile tells you how long nearly everyone waits, and it is the better basis for an SLA such as "90% of first replies within 60 minutes". The mean still has a use: multiplied by volume, it gives total workload.
Edge cases that change the numbers
Decide each of these rules once, write it down, and apply it everywhere. Otherwise two reports of the same week will disagree.
Calendar time or business hours
Calendar time counts every minute. Business-hours time counts only minutes when the team is staffed. A message that arrives at 22:00 and is answered at 09:00 took 11 hours in calendar time and possibly 0 minutes in business-hours time. Customers experience calendar time, so if you report business hours, state the hours alongside the number. Coverage is covered in a later chapter.
Automated replies
Exclude auto-acknowledgements ("Thanks, we got your message") from FRT. Count them separately if you want, for example as "acknowledgement time". Bots that actually answer the question are a different case, and the chapter on automation covers how to report them.
Customer replies and paused clocks
For resolution time, some teams pause the clock while the case waits on the customer, for example while asking for an order number. If you do this, record both the paused and unpaused versions, because pausing can hide slow agent follow-up.
Reopened cases
A customer who writes again after a case is resolved can either reopen the old case or start a new one. Reopening keeps the history but stretches resolution time. A new case resets the clock but hides the repeat contact. Pick one rule and track the reopen rate separately.
Multiple messages and public or private threads
Customers often send several messages in a row, as the example above shows. Count them as one wait that starts at the first unanswered message. Also decide how to treat a public post that you answer privately. The public reply may be a short "please check your DMs". The useful measure is time to the first reply that starts handling the problem, so say which of the two counts.
Messages that should not count
Spam, mentions that need no reply (a tag in a happy post, for example) and messages from other brands inflate your volume and distort FRT. Filter them out before measuring, and keep the filter rule in your documentation.
Common errors
- Averaging averages. Averaging each day's mean gives equal weight to a quiet Sunday and a busy Monday. Compute the metric from all individual waits.
- Measuring from the wrong start. Using the time a case was created in the help desk, rather than when the customer posted, hides the delay in routing the message into the queue.
- Mixing channels. Direct messages, public comments and mentions have different expectations. Report them separately before combining them.
- Counting the bot as the first response. This makes FRT look excellent while customers still wait for a person.
- Optimizing the metric. If agents are judged only on FRT, they send a quick "looking into it" and leave the real work for later. Pair FRT with resolution time and satisfaction.
Putting it into practice
For a first report, take one week of conversations and compute, per channel, the median FRT, the 90th percentile FRT, the mean ART, and the median resolution time. Note every rule you applied from the edge cases above. The next chapter uses these baselines to set realistic targets.
Exercise
A customer posts at 14:00. An auto-reply is sent at 14:01. A human agent replies at 14:25. The customer writes again at 14:30 and again at 14:34. The agent replies at 15:10. The case is marked resolved at 15:30. Calculate the first response time, the average response time and the resolution time.
Show answer
The auto-reply is ignored. First response time is 25 minutes (14:00 to 14:25). The second wait starts at 14:30, the first unanswered customer message, and ends at 15:10, so it is 40 minutes. The 14:34 message does not start a new wait. Average response time is (25 + 40) / 2 = 32.5 minutes. Resolution time is 90 minutes (14:00 to 15:30).
Exercise
Your team's mean FRT last week was 95 minutes, but the median was 14 minutes. What does this suggest, and which measure would you put in an SLA?
Show answer
A few very slow cases, such as messages that arrived during a coverage gap, are pulling the mean up while most customers are answered quickly. Check those slow cases for a cause. For the SLA, use a percentile, for example "90% of first replies within 60 minutes", because it limits the slow tail that the median hides and is not distorted by single outliers like the mean.