CPR calculator (Central Pivot Range)
Enter the previous day's high, low and close to get the CPR — top central (TC), pivot and bottom central (BC) — with its width, plus the R1–R3 and S1–S3 floor pivots, for Nifty, Bank Nifty or any stock.
Last updated:
Example values are filled in — replace them with the high, low and close of the candle you want.
Daily CPR and pivot levels
| Level | Value | From close |
|---|---|---|
| R3 (above the close) | 1,065.00 | +50.00 (4.93%) |
| R2 (above the close) | 1,045.00 | +30.00 (2.96%) |
| R1 (above the close) | 1,030.00 | +15.00 (1.48%) |
| TC (below the close) | 1,012.50 | −2.50 (0.25%) |
| Pivot (below the close) | 1,010.00 | −5.00 (0.49%) |
| BC (below the close) | 1,007.50 | −7.50 (0.74%) |
| S1 (below the close) | 995.00 | −20.00 (1.97%) |
| S2 (below the close) | 975.00 | −40.00 (3.94%) |
| S3 (below the close) | 960.00 | −55.00 (5.42%) |
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 Central Pivot Range is
The Central Pivot Range (CPR) is a band of three levels — TC (top central), pivot and BC (bottom central) — worked out from the previous period's high, low and close. It is widely used by Indian traders on Nifty, Bank Nifty and F&O stocks, usually together with the floor pivots R1–R3 and S1–S3, which this calculator also shows.
The CPR formula
Pivot = (High + Low + Close) ÷ 3 BC = (High + Low) ÷ 2 TC = (Pivot − BC) + Pivot = 2 × Pivot − BC If TC comes out below BC, swap them so TC is the upper line. CPR width = TC − BC Width % = (TC − BC) ÷ Pivot × 100
BC is the midpoint of the previous range and the pivot is the average of high, low and close, so the pivot always sits exactly in the middle of the band. When the previous close was above the midpoint, the raw TC is above BC; when it was below, the raw values come out the other way round — hence the swap.
Worked example: Nifty daily CPR
Previous day (illustrative numbers): high 24,650, low 24,420, close 24,580.
| Level | Value |
|---|---|
| R3 | 24,910.00 |
| R2 | 24,780.00 |
| R1 | 24,680.00 |
| TC | 24,565.00 |
| Pivot | 24,550.00 |
| BC | 24,535.00 |
| S1 | 24,450.00 |
| S2 | 24,320.00 |
| S3 | 24,220.00 |
The width is 24,565 − 24,535 = 30 points, or about 0.122% of the pivot. Now change only the close to 24,440: the pivot becomes 24,503.33, the raw “TC” works out to 24,471.67 and BC stays at 24,535 — so the calculator swaps them and shows TC 24,535.00 and BC 24,471.67.
Worked example: a stock
For a stock with a previous high of ₹1,512, low of ₹1,478 and close of ₹1,505 (illustrative), the CPR is TC ₹1,501.67, pivot ₹1,498.33 and BC ₹1,495.00 — ₹6.67 wide, about 0.445% of the pivot.
CPR width
The width tells you how far apart TC and BC are, which depends on where the previous period closed within its range: a close near the middle of the range gives a narrow band, a close near the high or the low gives a wider one. Showing it as a percentage of the pivot lets you compare an index at 24,000 with a stock at 1,500. Many websites attach predictions to “narrow” or “wide” CPRs; this calculator only reports the measurement.
Comparing two days' CPR
Traders often compare today's CPR with yesterday's. The common descriptive terms are: a higher or lower CPR (the whole band above or below the previous one), overlapping (the bands share some prices), inside (today's band lies entirely within yesterday's) and outside (today's band contains yesterday's). To compare, run the calculator twice — once with the day-before's numbers and once with yesterday's.
Daily, weekly and monthly CPR
Choose Daily, Weekly or Monthly above. The formula is identical; only the candle changes — the previous day's, week's or month's high, low and close.
CPR vs pivot points vs Camarilla
CPR and the classic pivot points share the same pivot; CPR adds TC and BC around it. Camarilla levels are built around the close instead and sit closer to it. Different formulas give different numbers from the same candle.
Why your chart may show a different CPR
Check that your chart uses the same inputs: spot or futures, the official close or the last traded price, and the same session times. Some indicators also don't swap TC and BC, so their “TC” can be the lower line.
CPR in Excel or Google Sheets
With the high in A2, the low in B2 and the close in C2:
Pivot (D2) =(A2+B2+C2)/3 BC raw (E2) =(A2+B2)/2 TC raw (F2) =2*D2-E2 TC =MAX(E2,F2) BC =MIN(E2,F2) Width % =(MAX(E2,F2)-MIN(E2,F2))/D2*100
Limitations
The CPR is calculated from one past candle and knows nothing about what happens next. Price can move through the band in either direction. Use it as a reference on your chart; decisions are your own — MyAlgoMate provides technology, not tips or advice. Related tools: Fibonacci retracement calculator, position size calculator and F&O lot sizes.
CPR — questions, answered.
CPR stands for Central Pivot Range: three levels worked out from the previous period's high, low and close. The pivot is (H + L + C) ÷ 3, the bottom central level (BC) is (H + L) ÷ 2, and the top central level (TC) is 2 × pivot − BC. The band between TC and BC is the CPR.
TC is the top central level and BC the bottom central level. With the raw formula, when the previous close is below the middle of the high–low range, the value labelled “TC” comes out lower than “BC”. Most charts — and this calculator — simply swap them so TC is always the upper line and BC the lower one. The band itself is the same either way.
CPR width is the distance between TC and BC. This calculator shows it in points and as a percentage of the pivot, so you can compare widths across instruments and days. It is a measurement of the previous period's numbers, not a forecast of how the next period will trade.
Both are descriptive names. A “virgin” CPR is one the price never traded into during the period it was calculated for. An “inside” CPR is one whose whole band sits inside the previous period's CPR band. They describe how two sets of numbers relate; they are not signals.
Only the input candle. Daily CPR uses the previous day's high, low and close; weekly CPR the previous week's; monthly CPR the previous month's. Longer periods have bigger ranges, so their CPR bands and floor pivots are usually wider.
CPR shares its middle line with classic pivot points — the pivot is the same (H + L + C) ÷ 3 — and adds the TC and BC lines around it. Classic pivots then step out by the whole range (R1–R3, S1–S3), while Camarilla levels are centred on the close instead. The pivot point calculator shows all of them from the same inputs.
Many charting platforms have a CPR or “central pivot range” indicator you can add from the indicator list. If yours doesn't, calculate TC, pivot and BC here and draw three horizontal lines. Make sure the chart uses the same high, low and close as you entered (spot or futures, and the same session), or the lines won't match.
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.