sifting/io
On-chain

What is TVL in DeFi?

Total Value Locked (TVL) is the most commonly cited figure in decentralized finance, used to rank protocols and gauge the size of the sector. It is more nuanced than a single number suggests, and interpreting it without context can be misleading. The sections below explain what TVL measures, how it is calculated, what it does and does not indicate, and why the same protocol can show different TVL on different trackers.

6 min readOn-chain
Total Value Locked, or TVL, is the total dollar value of all crypto assets currently deposited in a DeFi protocol's smart contracts, used as a measure of how much capital the protocol holds.

Key points

  • TVL is the dollar value of all assets deposited in a protocol's contracts.
  • It is calculated by summing on-chain balances and pricing each asset in dollars.
  • TVL changes with both deposits and the price of the underlying assets, so a rise can reflect either.
  • It is a measure of size, not of revenue, security, or quality on its own.

What TVL measures

TVL reflects how much capital users have committed to a protocol. When assets are deposited into a lending market, a liquidity pool, or a staking contract, those balances are held on-chain and can be read directly. Summing them and converting to a common currency, usually dollars, gives the protocol's TVL. A higher TVL generally indicates more committed capital, which is why it is used as an approximate measure of a protocol's scale.

How TVL is calculated

Calculating TVL involves two steps: reading the balances and pricing them. First, the on-chain token balances held in the protocol's contracts, which are public, are read. Second, each balance is multiplied by the current price of that token to express the total in one currency, and the results are summed across all assets and contracts. Both steps involve choices, particularly which price source to use for each token, which is why TVL figures are not identical across sources.

  • Read the on-chain token balances held in the protocol's contracts.
  • Price each token in a common currency, usually US dollars.
  • Sum across every asset and contract the protocol holds.

What TVL does not indicate

TVL is a measure of size, not an assessment of quality. It does not directly indicate a protocol's revenue, security, or design. A large TVL may be concentrated in a few wallets, supported by incentives, or inflated by counting the same assets across linked protocols. Interpreted in isolation it is easily over-read, which is why it is best considered alongside other metrics rather than as a substitute for them.

Why trackers disagree and prices affect TVL

Two factors make TVL difficult to compare. First, it is denominated in dollars: if the deposited tokens increase in value, TVL rises even without new deposits, so an increase may reflect a price movement rather than inflows. Second, different trackers choose different contracts to include and different price sources, so the same protocol can show meaningfully different TVL across sources. These are differences in method rather than errors.

On SiftingIO

On-chain data on SiftingIO

SiftingIO publishes on-chain fundamentals, including TVL, alongside DEX prices and swap activity, so capital metrics and price data share one credential and one schema. Coverage expands as each dataset meets the platform's quality standard. Because TVL depends on how each asset is priced, it benefits from the same aggregated price work used across the rest of the platform.

FAQ

Common questions

What does TVL stand for?

Total Value Locked. It is the total dollar value of all crypto assets currently deposited in a DeFi protocol's smart contracts.

How is TVL calculated?

By reading the on-chain token balances held in a protocol's contracts, pricing each token in a common currency like US dollars, and summing across every asset and contract.

Why does TVL change when no one deposits or withdraws?

Because TVL is priced in dollars. If the value of the deposited tokens moves, TVL moves with it, so a rise can reflect a market move rather than new capital arriving.

Why do TVL trackers show different numbers?

Different trackers pick different contracts to count and different price sources for each token. Both are defensible, so the same protocol can show different TVL in different places.

Ready to build

Try it with a free API key.

Pull live or historical data across stocks, forex, crypto, and commodities under one schema and one key. Start free, no sales call.