Fibonacci calculator

This Fibonacci calculator takes the swing high and swing low of a price move and returns the 23.6%, 38.2%, 50%, 61.8% and 78.6% retracement levels and the 127.2%, 138.2%, 161.8% and 261.8% extensions, for an uptrend or a downtrend. It shows prices to the decimals you choose and lets you measure extensions from either end of the swing.

The highest price of the move, as your chart quotes it.

The lowest price of the move.

How extensions are measured

Tools and articles use both conventions, so the same name can mean two prices.

Show the working

Fibonacci levels are one tool among many on a chart

Fibonacci levels are arithmetic on two prices, and a chart carries much more than that. The Technical Analysis Crash Course explains market psychology, price action, volume, chart patterns and indicators such as MACD for new traders.

See the course

These are financial calculators made to make calculations easier and to help you find answers. They work only on the numbers you enter.

Trading stocks, forex, crypto and options carries a substantial risk of loss. This calculator does arithmetic on the numbers you enter and is not investment advice.

Worked example. For a move from 100 up to 150, the range is 50. The 61.8% retracement is 150 - 50 x 0.618 = 119.10, the 38.2% retracement 130.90 and the 50% level 125.00. Measured from the start of the swing, the 161.8% extension is 100 + 50 x 1.618 = 180.90.

Where the levels sit

Extension levels beyond the swing

The swing itself and the levels that lie past its end, in the direction of the move.

Every level

Retracements inside the swing and extensions beyond it, with each level's distance from the swing end.

How do you calculate Fibonacci retracement levels?

Measure the range of the move, swing high - swing low, then step back from the end of the move by each ratio. In an uptrend the move ends at the high, so retracement level = high - range x ratio. In a downtrend it ends at the low, so the level is low + range x ratio.

The default inputs describe a rise from 100 to 150, a range of 50. The levels are:

RatioDistance from the highUptrend level
23.6%11.80138.20
38.2%19.10130.90
50%25.00125.00
61.8%30.90119.10
78.6%39.30110.70

The 0% level is the high itself and 100% is the low. The calculator's headline is the 61.8% level, because it is the one most often searched for, and the table under the result lists every level with its distance from the end of the swing.

Where do the Fibonacci ratios come from?

The Fibonacci sequence starts 1, 1 and adds the last two numbers to get the next: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233. Divide a number by the one after it and the answer settles toward 0.618: 3 / 5 is 0.6, 8 / 13 is 0.6154, 21 / 34 is 0.6176 and 89 / 144 is 0.6181. Divide by the number after that and it settles toward 0.382 (55 / 144 is 0.3819), and three places along toward 0.236 (34 / 144 is 0.2361). Divide the other way and you approach 1.618 and 2.618 (144 / 89 and 233 / 89 are both 1.6180 and 2.6180 to four places).

The limits are powers of the golden ratio, phi = 1.6180340: 0.618 is 1 / phi, 0.382 is 1 / phi squared, 0.236 is 1 / phi cubed and 2.618 is phi squared. Two common levels come from roots instead: 78.6% is the square root of 0.618, which is 0.7861, and 127.2% is the square root of 1.618, which is 1.2720. The 138.2% level is 1 + 0.382.

The 50% level is not a Fibonacci ratio at all. It is simply half the move, and charting tools include it alongside the others by convention.

Fibonacci extension levels: two ways to measure them

Extensions sit beyond the end of the swing, in the direction of the move. The ratios are standard, but where they are measured from is not, and both conventions are in common use:

  • From the start of the swing (the default): level = start + range x ratio, so 100% is the swing end and 161.8% lies 0.618 of the range beyond it.
  • From the end of the swing: level = end + range x ratio, so the 161.8% level lies a full 1.618 ranges past the end.
ExtensionMeasured from the start (100 to 150)Measured from the end
127.2%163.60213.60
138.2%169.10219.10
161.8%180.90230.90
261.8%230.90280.90

The same label can mean a price 50 points apart, so before comparing a level with a chart, an article or another calculator, check which way it was measured. Switch the convention under How extensions are measured and both the table and the ladder follow.

Chart patterns, volume and indicators such as MACD are the other tools on the same chart as these levels. See the Technical Analysis Crash Course.

Fibonacci retracement in a downtrend

In a fall the move ends at the low, so retracements are measured up from it: level = low + range x ratio. For a fall from 150 to 100, the 23.6% level is 111.80, 38.2% is 119.10, 50% is 125.00, 61.8% is 130.90 and 78.6% is 139.30.

Extensions then lie below the low. Measured from the start of the swing they are 86.40 at 127.2%, 69.10 at 161.8% and 19.10 at 261.8%. On a large fall the deeper extensions can work out below zero: for a drop from 100 to 50, the 261.8% level measured from the start would be -30.90, which no share price can reach, so the calculator shows it as below zero rather than as a price.

Choosing the direction matters. The same two prices give different levels in each, because the ratios are counted back from whichever end the move finished at.

Fibonacci calculator for forex: pips and decimals

Most currency pairs are quoted to five decimals and yen pairs to three, so pick the matching option under Decimal places. Rounding to two decimals on EUR/USD would hide the very differences the levels are meant to show.

Example. EUR/USD rises from 1.08000 to 1.10000, a range of 0.02000, or 200 pips. The 38.2% retracement is 1.09236, 76.4 pips below the high; the 50% level is 1.09000; the 61.8% retracement is 1.08764, 123.6 pips below the high; and the 161.8% extension from the start of the swing is 1.11236.

The prices are typed as your chart quotes them and are never converted, so the page has no currency selector. To put a money value on a distance in pips, use the pip value calculator.

Worked examples on shares in pounds and euros

  • A UK share in pounds. The price rises from £4.20 to £5.00, a range of £0.80, or 19.05% of the low. The 38.2% retracement is £4.6944, the 50% level £4.60 and the 61.8% retracement £4.5056. Measured from the start, the 127.2% extension is £5.2176 and the 161.8% extension £5.4944.
  • A share in euros, falling. The price drops from €86 to €74, a range of €12. Retracements are measured up from the low: €76.83 at 23.6%, €78.58 at 38.2%, €80.00 at 50%, €81.42 at 61.8% and €83.43 at 78.6%. Below the low, the 161.8% extension is €66.58.

The arithmetic does not care what currency the chart is in. A share quoted in pence works the same way: enter 420 and 500 and the levels come out in pence.

How to calculate Fibonacci levels in Excel or Google Sheets

Put the swing high in B1, the swing low in B2 and the ratios down column A from A4: 0.236, 0.382, 0.5, 0.618, 0.786. For an uptrend enter =$B$1-($B$1-$B$2)*A4 in B4 and fill down; for the default inputs B7 returns 119.1. For a downtrend use =$B$2+($B$1-$B$2)*A4.

For extensions measured from the start of an upward swing, put 1.272, 1.382, 1.618 and 2.618 in column A and use =$B$2+($B$1-$B$2)*A4, which gives 180.9 for 1.618. To measure from the end instead, use =$B$1+($B$1-$B$2)*A4.

What Fibonacci levels can and cannot tell you

The levels are fixed fractions of a distance you chose. The calculator places them exactly; it cannot say whether price will pause, reverse or pass straight through any of them, and nothing on this page suggests that it will. With five retracement levels between the high and the low, some level is usually close to wherever price happens to turn, which is worth keeping in mind when reading charts after the fact.

  • Choosing the swing points. Two people can pick different highs and lows from the same chart and get different levels. Use the same rule every time, such as closing prices or the extreme wicks.
  • Mixing up the direction. Retracements are counted back from where the move ended.
  • Comparing extensions measured different ways. Check the convention first.
  • Rounding too early. Use the decimals your instrument is quoted in.
  • Using 76.4% and 78.6% interchangeably. Some tools show 76.4%, which is 1 - 0.236; on the default upswing it sits at 111.80, not 110.70.

Glossary

Swing high and swing low: the highest and lowest prices of the move being measured. Range: swing high minus swing low. Retracement: a move back against the trend, measured as a share of the range. Extension: a level beyond the end of the swing, in the direction of the move. Golden ratio (phi): 1.6180340, the limit of the ratio between consecutive Fibonacci numbers. Pip: the standard price step in forex, 0.0001 on most pairs and 0.01 on yen pairs.

Frequently asked questions

How do you calculate Fibonacci retracement levels?

Subtract the swing low from the swing high to get the range. In an uptrend, each level is the high minus the range times the ratio; in a downtrend, the low plus the range times the ratio. From 100 up to 150, the 61.8% level is 150 - 50 x 0.618 = 119.10.

What are the main Fibonacci retracement levels?

23.6%, 38.2%, 50%, 61.8% and 78.6%. All but 50% come from the golden ratio: 0.618 is 1 / 1.618, 0.382 is 0.618 squared, 0.236 is 0.618 cubed and 0.786 is the square root of 0.618.

How do you calculate Fibonacci extension levels?

Multiply the range by the extension ratio and add it in the direction of the move. Measured from the start of a rise from 100 to 150, the 161.8% extension is 100 + 50 x 1.618 = 180.90. Some tools measure from the end of the swing instead, which gives 230.90.

Is 50% a Fibonacci level?

Not mathematically. It is half the move and does not come from the Fibonacci sequence, but charting tools show it alongside the Fibonacci ratios by convention, so the calculator includes it.

What is the golden ratio in trading?

It is 1.6180340, the value that the ratio of consecutive Fibonacci numbers approaches. Its reciprocal, 0.618, gives the 61.8% retracement, and 1.618 itself gives the 161.8% extension.

How do I use the Fibonacci calculator in a downtrend?

Choose the downtrend option, so the swing high is the start and the low the end. Retracements are then measured up from the low: for a fall from 150 to 100 the 61.8% level is 130.90, and the extensions lie below 100.

Do Fibonacci levels predict where price will turn?

No. They are fixed fractions of a range you chose, and the calculator only places them. Price can pause at a level, ignore it or turn somewhere else, and nothing in the arithmetic says which.

How many decimals should I use for forex?

Match your platform's quote: five decimals for most pairs and three for yen pairs. On EUR/USD from 1.08000 to 1.10000, the 61.8% level is 1.08764, which two decimals would round to 1.09.

How do I calculate Fibonacci levels in Excel?

With the high in B1, the low in B2 and a ratio in A4, use =$B$1-($B$1-$B$2)*A4 for an uptrend retracement and =$B$2+($B$1-$B$2)*A4 for a downtrend one. Fill down for each ratio.

Why are there two different 161.8% extension prices?

Because tools measure extensions from different points. Measured from the start of the swing, 100% is the swing end and 161.8% sits 0.618 of the range beyond it; measured from the end, it sits 1.618 ranges beyond. The calculator offers both.

Courses behind chart levels

Technical Analysis Crash Course

Introductory technical analysis course explaining market psychology, price action, volume, chart patterns, and indicators such as MACD for new traders.

See what the course covers

Advance Technical Analysis Course

Advanced technical analysis course led by Mr Vinod Gaur, covering professional chart, pattern, indicator, and trend analysis for intermediate traders.

See what the course covers

Forex Trading Beginners Online Course

Beginner forex course covering how the forex market operates, currency pairs, pips, spreads, leverage, brokers, platforms, and risk management.

See what the course covers

Sources and review

Last reviewed 13 November 2026 by the NIFM Academy editorial team. Next review by 13 May 2027.

  • Fibonacci sequence and golden ratio arithmetic, ratios of consecutive Fibonacci numbers approach 0.618, 0.382 and 0.236; phi = 1.6180340; 78.6% is the square root of 0.618 and 127.2% the square root of 1.618; worked in the table and the working under every result. Checked 13 November 2026.
  • Retracement and extension formulas, uptrend retracement = high - range x ratio; downtrend = low + range x ratio; extensions measured from the start or the end of the swing as chosen on the page. Checked 13 November 2026.

About these calculators. These are financial calculators made to make calculations easier and to help you find answers. Every result is arithmetic on the figures you enter. It is not a forecast, and it is not a recommendation to buy, sell or hold any security, currency, fund or product. NIFM Academy is an online education provider.

Amounts are shown in the currency you choose and are never converted between currencies. Any rate, allowance or tax figure the page fills in is dated where it appears, and you can change it.