How to use this calculator
- Enter average pages and per-page stage times.
- Add document-level model and validation overhead.
- Set parallel workers and a realistic utilization target.
- Enter the queue size and calculate.
Plan whether an AI document pipeline can meet a turnaround target before deploying more workers. This calculator combines page-level OCR and extraction time with document-level model and validation time, then applies parallel worker capacity and utilization. It reports estimated latency for one document, sustainable documents per hour, and the time required to clear a specified queue. Network delay and vendor throttling can be included as document-level overhead.
Service time = Pages × (OCR sec/page + Extraction sec/page) + Document overhead
Capacity/hour = Workers × 3,600 × Utilization ÷ Service time
Hourly capacity is the sustainable processing rate at the selected utilization. Service time excludes queue waiting, while queue clearance assumes no new arrivals.
This is a deterministic capacity estimate. Tail latency, uneven document sizes, rate limits, and worker failures can increase real turnaround time.
With 10 pages, 1.2 seconds OCR, 0.8 seconds extraction, and 5 seconds overhead, service time is 25 seconds. Eight workers at 80% utilization process 921.6 documents/hour; 1,000 queued documents take about 1.09 hours.
No. It is the service time after a worker starts processing; actual end-to-end latency also includes time waiting in the queue.
Spare capacity helps absorb variable arrivals, long documents, retries, and brief worker interruptions.
Yes. Add recurring wait time to document overhead or reduce effective worker capacity to reflect the limit.
This formula adds their times. If they overlap in your architecture, enter the measured combined critical-path time rather than both full durations.
The displayed clearance time assumes no new arrivals. Subtract the arrival rate from hourly capacity before estimating a live queue drain time.
| Component | Scaling | Unit |
|---|---|---|
| OCR | Per page | seconds/page |
| Extraction | Per page | seconds/page |
| Overhead | Per document | seconds/document |
| Parallelism | Whole system | workers |