Ma · Mathematics

How to Solve the Continuous Compounding Formula for r

Published By the 9to5Science editorial team

At a glance

  1. 1. Write the model

    Use A = Pe^(rt), where P is the starting amount, A is the final amount, and t is elapsed time.

  2. 2. Isolate the exponential

    Divide both sides by P to get A/P = e^(rt).

  3. 3. Take natural logs

    Apply ln to both sides, giving ln(A/P) = rt.

  4. 4. Divide by time

    Calculate r = ln(A/P)/t and express it as a percentage if needed.

The continuous-compounding formula relates a starting balance to its value after interest has accumulated. If you know the initial principal, the final balance, and the elapsed time, you can rearrange the formula to find the continuously compounded rate rr.

The formula solved for rr

The standard model is

A=Pert,A = Pe^{rt},

where PP is the principal (starting amount), AA is the amount after time tt, rr is the continuously compounded rate, and ee is the base of the natural logarithm. Rearrange it as follows:

AP=ertln⁡(AP)=rtr=ln⁡(A/P)t.\begin{aligned} \frac{A}{P} &= e^{rt} \\ \ln\left(\frac{A}{P}\right) &= rt \\ r &= \frac{\ln(A/P)}{t}. \end{aligned}

So the rate is the natural logarithm of the growth factor, divided by the elapsed time. Use the natural logarithm, written ln⁡\ln, rather than treating the exponent as a base-10 logarithm.

For a positive principal and a positive elapsed time, the final amount must also be positive. If A>PA>P, the calculated rate is positive; if A=PA=P, it is zero; and if 0<A<P0<A<P, it is negative.

Worked example

Suppose \1{,}000growstogrows to$1{,}250in3yearsundercontinuouscompounding.Here,in 3 years under continuous compounding. Here,P=1000,, A=1250,and, and t=3$ years:

r=ln⁡(1250/1000)3=ln⁡(1.25)3≈0.07438.\begin{aligned} r &= \frac{\ln(1250/1000)}{3} \\ &= \frac{\ln(1.25)}{3} \\ &\approx 0.07438. \end{aligned}

The continuously compounded annual rate is approximately 0.074380.07438, or 7.438% per year. To check, substitute the decimal rate into the original equation:

1000e(0.07438)(3)≈1250.1000e^{(0.07438)(3)} \approx 1250.

The small difference from exactly 12501250 comes from rounding the rate. Keep more digits during your calculation if you need a more precise check.

Match the time and rate units

The units of rr are the reciprocal of the units used for tt. If tt is measured in years, rr is a rate per year. If tt is measured in months, the result is a rate per month. To find an annual rate from a period measured in months, first express the elapsed time in years; for example, 18 months is 1.5 years.

Convert a decimal rate to a percent by multiplying by 100. For example, r=0.07438r=0.07438 corresponds to 7.438%7.438\%, not 0.07438%0.07438\%.

The formula assumes the balance changes only through continuous compounding at a constant rate. If deposits or withdrawals occur during the period, the simple equation generally cannot recover the rate from just the initial and final balances; the timing and amounts of those cash flows also matter.

Common mistakes

  • Using log⁡10\log_{10} instead of ln⁡\ln. The exponential in the model has base ee, so taking the natural logarithm directly gives rtrt.
  • Reversing the ratio. Use A/PA/P, final amount divided by principal. Using P/AP/A changes the sign of the result.
  • Mixing time units. A rate found using time in months is monthly, not annual. Convert time or clearly label the result.
  • Forgetting the percent conversion. The formula returns a decimal rate. Multiply by 100 only when reporting it as a percentage.
  • Applying it to a different compounding convention. This formula returns the continuously compounded rate. A rate compounded annually, monthly, or daily may be quoted differently.

Continuous rate versus effective annual rate

If tt is in years and rr is the continuously compounded annual rate, the equivalent effective annual rate is er−1e^r-1. For the example, this is approximately e0.07438−1=0.0772e^{0.07438}-1=0.0772, or 7.72%. This differs from 7.438% because the two percentages use different compounding conventions. Use r=ln⁡(A/P)/tr=\ln(A/P)/t when the question asks specifically for the continuously compounded rate.

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.