Technical analysis

Gann Square of Nine: How the Spiral Is Built, the Square Root Formula and a Worked Example

The 1 to 81 spiral behind the Square of 9, the cardinal and diagonal crosses traders watch, the square root formula used by charting software to turn any price into levels, a worked table, and why the levels are unproven.

· Founder of PatternsWizard
Checked 8 min read
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
On this page
  1. How the Square of Nine is built
  2. The cardinal cross and the diagonal cross
  3. The Square of Nine formula
  4. How traders use the Square of Nine
  5. Does the Square of Nine work?
  6. Frequently asked questions

The Gann Square of Nine is a spiral of numbers attributed to W. D. Gann. It starts with 1 in the center and winds outward one cell at a time, so that the first ring ends at 9, the second at 25 and the fourth at 81, which completes a 9 by 9 square. Traders read the numbers that line up on the crosses through the center as possible support, resistance or turning points, in price and sometimes in time. Gann left no complete manual for it: according to LuxAlgo, what survives are course sheets and calculators, reconstructed by later authors, so versions differ. Modern charting software turns the spiral into a formula based on the square root of a price; Optuma credits that square root principle to the work of Daniel Ferrera. Like the other Gann tools, it is a drawing convention with a long following, not a tested signal.

Gann Square of 9

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
Shaded center row and column
the cardinal cross
Shaded diagonals
the diagonal cross, where the odd squares 9, 25, 49 and 81 fall
Schematic, not market data. Drawn clockwise with 2 to the left of 1; published charts differ on direction and orientation.The spiral from 1 to 81. The arms of the cardinal and diagonal crosses are the numbers Square of Nine traders watch.

How the Square of Nine is built

Write 1 in the center cell. Put 2 next to it and keep writing the next number in the next cell, turning around the center. In the diagram above the spiral runs clockwise with 2 to the left of 1; published charts differ on the direction and on where 2 sits, which changes the drawing but not the numbers on each cross. The numbers grow in rings:

  • the first ring ends at 9, which is 3 squared;
  • the second ends at 25, 5 squared;
  • the third ends at 49, 7 squared;
  • the fourth ends at 81, 9 squared, which completes the 9 by 9 square that gives the tool its name.

The odd squares 9, 25, 49 and 81 fall on one diagonal of the square. That regularity is what the whole method rests on: moving out by one ring along any line from the center adds about 2 to the square root of the number.

The cardinal cross and the diagonal cross

The lines through the center are labeled in degrees, as on a circle. The horizontal and vertical lines form the cardinal cross; the two diagonals form the diagonal cross. Together they give eight arms, one every 45 degrees. On the diagram above, the arms read as follows.

Arm from the centerNumbers on the arm
Left (the 0 or 360 degree arm, starting at 2)2, 11, 28, 53
Upper left (45 degrees)3, 13, 31, 57
Up (90 degrees)4, 15, 34, 61
Upper right (135 degrees)5, 17, 37, 65
Right (180 degrees)6, 19, 40, 69
Lower right (225 degrees)7, 21, 43, 73
Down (270 degrees)8, 23, 46, 77
Lower left (315 degrees)9, 25, 49, 81

The Square of Nine formula

Software does not draw the spiral; it uses the square root rule that the spiral follows. Optuma documents it as follows: the end price equals the square of the square root of the start price plus the angle divided by 180.

Square of Nine levels from a price of 100

360 degrees up (12²)144.00180 degrees up (11²)121.0090 degrees up (10.5²)110.2545 degrees up (10.25²)105.06Anchor, square root 10100.0045 degrees down (9.75²)95.0690 degrees down (9.5²)90.25180 degrees down (9²)81.00360 degrees down (8²)64.00
Hypothetical example, computed from the assumptions in the text.Levels above a low of 100 and below a high of 100, from the formula above: the square root moves 0.25 per 45 degrees, then the result is squared.

Adding the angle gives levels above the price, subtracting it gives levels below. A full turn of 360 degrees adds 2 to the square root, a half turn of 180 degrees adds 1, and 45 degrees adds 0.25. Optuma’s own example: the square root of 16 is 4, plus 2 for a full turn gives 6, and 6 squared is 36. From an anchor at 53, it gives 69 at 180 degrees and 86 at 360 degrees.

The last step squares the result: from 51, the square root is about 7.14, one full turn down gives 7.14 minus 2 = 5.14, and 5.14² is about 26.4. Do not take a second square root.

The chart below applies the formula to real prices. The anchor is the lowest swing low of the window on the S&P 500 ETF, the low of April 7, 2025, and the lines are the levels every 45 degrees above it, up to the first one beyond the highest price of the window. The full turn, 360 degrees, is drawn stronger. The chart uses prices adjusted for dividends, so the anchor sits a little below the low quoted in April 2025; drawn from the quoted low, each level would come out a little higher.

Square of 9 levels from the April 2025 low on the S&P 500 ETF

613.6543.7473.945°90°135°180°225°270°315°360°405°450°495°540°AnchorFeb 20, 2025Apr 24, 2025Jun 30, 2025
  • Price, daily candles (hollow up, filled down)
  • Full turns of the square (360 degrees and multiples): the square root of the anchor plus 2 per turn, squared (line)
  • Other levels every 45 degrees: (√anchor + angle / 180)² (line)
  • Swing highs and lows: a high above (a low below) the 5 bars on each side
Anchor473.9, Apr 7, 2025
45° level484.9
90° level496.0
135° level507.2
180° level518.5
225° level529.9
270° level541.5
315° level553.2
360° level565.0
405° level577.0
450° level589.0
495° level601.2
540° level613.6
Gann Square of 9 levels every 45 degrees from the lowest swing low of the window, swing points with 5 bars on each side on S&P 500 ETF, dividend-adjusted prices, daily, February 20, 2025 to June 30, 2025. Illustration of how the tool is drawn, not a backtest.

The chart shows the problem as much as the method. Twelve levels in a rise of about 29% put a line every 2% or so, so almost any pause in the rally sits near one of them. Choosing the April low as the anchor is also easy only after the fact: on April 7, nobody knew it would be the low of the year.

How traders use the Square of Nine

  • Price levels. Pick a major high or low, compute the levels at 45 degree steps above and below, and watch how price behaves when it reaches them. They are then used like any other support and resistance zones or alongside pivot points.
  • Time. The same numbers can be read as counts of days or weeks from a major turn, looking for a date when price and time line up. That use needs the same free choices: the anchor, the unit of time and which arms to watch.

The Square of Nine is one of several Gann tools that rest on squaring price and time. The Square of 144 is a 12 by 12 grid, the Gann box splits a move into price and time divisions, and the Gann fan draws angles from a pivot. More about the man and his methods is on the W. D. Gann page.

Does the Square of Nine work?

We found no published study showing that Square of Nine levels are reached or respected more often than levels drawn at random, and we do not test it on our bench, which measures chart patterns. The method has two weaknesses that make old examples look better than they are: there are many levels from each anchor, and the anchor is usually chosen after the fact. A fair test would fix the anchor rule in advance and compare the hits with random levels at the same spacing.

Want to learn more about the square? You can check this Gann Square Trading course on Udemy, “Certification in Gann Square Trading” (affiliate links). See also the other guides in technical analysis.

Frequently asked questions

How do you calculate the Gann Square of Nine?

Take the square root of a price, add (or subtract) the angle divided by 180, and square the result. From 100: the square root is 10, plus 1 for 180 degrees gives 11, and 11 squared is 121. A full turn of 360 degrees adds 2 to the root, so it gives 144.

Why is it called the Square of Nine?

Because the spiral completes a 9 by 9 square at 81, which is 9 squared. The rings end at the odd squares 9, 25, 49 and 81.

What are the most important numbers in the Square of Nine?

The numbers on the cardinal cross and on the diagonal cross, every 45 degrees around the center. On the diagram on this page, the 0 degree arm reads 2, 11, 28, 53 and the 180 degree arm 6, 19, 40, 69.

What is the success rate of the Gann Square of Nine?

No measured success rate has been published that we could find. Claims of high accuracy come from examples chosen after the fact. With a level every 45 degrees in both directions, some level is almost always close to a past turn.

Is there a Gann Square of Nine calculator?

Optuma includes a Square of 9 tool, and the formula is simple enough for a spreadsheet: =(SQRT(price)+angle/180)^2 for levels above, and =(SQRT(price)-angle/180)^2 for levels below.

Sources

  1. Optuma knowledge base, Square of 9 Gann Fan (square root formula)
  2. TradingView, Gann box drawing tool (Gann tools and the square relationship of price and time)
  3. LuxAlgo Library, Gann Square of 9
, Founder of PatternsWizard

Passionate about finance, quantitative trading and data analysis. Amaury built the PatternsWizard test bench, which detects each pattern on full price history and measures what happened next against random entries.

PatternsWizard tests chart and candlestick patterns on full market history, against random entries. How we test patterns.

179 patterns testedRandom-walk self-test passed

All technical analysis articles