Gann Square of 9 calculator
Enter a price to get the Square of 9 levels above and below it for every angle in one full turn — in 22.5°, 45° or 90° steps — with the square-root maths shown so you can check it by hand.
Last updated:
Example value is filled in — replace it with your own.
Square of 9 levels
| Angle | Above | Below |
|---|---|---|
| 45° | 1,015.87 | 984.25 |
| 90° | 1,031.87 | 968.63 |
| 135° | 1,048.00 | 953.13 |
| 180° | 1,064.25 | 937.75 |
| 225° | 1,080.62 | 922.51 |
| 270° | 1,097.12 | 907.38 |
| 315° | 1,113.74 | 892.38 |
| 360° | 1,130.49 | 877.51 |
Shaded rows are the cardinal cross (every 90°). The other 45° rows form the ordinal cross.
These are levels worked out from a formula using the numbers you enter — a calculation, not a forecast, a signal or advice to buy or sell. Nothing you type is stored or sent anywhere. MyAlgoMate provides trading technology, not investment advice.
What the Square of 9 is
The Square of 9 is a number spiral associated with W.D. Gann, an American trader of the early twentieth century. Write 1 in the centre of a grid and keep writing numbers outwards in a square spiral: after the first ring the corner of each ring holds an odd square (9, 25, 49, 81 …). Because the numbers grow with the square of the ring, each full turn of 360° adds 2 to a number's square root — the rule the calculator uses.
Traders who use it take a price, find where it sits on the spiral, and read off the prices that sit at particular angles from it. This calculator does that with the square-root formula below.
The square-root formula
Step = Angle ÷ 180 (45° → 0.25, 90° → 0.5, 180° → 1, 360° → 2) Above = (√Price + Step)² Below = (√Price − Step)²
For example, 100 has a square root of 10. One full turn (360°, step 2) above it is (10 + 2)² = 144, and below it (10 − 2)² = 64. Half a turn (180°, step 1) gives 121 and 81.
Worked example: Nifty at 24,500
Take 24,500 as the price (an illustrative number). Its square root is 156.5248.
| Angle | Above · Below |
|---|---|
| 45° | 24,578.32 · 24,421.80 |
| 90° | 24,656.77 · 24,343.73 |
| 135° | 24,735.35 · 24,265.78 |
| 180° | 24,814.05 · 24,187.95 |
| 225° | 24,892.87 · 24,110.25 |
| 270° | 24,971.82 · 24,032.68 |
| 315° | 25,050.90 · 23,955.23 |
| 360° | 25,130.10 · 23,877.90 |
Worked example: a stock at ₹1,500
The square root of 1,500 is 38.7298. The 90° levels are ₹1,538.98 above and ₹1,461.52 below; the 180° levels ₹1,578.46 and ₹1,423.54; and one full turn gives ₹1,658.92 and ₹1,349.08. Notice that the gaps between levels grow as the price grows — that comes from working in square roots.
Angle steps, and the cardinal and ordinal crosses
The calculator lists every angle in one turn in the step you choose. 45° is the most common setting; 22.5° doubles the number of levels; 90° shows only the cardinal cross. The cardinal cross is the 0°/90°/180°/270° lines of the square, and the ordinal cross the diagonals at 45°, 135°, 225° and 315°.
Which price to enter
The method doesn't say. Common choices are the previous close, today's open, a recent swing high or low, or the last traded price. Each gives a different set of levels, so there is no single “correct” Square of 9 table for an instrument — pick a starting price and stick with it.
Square of 9 vs Gann angles and the Gann fan
The Square of 9 converts one price into other prices. Gann angles and the Gann fan are lines drawn across a chart from a high or low at fixed price-to-time ratios (1×1, 2×1, 1×2 and so on). They answer different questions and are calculated differently, even though both carry Gann's name.
Does it work? An honest answer
You will find many websites claiming the Square of 9 is highly “accurate”. There is no reliable, independent evidence for that, and no such figures appear on this page. What the calculator gives you is exact arithmetic: numbers derived from a square-root spiral. Whether those numbers mean anything for a market is not something this page claims — and MyAlgoMate never gives tips or trading advice.
Square of 9 in Excel or Google Sheets
Price in A2, angle in degrees in B2 (fill 45, 90, 135 … 360 down the column):
Above =(SQRT(A2)+B2/180)^2 Below =(SQRT(A2)-B2/180)^2
Related calculators: pivot points, Camarilla and Fibonacci retracement.
Gann Square of 9 — questions, answered.
It is a square spiral of numbers attributed to the trader W.D. Gann: 1 sits in the centre and the numbers wind outwards, so positions on the square can be described by an angle. Moving one full turn (360°) adds 2 to the square root of a number. So a level d degrees away from a price is (√price ± d ÷ 180)². That is the whole calculation this tool does.
Type a price, choose the angle step (22.5°, 45° or 90°) and read the levels above and below for each angle in one full turn. You can copy the table as text. The square root of your price is shown too, so you can check any level by hand.
Any of them — the method doesn't define one. People use the previous close, the day's open, a recent swing high or low, or the last traded price. Different starting prices give different levels, so whichever you choose, use it consistently.
The Square of 9 works on price alone: it turns a price into other prices by stepping around a square-root spiral. Gann angles (and the Gann fan) are lines drawn on a chart from a high or low at fixed ratios of price to time, such as 1×1 or 2×1. They are separate tools that share Gann's name.
On the square, the cardinal cross is the set of lines at 0°, 90°, 180° and 270° — straight up, down, left and right from the centre. The ordinal cross is the diagonals at 45°, 135°, 225° and 315°. In the calculator's table the cardinal-cross rows (every 90°) are shaded.
There is no reliable, independent evidence that Square of 9 levels predict where a price will go, and claims of high “accuracy” or “success rates” online are not backed by verifiable data. It is a geometric calculation. MyAlgoMate doesn't publish accuracy or success figures for any method, and it never tells you what to trade.
Yes, it's one formula. With the price in A2 and the angle in degrees in B2, the level above is =(SQRT(A2)+B2/180)^2 and the level below is =(SQRT(A2)-B2/180)^2. Fill angles 45, 90, 135 … 360 down column B.
More free calculators
Turn your own rules into automated orders.
Already use these levels in your own rules? MyAlgoMate's algo trading software places the orders your rules call for at 150+ Indian brokers — and TradeBridge turns your own TradingView or Chartink alerts into live orders. You decide the rules; we provide the technology.