calculate-loan

01 Loan payments

Compound Interest Formula: Solve for r

Calculator No. 01-12283 · Updated · Formula and assumptions shown below

Rate per period 2.4114 %
Nominal annual rate
9.6455 %
= Rate per period × compounding periods per year
Starting balance
$1,000
Input
Ending balance
$1,210
Input
You enter
Starting balance ($), Ending balance ($), Time (years), Compounding periods per year
You get
Rate per period (%), Nominal annual rate (%)
Rounding
4 dp

Estimate for education, not financial advice. The result follows from the numbers you enter and the formula shown. It is not a quote or an offer, and it does not include fees, taxes or insurance unless the calculator asks for them. Ask your lender for the exact figures.

This calculator solves the compound-interest equation for the periodic interest rate, r, using the starting balance, ending balance, time, and compounding frequency. Enter those values to get the rate per compounding period and its nominal annual equivalent; the result is a mathematical estimate, not a quoted financial rate.

Formula

The compound-interest formula is A = P(1 + r)nt. Solving for r gives r = (A/P)1/(nt) − 1. The calculator displays r as a percentage per compounding period. Multiplying that decimal periodic rate by n and by 100 gives the nominal annual rate shown as the second result.

  • A or FV: ending balance, in dollars.
  • P or PV: starting balance, in dollars.
  • r: interest rate per compounding period, as a decimal in the equation.
  • n: number of compounding periods per year.
  • t: time in years.
  • nt: total number of compounding periods.

For example, if interest compounds quarterly, n is 4. The formula finds the rate for each quarter; the nominal annual equivalent is four times that periodic rate. This annual figure is not an effective annual yield, which accounts for compounding over a full year.

Worked Example

Using the calculator’s default inputs, the starting balance is $1,000, the ending balance is $1,210, the time is 2 years, and compounding occurs 4 times per year.

  1. Find the total number of periods: nt = 4 × 2 = 8 quarters.
  2. Divide the ending balance by the starting balance: A/P = 1,210/1,000 = 1.21.
  3. Take the eighth root and subtract 1: r = 1.211/8 − 1 ≈ 0.0241137.
  4. Convert to a percentage: 0.0241137 × 100 ≈ 2.4114% per quarter.
  5. Multiply by 4 for the nominal annual rate: 2.4114% × 4 ≈ 9.6455% per year.

The calculator shows 2.4114% per period and 9.6455% nominal annually, with both results rounded to four decimal places. Applying the unrounded periodic rate across eight quarterly periods reproduces the $1,210 ending balance, subject to displayed rounding.

How Solving for r Works

In the ordinary compound-interest equation, r is raised to the power nt, so it cannot be isolated using only addition or division. First divide both sides by P, leaving A/P = (1 + r)nt. Then take the nt-th root of both sides and subtract 1. The root can also be written with logarithms: r = exp(ln(A/P)/(nt)) − 1. Both forms give the same result for valid positive balances and a positive elapsed time.

This calculation assumes the balance changes only through compound growth. If deposits, withdrawals, fees, or other cash flows occurred during the period, the ending balance alone does not identify a unique rate under this formula. The timing and amount of those transactions would also be needed.

When to Use the Result

Solving for r is useful when the beginning and ending balances and the elapsed time are known, but the rate is not. It can help check a simplified savings-growth example, compare a stated periodic rate with observed growth when there were no extra transactions, or complete a textbook problem.

Interpret the first result as the rate applied at each compounding event, not as an annual rate unless there is exactly one period per year. The second result is the nominal annual rate, calculated as periodic rate multiplied by periods per year. For quarterly compounding, for instance, a rate of 2.4114% per quarter corresponds to a nominal annual rate of 9.6455%. The effective annual rate for that same periodic rate would instead be (1 + r)4 − 1, or about 10.03%; it differs because it includes the effect of quarterly compounding.

Choosing the Compounding Frequency

Set n to match the period at which interest is actually added to the balance. Common mathematical choices include 1 for annual, 2 for semiannual, 4 for quarterly, 12 for monthly, and 365 for daily compounding. These are period counts, not percentages. A calculator result cannot establish which convention applies to a real account or contract; use the compounding method stated in its terms.

For time expressed in months, convert it to years before entering it: for example, 18 months is 1.5 years. The product nt must represent the total number of periods in the full elapsed time. If the time does not comprise a whole number of periods, this formula applies the stated constant rate for the resulting fractional exponent; actual products may use a different day-count or partial-period convention.

Common Errors and Limits

  • Mixing annual and periodic rates: r in the equation is the rate per period. Do not put an annual rate directly into the formula when n is greater than 1.
  • Using the wrong balance ratio: divide the ending balance by the starting balance, not the reverse. If A is below P, the calculated rate is negative, representing a decline under this simplified model.
  • Entering percentages as decimals incorrectly: the calculator asks for dollar balances and period counts, then outputs percentages. In the formula itself, 2% is 0.02, not 2.
  • Rounding too early: retain the full calculated rate during intermediate work and round only the displayed result. Small rounding differences may otherwise change the reconstructed ending balance.
  • Ignoring cash flows: regular contributions or withdrawals mean that simple beginning-to-ending balance growth does not isolate the interest rate.

The inputs must be positive, and time and compounding frequency must also be positive. The calculator’s expression rejects an ending balance below the starting balance because this particular calculator is set up for nonnegative growth; the general equation can describe a negative rate when A is positive but below P. Fees, taxes, and changes in rate are outside this model.

Assumptions

  • The rate is constant throughout the entered time.
  • Interest is credited at regular intervals defined by the periods-per-year input; no separate payment timing or cash flows are modelled.
  • Compounding occurs n times per year, with time entered in years.
  • Fees, taxes, deposits, and withdrawals are not included.

Frequently Asked Questions

How do you rearrange the compound interest formula to solve for r?
Starting from A = P(1 + r)nt, divide by P, take the nt-th root, then subtract 1: r = (A/P)1/(nt) − 1.

Is r the annual interest rate?
Not necessarily. In this formula r is the rate per compounding period. Multiply it by n to get the nominal annual rate; use (1 + r)n − 1 for the effective annual rate.

How do I solve for r with monthly compounding?
Set n to 12 and enter time in years. The calculator returns a monthly periodic rate and a nominal annual rate equal to 12 times that monthly rate.

Can r be negative?
Yes, in the general formula, if the ending balance is positive but smaller than the starting balance over a positive time. This calculator is configured for growth and flags an ending balance below the starting balance rather than returning that negative rate.

Does this formula work if I add money during the term?
Not by itself. Contributions or withdrawals affect the ending balance, so the simple formula cannot separate their impact from interest without additional cash-flow details.

This result is an estimate from the stated assumptions; the lender’s or account provider’s disclosure gives the exact figures applicable to its product.

Related

Formula used
in pv | Starting balance | $ | 1000 | 0.01 | 100000000
in fv | Ending balance | $ | 1210 | 0.01 | 100000000
in yrs | Time | years | 2 | 0.0833 | 50
in n | Compounding periods per year | - | 4 | 1 | 365
out r | Rate per period | % | ((fv / pv) ^ (1 / (n * yrs)) - 1) * 100 + 0 * sqrt(fv - pv) | 4
out apr | Nominal annual rate | % | r * n | 4

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard loan formula for this calculation, fixed rate and monthly compounding unless stated, rounded as each result states. Not financial advice; no lender, rate or product is recommended. See formulas and assumptions, the disclaimer or report an error.

More in this section

The whole Loan payments section →