Cumulative Volume Index Calculator
One strong-volume down day can erase a week of quiet gains, and price charts alone will not show you that. The Cumulative Volume Index (CVI) keeps a running score: it adds the full traded volume on days the price closes up and subtracts it on days the price closes down, so a single line tells you whether volume has been flowing with the buyers or with the sellers.
This calculator updates the index for one security or index in one step. Enter yesterday’s CVI, today’s price change, and today’s volume, and it returns the new CVI using the same sign rule throughout, including the flat-day rule most tools leave unstated.
One security, one period per calculation. Carry the result forward as tomorrow’s previous CVI to build a series. A flat close (price change of 0) adds volume in this tool; see the formula section for why that convention matters.
Quick Answer
- Quick Answer
- How to use the Cumulative Volume Index calculator
- The CVI formula and the flat-day rule
- Worked example: four days from a standing start
- Two indicators share this name: read the inputs, not the title
- What competing CVI calculators miss
- Frequently Asked Questions
- Add This Calculator to Your Website
- References
How to use the Cumulative Volume Index calculator
Carry the series forward. Take the last CVI value from your spreadsheet, chart, or yesterday’s run of this calculator and enter it as the previous CVI. Starting fresh, use 0.
Enter the signed price change. Subtract yesterday’s close from today’s close. Only the sign matters to the result, so +0.01 and +5 do exactly the same thing.
Enter today’s full volume for the same security and the same period, then calculate. Save the new CVI: it becomes tomorrow’s previous CVI.
The one-step design is deliberate. A CVI series is built day by day, and the commonest real-world job is updating a tracked series after the close, checking a value from a charting platform, or working through historical data one period at a time. If your question is instead how much volume changed between two periods in plain percentage terms, the change in volume calculator answers that directly, without any running total.
The CVI formula and the flat-day rule
Two honest notes about that formula, because competing pages rarely state either. First, the magnitude of the price move never enters the math. A one-cent gain on heavy volume moves the index more than a five-dollar gain on light volume. The index is a volume ledger with a sign, nothing more, and it should be read alongside indicators that do weigh price movement, such as the average directional movement index calculator for trend strength.
Second, sources disagree about flat days. The classic On-Balance Volume definition in StockCharts ChartSchool’s OBV guide leaves the total unchanged when the close is unchanged. This calculator, like several other published CVI tools, treats a zero change as non-negative and adds the volume. The difference is small on any single day but compounds across a long series with many flat closes, so pick one tool or one convention and stay with it for the whole series.
Worked example: four days from a standing start
The single-step example in the Quick Answer is pre-filled in the calculator. The table below chains four steps together from a starting CVI of 0, and every row is exactly what the calculator returns when its own previous result is carried forward.
| Day | Price change | Volume | Applied as | New CVI |
|---|---|---|---|---|
| 1 | +2.00 | 500,000 | Added | 500,000.00 |
| 2 | -1.00 | 600,000 | Subtracted | -100,000.00 |
| 3 | +0.50 | 550,000 | Added | 450,000.00 |
| 4 | 0.00 (flat) | 200,000 | Added (flat rule) | 650,000.00 |
Read the shape, not the level. Day 2 is the story: one heavy down day pulled the index below zero even though three of the four closes were flat or positive. That is the pattern traders watch for in real series, volume concentrating on down moves while price still looks calm. Note also that the index can go negative; there is no floor at zero, because the starting value was arbitrary to begin with.
Two indicators share this name: read the inputs, not the title
Search for Cumulative Volume Index and you will meet two different indicators wearing one name. The original, described in Steven Achelis’s Technical Analysis from A to Z, is a market-breadth measure: it subtracts the volume of all declining NYSE stocks from the volume of all advancing stocks and adds the difference to a running total. It needs exchange-wide up-volume and down-volume data, and it describes the whole market, never one stock.
The second, which is what this calculator and most online CVI tools implement, applies the same running-total idea to a single security: the security’s own volume, signed by its own price change. Achelis himself flags the confusion, noting that many programs and investors call the single-stock OBV calculation by the CVI name. Neither tool is fake, but their outputs are not interchangeable: a breadth CVI can rise on a day your stock fell, because the rest of the market rose. Before comparing any two CVI figures, check which inputs produced them. TradingView’s CVI reference page documents the breadth version, while this page documents the single-security version, step by step.
There is also a namesake in a completely different field. The chain volume index calculator covers the national-accounts measure used for real GDP and output volumes, where period-to-period volume changes are linked with chained price weights. It shares no inputs, formula, or purpose with the trading indicator on this page.
What competing CVI calculators miss
Miss 1: the flat-day rule goes unstated. Tools reviewed for this page split on unchanged closes, some adding the volume, some holding the index flat, and none of the reviewed pages said which rule they used. This page states its rule in the formula, the calculator note, and the worked example, so a series built here can be reproduced or converted.
Miss 2: the breadth definition is presented as the only one. Several high-ranking explainers define CVI purely as advancing volume minus declining volume, then offer a calculator that takes a single stock’s price change and volume. The definition and the tool do not match. This page names both versions and tells you exactly which one the calculator runs.
Miss 3: bulk entry hides the running total. Comma-separated multi-day tools are convenient, but they bury the day-by-day carry-forward where errors actually happen: a mistyped volume on day 2 silently shifts every later value. The one-step update keeps each day’s addition or subtraction visible and checkable against your own records.
One honest limit in the other direction: if you need to process a year of daily data at once, a one-step tool is slow, and a spreadsheet running the same sign rule will serve you better. The formula box above is all you need to build it.
Frequently Asked Questions
The Cumulative Volume Index is a running total of signed volume for one security or index. Each period, the full traded volume is added to the total when the price closes up (or flat, in this calculator) and subtracted when the price closes down. The level itself is arbitrary because it depends on where you started counting; the direction and slope of the line are what traders read.
Textbooks such as Achelis describe a market-wide CVI built from exchange data: previous CVI plus advancing volume minus declining volume across all listed stocks. This calculator implements the single-security version used by most online CVI tools: it signs one instrument’s own volume by that instrument’s price change. The two share a name and a running-total idea, but they take different inputs and answer different questions, so do not mix their numbers.
Because this tool follows the non-negative convention: a price change of zero or more adds the volume, and only a negative change subtracts it. Some charting definitions of On-Balance Volume leave the total unchanged on a flat close instead. Neither is a math error; they are different published conventions. What matters is using one convention consistently across your whole series.
Any consistent starting point works, because only changes in the CVI matter. Most traders start a new series at 0 on the first day they track, then carry each result forward as the next day’s previous CVI. If you are continuing a series from a charting platform, copy its last CVI value so your series stays continuous.
No. A close up by one cent adds the day’s full volume, exactly the same as a close up by five dollars. The index records direction only, never magnitude. That is its main limitation, and it is why traders pair it with price-based indicators that do weigh the size of moves.
A rising CVI means volume on up periods has outweighed volume on down periods over the stretch you are tracking, which traders read as accumulation. A falling CVI means down-period volume dominates, read as distribution. A CVI that moves against price, for example price making new highs while the CVI flattens or falls, is called divergence and is treated as a warning that the trend may be weakening, not as proof that it will reverse.
For a single security the arithmetic is nearly identical: both add volume on up closes and subtract it on down closes. The historical difference is scope. Granville’s OBV was designed for one stock, while the original CVI used actual exchange-wide up-volume and down-volume data. In everyday online use the names are often swapped, which is why checking which inputs a tool takes matters more than its title.
Yes, for any instrument with a closing price and a volume figure per period, including crypto pairs and intraday bars. Two cautions: forex volume is usually broker tick volume rather than exchange volume, so series from different brokers will differ; and the shorter the timeframe, the noisier the sign flips become. Daily bars remain the most common choice.
No. They are unrelated tools that happen to share words. The chain volume index belongs to national accounts economics: it links period-to-period volume changes in output, such as real GDP, using chained price weights. The Cumulative Volume Index belongs to trading and signs market volume by price direction. If you need the economics measure, use the chain volume index calculator instead.
Add This Calculator to Your Website
References
- Achelis, S., “Technical Analysis from A to Z” – the Cumulative Volume Index entry: the original market-breadth definition (advancing volume minus declining volume, added to a running total) and the warning that many programs call OBV by the CVI name. MetaStock: Cumulative Volume Index. Accessed October 2026.
- TradingView Help Center, “Cumulative Volume Index (CVI)” – the breadth version’s definition, calculation, and guidance that it is a context gauge, not a standalone signal. TradingView: Cumulative Volume Index. Accessed October 2026.
- Capital.com, “Cumulative Volume Index: advancing vs declining volume” – a current explainer of the breadth CVI, its running-sum calculation, and divergence reading. Capital.com: Cumulative Volume Index. Accessed October 2026.
- StockCharts ChartSchool, “On Balance Volume (OBV)” – Granville’s single-security cumulative volume indicator, including the convention that an unchanged close leaves the total unchanged. StockCharts ChartSchool: On Balance Volume. Accessed October 2026.
- Awesome Fintech, “Cumulative Volume Index (CVI)” – the Investopedia-derived definition and formula, prior CVI plus advancing minus declining stocks, with trend and divergence interpretation. Awesome Fintech: Cumulative Volume Index. Accessed October 2026.
- Australian Bureau of Statistics, “Australian System of National Accounts: Concepts, Sources and Methods, Chapter 6: Price and volume measures” – how chain volume measures are built by linking period-to-period indexes, the economics namesake distinguished in this article. ABS: Price and Volume Measures. Accessed October 2026.
