Calculator inputs
This page uses a single-column page flow. The calculator fields become a responsive 3-column, 2-column, and 1-column layout by screen size.
Logistic curve and tangent view
The chart displays the logistic response, evaluated point, tangent line, and midpoint marker.
Formula used
p(x) = 1 / (1 + e-k(x - x0))
y(x) = b + L · p(x)
dy/dx = Lk · p(x) · (1 - p(x))
Equivalent form:
dy/dx = Lk · e-k(x - x0) / (1 + e-k(x - x0))2
At x = x0, p = 0.5 and dy/dx = Lk / 4
x = x0 + ln(p / (1 - p)) / k
d²y/dx² = Lk² · p(x) · (1 - p(x)) · (1 - 2p(x))
How to use this calculator
- Enter L, k, x0, and optional baseline b.
- Choose a mode: direct x, probability inversion, or midpoint maximum.
- Set graph range, point count, and decimal precision.
- Press the calculate button to show the result above the form.
- Review the slope, tangent line, chart, and example table.
- Use the export buttons to save CSV or PDF output.
Example data table
These sample points are generated from the current parameters across evenly spaced x values.
| Sample x | z = k(x - x0) | p(x) | y(x) | Slope dy/dx |
|---|---|---|---|---|
| -9 | -9 | 0.000123 | 0.000123 | 0.000123 |
| -6 | -6 | 0.002473 | 0.002473 | 0.002467 |
| -3 | -3 | 0.047426 | 0.047426 | 0.045177 |
| 0 | 0 | 0.5 | 0.5 | 0.25 |
| 3 | 3 | 0.952574 | 0.952574 | 0.045177 |
| 6 | 6 | 0.997527 | 0.997527 | 0.002467 |
| 9 | 9 | 0.999877 | 0.999877 | 0.000123 |
Frequently asked questions
1. What does logistic slope mean?
Logistic slope is the instantaneous rate of change of the logistic curve at a chosen x value. It tells you how quickly the modeled response is rising or falling at that point.
2. Where is the slope largest?
The largest slope magnitude occurs at the midpoint x0. That point is also the inflection point, where the curve changes concavity and the probability equals 0.5.
3. Why does the slope shrink in the tails?
When p approaches 0 or 1, the factor p(1-p) becomes very small. That makes the derivative small, so the curve flattens near its lower and upper limits.
4. What happens if k is negative?
A negative k flips the curve direction. The model becomes decreasing instead of increasing, and the slope values become negative around the midpoint.
5. What is the role of L?
L scales the response range. Larger L increases both the output span and the slope magnitude because the derivative is directly multiplied by L.
6. What does the baseline offset b do?
The offset b shifts the entire curve upward or downward. It changes y values and the tangent intercept, but it does not change the slope formula itself.
7. When should I use probability inversion mode?
Use probability mode when you already know the target probability p and want the corresponding x value, slope, and output for that probability level.
8. What does the tangent line help me see?
The tangent line shows the local linear approximation of the logistic curve at the evaluated point. It is useful for sensitivity analysis and quick nearby estimates.