BitcoinDatabase.com
All posts
On-chain metrics

What Is Bitcoin Cost Basis Distribution (URPD)? A Clear Guide

Bitcoin cost basis distribution, also called URPD, buckets the supply by the price each coin last moved at. What the cost basis distribution shows, how it is built from UTXOs, and how analysts read the clusters.

By the BitcoinDatabase team

July 2026 · 9 min read

Query Console
btc
try:

Hit Run to query the fully-indexed Bitcoin blockchain.

BTC

30-day trend

informational on-chain data · not financial advice

REST API · SQL · dashboards, one indexed dataset. Querying the indexed Bitcoin blockchain ...

The short answer

Bitcoin cost basis distribution, also called the UTXO realized price distribution or URPD, buckets the entire bitcoin supply by the price at which each coin last moved on-chain. It shows how much of the supply was acquired at each price level, drawn as a histogram of coins per price band. Tall clusters mark prices where a lot of supply changed hands, which analysts read as zones where many holders share a similar on-chain cost basis. It is a descriptive on-chain map of where the supply sits, not a prediction of price.

Most people picture bitcoin's cost basis as one number: the average price the whole supply last moved at, which is realized price. Cost basis distribution keeps the detail instead of averaging it away. Rather than one figure, it shows the full spread, how the supply is spread across price levels according to what each coin last cost on-chain.

What is Bitcoin cost basis distribution?

The on-chain cost basis of a coin is the price it carried the day it last moved, that is, the day its current unspent output was created. Cost basis distribution takes every unspent output in existence, values it at its creation-day price, and groups the supply into price bands. The result is a histogram: the horizontal axis is price, the vertical axis is how much bitcoin last moved at that price. It is often called URPD, short for UTXO realized price distribution, because it is built directly from the UTXO set.

How is the cost basis distribution built?

Three inputs are needed for every coin: the unspent output, the block it was created in, and the market price on that date. Value each output at its creation-day price, drop it into the matching price bucket, and sum. Do that across the whole UTXO set and you have the distribution. The engineering cost is holding all of it at once: the complete set of unspent outputs, a timestamp for each, and a historical price series to value them. A provider that already indexes the chain can return the buckets from a cost basis API and let you trace any band back to the specific outputs inside it, rather than making you rebuild the UTXO set yourself.

Pattern on the chart What it describes
Tall cluster at a price A lot of supply last moved near that price, so many holders share a cost basis there
Gap or thin band Little supply changed hands in that price range
Supply below current price Coins last moved cheaper than spot, so they sit in unrealized profit

These readings describe the current state of the supply, not what price will do next.

How do analysts read cost basis distribution?

Analysts use the clusters to see where holder conviction concentrates. A dense band just below the current price marks a large group of holders who are only slightly in profit, a zone people watch because behavior can shift if price falls back into it. Thin ranges show prices the market passed through quickly. Reading the distribution against spot also shows, at a glance, how much of the supply is in profit versus loss, which is the raw material behind metrics like MVRV. It is a map of positioning, not a forecast, and it is most useful next to other on-chain context rather than alone.

Cost basis distribution vs realized price

They come from the same data and answer related questions at different resolutions. Realized price is a single average: the whole supply's on-chain cost basis boiled down to one number, and you can query it from a realized price API. Cost basis distribution keeps the shape, showing every band instead of the mean. If realized price tells you the average holder's break-even, the distribution tells you how tightly or loosely holders are clustered around it, which two supplies with the same average can differ on completely.

Is cost basis distribution a trading signal?

No. Cost basis distribution is an informational description of where the supply last moved, priced against historical data. It does not forecast anything, and a cluster is not a guarantee that price will react at that level. If you hold coins yourself and need to track your own cost basis for tax season, a wallet-level income and cost-basis tracker is the right tool for that, separate from this network-wide view. Analysts treat the distribution as one lens among several, and BitcoinDatabase provides it as on-chain data and analytics only, not a valuation or investment advice.

Query the Bitcoin blockchain yourself

Pull balances, UTXOs, transactions, on-chain metrics and fund flows from the fully indexed Bitcoin blockchain by REST API, SQL and dashboards. Indexed since 2009, new blocks within seconds, no node to run.

Keep reading

More from the BitcoinDatabase blog

Buyer guides

Best Bitcoin SOPR and On-Chain Metrics API for Quant Research Teams

We rebuilt SOPR from raw chain data for one Bitcoin block on 3 September 2026 and got three different answers from the same formula and the same 643 spent outputs. The only variable was which daily close series priced the coins, and the spread was about 5 percent of the distance the metric measures from breakeven. We also found 555 of 658 inputs were under an hour old, 20 inputs carried 66 percent of the realized value, and 15 coins had a negative lifespan because Bitcoin block timestamps are not monotonic.

Read
On-chain metrics

What Is Bitcoin Supply in Profit and Loss? A Clear Guide

Bitcoin supply in profit counts the coins whose last on-chain move happened below the current price; supply in loss counts the rest. How the metric is built from UTXOs, what percent supply in profit means, and how analysts read it.

Read
Buyer guides

Best Bitcoin On-Chain Data API for Quant Research Teams

For research work the deciding factor is reproducibility, not metric count. Checked first-hand on 21 August 2026: Glassnode's 49 dollar Advanced plan does not include API access and its Professional tier has no published price, while coinmetrics.io now 301-redirects to Talos with pricing behind a demo request. Plus why a fixed adjustment factor for on-chain volume breaks: two blocks six days apart needed corrections of 17.03x and 4.87x.

Read
Data guides

How to Calculate Cost Basis for Bitcoin (FIFO, LIFO, HIFO)

Bitcoin cost basis is what you paid to acquire a coin, including fees. How to calculate it, which accounting method to use, the 2025 per-wallet rule, and how to reconstruct basis when your records are missing.

Read

Query the whole Bitcoin blockchain

BitcoinDatabase indexes the public Bitcoin blockchain block by block and returns balances, UTXOs, transactions, on-chain metrics and fund flows by REST API, SQL and dashboards, with no node to run.

REST + SQL + dashboards · indexed since 2009 · new blocks within seconds

Informational on-chain data only · not financial, investment or legal advice · AML features are compliance tooling to support your own review.