02 Apr 2025

light mode

APR and APY: How to Calculate Interest Rates?

APR and APY: How to Calculate Interest Rates?

Before you venture into the DeFi world, it’s smart to get a grip on the terms that underlie yield calculations. The key concepts you need to master are the Annual Percentage Rate (APR) and the Annual Percentage Yield (APY). What’s the difference between the two?

On this page

What is the Annual Percentage Rate?

The Annual Percentage Rate (APR) is the rate that reflects the total cost of a loan to the borrower. This rate isn't limited to the yearly earnings, which, by the way, might even be negative. It also includes all the fees associated with the maintenance of the loan, such as transfer fees and contributions to the protocol. The APR specifies the total amount that will be paid each year on the loan's remaining balance.

Within the DeFi sector, APR is utilized to gauge the potential profit a user could realize from lending or borrowing cryptocurrencies within various protocols.

What is the Annual Percentage Yield?

The Annual Percentage Yield (APY) signifies the actual rate of return that an investment can yield over a year. This figure gives investors a clear understanding of how their funds, invested in a particular asset, are expected to appreciate over time. This pertains to the staking of tokens as well.

Annual Percentage Yield incorporates the effect of compounding interest, which is the accumulation of interest on previously earned interest.

What is the difference between APY and APR?

Both metrics are used to calculate financial costs and returns, but they differ in their application.

APR is frequently utilized in the context of loans and credits, serving as a measure to calculate the total true cost associated with borrowing.
On the other hand, APY is deployed to gauge the yield of savings and investment accounts, factoring in the effects of compound interest, which, when added to the principal amount, amplifies the annual return. This consideration becomes especially pertinent for long-term investments.

Hence, even if APR and APY percentages appear identical within decentralized protocols, they yield different results for the parties involved when the year concludes.

How to calculate APR?

When it comes to DeFi protocols, APR is calculated in two forms: fixed and variable.

A fixed APR is clearly defined within the loan's terms, meaning it remains constant throughout the agreement. A variable APR, however, can adjust based on how the market value of the volatile asset changes over the loan period, with rates typically oscillating between 1% and 9%.

For a lender, determining the annual fixed interest rate is quite simple.

Let's say you lend out 1,000 coins at a yearly interest rate of 10%. By the end of the first year, you would expect a repayment of 1,100 coins, and by the second year's end, 1,200 coins, and so on.

For a variable rate, the interest depends on the asset's market value at the time of the deal's closure. Because cryptocurrency value is converted into USD (or into a dollar-tied stablecoin), an increase in price results in a lower interest rate. The conditions of a loan with a variable APR are managed by a smart contract, which takes into account the specific asset, the length of the loan, and the protocol used.

Another key aspect of crypto lending to consider is the rapid change in the initial value of the tokens, something users need to be constantly aware of. Long-term borrowing is risky for both the lender and borrower, prompting the need for regular monitoring of the rates offered on different DeFi platforms. In such a volatile environment, it can be wise to switch protocols if more favorable lending rates are available elsewhere.

How to calculate APY?

The formula for calculating compound interest is as follows:

APY= (1+r/n)-1

Where:
r = the annual interest rate expressed as a decimal;

n = the compounding frequency per year, such as 12 for monthly or 4 for quarterly compounding.

For example, let's say you've staked 1,000 units of a hypothetical token with an annual interest rate of 5%. In theory, you would expect an additional 50 tokens at the end of the year. But if that 5% interest is compounded monthly, the actual APY turns out to be approximately 5.116%, which would yield a slightly higher return of 51.16 tokens over the same period.
The frequency of compounding plays a pivotal role. A 5% rate compounded quarterly will accumulate to a greater sum over a year than a 4% rate compounded monthly.
However, doing such calculations manually can be quite tedious.Instead, you can use one of the various staking calculators available for different protocols to easily calculate APY.

The content on The Coinomist is for informational purposes only and should not be interpreted as financial advice. While we strive to provide accurate and up-to-date information, we do not guarantee the accuracy, completeness, or reliability of any content. Neither we accept liability for any errors or omissions in the information provided or for any financial losses incurred as a result of relying on this information. Actions based on this content are at your own risk. Always do your own research and consult a professional. See our Terms, Privacy Policy, and Disclaimers for more details.

Articles by this author
South Korea’s 7-Eleven to Accept CBDC Payments in a Pilot Program

South Korea’s 7-Eleven to Accept CBDC Payments in a Pilot Program

South Korea’s 7-Eleven stores will accept CBDC payments between April 1 and June 30 as part of a pilot program to test the Bank of Korea-issued digital currency.

Anahit Avetisyan
GameStop Raises $1.5B, Eyes Bitcoin Investment

GameStop Raises $1.5B, Eyes Bitcoin Investment

GameStop has completed a $1.5 billion convertible notes offering, which may allow the company to add Bitcoin to its reserves under its updated investment policy.

Dmytro Psevdonimenko
Bitcoin Hits $85K Again as Traders Eye U.S. Tariff Risks

Bitcoin Hits $85K Again as Traders Eye U.S. Tariff Risks

BTC rises on speculative moves amid geopolitical and macroeconomic uncertainty, with risk-off strategies shaping the new terrain.

Anton Kryshtal
SMBC Partners with Ava Labs for Stablecoin Launch

SMBC Partners with Ava Labs for Stablecoin Launch

SMBC, one of Japan’s leading banks, has announced plans to launch a stablecoin in collaboration with Ava Labs and Fireblocks. Pilot testing is set to begin in 2025, with a full launch scheduled for 2026.

Vlad Vovk
Hot on X (Twitter) Today: Binance Boycott, McCormack vs. Wright Case, & More

Hot on X (Twitter) Today: Binance Boycott, McCormack vs. Wright Case, & More

A “Boycott Binance” movement is trending on X/Twitter after multiple altcoins plunged on the exchange within minutes on April 1.

Anahit Avetisyan
Top Crypto Tweets of The Day: KOLs on TDCCP Token, zkLend Hacker, & More

Top Crypto Tweets of The Day: KOLs on TDCCP Token, zkLend Hacker, & More

The TDCCP token gets attention with record-breaking moves, while the zkLend hacker falls victim to a phishing scam. Meanwhile, BlackRock’s Larry Fink shares his insights with investors.

Anahit Avetisyan
Top Crypto Tweets of the Day:  KOLs on the Crypto Cycle, DeFi State, & More

Top Crypto Tweets of the Day:  KOLs on the Crypto Cycle, DeFi State, & More

As crypto prices decline, the community continues to analyze the current crypto market cycle. One of the most popular platforms to share views and discuss these trends is Twitter/X.

Anahit Avetisyan
What Is a Margin Call? An Essential Guide

What Is a Margin Call? An Essential Guide

A comprehensive guide to understanding margin calls in trading. Learn what triggers them, how they work, their risks, and strategies to manage or avoid them

The Coinomist
What Happens When Bitcoin Runs Out? Predictions and Strategies

What Happens When Bitcoin Runs Out? Predictions and Strategies

Explore what happens when Bitcoin reaches its 21 million supply cap. Learn how the shift from block rewards to transaction fees could impact miners, investors, and the entire ecosystem.

The Coinomist
What Does HODL Mean? Lessons for New Traders

What Does HODL Mean? Lessons for New Traders

Learn the meaning behind HODL and its significance in crypto trading. Understand its origins, the psychology behind holding on, and how HODLing can shape your long-term investment strategy.

The Coinomist
How to Scale a Crypto Exchange and Attract More Users Globally

How to Scale a Crypto Exchange and Attract More Users Globally

Imagine you’ve built your own crypto exchange, and now it’s time to scale. You’ll need high-speed infrastructure, deep liquidity, and compliance.

Vlad Vovk
The Top Cryptocurrency Scams to Watch Out for in 2025

The Top Cryptocurrency Scams to Watch Out for in 2025

AI, fake exchanges, celebrity deepfakes, and old tricks repackaged in new forms. Here’s a look at the cryptocurrency scams gaining traction in 2025 and how to avoid losing everything to fraudsters.

Vlad Vovk
What is a Hash Function and Why It’s Essential?

What is a Hash Function and Why It’s Essential?

Learn what a hash function is, how it works, and why it’s vital for data integrity, security, and performance in modern computing and blockchain technology.

The Coinomist
Trump’s “US Crypto Reserve” Plan: A Game Changer or Just Talk?

Trump’s “US Crypto Reserve” Plan: A Game Changer or Just Talk?

It takes just one post from Trump to stir the crypto market. Recently, he announced on Truth Social that the evaluation of a strategic crypto reserve is in progress as part of his broader Trump crypto policy.

Anahit Avetisyan
Trump’s Crypto Tax Plan: Smart Policy or Risky Gamble?

Trump’s Crypto Tax Plan: Smart Policy or Risky Gamble?

There’s been a lot of talk about possible changes to crypto tax policies in the U.S. One of the more controversial ideas floating around is “Trump no tax on crypto.” As Trump adopts a more crypto-friendly stance, major rumors have surfaced that he’s considering a 0% tax on crypto gains.

Anahit Avetisyan
MORE
Dubai Lets You Rent Homes and Cars With Bitcoin. Here’s What to Know

Dubai Lets You Rent Homes and Cars With Bitcoin. Here’s What to Know

Now, you can rent in Dubai with crypto, signing rental agreements using BTC, altcoins, or USDT for both short-term vacations and long-term stays as an expat.

Yara Zornell
Why Lisbon is Now Emerging as The Newest World’s Crypto Capital

Why Lisbon is Now Emerging as The Newest World’s Crypto Capital

Imagine a city of hills, narrow cobblestone streets, and fado music drifting from cozy bars. This is Lisbon, the capital of Portugal, now rapidly transforming into a modern crypto city.

Iaroslava Kramarenko
MORE