All Over Tools logo
Tool Combiner
Analyze Tools Clean Tools Compare Tools Convert Tools Data Validation Extract Tools Format Tools Generate Tools Organize Tools Transform Tools
Audio Tools Font Tools Image Tools Subtitle Tools Video Tools
Archive Tools Document Tools Ebook Tools File Management Tools PDF Tools Presentation Tools
Config Tools Database Tools Dataset Tools JSON Tools Parser Tools Spreadsheet Tools XML Tools
Business Calculators Construction Calculators Date And Time Calculators Education Calculators Financial Calculators Food Calculators Health Calculators Math Calculators Science Calculators Sports Calculators Statistics Calculators
Blog About Us Contact Us

Geometric Sequence Calculator

Find the nth term, the sum of the first n terms, and the infinite sum (when it converges) of a geometric sequence. Enter the first term and common ratio, or any two known terms, and see the formula, every intermediate value, and the first terms of the sequence.

Amount each term is multiplied by to get the next one. Can be negative or a decimal, but not zero.

Position of the term you want, and the number of terms summed for S_n (n = 1 is the first term).

All values are treated as plain numbers - enter your own consistent unit (dollars, meters, items, etc.) for every input if your sequence represents a real quantity; the calculator does not add or infer units.

How to use the geometric sequence calculator

Choose the information you have, enter the target position, and click Calculate. The result includes the requested term, the sum through n, and an infinite sum when |r| < 1. It also lists the formula steps and up to 50 starting terms.

  1. Choose First term & common ratio or Two known terms.
  2. Enter the displayed values and Which term to solve for (n).
  3. Click Calculate.
  4. Read Result, Formula & steps, and First terms of the sequence.
  5. Use Copy result or Download result (.txt) for the plain-text output.

Calculate a term and finite sum

Choose First term & common ratio, then enter First term (a₁), Common ratio (r), and Which term to solve for (n). The calculator applies a_n = a₁ * r^(n - 1). It also calculates the first n terms with S_n = a₁ * (1 - r^n) / (1 - r); when r = 1, it uses S_n = a₁ * n.

First term (a₁): 3
Common ratio (r): 2
Which term to solve for (n): 5

a₅ = 48
S₅ = 93

When the infinite sum appears

The finite sum is returned for every valid ratio. An Infinite sum appears only when |r| < 1, using S∞ = a₁ / (1 - r). Negative ratios and decimal values work when they are nonzero. The calculator treats values as plain numbers, so it does not attach, convert, or infer units.

Use two known terms

Choose Two known terms and enter Position of first known term (m), Value of that term (a_m), Position of second known term (k), and Value of that term (a_k). The positions must be different positive whole numbers, and the known values cannot be zero. The calculator derives r from a_m = a_k * r^(m - k), then works back to a₁.

When an even position gap and positive value ratio allow both signs, the calculation selects the positive root. It reports an error when the values require an even root of a negative number. The calculation uses the two terms you enter and assumes one constant ratio.

Input and display limits

  • Value fields accept signed decimal text such as -2 and 0.5. Scientific notation, fractions, commas, and a leading plus sign are rejected.
  • Positions and Which term to solve for (n) must be whole numbers from 1 through 1,000,000,000.
  • First term (a₁) and Common ratio (r) cannot be zero.
  • The First terms of the sequence section shows at most 50 terms, with an omission message when n is larger.
  • Large powers or sums can display Infinity or NaN when the JavaScript number range is exceeded.

Changing the selected input mode hides the result. Reset clears the fields and returns to First term & common ratio. The calculation runs in your browser, and the script sends no entered values to a server.

Check the returned values

For First term (a₁) = 3, Common ratio (r) = 2, and Which term to solve for (n) = 5, the result includes a₅ = 48 and S₅ = 93. The steps show the substitutions used for both values.

In Two known terms mode, Position of first known term (m) = 2 with Value of that term (a_m) = 6, and Position of second known term (k) = 5 with Value of that term (a_k) = 48, gives the ratio before the target term is calculated. Copy result keeps the displayed steps in one text value. Download result (.txt) saves that value as a text file.

When to use another math calculator

Browse Math Calculators for a different kind of calculation. Use the Arithmetic Sequence Calculator when terms change by a common difference. Choose the Sequence Calculator for arithmetic and geometric modes, missing values from supplied terms, or a broader sequence workflow.

Frequently asked questions

How do I find the nth term with a geometric sequence calculator?

Enter First term (a₁), Common ratio (r), and Which term to solve for (n), then click Calculate. The result uses a_n = a₁ * r^(n - 1) and lists the calculation steps.

Can I calculate a geometric sequence from two known terms?

Yes. Choose Two known terms, enter two different positive positions and their nonzero values, and the calculator derives the common ratio and first term. No real result is returned when the inputs require an impossible even root.

Does the geometric sequence sum calculator show an infinite sum?

It shows an Infinite sum only when |r| < 1. The finite sum through n is calculated for every valid nonzero ratio, including r = 1.

Related Tools

46 views