Math Calculators

← All calculators

Fixed-Point Iteration Calculator

Iterate x = g(x) from any starting value, with an Aitken acceleration mode computed beside the raw sequence.

Your function and starting values

Allowed: x, numbers, + - * / ^ and brackets, and the functions cos, sin, tan, exp, log, ln, sqrt, abs, cbrt, asin, acos, atan, sinh, cosh, tanh, plus the constants pi and e. Angles are in radians.

Everything is calculated in your browser. A divergent run is reported as divergent, with its table shown.

Your fixed-point answer first: the limit, the iterate table and the accelerated sequence

This fixed-point iteration calculator iterates x = g(x) from your starting value with your tolerance and step cap, prints the full iterate table with the convergence check, and computes an Aitken delta-squared acceleration mode beside the raw sequence, so the accelerated estimate stands next to the raw iterate at every step.

Enter your g(x), your starting value, your tolerance and your step cap, and this calculator returns the iterate table, the convergence check and the Aitken accelerated sequence beside the raw iterates. On the worked example loaded when the page opens, cos(x) from 1 gives an accelerated 0.7280103615 after one Aitken step, against a limit of 0.7390851332.

Status

-

Last iterate

-

First Aitken accelerated estimate

-

Iterations computed

-

Derivative magnitude at the last iterate

-

Step nx(n)Change from previousAitken accelerated estimate

Steps, shown in full

    By Waqar Ghouri, founder of CalcMega · Last verified 17 November 2026

    Fixed-point iteration is a way of solving x = g(x) by feeding each answer back into g until the answers stop changing.

    For cos(x) from 1, the worked example on this page, one Aitken step gives 0.7280103615, against the limit 0.7390851332. The raw sequence at the same point is still at 0.6542897905, out by 0.0848, while the accelerated value is out by only 0.0111.

    MappingStarting valueOne Aitken stepError of the Aitken stepLimit
    cos(x)10.72801036150.01110.7390851332
    sqrt(x + 2)12.00685471590.006852
    exp(-x)0.50.56762387640.000480.5671432904

    This calculator is the first fixed-point iteration calculator in the observed field that computes Aitken delta-squared accelerated iterates alongside the raw iterates.

    Worked example: cos(x) from 1 reaches an accelerated 0.7280103615 in one Aitken step

    The values loaded when the page opens are this example, so the result block above already shows it. Start at 1 and apply cos again and again. The iterates swing either side of the limit as they close in: 0.5403023059, then 0.8575532158, then 0.6542897905. Left to itself the plain sequence needs dozens of steps before the wobble dies down to ten decimal places, because each step only keeps about two thirds of the previous error.

    The raw sequence for cos(x): 0.5403023059, 0.8575532158 and 0.6542897905 toward 0.7390851332

    The limit here has a name. The number 0.7390851332 is the Dottie number, the single real solution of cos(x) = x, and no closed form for it exists, which is exactly why an iteration like this one earns its keep. Measured against that limit, the second raw iterate 0.8575532158 is still out by 0.1185 and the third raw iterate 0.6542897905 is out by 0.0848. Now take the first three values of the sequence, 1, 0.5403023059 and 0.8575532158, and run one Aitken step over them. The extrapolated value is 0.7280103615. Its error is 0.0111, roughly an eighth of the error the raw sequence still carries at the same point, and it cost nothing but arithmetic on numbers already computed.

    What is fixed point iteration?

    Fixed-point iteration solves x = g(x) by repeated substitution, starting from an initial guess and applying g at each step until successive iterates agree within a chosen tolerance.

    The method also goes by the name successive substitution, and tools for it are often labelled an iteration method calculator, because the whole procedure is one repeated move: feed the current value into g, take the output as the next value, and check whether anything changed. Any equation can be rearranged into the form x = g(x), usually in several different ways, and the rearrangement decides everything. One arrangement settles quickly onto the root. Another, algebraically just as valid, walks away from it. That choice, not the arithmetic, is the skill in using the method.

    A fixed point itself is simply a value that g leaves alone: put it in and the same number comes back out. Solving x = g(x) and finding a fixed point of g are the same task stated two ways, which is why the table above is the heart of the method. You watch the sequence, not a formula, and the table tells you whether the values are homing in, crawling, or drifting off.

    When does fixed-point iteration converge?

    It converges locally when the magnitude of the derivative of g at the fixed point is below 1. Locally matters: the condition is about behaviour near the fixed point, and a starting guess far away can still wander off even when the condition holds at the limit itself.

    The reason is plain once you look at the errors. Near the fixed point, each new error is roughly the old error multiplied by g prime at that point. A multiplier of 0.67, which is what cos gives near the Dottie number, shrinks the error by a third at every step. A multiplier above 1 stretches the error instead, and the iterates move away no matter how long you run them. A multiplier of exactly 1 neither shrinks nor stretches in the linear picture, so this page calls that case borderline and says so outright.

    This page estimates the derivative magnitude numerically at the last iterate and prints it beside the result, and it reports the outcome honestly. A convergent run is labelled converged. A divergent run is labelled divergent, with the table left on screen so the drift is visible. A run that simply runs out of steps is labelled as not converged within the step cap, and its last value is never dressed up as an answer.

    The cos example shows the pattern step by step. The share of the error kept from one step to the next wobbles early on, because the first steps are still far from the limit, then settles near 0.67, the derivative magnitude at the Dottie number. For comparison, a second Aitken step, taken on the next three values, lands at 0.7336651646 with an error of 0.0054, roughly half the error of the first.

    Step nx(n)ErrorShare of the previous error kept
    01.00000000000.2609-
    10.54030230590.19880.76
    20.85755321580.11850.60
    30.65428979050.08480.72
    40.79348035870.05440.64
    50.70136877360.03770.69
    60.76395968290.02490.66
    70.72210242500.01700.68
    80.75041776180.01130.67

    How does Aitken delta-squared acceleration work?

    This calculator computes fixed-point iteration with an Aitken delta-squared acceleration mode, printing the accelerated sequence beside the raw iterates.

    The idea behind the mode is that a converging fixed-point sequence usually settles into a near-geometric pattern, with each error a roughly constant multiple of the one before. Three consecutive iterates are enough to estimate that multiple, and once you have it you can jump to where the pattern is heading instead of walking there step by step. The formula takes the first of the three values and subtracts the square of the first gap divided by the second difference of the three values. On a well-behaved sequence the extrapolated value lands far closer to the limit than any of the three values it was built from, as the worked example shows: 0.7280103615 from three values whose best member was still out by more than a tenth.

    Restarting the plain iteration from an accelerated estimate, then accelerating again after three more steps, is the Steffensen form of the same mode, and it can turn a linearly converging sequence into a fast one. One guard matters in practice. When the second difference of the three iterates is zero, or so close to zero that dividing by it would be reckless, the accelerated value does not exist for that step. This page prints that acceleration is not applicable at that step and carries on with the raw sequence. A mapping such as g(x) = x + 1 hits exactly this case: its iterates climb by the same step each time, so the second difference of any three of them is zero and every Aitken cell reads Not applicable.

    Two more checks: sqrt(x + 2) accelerates to 2.0068547159 and exp(-x) to 0.5676238764

    Try g(x) = sqrt(x + 2) from a starting value of 1. The raw iterates are 1.7320508076, 1.9318516526 and 1.9828897227, closing on the fixed point 2, and one Aitken step on the first three values gives 2.0068547159, an error of about 0.00685 where the second raw iterate is still out by 0.06815. Then try g(x) = exp(-x) from 0.5. One Aitken step gives 0.5676238764, which sits about 0.00048 from the limit 0.5671432904. In both cases the accelerated column is not a rounding trick: it is the same three raw numbers, extrapolated once.

    What this calculator does not cover

    This calculator does not draw a cobweb diagram. The table and the derivative check carry the convergence story here. If you want the staircase picture, another tool on the web draws it.

    It does not find a rearrangement for you. You supply g(x), and the page iterates exactly the mapping you entered. If your rearrangement diverges, the page says so and shows the table. It does not go looking for a contractive one.

    The accelerated sequence is printed beside the raw iterates, and the page does not restart the iteration from an accelerated estimate on its own. That restart is the Steffensen form of the method, and it is yours to run by entering the accelerated value as a new starting point.

    A mapping the page cannot evaluate stops the run instead of guessing. A square root or logarithm of a negative number, for example, ends with the run reported as unevaluable and no limit printed. The page also takes no f(x) of its own: it solves x = g(x), and any check against the original equation is yours to do.

    Fixed-Point Iteration Calculator FAQs

    What is fixed point iteration?

    Fixed point iteration solves an equation rewritten in the form x = g(x) by repeated substitution, also called successive substitution. Starting from an initial guess x0, each step sets the next iterate equal to g applied to the current one, and the process stops when successive iterates agree within your tolerance or the step cap is reached.

    How does the Aitken delta-squared acceleration mode work?

    The mode takes three consecutive raw iterates and extrapolates them with the Aitken delta-squared formula, producing an accelerated estimate beside the raw sequence; restarting the iteration from that estimate is the Steffensen form of the same mode. On the worked example, one step on the iterates 1, 0.5403023059 and 0.8575532158 gives 0.7280103615, far closer to the limit than the raw sequence at the same point.

    When does fixed-point iteration converge?

    It converges locally when the magnitude of the derivative of g at the fixed point is below 1, because each step then shrinks the error. At a magnitude of exactly 1 the case is borderline and this page says so explicitly; above 1 the iterates move away and the page reports divergence instead of printing a converged answer.

    What does the worked example on this page give?

    With g(x) = cos(x) and x0 = 1, the raw iterates are 0.5403023059, 0.8575532158 and 0.6542897905, converging to the limit 0.7390851332. One Aitken step gives 0.7280103615 with an error of 0.0111, where the third raw iterate still carries an error of 0.0848 and the second raw iterate carries an error of 0.1185.

    What happens when the iteration diverges?

    The page reports a divergent state and still shows the iterate table, so you can see the values moving away. It never stops silently at the step cap and presents the last value as if it had converged. A mapping such as g(x) = 2x, whose derivative magnitude is 2, is reported this way.

    What happens when the Aitken step cannot be computed?

    When the second difference of three consecutive iterates is zero, or too close to zero to divide by safely, the page prints that acceleration is not applicable at that step instead of a number. The raw iterates are unaffected and the iteration continues on them.

    Sources: Aitken (1926) and the classical successive substitution method

    The acceleration formula is Aitken's: A. C. Aitken set out the delta-squared extrapolation in 1926, in a paper on the numerical solution of algebraic equations, and the restart form carries Steffensen's name from his work in the 1930s. The formula and the restart are also set out in lecture notes from the University of Washington, which work through Aitken's delta-squared method and Steffensen's method side by side. The underlying iteration is far older: solving an equation by rearranging it and substituting repeatedly is the classical successive substitution method, taught in numerical analysis courses long before electronic calculators existed.

    The limit in the worked example, 0.7390851332, is the Dottie number, the unique real fixed point of the cosine function. Every figure printed in the worked examples on this page was computed from the iteration itself, and no search volume, cost per click, keyword difficulty or authority score is stated anywhere on this page, because none was measured. Sources last verified 17 November 2026.