Crypto Portfolio Calculator
Track your crypto portfolio value with live prices. Add any coin, enter your holdings and buy price, and instantly see your total value, 24h change, profit/loss, and ROI.
Add Coin to Portfolio
How to Track Your Crypto Portfolio Value
A crypto portfolio calculator gives you a real-time snapshot of what your holdings are worth today, how much they've moved in the last 24 hours, and whether you're in profit or loss compared to what you paid. Instead of logging into multiple exchanges and manually adding up numbers, you get everything in one place in seconds.
This calculator uses the CoinGecko free API to fetch live prices for over 10,000 cryptocurrencies. CoinGecko aggregates price data from hundreds of exchanges and updates approximately every 60 seconds, making it one of the most reliable free sources for crypto pricing data.
Understanding Your Portfolio Metrics
Total Portfolio Value
Your total portfolio value is the sum of every coin's current market price multiplied by the quantity you hold. For example, if you hold 0.5 BTC and Bitcoin is priced at $60,000, your Bitcoin position is worth $30,000. This number updates every time you refresh prices.
24-Hour Change
The 24h change shows how much your portfolio's value has shifted in the past 24 hours based on price movements alone. It is calculated by applying each coin's 24-hour percentage change to your current holdings value. A portfolio-level 24h change gives you a weighted average across all your positions — large positions in volatile coins move this number more than small positions.
Profit and Loss (P&L)
Profit and loss compares your current portfolio value against your total cost basis. Your cost basis is the total amount you invested — each coin's quantity multiplied by your average buy price. If your portfolio is currently worth more than your cost basis, the difference is unrealized profit. If less, it is an unrealized loss. These are unrealized figures — actual profit or loss is only locked in when you sell.
Return on Investment (ROI)
ROI percentage is calculated as: (Current Value − Cost Basis) ÷ Cost Basis × 100. A 50% ROI means your portfolio is worth 1.5× what you paid for it. A −30% ROI means you're currently down 30% from your entry prices. ROI is the clearest single number for understanding your overall performance regardless of portfolio size.
How to Use Cost Basis for Tax Purposes
In most countries, cryptocurrency is treated as a taxable asset. When you sell crypto, your taxable gain or loss is calculated from your cost basis — the original purchase price plus any fees. This calculator helps you track the average buy price across purchases of the same coin, which is useful for understanding your overall position even if you bought in multiple times at different prices.
For official tax reporting, always use records from your exchange or a dedicated crypto tax tool. The figures in this calculator are estimates for informational purposes and should not be used as official tax records.
Portfolio Diversification in Crypto
The portfolio breakdown chart shows what percentage of your total value each coin represents. Concentration risk — having too much of your portfolio in a single asset — is one of the most common mistakes in crypto investing. If one coin represents 90% of your portfolio and drops 50%, your whole portfolio drops 45%. The same drop with a more diversified allocation has a much smaller impact.
Common allocation frameworks include holding the majority in large-cap assets like Bitcoin and Ethereum, a portion in established mid-cap projects, and a small speculative allocation in higher-risk smaller coins. The right split depends entirely on your personal risk tolerance and investment goals.
Live Price Data from CoinGecko
This calculator uses the CoinGecko public API, which provides free access to prices, market caps, 24-hour changes, and trading volumes for thousands of cryptocurrencies without requiring an API key. CoinGecko sources its data from over 900 exchanges and is widely used by developers building crypto tools.
Prices may differ slightly from what you see on a specific exchange due to regional variations, exchange spreads, and the time of the last update. For trading decisions, always use the price shown on the exchange where you intend to execute your trade.
Crypto Portfolio Tips
Tracking your portfolio regularly helps you make more informed decisions. Knowing your actual cost basis prevents emotional decision-making — many investors forget what they paid for a coin and sell at a loss thinking they're breaking even, or hold through large gains expecting more without realizing how far they've already come.
If you're also tracking crypto trading profits, our Crypto Profit Calculator calculates per-trade profit, fees, and ROI in detail. For understanding staking rewards on your holdings, our Staking Rewards Calculator estimates annual yield and compound growth from staking.