logo
  • menu
  • Markets
  • ETFs
  • Live
  • Spot
  • Futures
  • 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

  • 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
  • What is Western Union USDPT? How to use it on Solana?

    What is Western Union USDPT? How to use it on Solana?

    USDPT is a U.S. dollar-backed stablecoin issued by Anchorage Digital Bank and hosted on the Solana network.
    Cornell Rachel
    May 8, 2026

Latest Articles

Crypto Basics

Tutorials

Currencies

Investing

  • What Are Short Liquidations? How Can Traders Prevent Them in Crypto?

    What Are Short Liquidations? How Can Traders Prevent Them in Crypto?

    A short liquidation is a mandatory event within derivatives markets where a cryptocurrency exchange automatically closes a leveraged short position.
    Cornell Rachel
    Jun 22, 2026
  • What Is Rehypothecation Risk in Crypto? How to Protect Yourself

    What Is Rehypothecation Risk in Crypto? How to Protect Yourself

    Rehypothecation is a practice where a lending platform takes collateral pledged by its clients and uses it for its own purposes.
    James Dean
    Jun 17, 2026
  • What Is pERC20? How Does This Ethereum Token Standard Work?

    What Is pERC20? How Does This Ethereum Token Standard Work?

    The pERC-20 framework is an experimental Ethereum Improvement Proposal designed to fundamentally alter how standard tokens operate on public networks,
    Jun 12, 2026
  • What Are Crypto Prediction Markets? A Complete Guide for Beginners

    What Are Crypto Prediction Markets? A Complete Guide for Beginners

    Crypto prediction markets are peer-to-peer decentralized financial platforms where participants trade contracts tied to the outcomes of real-world events, such as elections, sports, or economic data releases.
    Jun 12, 2026
  • What is the MSX X Card? Understanding the New Crypto Card

    What is the MSX X Card? Understanding the New Crypto Card

    The MSX X Card is a financial instrument launched by the MSX Maitong platform that functions as a payment gateway for digital assets
    James Dean
    Jun 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
o1 exchange
o1 exchangeO

$0.8179

+46.81%
Solstice
SolsticeSLX

$0.3210

+41.91%
QuickSwap
QuickSwapQUICK

$0.009710

+37.73%
Atletico Madrid Fan Token
Atletico Madrid Fan TokenATM

$1.7570

+27.69%
BNB Attestation Service
BNB Attestation ServiceBAS

$0.0401

+26.28%

Top Trending

View more
Sui Network
Sui NetworkSUI

$0.6872

-2.28%
LAB
LABLAB

$16.2139

+10.79%
Hyperliquid
HyperliquidHYPE

$63.9960

+2.83%
Uniswap
UniswapUNI

$2.9310

+0.38%
Silver
SilverXAG

$57.8100

-5.46%

Recently added

View more
Arcium
ArciumARX

$0.2776

-14.19%
Ambire AdEx
Ambire AdExADX

$0.0572

+4.19%
Re
ReRE

$0.6619

-19.51%
o1 exchange
o1 exchangeO

$0.8179

+46.81%
SpaceX
SpaceXSPCXB

$154.280

-1.96%

Latest News

View more
  1. 1Uniswap Soars 22% as Altcoins Rally While Bitcoin Stalls
  2. 2HYPE Surges 6%: Suspected Insider Whale Nabs $34M in Gains
  3. 3SpaceX Prices Record $75B IPO at $135, Hits $1.8T Valuation
  4. 4Stablecoin Secondary Market Rules Pit Banks Against Crypto
  5. 5Bitcoin and Gold Tumble Amid Rising Inflation and Rate Bets
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