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

  • How to Set Up a BNB Chain Wallet: Step-by-Step Guide

    How to Set Up a BNB Chain Wallet: Step-by-Step Guide

    Set up a BNB Chain wallet with MetaMask or Trust Wallet: add BNB Smart Chain, fund with BNB for gas, verify on BscScan, and avoid the biggest 2026 security mistakes.
    Wayne Ingram
    Aug 21, 2026
  • 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

Latest Articles

Crypto Basics

Tutorials

Currencies

Investing

  • What Are ARC-20 Tokens? How Do ARC-20 Tokens Work?

    What Are ARC-20 Tokens? How Do ARC-20 Tokens Work?

    ARC-20 tokens are a fungible token standard built on the Atomicals protocol, where each token is backed by at least one satoshi to ensure a minimum floor value.
    James Dean
    Jul 27, 2026
  • What Is the Usual Protocol? How Does Its Tokenomics Work?

    What Is the Usual Protocol? How Does Its Tokenomics Work?

    The Usual Protocol is a decentralized, permissionless banking system that issues a fiat-backed stablecoin collateralized by Real-World Assets (RWAs) such as U.S. Treasury bills.
    James Dean
    Jul 24, 2026
  • What Are AI Agent Frameworks? How Do They Power Cryptocurrency?

    What Are AI Agent Frameworks? How Do They Power Cryptocurrency?

    AI agent frameworks are software toolkits that provide the control layer, memory, and orchestration logic required for agents to reason, plan, and execute multi-step tasks independently.
    Cornell Rachel
    Jul 21, 2026
  • 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
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
Dent
DentDENT

$0.00005427

+84.97%
Tutorial
TutorialTUT

$0.0650

+69.54%
LayerZero
LayerZeroZRO

$1.1806

+19.19%
Cudis
CudisCUDIS

$0.001264

+15.54%
Siacoin
SiacoinSC

$0.000649

+14.87%

Top Trending

View more
KiiChain
KiiChainKII

$0.0499

-24.55%
Fusionist
FusionistACE

$0.2462

+11.10%
Siacoin
SiacoinSC

$0.000650

+15.04%
Bitcoin
BitcoinBTC

$76,237.51

-1.61%
Ordinals
OrdinalsORDI

$3.9480

-9.26%

Recently added

View more
Aligned
AlignedALIGN

$0.0152

-19.43%
pipedog
pipedogPIPEDOG

$0.002191

-1.26%
Niu Lai
Niu Lai牛来

$0.0466

-21.89%
KiiChain
KiiChainKII

$0.0499

-24.55%
GameStop
GameStopGMEB

$18.2900

-0.05%

Latest News

View more
  1. 1TradFi Giants Embrace Crypto, Ending 'Short Bankers' Era
  2. 2XRP Slips to $1 as Futures Open Interest Surges Despite Fear
  3. 3Wall Street Banks Cautious as Crypto Perpetual Futures Arrive
  4. 4Bitcoin Steady at $65K; Fed Decision Set to Determine Path
  5. 5Mystery Shiba Inu Rally Hits 36% Fueled by Korean Exchanges
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