Ichimoku Cloud Calculator
Inputs
- Inputs: 9-period high 112.00 and low 104.00; 26-period high 115.00 and low 100.00; 52-period high 120.00 and low 95.00; close 113.00.
- Tenkan-sen is the 9-period midpoint: (112.00 + 104.00) / 2 = 108.00. Kijun-sen is the 26-period midpoint: (115.00 + 100.00) / 2 = 107.50.
- Senkou span A averages the two lines: (108.00 + 107.50) / 2 = 107.75. Senkou span B is the 52-period midpoint: (120.00 + 95.00) / 2 = 107.50. The cloud between them is 0.25 thick.
- Ichimoku cloud: span A 107.75, span B 107.50 - with the close at 113.00, price is above the cloud (bullish).
Ichimoku Kinko Hyo is a complete charting system in five lines, developed by the Japanese journalist Goichi Hosoda and published in 1969. This calculator builds the three lines that need period extremes - the Tenkan-sen, Kijun-sen and the two Senkou spans that form the cloud, or kumo - from the highest highs and lowest lows over the standard 9, 26 and 52 periods, and then reads the closing price against the cloud.
Unlike moving averages, every Ichimoku line is a midpoint: the average of the highest high and lowest low over its window. Midpoints react to the full trading range rather than to closes alone, which is why the lines step and plateau in their distinctive way.
Worked examples
Close above a thin cloud
(112 · 104 · 115 · 100 · 120 · 95 · 113)
| Senkou span A | 107.75 |
| Tenkan-sen (conversion line) | 108.00 |
| Kijun-sen (base line) | 107.50 |
| Senkou span B | 107.50 |
| Cloud thickness | 0.25 |
| Close versus cloud | Above the cloud (bullish) |
Close below a thick cloud
(88 · 80 · 92 · 78 · 99 · 75 · 81)
| Senkou span A | 84.50 |
| Tenkan-sen (conversion line) | 84.00 |
| Kijun-sen (base line) | 85.00 |
| Senkou span B | 87.00 |
| Cloud thickness | 2.50 |
| Close versus cloud | Below the cloud (bearish) |
Close inside a zero-thickness cloud
(150 · 144 · 152 · 140 · 155 · 138 · 146.5)
| Senkou span A | 146.50 |
| Tenkan-sen (conversion line) | 147.00 |
| Kijun-sen (base line) | 146.00 |
| Senkou span B | 146.50 |
| Cloud thickness | 0.00 |
| Close versus cloud | Inside the cloud (neutral) |
Midpoints, not averages: how the lines are built
The Tenkan-sen is the midpoint of the last 9 periods and the Kijun-sen the midpoint of the last 26. In the first worked example the 9-period extremes of 112.00 and 104.00 give a Tenkan of 108.00, and the 26-period extremes give a Kijun of 107.50. The Tenkan sits above the Kijun because the shorter window has recently traded higher - the short-term range has shifted up relative to the medium-term range.
The cloud's edges are the Senkou spans. Span A averages the Tenkan and Kijun, giving 107.75 in the first example. Span B is the 52-period midpoint: extremes of 120.00 and 95.00 give 107.50. The cloud between them is only 0.25 thick, a nearly flat, thin kumo.
In live charting the spans are plotted 26 periods ahead, so the cloud you see today was determined by data from almost a month ago. This calculator reports the span values themselves; the forward shift is a plotting convention, not part of the arithmetic.
- Tenkan-sen: midpoint of the highest high and lowest low over 9 periods.
- Kijun-sen: the same midpoint over 26 periods.
- Senkou span B: the same midpoint over 52 periods; span A averages Tenkan and Kijun.
The cloud as support and resistance
The cloud is read as a zone, not a line. A close above the top of the cloud puts the price in the bullish configuration: the first example closes at 113.00, above both spans, so the read is 'Above the cloud (bullish)'. A close below the bottom is bearish, as in the second example, where the close of 81.00 sits under a cloud spanning 84.50 to 87.00.
Thickness carries meaning. The second example's cloud is 2.50 thick - a wide band that tends to act as strong support or resistance and is hard for price to cross quickly. The first example's 0.25 cloud is tissue-thin: it offers little cushion, and a small move can flip the configuration.
The third example is the neutral case. Both spans coincide at 146.50, the cloud has zero thickness, and the close is exactly 146.50 - inside the cloud by construction, which Ichimoku reads as equilibrium and no trend signal.
| Example | Span A | Span B | Thickness | Read |
|---|---|---|---|---|
| First | 107.75 | 107.50 | 0.25 | Above the cloud (bullish) |
| Second | 84.50 | 87.00 | 2.50 | Below the cloud (bearish) |
| Third | 146.50 | 146.50 | 0.00 | Inside the cloud (neutral) |
Worked examples
Example 1: Highest high, 9 periods 112; Lowest low, 9 periods 104; Highest high, 26 periods 115; Lowest low, 26 periods 100; Highest high, 52 periods 120; Lowest low, 52 periods 95; Current close 113. Senkou span A = 107.75. Supporting values: Tenkan-sen (conversion line) 108.00; Kijun-sen (base line) 107.50; Senkou span B 107.50; Cloud thickness 0.25; Close versus cloud Above the cloud (bullish). Inputs: 9-period high 112.00 and low 104.00; 26-period high 115.00 and low 100.00; 52-period high 120.00 and low 95.00; close 113.00. Tenkan-sen is the 9-period midpoint: (112.00 + 104.00) / 2 = 108.00. Kijun-sen is the 26-period midpoint: (115.00 + 100.00) / 2 = 107.50. Senkou span A averages the two lines: (108.00 + 107.50) / 2 = 107.75. Senkou span B is the 52-period midpoint: (120.00 + 95.00) / 2 = 107.50. The cloud between them is 0.25 thick. Ichimoku cloud: span A 107.75, span B 107.50 - with the close at 113.00, price is above the cloud (bullish).
Example 2: Highest high, 9 periods 88; Lowest low, 9 periods 80; Highest high, 26 periods 92; Lowest low, 26 periods 78; Highest high, 52 periods 99; Lowest low, 52 periods 75; Current close 81. Senkou span A = 84.50. Supporting values: Tenkan-sen (conversion line) 84.00; Kijun-sen (base line) 85.00; Senkou span B 87.00; Cloud thickness 2.50; Close versus cloud Below the cloud (bearish). Inputs: 9-period high 88.00 and low 80.00; 26-period high 92.00 and low 78.00; 52-period high 99.00 and low 75.00; close 81.00. Tenkan-sen is the 9-period midpoint: (88.00 + 80.00) / 2 = 84.00. Kijun-sen is the 26-period midpoint: (92.00 + 78.00) / 2 = 85.00. Senkou span A averages the two lines: (84.00 + 85.00) / 2 = 84.50. Senkou span B is the 52-period midpoint: (99.00 + 75.00) / 2 = 87.00. The cloud between them is 2.50 thick. Ichimoku cloud: span A 84.50, span B 87.00 - with the close at 81.00, price is below the cloud (bearish).
Example 3: Highest high, 9 periods 150; Lowest low, 9 periods 144; Highest high, 26 periods 152; Lowest low, 26 periods 140; Highest high, 52 periods 155; Lowest low, 52 periods 138; Current close 146.5. Senkou span A = 146.50. Supporting values: Tenkan-sen (conversion line) 147.00; Kijun-sen (base line) 146.00; Senkou span B 146.50; Cloud thickness 0.00; Close versus cloud Inside the cloud (neutral). Inputs: 9-period high 150.00 and low 144.00; 26-period high 152.00 and low 140.00; 52-period high 155.00 and low 138.00; close 146.50. Tenkan-sen is the 9-period midpoint: (150.00 + 144.00) / 2 = 147.00. Kijun-sen is the 26-period midpoint: (152.00 + 140.00) / 2 = 146.00. Senkou span A averages the two lines: (147.00 + 146.00) / 2 = 146.50. Senkou span B is the 52-period midpoint: (155.00 + 138.00) / 2 = 146.50. The cloud between them is 0.00 thick. Ichimoku cloud: span A 146.50, span B 146.50 - with the close at 146.50, price is inside the cloud (neutral).
Tenkan-Kijun crosses and cloud twists
The classic Ichimoku signal is the Tenkan crossing the Kijun, read in the context of the cloud: a cross upward while price is above the cloud is the strong buy configuration. This calculator gives you the two lines' current values, so the gap between them - 0.50 in the first example, with Tenkan above Kijun - tells you which side of a cross the market is on, though not when the cross happened.
A cloud twist, where span A crosses span B and the cloud changes colour, is watched as an early warning of trend change. The third example, with both spans at 146.50, is exactly a twist point: the next period's data decides which span leads.
What Ichimoku cannot tell you
The system contains no volume information, no volatility scaling and no concept of value; a close above the cloud says the recent range has shifted up, nothing about whether the asset is cheap. Periods are also a convention inherited from the Japanese trading month of Hosoda's era - 9, 26 and 52 suited a six-day trading week - and changing them changes the signals.
Two more components of the full system are outside this calculator's scope: the Chikou span, the close plotted 26 periods back, and the future cloud's shape, which traders use to judge how hard a trend change would be. Both need a price series rather than period extremes, so they belong to charting software rather than a calculator.
Using the cloud read sensibly
Used well, the cloud is a trend filter layered under other analysis: it keeps traders from fighting an established move and flags equilibrium zones where signals from other tools are least reliable. The position read this calculator returns - above, below or inside - is the first question an Ichimoku user asks of any chart.
Backtests of raw Ichimoku signals give mixed results that depend heavily on market and era, so treat any single read as context. Combine the cloud position with the Tenkan-Kijun relationship and the thickness of the cloud ahead before treating the configuration as tradeable information.
One component of the full system deserves a mention even though it needs a price series rather than period extremes: the Chikou span, today's close plotted 26 periods back. Traders read it against the price bars of 26 periods ago - above them, the current close has cleared historical resistance; below them, it is still fighting it. Because the cloud spans are also shifted by the same 26 periods, the whole chart is a comparison of the present against a month-old equilibrium, which is the system's founding idea: judge today only against the past it must escape. When you use this calculator's snapshot, you are reading the cloud half of that comparison; the Chikou half belongs on the chart.
FAQs
What is span A in the first example?
Span A is 107.75 in the first example. It is the average of the Tenkan-sen and Kijun-sen, and it forms one edge of the cloud.
What is the Tenkan-sen in the first example?
The Tenkan-sen is 108.00 in the first example - the midpoint of the highest high (112.00) and lowest low (104.00) over the last 9 periods.
What is the Kijun-sen in the first example?
The Kijun-sen is 107.50 in the first example, the midpoint of the 26-period extremes. It is the slower of the two short lines and the reference for the Tenkan-Kijun cross.
What is span B in the second example?
Span B is 87.00 in the second example. It is the 52-period midpoint and forms the slower edge of the cloud; here it is the cloud's top, since span A sits below it.
How thick is the cloud in the first example?
The cloud is 0.25 thick in the first example - the absolute gap between span A at 107.75 and span B at 107.50. Such a thin cloud offers weak support or resistance.
Where do the spans meet in the third example?
The spans meet at 146.50 in the third example, so the cloud has zero thickness and the close, also 146.50, reads as inside the cloud - the neutral configuration.