Skip to content
Calculators

FibonacciFree calculator

Fibonacci retracement calculator

Enter a swing high, low and direction to get every retracement and extension level

High, low, directionExtensions includedCopy buttonChecked 6 Dec 2026

Fibonacci retracement calculator inputs: swing low and swing high on an example stock chart with the resulting levels

This Fibonacci retracement calculator turns a swing high, a swing low and a trend direction into the 0, 23.6, 38.2, 50, 61.8, 78.6 and 100 percent retracement prices plus the 127.2, 161.8 and 261.8 percent extensions. It works with any plain numbers, a stock price, a currency pair quote or a commodity, and it stores nothing.

Under the tool you will find the formula it uses, two examples worked line by line, a way to run the sum backward to find how deep a pullback already is, and the input slips that give wrong levels.

Quick read

  • Inputs

    Swing high, swing low, direction (uptrend or downtrend)
  • Uptrend levels

    high - (high - low) x ratio
  • Downtrend levels

    low + (high - low) x ratio
  • Extensions

    127.2%, 161.8%, 261.8%, measured from the swing's start
  • Backward check

    % retraced = (high - price) / (high - low) in an uptrend
  • Limit

    Output is only as good as the swing points you type

How the Fibonacci retracement calculator works

  1. Find the swing on your chart: the low and high of the move you want to measure.
  2. Type the swing high in its box and the swing low in the other.
  3. Pick uptrend if the low came first and price rose to the high; pick downtrend if the high came first.
  4. Read the list top to bottom; the copy button puts all the levels on your clipboard for notes or a spreadsheet.

The chart shows where the two inputs come from. In this made-up stock series the swing low is 48.42 at bar 1 and the swing high 58.08 at bar 29. Typing those two numbers with uptrend gives 55.80, 54.39, 53.25, 52.11 and 50.48 for the five inner levels. The later pullback bottoms at 52.53 on bar 43, about 57% of the rise, before price climbs back to 57.64.

Fibonacci retracement formula

range = swing high - swing low
Uptrend retracement = high - range x ratio
Downtrend retracement = low + range x ratio
Uptrend extension = low + range x ratio (ratio above 1)
Downtrend extension = high - range x ratio (ratio above 1)

The ratios are 0.236, 0.382, 0.5, 0.618 and 0.786 for retracements and 1.272, 1.618 and 2.618 for extensions. Retracements count backward from where the move finished. Extensions count forward from where the move began, so in a rising market 161.8% lands 61.8% of the range above the high.

Where the ratios come from, and why the halfway line made the list without being a true golden-ratio number, is explained on the Fibonacci retracement hub.

Worked example: an uptrend on a stock

Swing low 48.50, swing high 62.30, direction up. The range is 62.30 - 48.50 = 13.80.

Retracements and extensions for a 48.50 to 62.30 rise
LevelSumResult
23.6%62.30 - 13.80 x 0.236 = 62.30 - 3.256859.04
38.2%62.30 - 13.80 x 0.382 = 62.30 - 5.271657.03
50%62.30 - 13.80 x 0.5 = 62.30 - 6.9055.40
61.8%62.30 - 13.80 x 0.618 = 62.30 - 8.528453.77
78.6%62.30 - 13.80 x 0.786 = 62.30 - 10.846851.45
127.2%48.50 + 13.80 x 1.272 = 48.50 + 17.553666.05
161.8%48.50 + 13.80 x 1.618 = 48.50 + 22.328470.83
261.8%48.50 + 13.80 x 2.618 = 48.50 + 36.128484.63

Type 62.30, 48.50 and uptrend into the tool and the same figures appear. The golden zone, 50% to 61.8%, runs from 55.40 down to 53.77.

Fibonacci retracement calculator output ladder for a swing from 48.50 to 62.30 with levels and extensions
Levels for a 48.50 to 62.30 rise, with price now at 56.10.

Worked example: a downtrend in pips

A currency pair falls from a swing high of 1.3420 to a swing low of 1.3180. The range is 0.0240, which is 240 pips (a pip is 0.0001 on most pairs). Choose downtrend.

RatioBounce level (low + range x ratio)Pips above the low
23.6%1.323756.6
38.2%1.327291.7
50%1.3300120
61.8%1.3328148.3
78.6%1.3369188.6

The extensions sit below the low: 127.2% at 1.3420 - 0.0240 x 1.272 = 1.3115, 161.8% at 1.3032 and 261.8% at 1.2792. Rounded to four decimals, which is how the pair is quoted.

Running it backward: how deep is this pullback?

Sometimes you know the swing and the current price and want the percentage instead. Flip the formula:

Uptrend: % retraced = (high - price) / (high - low) x 100
Downtrend: % retraced = (price - low) / (high - low) x 100

In the stock example, a price of 56.10 has retraced (62.30 - 56.10) / 13.80 = 6.20 / 13.80 = 44.9%, between the 38.2% and 50% levels, as the ladder above shows. In the currency example, a bounce to 1.3290 has retraced (1.3290 - 1.3180) / 0.0240 = 45.8%.

Extension conventions differ between tools

MethodUptrend 161.8% for 48.50 to 62.30Where it sits
From the swing's start (this calculator)48.50 + 13.80 x 1.618 = 70.8361.8% of the range above the high
From the swing's end62.30 + 13.80 x 1.618 = 84.63A full 161.8% of the range above the high
Same scale as the retracement62.30 - 13.80 x 1.618 = 39.97Below the low

Charting tools do not agree on this. Before comparing numbers, test your chart's tool on a round swing such as 100 to 120: with this calculator the 161.8% extension is 132.36. If your chart shows 152.36 or 87.64, it measures another way. Neither is more correct, as long as you know the method behind the figures.

Input slips that give wrong levels

  • Wrong direction. Choosing uptrend for a fall mirrors every level. If 23.6% lands near the start of the move, flip the direction.
  • An unfinished swing. Typing a peak that price is still pushing past gives levels that go stale with the next bar.
  • Mixing wicks and closes. Using the wick for the high and a close for the low skews the range.
  • Too many decimals or too few. Type prices as quoted; the tool keeps the precision you give it.
Picking good swing points matters more than the arithmetic. The guide on drawing Fibonacci retracement covers that, and the strategy guide shows how levels feed into stops and targets. For other price levels from a high, low and close, the support and resistance hub has a pivot point calculator.

What the numbers can and cannot tell you

A calculator gives exact prices for levels that are, in practice, rough areas. Price often turns a little before a level, runs a little past it, or ignores it entirely. Use the output as a map of places to watch, next to other evidence.

Leverage can make a loss larger than the stake you had in mind, and studies by regulators find that losing retail accounts in forex and CFDs far outnumber winning ones. Rehearse level-based ideas with a demo account or old price history before committing money. The tool and this text are for learning, not financial advice; the SEBI investor site and Investor.gov explain the risks in plain terms.

Questions traders ask

What is the Fibonacci retracement formula?

In an uptrend each level is high - (high - low) x ratio; in a downtrend it is low + (high - low) x ratio. The ratios are 0.236, 0.382, 0.5, 0.618 and 0.786. The calculator applies them for you.

How do I calculate Fibonacci retracement levels by hand?

Subtract the low from the high to get the range, multiply the range by each ratio, then subtract the results from the high in an uptrend or add them to the low in a downtrend. For a 100 to 120 rise, 61.8% is 120 - 12.36 = 107.64.

Does the calculator work for stocks, forex and gold?

Yes. It works with any plain numbers, so it suits share prices, currency quotes, gold, crude oil or an index level. Type prices the way they are quoted for that market.

Why do my chart's extension levels differ from the calculator?

Tools measure extensions in different ways: from the swing's start, from its end, or on the retracement scale below the low. Test your chart with a 100 to 120 swing; this calculator gives 132.36 for 161.8%.

Which levels does the calculator show?

Retracements at 0, 23.6, 38.2, 50, 61.8, 78.6 and 100 percent, and extensions at 127.2, 161.8 and 261.8 percent, plus a copy button for the whole list.