How to calculate Revenue per Sales Rep
Revenue per sales rep is the revenue closed per rep over a period. It is a rough productivity measure for a sales team.
Formula
Revenue per rep = total won revenue ÷ number of reps in the periodSQL query
This example assumes: deals(owner_id, stage, amount, closed_at), reps(id, start_date, end_date). It is written in PostgreSQL syntax; date functions differ slightly in MySQL, BigQuery and SQLite, and your column names will differ from these.
SELECT SUM(d.amount) / NULLIF(COUNT(DISTINCT r.id), 0) AS revenue_per_rep
FROM reps r
LEFT JOIN deals d
ON d.owner_id = r.id AND d.stage = 'won'
AND d.closed_at >= DATE '2026-01-01' AND d.closed_at < DATE '2027-01-01'
WHERE r.start_date < DATE '2027-01-01'
AND (r.end_date IS NULL OR r.end_date >= DATE '2026-01-01');Common mistakes that make Revenue per Sales Rep wrong
- Counting reps who left or joined mid-year as full reps understates productivity; use average headcount.
- Ramping new reps lower the average without any change in the experienced team.
- Managers who also sell blur the denominator.
Ask for Revenue per Sales Rep in plain English
Instead of writing the query yourself, you can type the question. SchemaChat turns it into SQL against your connected database or uploaded file, runs it, and shows the SQL and the figures it used so you can check the answer before you share it. It does not replace your judgement about the definition: check that the query matches the formula your business uses.
- What was revenue per rep last year?
- How does revenue per rep compare across regions?