Home › Calculators › Crypto Portfolio Profit & Loss Tracker

Crypto Portfolio Profit & Loss Tracker

Keep a private record of your crypto trades and see exactly where you stand: how many coins you hold, what they cost on average, the profit you have already locked in and the gain or loss on what you still own. No account, no exchange connection, nothing uploaded.

Last updated:

Saved in this browser
Transactions
Current prices

Type the price you want to value each coin at (for example from your exchange). Nothing is fetched from the internet.

    Advertisement
    Advertisement

    How to use the Crypto Portfolio Profit & Loss Tracker

    1. Add each trade: date, coin symbol, buy or sell, quantity, price per coin and the fee you paid.
    2. Enter today's price for each coin in the Current prices box.
    3. Pick a cost method: average cost or FIFO, which decides the profit on each sale.
    4. Read your portfolio: value, unrealized and realized P&L, and the allocation chart.
    5. Download a backup to keep your data safe or move it to another device.

    Formulas behind the tracker

    • Cost of a buy = quantity × price + fee.
    • Average cost = cost of coins held ÷ coins held.
    • Realized P&L on a sell = (quantity × sale price − fee) − cost of the coins sold. With average cost, cost sold = quantity × average cost; with FIFO it is the cost of the oldest coins still held.
    • Unrealized P&L = coins held × current price − cost of coins held.
    • Return on all buys = (realized + unrealized P&L) ÷ total spent on buys, fees included.

    Example

    You buy 0.15 BTC at $46,000 (fee $10) and 0.10 BTC at $54,000 (fee $8). Cost = $6,910 + $5,408 = $12,318 for 0.25 BTC, so the average cost is $49,272. You then sell 0.08 BTC at $82,000 with a $9 fee: proceeds $6,551, cost sold 0.08 × $49,272 = $3,941.76, realized profit $2,609.24. The remaining 0.17 BTC cost $8,376.24; at a price of $95,000 they are worth $16,150, an unrealized gain of $7,773.76.

    StepBTC heldCost of holdingsAverage costRealized P&L
    Buy 0.15 @ $46,000 + $100.15$6,910.00$46,066.67–
    Buy 0.10 @ $54,000 + $80.25$12,318.00$49,272.00–
    Sell 0.08 @ $82,000 − $90.17$8,376.24$49,272.00+$2,609.24

    Tips for accurate tracking

    • Record every trade, including small ones; a missing buy makes later sells look like they sold more than you held.
    • Use one currency for all prices and fees, the one you think about your profit in.
    • Treat a coin-to-coin swap as two trades: a sell of the first coin and a buy of the second at their value in your currency.
    • Download a backup after big updates; browser data can be cleared.

    Frequently asked questions

    How is the average cost of a coin calculated?

    Average cost = total amount paid for the coins you hold (price × quantity plus fees) ÷ number of coins held. A buy changes the average. A sell removes coins at the current average, so the average of the remaining coins stays the same under the average cost method.

    What is the difference between realized and unrealized P&L?

    Realized profit or loss comes from coins you have already sold: sale proceeds after fees minus the cost of the coins sold. Unrealized P&L is the paper gain or loss on coins you still hold: current value minus their cost basis. It changes with the price until you sell.

    Average cost or FIFO: which should I use?

    Average cost is simple and is what many exchanges and apps display. FIFO matches sells against your oldest coins first and is the default method in many tax systems, including for US investors who do not identify specific units. Total P&L across everything is the same; the method only changes how it is split between realized and unrealized.

    Where do the current prices come from?

    You type them in. The tracker deliberately does not connect to any exchange or price service, so it works offline and never reveals your holdings. Copy the latest price from your exchange or a market site when you want an up-to-date valuation.

    How are fees handled?

    Buy fees are added to the cost of the coins bought. Sell fees are subtracted from the sale proceeds. Enter fees in your chosen currency; for fees paid in coin, convert them at the trade price.

    Is my portfolio data private?

    Yes. Transactions and prices are saved only in your browser's local storage on this device. Nothing is sent to a server. Use Download backup to keep a copy, because clearing your browser data will remove it.

    Can I use this for taxes?

    It gives a useful estimate of realized gains, but it does not handle transfers between wallets, staking rewards, airdrops, swaps between coins or wash-sale and country-specific rules. Use it alongside your exchange statements or dedicated tax software, and treat the numbers as informational, not tax advice.

    Are all the tools on FreeToolCabin tested for quality and accuracy?

    Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

    Related tools

    Crypto Profit CalculatorCalculate crypto trade profit, ROI and break-even price after buy and sell fees.Crypto Tax CalculatorUS tax on a crypto sale: short- or long-term gain tax from your income and filing status.Cost Basis CalculatorEnter buy and sell lots to get cost basis and realized gains by FIFO, LIFO, HIFO, average or specific ID.Crypto ConverterConvert Bitcoin, Ethereum and top coins to USD, EUR and each other with live prices.EMI CalculatorMonthly EMI, total interest and month-by-month schedule, reducing or flat rate.SIP CalculatorMaturity value, invested amount and returns of a monthly SIP, with optional annual step-up.Compound Interest CalculatorSee how savings and investments grow over time.401(k) CalculatorProject your 401(k) balance with employer match and growth.Retirement CalculatorProject retirement savings and see your shortfall or surplus.Savings Goal CalculatorMonthly deposit needed to reach a savings goal by a deadline.Inflation CalculatorValue of a dollar between any two years using US CPI data.CAGR CalculatorCompound annual growth rate, or solve for a target end value.FIRE CalculatorFind your FIRE number, years to financial independence and Coast FIRE target.Simple Interest CalculatorCalculate simple interest and final amount, or solve for principal, rate or time.APY CalculatorTurn an interest rate into APY and project savings growth with monthly deposits.CD CalculatorFind a CD's maturity value, interest earned, APY vs APR and early-withdrawal penalty.ROI CalculatorWork out ROI and annualized ROI, and compare up to three investments side by side.Investment Return CalculatorProject investment growth with monthly contributions, nominal vs real after inflation.Dividend CalculatorProject dividend income with yield, dividend growth and DRIP reinvestment over time.Net Worth CalculatorList assets and debts by category to get your net worth, debt ratio, donut charts and history.Credit Card Interest CalculatorSee how long minimum payments take, the total interest and how much a fixed payment saves.EOQ CalculatorEconomic order quantity, orders per year, reorder point, safety stock and a total cost curve.Rental Yield CalculatorCalculate gross and net rental yield for a buy-to-let or rental property.Roth IRA CalculatorProject your Roth IRA balance at retirement with contribution limits, catch-up and growth.Present Value CalculatorFind what a future sum or a series of payments is worth today at a discount rate.Future Value CalculatorCalculate the future value of savings with compounding, regular payments and payment timing.NPV CalculatorCalculate net present value, PV table, profitability index and payback from cash flows.IRR CalculatorFind the internal rate of return of cash flows, with an NPV profile chart and optional MIRR.Rule of 72 CalculatorEstimate how long money takes to double with the rule of 72, 70 and 69.3 vs. the exact answer.Annuity CalculatorCalculate annuity payouts from a lump sum, or how an annuity grows with regular contributions.Savings CalculatorSee how savings grow with an initial deposit, monthly deposits and compound interest.Interest Rate CalculatorSolve a loan's interest rate (APR) from the amount, payment and term using Newton's method.Yield to Maturity CalculatorFind a bond's yield to maturity, current yield and yield to call from its price and coupon.Bond Price CalculatorPrice a bond from its coupon, yield and term, with premium or discount and a cash flow table.Stock Average CalculatorAverage cost of several stock buys, plus how many shares to buy to reach a target average.Position Size CalculatorHow many shares or units to trade so a stop-loss risks only a set share of your account.EPS CalculatorBasic and diluted earnings per share from net income, preferred dividends and share count.CAPM CalculatorExpected return from the risk-free rate, beta and market return using the CAPM formula.Portfolio Rebalancing CalculatorBuy and sell amounts to bring each holding back to its target allocation.PPF CalculatorPPF maturity amount and interest for 15 years or with 5-year extensions, year by year.Recurring Deposit CalculatorRD maturity value and interest with quarterly compounding and a monthly breakdown.Real Rate of Return CalculatorInflation-adjusted and after-tax real return using the Fisher equation.Risk Reward Ratio CalculatorRisk, reward, R:R ratio and break-even win rate from entry, stop loss and take profit.Sharpe Ratio CalculatorSharpe and Sortino ratios from a return and volatility, or from a list of returns.Employee Stock Option CalculatorVested options, exercise cost, intrinsic value and potential gain from your grant.Stock Split CalculatorNew share count, price and cost basis after a forward or reverse stock split.SWP CalculatorSystematic withdrawal plan: yearly balance, total withdrawn and when the corpus runs out.Traditional vs Roth IRA CalculatorCompare the after-tax value of a Traditional and a Roth IRA and see which wins and by how much.Treasury Bill CalculatorT-bill price, discount rate, investment rate (bond equivalent yield) and interest earned.XIRR CalculatorAnnualized return (XIRR) for investments and withdrawals on irregular dates.Dividend Yield CalculatorFind a stock's dividend yield, yield on cost and the income your shares pay each year.Financial Calculator (TVM)BA II Plus-style TVM solver: find N, I/Y, PV, PMT or FV, with BGN/END and amortization.Traditional IRA CalculatorProject a traditional IRA to retirement and compare its after-tax value with a taxable account.Roth Conversion CalculatorShould you convert a traditional IRA to Roth? Compare after-tax values and find the break-even.S&P 500 Return CalculatorHistorical S&P 500 return between any two years, with dividends, inflation and CAGR.AGI CalculatorCalculate adjusted gross income from income sources and adjustments, plus MAGI for Roth and ACA.Asset Allocation CalculatorSuggested stock, bond and cash mix by age, risk tolerance and time horizon, with dollar amounts.CD Ladder CalculatorBuild a CD ladder: maturity schedule, blended yield and interest earned by year.Convertible Note & SAFE CalculatorSAFE and convertible note conversion: cap, discount and interest to shares and ownership %.Cost of Raising a Child CalculatorYearly and total cost of raising a child to 18 by category, income level and inflation.Crypto Mining CalculatorMining profit per day and month from hashrate, power, electricity cost, pool fee and difficulty.Crypto Staking CalculatorEstimate staking rewards in coins and dollars from APR or APY, compounding, validator fee and price.Dividend Income Goal CalculatorHow much to invest to earn a monthly dividend income and how many years it takes.403(b) CalculatorProject your 403(b): match, raises, returns, 50+ and 15-year catch-ups, balance at retirement.I Bond CalculatorSeries I savings bond value with fixed and inflation rates by period and early penalty.Interest Coverage Ratio CalculatorTimes interest earned (EBIT ÷ interest), EBITDA coverage, interpretation and stress test.Loss Recovery CalculatorSee the percent gain needed to recover an investment loss and how many years it may take.Net Worth Percentile CalculatorRank your US household net worth overall and by age with Federal Reserve survey data.
    See all 127 Investing & Retirement Calculators →