Many processes start slowly, speed up and then level off, from the spread of a product to the response of a drug. The sigmoid function describes that S-shaped curve. This sigmoid function calculator takes x, the steepness, the midpoint and the maximum to give the value, the slope, the share of the maximum and the x values at 10% and 90%.
How the calculation works
- Sigmoid f(x) = L ÷ (1 + e^(−k(x − x₀))). It rises from 0 to the maximum L along an S-shaped curve.
- Midpoint x₀ is the value of x at which the function reaches half of L. Steepness k sets how quickly it moves from low to high.
- Slope f′(x) = k · f(x) · (1 − f(x) ÷ L). It is largest at the midpoint, where it equals k × L ÷ 4.
- The function goes from 10% to 90% of L between x₀ − ln 9 ÷ k and x₀ + ln 9 ÷ k, a width of about 4.39 ÷ k.
Example
Take the standard logistic function with L = 1, k = 1.5, x₀ = 0.5 and x = 2. The exponent is −1.5 × (2 − 0.5) = −2.25, and e^−2.25 = 0.1054. The value is 1 ÷ 1.1054 = 0.9047, the slope is 1.5 × 0.9047 × 0.0953 = 0.1293, and the curve has reached 90.5% of its maximum. It passes 10% at x = −0.96 and 90% at x = 1.96.
Why it matters
Students, analysts and engineers use the logistic curve to model growth that has a limit, to turn scores into probabilities and to fit dose-response data. Having the slope and the 10 to 90% range gives a feel for how sharp the transition is.
Good to know
The calculator uses the standard logistic form with a positive steepness. Real data may follow another S-shaped curve, such as the Gompertz or the cumulative normal distribution, and fitting a model to data needs more than a single evaluation. Very large values of k times x − x₀ are limited by the precision of the computer, which gives 0 or L for extreme inputs. Use the values as a guide to a model and not as a forecast.
Related tools
The logistic growth calculator applies the curve to populations, the exponential growth calculator covers the unlimited case and the probability calculator links the curve to chance.