Fixed Point Iteration Calculator

Solve x = g(x) by repeated substitution.

Math and PercentUpdated 2026-11-202 min read
Fixed Point Iteration Calculator
Fixed point estimate
...
Residual...
Steps completed...

What it does

Fixed point iteration solves an equation written in the form x = g(x). Starting from a guess, you repeatedly apply g and hope the sequence settles on a value that satisfies the equation.

Norwegian University of Science and Technology notes define convergence rate and order for such iterations, and Gordon College handouts explain that many root finding methods can be viewed as fixed point iterations.

The method is simple but not always convergent. A sufficient condition is that the absolute value of g prime is less than one near the fixed point, which makes g a contraction.

This tool offers three built in functions, a starting value and an iteration count. It reports the estimate and the residual absolute difference between x and g(x).

If the sequence diverges, choose a different starting value or a different rearrangement of the original equation.

How to use

  1. Choose a built in function g(x).
  2. Enter a starting value near the expected fixed point.
  3. Enter the number of iterations, up to 500.
  4. Read the fixed point estimate in the main result.
  5. Check the residual to see how well x equals g(x) is satisfied.
  6. Try a different starting value if the sequence does not settle.

Formula

x(n+1) = g(x(n)), repeated from an initial x(0). The residual is |x - g(x)|.
g
The iteration function.
x(n)
The estimate after n iterations.
fixed point
A value r with r = g(r).
contraction
A function whose slope magnitude is below one near the fixed point.

The engine applies g repeatedly and stops early only if it detects a non finite value. It does not test the contraction condition automatically.

Worked example

Example: square root by fixed point

Function g(x) = sqrt(x + 2), starting value 1, 20 iterations.

  1. The fixed point satisfies x = sqrt(x + 2), so x squared equals x + 2 and x = 2.
  2. The first iteration gives sqrt(3), about 1.73205081.
  3. The next gives sqrt(3.73205081), about 1.93185165.
  4. Each step moves closer to 2.
  5. After 20 iterations the estimate is 2.0000000000 with residual effectively zero.
  6. For g(x) = cos(x) the same method converges to about 0.73918.

Reference table

Fixed point examples
FunctionFixed pointStarting value
sqrt(x + 2)21
cos(x)about 0.739181
1 + 1/xabout 1.618031

Limits

  • Only three built in functions are offered.
  • Convergence is not guaranteed for every starting value.
  • The reciprocal function rejects a zero estimate.
  • Results are shown to ten decimal places.

Common mistakes

  • Assuming every rearrangement of an equation converges.
  • Starting at a value where g is undefined.
  • Expecting quadratic convergence from a simple fixed point iteration.
  • Confusing the residual with the true error in the root.
  • Using too many iterations when the sequence has already settled.

Try it yourself

Quick checks. Answers sit tucked under each question.

What is a fixed point of g?

A value r such that r = g(r).

What is the fixed point of sqrt(x+2)?

2.

What condition encourages convergence?

The magnitude of g prime should be less than one near the fixed point.

Questions

What is fixed point iteration?

Repeatedly applying a function to approach a value where x equals g(x).

Does it always converge?

No. The choice of g and the starting value matter.

How is it related to root finding?

Solving f(x)=0 can be rewritten as x=g(x) for a suitable g.

What is the residual?

The absolute difference between x and g(x).

Can I enter my own g?

Not on this page. Three built in functions are available.

What happens if it diverges?

Choose another start or a different rearrangement.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.