Staffing Math

v0.3.1
io.github.bsunter93/staffing-math Checked 3 days ago Published 29 days ago

Exact staffing math: FTE needed, a monthly hiring plan, and Erlang C queue staffing.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

required_fte FTE needed for a workload

For questions like "how many people do I need" or "how many FTE does this workload take": cases, tickets, claims, orders or any work measured as volume times handling time. Applies shrinkage and target occupancy together; leaving out occupancy understates the people needed by about 15% at the 85% default. Give weekly volume and minutes per case; shrinkage, target occupancy and hours per week fall back to stated defaults. Returns FTE, people to staff (rounded up), every input marked given or assumed, and the arithmetic with numbers filled in. For volume that changes over time or any question ab…

ParameterTypeDescription
minutes_per_case *numberAverage handling time per case, in minutes.
weekly_volume *numberCases, tickets or items arriving per week.
hours_per_fte_weeknumberPaid hours per full-time person per week. Default 40.
shrinkagenumberShare of paid time not available for the work: PTO, sick time, training, meetings. 0.30 means 30%. Default 0.3.
target_occupancynumberShare of available time you plan to keep people busy with the work. Default 0.85.

hiring_plan Monthly hiring plan

For hiring plans, headcount plans, and questions about when to open requisitions or how many people to hire as volume grows, shrinks or changes by season. Plans month by month how many requisitions to open so FTE on hand keeps up with FTE needed. A requisition adds capacity only after time to hire and ramp, and attrition removes people every month, so the plan opens reqs ahead of need and flags the months that run short before any new hire can count. Give weekly_volume with monthly_growth (0.05 means 5% a month, compounding), or weekly_volume_by_month. Unknown inputs fall back to stated defaul…

ParameterTypeDescription
minutes_per_case *numberAverage handling time per case, in minutes.
annual_attritionnumberShare of the team that leaves in a year. 0.25 means 25%. Default 0.
current_headcountnumberFTE on the team today. Default: what month 1 needs, rounded up.
hires_in_flightarrayPeople already hired or in the pipeline, and the month they start counting. These are the only way to cover months before a new requisition can land.
hours_per_fte_weeknumberPaid hours per full-time person per week. Default 40.
monthly_growthnumberMonth-over-month change in weekly volume. 0.05 means 5% a month. Default 0.
monthsintegerPlan length in months when using monthly_growth. Default 12.
ramp_monthsintegerMonths from start date to full productivity. Default 0.
shrinkagenumberShare of paid time not available for the work: PTO, sick time, training, meetings. 0.30 means 30%. Default 0.3.
start_monthstringFirst month of the plan as YYYY-MM, used only to label months.
target_occupancynumberShare of available time you plan to keep people busy with the work. Default 0.85.
time_to_hire_monthsintegerMonths from opening a requisition to the start date. Default 2.
weekly_volumenumberWeekly volume in month 1. Use with monthly_growth.
weekly_volume_by_montharrayAverage weekly volume in each month of the plan, instead of weekly_volume and monthly_growth.

erlang_staffing Queue staffing (Erlang C)

For call center, contact center, phone or chat staffing questions with a service level target, such as 80% answered within 20 seconds. Works out agents needed on a live queue to answer a target share of contacts within a target time, using Erlang C. Give contacts per hour for the interval being staffed (usually the busiest hour) and handle time in seconds. Returns agents needed, the service level at that number and at one fewer, chance of waiting, occupancy, and people to schedule after shrinkage. Use required_fte for case or ticket work with no answer-time target.

ParameterTypeDescription
contacts_per_hour *numberContacts arriving per hour in the interval being staffed.
handle_time_seconds *numberAverage handle time in seconds: talk plus after-contact work.
answer_within_secondsnumberTarget answer time in seconds. Default 20.
service_levelnumberShare of contacts to answer within the target time. Default 0.8.
shrinkagenumberShare of paid time agents are off the queue. Converts agents to people scheduled. Default 0.3.