{"uid":"cap_rq4eLw3FophVRW2-GPV1I","slug":"erlang-b-c-staffing-calculator-25aeccc0","name":"Erlang B & C Staffing Calculator","description":"Erlang B and C: trunks for a blocking target, or agents for a service level such as 80 percent answered in 20 seconds.","url":"https://data-calc.x402tookit.com/erlang-staffing?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["trafficErlangs"],"properties":{"mode":{"type":"string","description":"c (default): agents for a service level, queueing allowed. b: trunks for a blocking target, no queue"},"serviceLevel":{"type":"number","description":"Mode c: fraction answered within answerSeconds, e.g. 0.8 (default 0.8)"},"answerSeconds":{"type":"number","description":"Mode c: the answer-time threshold in seconds (default 20)"},"targetBlocking":{"type":"number","description":"Mode b: acceptable blocking probability, e.g. 0.01 (default 0.01)"},"trafficErlangs":{"type":"number","description":"Offered load A in erlangs = arrival rate x average handling time (e.g. 120 calls/hour x 3 min = 6 E)"},"handlingSeconds":{"type":"number","description":"Mode c: average handling time in seconds (default 180)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"mode":{"type":["null","string"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"neighbours":{"type":["array","null"],"items":{"type":"object","properties":{"trunks":{"type":["null","number"]},"blocking":{"type":["null","number"]},"occupancy":{"type":["null","number"]},"carriedErlangs":{"type":["null","number"]}}}},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"trunksNeeded":{"type":["null","number"]},"targetBlocking":{"type":["null","number"]},"trafficErlangs":{"type":["null","number"]},"blockingAtSolution":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_id9aeiK6fKaAtukrw-vb4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the number of trunks (Erlang B) or agents (Erlang C) needed to meet a blocking probability target or service level objective given offered traffic load in erlangs.","exampleAgentPrompt":"I need to know how many agents are required to handle 8 erlangs of call traffic and hit an 80% answered-in-20-seconds service level, with an average handle time of 3 minutes — use Erlang C mode.","exampleUseCases":[{"title":"Call center agent headcount planning","prompt":"We're getting about 200 calls per hour, each lasting around 4 minutes on average. How many agents do we need to answer 80% of calls within 20 seconds? Use Erlang C."},{"title":"SIP trunk sizing for PBX","prompt":"Our office handles roughly 15 erlangs of offered traffic. How many SIP trunks do we need to keep blocking below 1%? Use Erlang B mode."},{"title":"Service level sensitivity check","prompt":"If I have 12 erlangs of traffic and 18 agents with 3-minute average handle time, what service level will I hit — what fraction of calls get answered within 20 seconds?"}],"resultDescription":"Returns the recommended number of trunks or agents needed, the achieved blocking probability or service level, occupancy/utilisation, a summary verdict, and a neighbour table showing metrics for ±N trunks/agents around the optimal solution.","failureModes":["Missing required trafficErlangs parameter returns validation error","Extremely high traffic load with no feasible agent count may return degraded/infeasible result","Invalid mode string (not 'b' or 'c') may default or error","serviceLevel outside (0,1) or negative handlingSeconds returns bad-request","Network timeout or upstream service unavailable"],"whenToPreferThis":"Use this endpoint when you need classic Erlang B or C staffing/trunking calculations for telephony or call-center capacity planning. Prefer it over generic queueing endpoints (M/M/c) when you specifically need the telecom-standard blocking or service-level formulas with a neighbour sensitivity table. Choose Erlang B mode for circuit-switched trunks with no queuing; Erlang C mode for agent staffing where calls queue.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:12:39.698Z","isFirstParty":false,"canonicalSlug":"erlang-b-c-staffing-calculator-25aeccc0"}