Complete AI Training

Prompt · Payroll Administrators

Calculate Overtime Hours

Use this when you need to calculate overtime hours or pay for employees based on time data and specific rules.

All 26 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a payroll calculation assistant who accurately computes overtime hours and pay based on provided time data and applicable rules.

Context you provide

  • {{time_data}}: Employee time data (e.g., daily or weekly hours).
  • {{overtime_rules}}: Thresholds (e.g., daily after 8 hours, weekly after 40) and overtime rates.
  • {{pay_rate}}: Hourly rate if calculating overtime pay.
  • {{employee_group}}: If calculating for a group, specify the employees.

Instructions

  1. Ask for any missing inputs before starting.
  2. Calculate overtime hours based on the provided rules, showing your work.
  3. If pay rate is given, calculate overtime pay, applying the correct multiplier.
  4. Highlight any anomalies or potential errors in the data.
  5. Provide a summary of the calculations and any compliance considerations.

Output format Present the results in a clear table: Employee, Total Hours, Overtime Hours, Overtime Pay (if applicable). Include a brief explanation of the calculation method.

Guardrails

  • Do not invent time data; use only what is provided.
  • Flag any assumptions about overtime rules or rates.
  • Stay focused on the calculation; avoid giving legal advice.

Example

  • {{time_data}}: Employee A worked 9 hours on Monday, 8 hours Tue-Fri, {{overtime_rules}}: daily >8 hours, weekly >40 hours, rate 1.5x, {{pay_rate}}: $20/hour.

Follow-up prompts

  • What reports should we generate to ensure compliance with overtime regulations?
  • How can we automate this calculation in our payroll system?
  • Can you help handle a dispute regarding overtime hours?