CFDs and forex are complex instruments and come with a high risk of losing money rapidly due to leverage. Risk disclosure

Fibonacci Calculator

Enter the high and low of a price swing and this calculator shows the Fibonacci retracement and extension levels, with the formula used.

Extrade Pakistan editorial team ·

On this page
  1. What the Fibonacci calculator does
  2. How to use it
  3. The formula
  4. Fibonacci retracement vs Fibonacci extension
  5. What Fibonacci levels can and cannot do
  6. Frequent questions
61.8% retracement107.64
0%12023.6%115.2838.2%112.3650%11061.8%107.6478.6%104.28100%100127.2%125.44161.8%132.36261.8%152.36
LevelPrice
0%120
23.6%115.28
38.2%112.36
50%110
61.8%107.64
78.6%104.28
100%100
127.2%125.44
161.8%132.36
261.8%152.36

Up swing: retracement = high − range × ratio, extension = low + range × ratio (range = high − low); a down swing is mirrored. The levels depend on which swing you pick; price often ignores them.

What the Fibonacci calculator does

A swing is a move in price from a low point to a high point, or from a high to a low. Fibonacci retracement levels are prices inside that swing. Traders mark them on a chart because price often pulls back part of the way before the move continues or reverses. Fibonacci extension levels are prices beyond the end of the swing. Traders use them as possible areas where a move might stretch to.

This fib levels calculator takes the swing high, the swing low and the direction of the move. It then lists every standard retracement and extension level next to the inputs. The fields are pre-filled with neutral sample values, so you can see how the output looks before you enter your own chart prices.

How to use it

  1. Find a completed swing on your chart. Note its highest price and its lowest price.
  2. Choose the direction. Pick up if price moved from the low to the high, or down if it moved from the high to the low.
  3. Enter the high and the low. The levels update next to the inputs.
  4. Compare the levels with your chart. In MetaTrader (MT4 or MT5) the built-in Fibonacci tool should give the same prices if you anchor it on the same high and low.

The formula

For an upward swing, retracement levels are measured down from the high:

Level = High − (High − Low) × ratio

For a downward swing, they are measured up from the low:

Level = Low + (High − Low) × ratio

Extensions use the same formula with ratios above one, so the result lands beyond the swing:

The ratios in the tool are the ones most charting platforms use by default. The calculator shows each ratio beside its price. For a worked example, change the sample inputs and read the results directly from the tool.

Fibonacci retracement vs Fibonacci extension

Retracement Extension
Where the level sits Inside the swing Beyond the swing end
What traders look at Depth of a pullback Possible reach of the next leg
Ratio range Below one Above one

What Fibonacci levels can and cannot do

Fibonacci levels are a way of dividing a price range. They do not predict where price will go. Different traders pick different swing points, so their levels differ. Price can move straight through every level.

Many traders combine these levels with other tools. Examples are chart patterns, pivot points or volatility-based stops from the ATR stop calculator. The wider method is covered in technical analysis.

Leveraged forex and CFD trading can lose money fast, including more than you planned if position size is wrong. Before placing any stop or target near a Fibonacci level, work out the position size with the lot size calculator. Check the ratio between your stop and target with the risk-reward calculator. Read risk management for the basics.

Frequent questions

What is a Fibonacci retracement calculator?

It is a tool that takes a swing high and low and returns the price levels where traders commonly watch for pullbacks. It works the same for forex pairs, metals, indices or stocks.

Should I pick the up or down direction?

Match the direction of the swing you measured. If price rose from the low to the high, choose up. If it fell, choose down. The wrong direction flips the levels.

Why do my chart levels differ from the calculator?

Usually because a different high or low was used. A wick can also be measured instead of a candle close, or the reverse. Use exactly the same prices in both places.

Are Fibonacci extensions targets?

No. They are reference prices beyond the swing. Some traders note them as possible areas of interest, but price may stop earlier or go much further.

Where are the other trading tools?

All calculators are listed on the calculators page.

Related pages