Gann Square of Nine: How the Spiral Is Built, the Square Root Formula and a Test on Real Prices
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 a test of its levels and day counts against random ones on our daily price data.

On this page
- How the Square of Nine is built
- The cardinal cross and the diagonal cross
- The Square of Nine formula
- How traders use the Square of Nine
- Does the Square of Nine work? Our test on daily prices
- The price unit changes the whole grid
- A real Square of Nine on the S&P 500
- Square of Nine day counts
- 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. We tested its levels on 163 markets of our daily price data: they bounced price a little more often than random levels, by less than half a point, and no more often than the same grid turned by a random angle. Its day counts caught as many turning points as random counts.
Gann Square of 9

- Shaded center row and column
- the cardinal cross
- Shaded diagonals
- the diagonal cross, where the odd squares 9, 25, 49 and 81 fall
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 center | Numbers 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

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

- 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
| Anchor | 473.9, Apr 7, 2025 |
|---|---|
| 45° level | 484.9 |
| 90° level | 496.0 |
| 135° level | 507.2 |
| 180° level | 518.5 |
| 225° level | 529.9 |
| 270° level | 541.5 |
| 315° level | 553.2 |
| 360° level | 565.0 |
| 405° level | 577.0 |
| 450° level | 589.0 |
| 495° level | 601.2 |
| 540° level | 613.6 |
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? Our test on daily prices
A fair test fixes the anchor rule and the price unit in advance, then compares the levels with levels placed at random. We did that on 163 markets of our daily price data from January 2, 1970 to October 28, 2026: 15 stock indices, 25 forex pairs and 123 cryptocurrencies with at least 4 years of history.
- Anchor. The end of each swing. A swing high is the highest high of the 20 bars before and the 20 bars after it, a swing low the mirror image, so the anchor is only known 20 bars after it formed. A swing lasts at least 20 bars.
- Price unit. Prices as quoted for indices and cryptocurrencies; forex pairs in pips (1.1050 reads 11,050, and 150.25 reads 15,025 for a yen pair). The anchor must be at least 4, or its square root minus 2 would fall to zero; that left out 54.1% of the swings, all of them on coins priced under 4 dollars.
- Levels. The formula above, every 45 degrees up to a full turn, above and below the anchor: 16 levels.
- Window. Each level is watched for twice the length of the swing that ended at the anchor, starting when the anchor is known.
That gave 6,175 squares. For each level we took the first touch and asked whether price bounced: one average true range (ATR, 14 days) back to the side it came from, within 10 bars, before one ATR through the level. Then we drew 16 random levels between the lowest and the highest Square of Nine level of the same anchor and counted again, 200 times with a fixed random seed.
Square of Nine levels: share of first touches followed by a bounce

- Square of Nine level
- Random levels nearest that level
The levels were touched 43,361 times, and 46.9% of those first touches led to a bounce. Random levels in the same zone bounced 46.5% of the time (median of the draws, which ranged from 46.1% to 46.9%), and only 3.5% of the draws did as well as the square. So the levels are ahead, by 0.4 point. The cardinal cross bounced price 47.0% of the time against 46.8% for the random levels nearest it, and the diagonal cross 46.9% against 46.3%: the cardinal cross did no better than the diagonal.
A second check tells where that small lead comes from. The same grid turned by a random angle, up to 22.5 degrees either way, bounced price 46.8% of the time (median of 200 turns); turned grids did at least as well as the real one in 26.5% of the draws. A grid of levels spread evenly around the anchor does a hair better than levels scattered at random, but the exact Square of Nine angles add nothing that chance does not explain.
Square of Nine levels against random levels, by market

- Square of Nine levels
- Random levels, same zone
By market, the levels bounced price 42.3% of the time on stock indices against 42.0% for random levels, 50.1% against 49.7% on forex, and 50.9% against 50.2% on crypto. Moving the anchor's decimal point so that it reads between 100 and 1,000, which lets every coin in, gives 50.1% against 49.6% on 13,446 squares. A gap of half a point means about one more bounce every two hundred touches: it would not change a single trade.
The price unit changes the whole grid
The formula works on the square root of the price, so the distance between two levels depends on how the price is written. From an anchor of 100, the first level, 45 degrees up, is 5.1% away and a full turn 44%. From 10,000 the same steps are 0.5% and 4.0%; from 100,000 they shrink to 0.16% and 1.3%. The same chart of the same market gives a wide grid or a tight one depending on whether the price is quoted in dollars, cents or pips.
Bitcoin shows the tight case. The square anchored at its high of December 17, 2024, 108,353, puts all 16 levels between 107,040 and 109,674, a band of 2.5%. Every level was touched and all 16 counted as bounces, most of them first touched on the same day, January 20, 2025, when one daily range covered most of the grid. That is why we compare with random levels in the same band rather than count hits.
A real Square of Nine on the S&P 500
The largest S&P 500 swing of the last five years whose watch window has ended ran from 4,104 on October 27, 2023 to a high of 5,265 on March 28, 2024. Anchored at that high, the square put its levels between 4,979 and 5,559. Price touched 15 of the 16 levels and bounced from 6. The 90 degree level above the anchor, 5,338, bounced on May 23, 2024; the full turn, 5,559, did not bounce on July 5, 2024. On EUR/USD, the square from the high of February 2, 2023 saw 12 levels touched and 7 bounces.
A real Square of Nine on the S&P 500: what each first touch did

Shown alone, the bounces look like proof. Counted against random levels across thousands of squares, they are what any level in that zone gets.
Square of Nine day counts
Traders also read the numbers on the arms as counts of days from a major turn. We counted bars after each anchor for the 24 numbers on the eight arms of rings 2 to 4 (11, 13, 15 up to 81, the table above) and asked whether a turning point, the highest high or lowest low of the 10 bars on each side, fell within one bar. For comparison we drew 8 random numbers inside each ring's range (10 to 25, 26 to 49 and 50 to 81), 200 times, because turns are rarer just after a major high or low. The first ring was left out: it holds every day from 2 to 9, so there is nothing to compare.
Turning points on Square of Nine day counts

- Square of Nine counts
- Random counts, same rings
Out of 147,499 counts, 18.4% had a turning point within one bar, against 18.4% for random counts in the same rings; random counts matched or beat the square in 34.0% of the draws. The arms of the spiral do not mark turning dates better than any other day at the same distance.
Want to learn more about the square? You can check this Gann Square Trading course on Udemy, “Certification in Gann Square Trading”. 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?
In our test on 6,175 swings, 46.9% of first touches of Square of Nine levels led to a bounce of one ATR, against 46.5% for random levels in the same zone and 46.8% for the same grid turned by a random angle. 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.
