How to calculate Overtime Ratio
Overtime ratio is overtime hours as a percentage of total hours worked, a signal of workload or staffing gaps.
Formula
Overtime ratio = overtime hours ÷ total hours worked × 100SQL query
This example assumes: timesheets(employee_id, work_date, regular_hours, overtime_hours, team). It is written in PostgreSQL syntax; date functions differ slightly in MySQL, BigQuery and SQLite, and your column names will differ from these.
SELECT team,
SUM(overtime_hours) * 100.0
/ NULLIF(SUM(regular_hours + overtime_hours), 0) AS overtime_pct
FROM timesheets
WHERE work_date >= DATE '2026-07-01'
GROUP BY team
ORDER BY overtime_pct DESC;Common mistakes that make Overtime Ratio wrong
- Overtime definitions differ by country and contract; use the rule payroll uses.
- Seasonal peaks look like a permanent problem in a short window.
- Aggregate by team, not by individual, unless there is a clear reason.
Ask for Overtime Ratio 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.
- Which teams have the highest overtime ratio this quarter?
- How has overtime trended since we hired?