Logarithmic Growth Calculator
Enter the coefficients a and b and a positive x value.
What this calculator does
Enter the intercept a, the slope b and a positive x, and the calculator evaluates y = a + b·ln(x). With the defaults a = 1, b = 2 and x = 10 it returns ln(10) ≈ 2.3026 and y ≈ 5.605. The model rises steeply at first and then flattens, which is the signature of every diminishing-returns process.
What logarithmic growth is
Logarithmic growth is the mirror image of exponential growth. Where an exponential curve gains a fixed percentage each step, a logarithmic curve gains a fixed amount each time x is multiplied by a constant factor. Doubling x from 1 to 2 and from 1,000,000 to 2,000,000 produces the same increase in y — that leveling-off behavior is why logarithms describe learning curves, sensory perception and early-stage adoption so well.
Worked example at the defaults
- Take the natural log: ln(10) ≈ 2.302585
- Multiply by the slope: 2 × 2.302585 = 4.605170
- Add the intercept: 1 + 4.605170 = 5.605170
So at x = 10 the model reads y ≈ 5.605. At x = 1 the answer would be exactly a = 1, because ln(1) = 0 — the intercept is always the value of y where the curve crosses x = 1, which makes a easy to read off any logarithmic fit.
How fast the curve climbs
The doubling rule
The slope b sets the price of each doubling: every time x doubles, y increases by b × ln(2) ≈ 0.693 × b. With b = 2 that is about 1.386 per doubling, no matter whether the doubling takes you from 2 to 4 or from 2,000 to 4,000. Each tenfold jump adds b × ln(10) ≈ 2.303 × b, or about 4.605 at the defaults.
| x | ln(x) | y at a = 1, b = 2 |
|---|---|---|
| 1 | 0 | 1 |
| 2 | 0.693 | 2.386 |
| 5 | 1.609 | 4.219 |
| 10 | 2.303 | 5.605 |
| 100 | 4.605 | 10.211 |
| 1,000 | 6.908 | 14.815 |
The table shows the compression clearly: growing x a hundredfold from 10 to 1,000 adds only 9.21 to y, while the first step from 1 to 10 added 4.61. Late gains are real but small, which is exactly the pattern of a market saturating or a skill plateauing.
Fitting a and b from two points
If you know two points on the curve, the coefficients follow directly. Because y = a at x = 1, any measurement taken at x = 1 hands you a for free. The slope is b = (y2 − y1) ÷ (ln x2 − ln x1). For the defaults, the curve passes through (1, 1) and (10, 5.605), so b = (5.605 − 1) ÷ (2.303 − 0) = 4.605 ÷ 2.303 = 2. A skill score of 40 after 1 hour of practice and 51.4 after 10 hours implies a = 40 and b ≈ 5, for example.
Where logarithmic models appear
- Learning curves, where each doubling of practice hours yields a smaller improvement
- Marketing spend, where the first advertising dollar reaches the cheapest customers and later dollars pay premium prices
- Psychophysics, where perceived intensity grows roughly as the log of physical intensity
- Adoption of a new product, where the early joiners come fast and the last holdouts take years
- Search rankings, where click-through falls off logarithmically with position
A marketing example
A worked marketing case: suppose signups s = 120 + 60·ln(spend in thousands of dollars). At $1,000 of spend the model gives 120 signups; at $10,000 it gives 120 + 60 × 2.303 ≈ 258; at $100,000 it reaches 120 + 60 × 4.605 ≈ 396. Each tenfold budget increase buys roughly 138 more signups — the kind of conclusion a logarithmic fit makes obvious.
Common mistakes
- Entering x = 0 or a negative x, where ln is undefined; the calculator falls back to x = 1 in that case
- Mixing log bases: ln(10) ≈ 2.303 but log10(10) = 1, so using the wrong base changes b by a factor of 2.303
- Assuming the model fits near x = 0 — the curve dives without bound there, so fits are unreliable for tiny x
- Extrapolating far beyond the data: a log fit over 1–10 says little about x = 100,000
- Reading the intercept a at x = 0 instead of x = 1, which is a frequent spreadsheet error
A quick self-check for any fit: multiply x by 10 and confirm y rises by about 2.303 × b. With a = 1 and b = 2 the move from x = 10 (y ≈ 5.605) to x = 100 (y ≈ 10.211) adds 4.605 ≈ 2.303 × 2, so the curve is behaving as intended.
Frequently asked questions
Why must x be positive?
The natural logarithm is only defined for x greater than zero. If you enter 0 or a negative number the calculator uses x = 1 instead, where ln(1) = 0 and y = a.
How does this differ from exponential growth?
Exponential growth multiplies: each step adds a fixed percentage and the curve explodes. Logarithmic growth divides: each tenfold increase in x adds a fixed 2.303 × b to y, and the curve flattens.
What does the slope b control?
The reward per doubling. Every time x doubles, y gains about 0.693 × b, so b = 2 means roughly +1.386 per doubling, while a negative b makes y decrease.
What does the intercept a mean?
It is the value of y at x = 1, since ln(1) = 0. With a = 1 and b = 2 the curve passes through exactly (1, 1).
What is y at the default settings?
With a = 1, b = 2 and x = 10, ln(10) ≈ 2.3026, so y = 1 + 2 × 2.3026 ≈ 5.605.
How much extra y does a tenfold increase in x buy?
Exactly b × ln(10) ≈ 2.303 × b. At the defaults that is about 4.605, which takes y from 5.605 at x = 10 to 10.211 at x = 100.
How do I find a and b from data?
Read a directly from the measurement at x = 1, then compute b = (y2 − y1) ÷ (ln x2 − ln x1). The points (1, 1) and (10, 5.605) give b = 4.605 ÷ 2.303 = 2.
Can I use log base 10 instead?
Yes, by scaling b. Since ln(x) = 2.303 × log10(x), a model written with log base 10 needs its b multiplied by 2.303 to match the natural-log version.
What if my data levels off completely?
A pure logarithm never stops rising. If y truly saturates, consider a ceiling model such as a × (1 − e−kx), and use the log fit only for the rising portion.
Method and sources
- Logarithmic growth model y = a + b·ln(x).