Software Help

Koinly Cost Basis Wrong? How to Find and Fix It (2026)

Koinly showing wrong cost basis or $0 cost basis? Learn why it happens, how to find every error, and the exact steps to fix it before you file your crypto taxes.

Count On Sheep | How to fix wrong cost basis in Koinly

If Koinly is showing a wrong cost basis, you are not looking at a bug. You are looking at a gap in the data Koinly was given. And here is why that matters: a wrong cost basis almost always means you are about to overpay your crypto taxes, sometimes by thousands of dollars.

The good news is that nearly every cost basis error in Koinly is fixable, usually in a specific order, and usually without redoing your entire account. This guide shows you exactly how to find the errors, why they happen, and the precise steps to fix each one before you file.

Disclaimer: This guide is for informational purposes only. Always consult a qualified CPA regarding your specific situation.

What “Cost Basis” Means in Koinly (Quick Answer)

Cost basis is what you originally paid for a coin, including fees. When you sell or trade it, Koinly subtracts your cost basis from your proceeds to calculate your capital gain. If the cost basis is wrong or missing, the gain is wrong, and so is your tax bill.

When Koinly cannot trace a coin back to a purchase, it does not leave the field blank. It assumes a purchase price of $0. That turns the entire sale into taxable profit. So a single unresolved deposit can quietly inflate your gains by the full value of the coin.

How to Find Every Cost Basis Error in Koinly

Before you fix anything, you need to see everything that is broken. Koinly gives you three places to look.

1. The Tax Reports page warnings. Open your Tax Reports and look for the warning banner. Koinly counts how many transactions are missing cost basis and how many wallets show negative balances. This number is your to-do list.

2. The review queue. Koinly flags every transaction it is unsure about: missing purchase history, unmatched transfers, and negative balances. Each flag links straight to the transaction so you can fix it in place.

3. Sort by gain. On the transactions page, sort by largest gain. A sale showing a gain equal to the full sale value is the classic signature of a $0 cost basis. These jump out immediately.

Why Your Koinly Cost Basis Is Wrong: The 5 Real Causes

Almost every wrong cost basis traces back to one of these five root causes. This diagram shows how a single missing source ripples downstream into a wrong gain.

Diagram showing how a missing wallet causes an untraceable deposit, a $0 cost basis, and an inflated taxable gain in Koinly

1. A Missing Wallet or Exchange

This is the most common cause by far. If you moved coins in from an account Koinly does not know about, the deposit looks like it came from nowhere. Koinly has no purchase to point to, so the basis is $0.

2. A Broken or Incomplete API Sync

An API connection that timed out, lost authorization, or only pulled part of your history leaves gaps. The coins are there, but the purchases that explain them are not.

3. Unmatched Transfers Between Your Own Wallets

When you move BTC from Coinbase to a Ledger, that is not a sale, it is a transfer. If Koinly fails to match the withdrawal to the deposit, it can treat the deposit as a brand new acquisition with no cost, and sometimes treat the withdrawal as a taxable disposal.

4. Duplicate Wallets or Double Imports

Importing the same exchange by both API and CSV, or adding the same wallet twice, creates phantom transactions and balance mismatches that corrupt cost basis math.

5. Wrong Cost Basis Method or Settings

Your chosen method (FIFO, HIFO, and so on) and your home currency settings change how basis is calculated. A method mismatch will not create $0 basis, but it can make your numbers look wrong compared to what you expected.

The Fix: Do These Steps in Order

Order matters here. Fixing transfers before you connect all your wallets just creates more work. Follow this sequence.

Numbered four-step flow diagram for fixing Koinly cost basis: connect all sources, resolve transfers, clear remaining warnings, then verify the report

Step 1: Connect Every Wallet and Exchange You Have Ever Used

Go account by account through your entire crypto history, even accounts you closed. Every exchange, every hardware wallet, every hot wallet, every chain. Use API or public wallet address where possible, CSV where not. This single step resolves the majority of $0 cost basis cases because it gives Koinly the missing purchases.

Step 2: Resolve Transfers Between Your Own Wallets

Once everything is connected, open the transfers Koinly could not match. Manually link each withdrawal to its matching deposit so Koinly knows the coins moved rather than being sold. This stops phantom disposals and carries your original cost basis across the move.

Koinly transfer detail showing a Coinbase to MetaMask move with its cost analysis, so the original cost basis carries across the transfer

Step 3: Clear the Remaining Warnings

With sources connected and transfers matched, work the review queue. Merge any duplicate wallets. Re-sync any API that failed. The warning count should drop sharply. What remains is a small set of genuinely manual cases.

Step 4: Manually Patch the Last Few, Then Verify

For the handful of transactions that still lack basis (a coin from a defunct exchange, an old peer to peer trade), set the acquisition cost using your real records: the purchase confirmation, bank statement, or historical price on the date you acquired it. Then regenerate the report and confirm the warnings are gone and your gains look reasonable.

A trader came to us with a Koinly report showing a $42,000 gain on a single ETH sale. The cause: ETH he had bought on an exchange that shut down, then moved to MetaMask. Koinly never saw the purchase, so it used a $0 basis. After we imported the old exchange records and matched the transfer, the real basis was about $31,000 and the actual gain was roughly $11,000. That one fix cut his reported gain by 74 percent.

How to Make Sure It Stays Fixed

  • Reconnect APIs at the start of every tax season so nothing is stale
  • Add new wallets to Koinly the same week you start using them
  • Never import the same exchange twice by two methods
  • Re-check the warning count any time you add a source

When to Bring in a Crypto CPA

The steps above handle most clean portfolios. But if any of these describe you, doing it by hand can cost you more in time and risk than it saves:

  • Thousands of transactions across many exchanges and chains
  • Heavy DeFi, LP, or staking activity that Koinly classifies inconsistently
  • Years of unreconciled history stacked on top of each other
  • A 1099-DA that does not match your Koinly numbers
  • An IRS notice already in hand

A crypto tax CPA can reconcile the account faster, choose the right cost basis method for your situation, and stand behind the numbers if the IRS asks questions. That last part matters: a defensible report is worth more than a fast one.

Talk to a Specialist

Free 15-minute crypto tax review

Book Now

Key Takeaways

  • Wrong cost basis in Koinly is a data gap, not a bug. Koinly assumes $0 when it cannot trace a coin, which overstates your gain
  • The biggest single cause is a missing wallet or exchange, so connect every account first
  • Fix in order: sources, then transfers, then duplicates, then manual edits
  • Reconcile before you file. A corrected basis lowers your taxable gain to the real number
  • High volume, DeFi, or multi-year messes are where a crypto CPA pays for itself
Book a Call Free Guide