PipLedger
Today's forex newsNFP, CPI, FOMC and other high-impact eventsEconomic calendarCalendar →

Fibonacci calculator (retracement and extension levels)

Enter a swing high and a swing low and get every Fibonacci retracement level, plus extension targets beyond the swing. Add the point where the pullback ended to project targets from there. Works for forex pairs, gold and indices.

By M. A. Horaira. Updated 3 October 2026.

Trend
Where the retracement ended. Gives extension targets from that point.

Key level: 61.8% retracement

—

    How the Fibonacci levels are calculated

    Uptrend: Retracement = High − (High − Low) × level  ·  Extension = Low + (High − Low) × level

    In a downtrend the signs flip: retracements are measured up from the low, and extensions down from the high. The levels themselves are fixed ratios: 23.6%, 38.2%, 50%, 61.8% and 78.6% for retracements, and 127.2%, 141.4%, 161.8%, 200% and 261.8% for extensions. 50% isn't a Fibonacci ratio, but nearly every trader watches it, so it's included.

    Calculators don't all measure extensions the same way. This one measures from the start of the swing, so 100% is the swing's end and, in the example below, 161.8% is 4,406.52. Some calculators add the percentage to the swing high instead, which puts their 161.8% at 4,546.52. Check which convention your charting tool uses before comparing levels.

    An example on gold

    XAUUSD rallies from 4,180.00 to 4,320.00, a range of 140.00. The retracement levels a buyer would watch on the way back down:

    Fibonacci levels for a swing from 4,180.00 to 4,320.00
    LevelPrice
    0%4,320.00
    23.6%4,286.96
    38.2%4,266.52
    50%4,250.00
    61.8%4,233.48
    78.6%4,209.96
    100%4,180.00
    127.2% extension4,358.08
    141.4% extension4,377.96
    161.8% extension4,406.52
    200% extension4,460.00
    261.8% extension4,546.52

    If the pullback ends at the 61.8% level, 4,233.48, enter that as the pullback point and the targets are projected from there instead: 100% at 4,373.48 and 161.8% at 4,460.00. Traders call this an ABC projection.

    How traders use Fibonacci retracements

    1. Pick a clear swing. The high and low should be obvious on the chart you trade, not the biggest move you can find.
    2. Watch the 38.2% to 61.8% zone. It's the zone traders watch most closely for a pullback to pause; on its own a level isn't a reason to enter.
    3. Look for agreement. A Fibonacci level that lines up with an old support or resistance, a round number or a pivot point carries more weight.
    4. Plan the stop. A common approach is a stop beyond the next level, with the trade sized from that stop using the lot size calculator.
    5. Extensions as targets. Many traders use 127.2% and 161.8% as first and second targets; check the reward against the risk with the risk reward calculator.

    Fibonacci levels aren't magic

    When price does react near these levels, part of the reason may be that so many traders watch them. Plenty of pullbacks go straight through 61.8% and keep going. Treat the levels as places to look for a reason to trade, and decide your risk before the trade, not after.

    Quick answers

    How do you calculate Fibonacci retracement?

    Take the swing's range and multiply it by each level, then subtract from the high in an uptrend. For a swing from 4,180 to 4,320, the 61.8% retracement is 4,320 − 140 × 0.618 = 4,233.48.

    What are the main Fibonacci retracement levels?

    23.6%, 38.2%, 50%, 61.8% and 78.6%. The 50% level isn't a Fibonacci ratio but is watched by most traders.

    What are Fibonacci extension levels?

    Levels beyond the swing used as targets, most often 127.2%, 161.8% and 261.8%. Measured from the swing's start, 100% is the swing's end.

    Which Fibonacci level is the strongest?

    None is reliable on its own. The 61.8% and 38.2% retracements are the most watched, and a level matters more when it lines up with support, resistance or a round number.

    Does the Fibonacci calculator work for gold?

    Yes. Enter the XAUUSD swing high and low; the calculator keeps the number of decimals you type.

    More free calculators

    Guides on gold trading

    All 30 guides →

    हिंदी में पढ़ें: Lot size kaise nikale?, Prop firm challenge kaise pass kare?, Gold trading kaise kare?, Forex trading kya hai, और India में यह legal है या नहीं?

    Trading psychology

    The habits that decide whether a good strategy makes money.

    All 14 trading psychology guides

    8 popular prop firms

    Well-known firms for forex, gold and index traders that were still operating in 2026. Compare their rules before you buy a challenge.

    If a link in this list is a referral link, PipLedger may earn a commission if you sign up, at no extra cost to you. This list is not a recommendation. Programs, prices and rules change often, so check each firm's own site, including its margin and drawdown rules, before you buy a challenge.