JESUS CHRIST IS THE ONLY TRUE GOD
Other calculator

Thread Count Calculator

Estimate threads needed from target throughput and measured per-thread throughput.

Your calculationPrivate in your browser
Report a result

Start with a worked example

Open the worked example for Estimated threads. The example starts with Target operations per second = 1000, Measured operations per second per thread = 120.

Thread Count Calculator formula

Threads=ceil(target throughput÷per-thread throughput).

Inputs and units

Inputs and example values for Thread Count Calculator
InputFormat / rangeExample
Target operations per secondmin 01000
Measured operations per second per threadmin 1e-06120

Worked example

The values listed in Inputs and units give 9 for Estimated threads.

Estimated threads
9

Results and assumptions

Change Target operations per second from 1000 to 1100 and keep the other example inputs fixed. The updated answer is 10 (Estimated threads).

Fix an input or unexpected result

Target operations per second is required. Enter target operations per second using the format and bounds in the input table. Zero and an empty field are different: use zero only if it is allowed and represents your data.

See how to check a result or report an issue.