logo
  • menu
  • Markets
  • ETFs
  • Live
  • Spot
  • Futures
  • Bots
  • Learn
  • Sign In
  • Sign Up
  • Downloads
  • English
  • |
  • USD
  • |
Sign Up
Crypto PricesLearnLatest NewsDownloadsMarketsSpotAnnouncements
Home/
Learn/
Tutorials

Consumer Price Index: How to calculate consumer price index

By Hallie Gill
Sep 16, 2022
4.2 
★
★
★
★
★
★
★
★
★
★
 287 User Rating
Share

A Consumer Price Index (or CPI) is a type of index: a basket of assets whose price is tracked to gain insights into market segments. Examples of indices include the S&P 500, the NASDAQ Composite, and the DJIA (all of which measure the performance of the major stocks).

There’s no single CPI – the term refers to any type of index designed to track the prices of consumer goods, services, and household products. Suppose that we have a basket made up of the following expenses: groceries, hygiene products, travel costs, rent, etc. Basically, we can do this with anything you’d expect the average consumer to spend on.

This article will show you how to calculate consumer price index.

Why is CPI used?

A Consumer Price Index is a powerful benchmark for measuring developments in the economy. Specifically, it’s used to monitor the impact of inflation or deflation. This is useful for many reasons – governments can gain insights into their monetary policy decisions and calculate how much should be given to those with subsidized incomes.

Calculating CPI

Let’s say that we’ve observed the following:

Year Basket value

2014 💲30

2015 💲31

2016 💲32

2017 💲32

2018 💲33

2019 💲34

We could plot these values on a chart to see how the value of the basket changes year-by-year. What we see here is a steady increase. That allows us to estimate that the costs of various goods and services in the basket are rising due to inflation.

First, we want to calculate CPI per year. We take a base year (the one we’ll be using to compare with everything else) – let’s use 2014. Then, for every row in the table, we’ll perform the following calculation:

CPI = current year / base year * 100

Here’s our updated table:

Year Basket value CPI

2014 💲30 100

2015 💲31 103

2016 💲32 107

2017 💲32 107

2018 💲33 110

2019 💲34 113

Now, we can calculate inflation or deflation with the following formula:

(CPI in year two - CPI in year one) / CPI in year one * 100

For instance, we could say that inflation has risen by ~2.72% from 2018 to 2019, or by ~7% from 2014 to 2016. In the case of deflation, we’d expect a negative number.

Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of BitKan. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. BitKan shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. Products mentioned in this article may not be available in your region.

Related Articles

  • Are AI Agents Safe for Crypto? How to Secure Your Assets

    Are AI Agents Safe for Crypto? How to Secure Your Assets

    AI agents operate by assessing real-time market data, planning multi-step strategies, and executing trades without constant human input.
    Jerry McNeill
    Jul 15, 2026
  • What Is Circle Arc Whitepaper? How to Join Circle Arc Testnet?

    What Is Circle Arc Whitepaper? How to Join Circle Arc Testnet?

    The Arc whitepaper serves as the foundational technical blueprint for a next-generation Layer 1 blockchain built by Circle to integrate programmable stablecoins with on-chain financial innovation.
    Sherry Cantwell
    May 13, 2026
  • How to Find Your Bitcoin Wallet Private Key Safely (Without Scams)

    How to Find Your Bitcoin Wallet Private Key Safely (Without Scams)

    Bitcoin private keys are one of the most important parts of cryptocurrency security. This guide explains how private keys work, where to find your own wallet’s private key, and how to protect it from theft or scams.
    Craig Green
    May 11, 2026

Latest Articles

Crypto Basics

Tutorials

Currencies

Investing

  • What Is JPYSC? How Japan’s Regulated Stablecoin Works

    What Is JPYSC? How Japan’s Regulated Stablecoin Works

    JPYSC is a digital version of the Japanese yen, engineered to maintain a 1:1 parity with the fiat currency while operating on blockchain infrastructure.
    Craig Green
    Jul 17, 2026
  • What Is Cross-Chain Interoperability? How Does It Function?

    What Is Cross-Chain Interoperability? How Does It Function?

    Cross-chain interoperability is the technological capability of independent blockchain networks to securely exchange assets, data, and functional instructions without central intermediaries.
    Jerry McNeill
    Jul 8, 2026
  • What Are Keyloggers? How Do They Drain Your Crypto?

    What Are Keyloggers? How Do They Drain Your Crypto?

    A keylogger is a specialized form of spyware designed to systematically record every keystroke pressed on a compromised device.
    Wayne Ingram
    Jul 6, 2026
  • What is Maximal Extractable Value in crypto? How Do We Avoid MEV?

    What is Maximal Extractable Value in crypto? How Do We Avoid MEV?

    Maximal Extractable Value (MEV), formerly known as Miner Extractable Value, is the maximum value that can be extracted from block production by including, excluding, or reordering transactions within a block, in addition to standard block rewards and gas fees.
    Jerry McNeill
    Jul 1, 2026
  • Crypto Trading Bots: What Are They and How Do They Work?

    Crypto Trading Bots: What Are They and How Do They Work?

    A crypto trading bot is a software application designed to automate the process of buying and selling digital assets, acting as an interface between the user and a cryptocurrency exchange.
    Cornell Rachel
    Jun 26, 2026
View more data 

Content

BTCBTC(BTC)
$0
--(Last 24h)
SpotFutures

Top

View more
  1. 1How To Sign Up For A BitKan Account (Web)?
  2. 2When Is Bitcoin Halving 2024? What Does Bitcoin Halving Do?
  3. 3What is Etherscan Used For and How to Find Token Decimal on Etherscan
  4. 4What is USDC used for? Why is USDC used?

Top Gainers

View more
RollX
RollXROLL

$0.1482

+160.09%
Caldera
CalderaERA

$0.1091

+74.28%
Hemi
HemiHEMI

$0.006180

+36.73%
Zest Protocol
Zest ProtocolZEST

$0.2662

+26.24%
Nano
NanoXNO

$0.3990

+20.91%

Top Trending

View more
Dogecoin
DogecoinDOGE

$0.0726

-0.12%
EVAA Protocol
EVAA ProtocolEVAA

$0.9178

+17.18%
Cardano
CardanoADA

$0.1710

+3.07%
Filecoin
FilecoinFIL

$0.7390

+2.07%
SK Hynix Inc
SK Hynix IncSKHYNIX

$1,254.45

+4.52%

Recently added

View more
Coinbase Man
Coinbase ManBRIAN

$0.001022

-37.68%
Robinhood
RobinhoodHOODB

$100.330

-0.18%
Broadcom
BroadcomAVGOB

$383.080

+1.87%
Alibaba
AlibabaBABAB

$120.190

+0.14%
IBM
IBMIBMB

$213.880

+0.43%

Latest News

View more
  1. 1DTCC Launches Live Tokenized Asset Trading for Wall Street
  2. 2South Korea Updates Asset Law to Include Cryptocurrency
  3. 3Bitcoin Jumps to $65K as Softer CPI Data Calms Fed Hike Fears
  4. 4Stablecoin Market Drops $10B, Analysts Downplay Concerns
  5. 5New SEC Crypto Rule to Cut Red Tape for Startup Fundraising
About Us
  • About BitKan
  • Contact Us
  • Announcements
  • VIP Program
  • BitKan Ambassador
  • Institutional Services
Products
  • Spot
  • Futures
  • Crypto Prices
  • Learn
  • News
  • Markets
  • How to Buy Crypto
  • BTC to USD Calculator
  • Reward
Help
  • Help Center
  • Email Us
  • Live Chat
  • Download APP
  • Listing Application
  • Buy Bitcoin
  • Buy Ethereum
  • Buy Dogecoin
  • Buy Altcoins
Terms
  • Terms of Use
  • Privacy Policy
  • Trading Rules
  • Fee
K-Site
English
About Us
+
  • About BitKan
  • Contact Us
  • Announcements
  • VIP Program
  • BitKan Ambassador
  • Institutional Services
Products
+
  • Spot
  • Futures
  • Crypto Prices
  • Learn
  • News
  • Markets
  • How to Buy Crypto
  • BTC to USD Calculator
  • Reward
Help
+
  • Help Center
  • Email Us
  • Live Chat
  • Download APP
  • Listing Application
  • Buy Bitcoin
  • Buy Ethereum
  • Buy Dogecoin
  • Buy Altcoins
Terms
+
  • Terms of Use
  • Privacy Policy
  • Trading Rules
  • Fee
K-Site
+
  • Twitter
  • Facebook
  • Telegram
  • YouTube
  • Instagram
  • Medium
  • Linkedin
@2012-2026 BITKAN.com