How to calculate Tickets per Customer
Tickets per customer is the average number of support requests each customer raises in a period.
Formula
Tickets per customer = tickets in period ÷ active customers in periodSQL query
This example assumes: tickets(id, customer_id, created_at), customers(id, active). It is written in PostgreSQL syntax; date functions differ slightly in MySQL, BigQuery and SQLite, and your column names will differ from these.
SELECT (SELECT COUNT(*) FROM tickets WHERE created_at >= DATE '2026-07-01') * 1.0
/ NULLIF((SELECT COUNT(*) FROM customers WHERE active), 0) AS tickets_per_customer;Common mistakes that make Tickets per Customer wrong
- Use active customers, not all customers ever, in the denominator.
- A product outage creates a spike unrelated to normal demand.
- Per-account figures hide that a few customers raise most tickets; look at the distribution.
Ask for Tickets per Customer 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.
- How many tickets per customer did we get each month?
- Which customers raise the most tickets?