FREE โ€ข NO SIGN-UP โ€ข MATH HELP

Explicit Formula Calculator

Find any term of a sequence in seconds. Enter the first term, the step or ratio, and the term number.

Find the nth Term

This explicit formula calculator finds any term of a sequence. Pick arithmetic or geometric, then enter your values.

Your formula, nth term and first 10 terms will show here.

Tip: use a negative d for a falling sequence, such as 10, 7, 4, 1.

What is an explicit formula?

An explicit formula gives any term straight from its place number. You put n in. You get term n out. You do not work through the terms before it.

Take 3, 7, 11, 15. The rule is a_n = 4n – 1. For n = 30, a_30 = 4 x 30 – 1 = 119. You jump straight to term 30.

A recursive formula works the other way. It builds each term from the term before it: a_n = a_(n-1) + 4, with a_1 = 3. To reach term 30, you must pass through terms 2 to 29 first.

Use this explicit formula calculator to check each step below. Type the first term, the step, and n. The tool shows the term at once. A sequence formula calculator works this way: it takes a1 and d or r, then returns any term.

This page works as an arithmetic sequence calculator. Pick Arithmetic for that form. Pick Geometric for the geometric sequence calculator.

SymbolMeaning
a_nThe term at place n
a_1The first term
nThe term number, or place
dThe common difference (arithmetic runs)
rThe common ratio (geometric runs)

Most school problems start at n = 1, so a_1 is the first term. Some lists start at n = 0. Check the start point first.

The arithmetic explicit formula

An arithmetic sequence adds the same number each time. That number is d, the common difference. Find it as d = a_2 – a_1. This arithmetic sequence formula uses d to reach any term.

a_n = a_1 + (n – 1) x d

The (n – 1) counts the steps after the first term. Term 1 needs zero steps. Term 5 needs four steps. Term n needs n – 1 steps.

Boxes show 3, 7, 11, 15, 19 with plus 4 between each pair. First term 3, difference 4, fifth term 19, tenth term 39.
Each step adds 4. The 5th term is 19 and the 10th term is 39.

Worked case: 3, 7, 11, 15. Here is the nth term of arithmetic sequence 3, 7, 11, 15. Use a_n = 3 + (n – 1) x 4. The 20th term is 3 + 19 x 4 = 79. The 30th term is 3 + 29 x 4 = 119.

A falling run works the same way. Take 10, 7, 4, 1, with d = -3. The 8th term is 10 + 7 x (-3) = -11.

Tidy the formula. Here is the explicit formula for arithmetic sequence 3, 7, 11, 15. It is a_n = 3 + (n – 1) x 4 = 4n – 1. Check it: n = 1 gives 3.

The geometric explicit formula

A geometric sequence multiplies by the same number each time. That number is r, the common ratio. Find it as r = a_2 / a_1. This geometric sequence formula uses r to reach any term.

a_n = a_1 x r^(n – 1)

The power (n – 1) counts the multiplications after the first term. Term 5 needs four. Term n needs n – 1.

Boxes show 3, 6, 12, 24, 48 with times 2 between each pair. First term 3, ratio 2, fifth term 48, tenth term 1536.
Each step multiplies by 2. The 5th term is 48 and the 10th term is 1536.

Worked case: 2, 6, 18, 54. Here a_1 = 2 and r = 3. The explicit formula for geometric sequence 2, 6, 18, 54 is a_n = 2 x 3^(n – 1). It gives the nth term of geometric sequence 2, 6, 18, 54 at any n. The 6th term is 2 x 3^5 = 486. Check it: 3^5 is 243.

A ratio below 1 shrinks the run. Take 80, 40, 20, 10, with r = 1/2. The 8th term is 80 x (1/2)^7 = 0.625.

A minus ratio flips the sign each time. Take 2, -6, 18, -54, with r = -3. The 5th term is 2 x (-3)^4 = 162. The 6th term is -486.

How it works

An explicit formula links a term to its place number. You can jump straight to term 50 or term 100. You do not need the terms before it.

  1. Pick arithmetic or geometric.
  2. Enter the first term, a1.
  3. Enter d for arithmetic or r for geometric.
  4. Enter n, the term you want.
  5. Press Calculate and read the result.

Arithmetic sequences

An arithmetic sequence adds the same number each time. That number is the common difference, d. The first term is a1. The formula is a_n = a1 + (n โ€“ 1) ร— d.

Take 3, 7, 11, 15. Here a1 is 3 and d is 4. The 5th term is 3 + (5 โ€“ 1) ร— 4, which is 19.

Geometric sequences

A geometric sequence multiplies by the same number each time. That number is the common ratio, r. The first term is a1. The formula is a_n = a1 ร— r^(n โ€“ 1).

Take 3, 6, 12, 24. Here a1 is 3 and r is 2. The 5th term is 3 ร— 2^4, which is 48.

How to find a formula from a sequence

Start with the first three terms. Then test the gaps and the ratios. Once you have the formula, you know how to find the nth term at any place. These steps show how to find explicit formula from sequence terms.

  1. Write the first three terms.
  2. Take the gaps. If they match, the run is arithmetic. The gap is d.
  3. If the gaps change, divide each term by the one before it. If the ratios match, the run is geometric.
  4. Put a_1 and d or r into the formula. Test it on a known term.

Worked case, arithmetic: 6, 10, 14, 18, with gaps 4, 4, 4. So d = 4 and a_1 = 6. The formula is a_n = 4n + 2. The 15th term is 4 x 15 + 2 = 62.

Worked case, geometric: 4, 12, 36, with ratios 3, 3. So r = 3 and a_1 = 4. The formula is a_n = 4 x 3^(n – 1). The 6th term is 4 x 243 = 972.

Some runs fit neither type. Take 1, 4, 9, 16. The gaps are 3, 5, 7. The ratios are 4, 2.25, 1.78. Neither stays fixed. These are the square numbers. The rule is a_n = n^2. The 5th term is 25.

This tool does not build a formula from typed terms. Find d or r with the steps above. Then type them in.

Worked examples

These four sequences show how the tool works. Check the 5th term in each row.

SequenceTypeFirst termStep5th term
3, 7, 11, 15, 19Arithmetic3d = 419
10, 7, 4, 1, -2Arithmetic10d = -3-2
2, 6, 18, 54, 162Geometric2r = 3162
5, 10, 20, 40, 80Geometric5r = 280

Finding n from a term value

Sometimes you know the term value and want its place. Work the formula in reverse. An nth term calculator gives the value from n.

Arithmetic case: 3, 7, 11, 15. Where does 39 sit? Set 3 + (n – 1) x 4 = 39. Take 3 off: (n – 1) x 4 = 36. Divide by 4: n – 1 = 9. So n = 10. The value 39 is the 10th term.

Geometric case: 3, 6, 12, 24. Where does 1536 sit? Divide by 3: 2^(n – 1) = 512. Now 512 is 2^9. So n – 1 = 9 and n = 10. The value 1536 is the 10th term.

For big powers, use logs or keep halving. Halve 512 nine times to reach 1, so n – 1 = 9.

A value may sit in no place at all. Take 40 in 3, 7, 11, 15. Then (40 – 3) / 4 = 9.25. That is not a whole number. So 40 is not a term of this run.

Arithmetic vs geometric sequences

The two types grow in different ways. Arithmetic growth adds a fixed amount. Geometric growth multiplies by a fixed amount.

A difference of 4 turns 3 into 7, then 11. A ratio of 2 turns 3 into 6, then 12. Both start at 3, but they soon part ways.

Use d when each step adds the same value. Use r when each step multiplies by the same value. The tool shows the first 10 terms, so you can see the pattern.

Where explicit formulas are used

The same maths fits pay, savings, and growth.

Pay: a worker starts at $72,000 a year, with a $4,500 rise each year. Year 10 pay is 72,000 + 9 x 4,500 = $112,500. Year 1 is the start, so year 10 adds nine rises.

Savings: ยฃ1,000 at 5 percent a year grows by ratio 1.05. After 5 years it is 1,000 x 1.05^5 = ยฃ1,276.28. After 10 years it is 1,000 x 1.05^10 = ยฃ1,628.89.

Growth: 100 cells double every 20 minutes. After 5 hours, or 15 doublings, they reach 100 x 2^15 = 3,276,800 cells.

The same maths fits loan plans, rent rises, and doses that halve each day.

Explicit vs recursive formulas

FormHow it worksBest for
ExplicitUses n alone, jumps to any termFar terms, like term 100
RecursiveUses the term before, walks term by termSteps that feed the next one

For 3, 7, 11, 15, the explicit rule is a_n = 4n – 1. The recursive rule is a_n = a_(n-1) + 4, with a_1 = 3. Both give the same terms.

Use the explicit form for far terms. Use the recursive form when each step feeds the next one. The Fibonacci run is one such case. Each term is the sum of the two before it. It has no short explicit form of this kind.

An explicit rule wins when you want term 100 at once.

Common mistakes

Five slips cause most wrong answers.

MistakeWrongRight
Drop the (n – 1)a_n = 3 + n x 4 gives 7 at n = 1a_n = 3 + (n – 1) x 4 gives 3 at n = 1
Use d for a multiplying run2, 6, 18 with d = 4Divide the terms: r = 3
Use r for an adding run3, 7, 11 with r = 7 / 3Take the gaps: d = 4
Miss a minus sign10, 7, 4 with d = 3The run falls, so d = -3
Start at n = 0a_1 = 7 for 3, 7, 11This tool starts at n = 1, so a_1 = 3

Check every formula on the first two terms. If n = 1 does not give a_1, the formula is wrong. That one check catches most slips.

Practice questions

Try these four, then check the answers below.

  1. Find the 12th term of 7, 12, 17, 22.
  2. Which rule fits 3, 9, 27, 81?
  3. What is d for 25, 18, 11, 4?
  4. Find the 5th term if a_n = 2n^2.

Answers: 1) d = 5, so a_12 = 7 + 11 x 5 = 62. 2) r = 3, so a_n = 3^n. The 5th term is 243. 3) d = -7. 4) 2 x 25 = 50.

Note on question 4: the run 2, 8, 18, 32, 50 is neither type. This tool cannot take it.

Frequently Asked Questions

What is an explicit formula?

An explicit formula finds any term from its place number. It uses n, the term number, and the first term. You do not need the term before it.

How do I find the nth term of an arithmetic sequence?

Use a_n = a1 + (n โ€“ 1) ร— d. Put in a1, d and n. Then work out the sum.

How do I find the nth term of a geometric sequence?

Use a_n = a1 ร— r^(n โ€“ 1). Put in a1, r and n. Then work out the product.

What is the difference between explicit and recursive formulas?

An explicit formula uses the term number alone. A recursive formula needs the term before it. Both give the same terms.

Is this calculator free?

Yes. It is free and runs in your browser. No sign up is needed.

How do I find an explicit formula from a sequence?

Check the gaps first. If they match, the run is arithmetic and d is the gap. If they change, check the ratios. If they match, the run is geometric and r is the ratio. Then put a1 and d or r in the formula.

Why is there an (n – 1) in the formula?

It counts the steps after the first term. Term 1 needs no step. Term 5 needs four steps. So the formula uses n – 1, not n.

Can I find which term has a given value?

Yes, work the formula in reverse. For 3, 7, 11, 15, the value 39 sits at n = 10. This tool does not do that step.

What if the ratio is a fraction or a minus number?

A ratio between 0 and 1 shrinks the run. A minus ratio flips the sign each term. Both work in this tool.

Does this tool work for any sequence?

No. It takes arithmetic and geometric runs only. A run like 1, 4, 9, 16 has the rule a_n = n^2, but it is neither type.

What is the largest term number this tool takes?

The tool takes n up to 1000. A larger n is cut to 1000. A value below 1 is set to 1. Big answers show to four decimal places.

Key terms

TermMeaning
SequenceA list of numbers in a set order.
TermOne number in a sequence.
Explicit formulaA rule that gives any term from n alone.
Recursive formulaA rule that builds a term from the one before it.
Common difference (d)The fixed amount added in an arithmetic run.
Common ratio (r)The fixed amount multiplied in a geometric run.
Arithmetic sequenceA run that adds the same number each time.
Geometric sequenceA run that multiplies by the same number each time.