16 mins read

How to Map Exchange CSV Columns to a Crypto Calculator

Last updated: November 10, 2026

Key Takeaways

  • The most important columns identify the event, timing, asset, amount, and fee.
  • Translate exchange labels into calculator fields, then confirm each row still fits.
  • Deposits, withdrawals, and trades should map to different event types.
  • Check header names, date format, asset symbols, fee currency, and row counts before a full import.

How to map exchange CSV columns to a crypto calculator starts with one practical goal: make the export fit the calculator’s transaction schema without changing what each row means. This guide on How to map exchange CSV columns to a crypto calculator gives you the core answer in one place, with the columns, checks, and edge cases that matter most. If you do it well, the import stays consistent across rows and across exchanges. If you do it poorly, you can misstate trades, transfers, or fees.
This is information, not financial advice; tax rules and calculator rules vary by country, and a qualified adviser should be consulted for your own situation.

What this mapping covers, and what it assumes

This covers exchange CSV files and crypto calculators that accept imported transactions or field-mapping screens. It assumes the file has headers like timestamp, asset, amount, fee, side, type, and txid, even if the exchange uses different words. It also assumes you want one clean schema across multiple exchange exports, not a general CSV repair job.

The basic job is simple: one source column becomes one calculator field, and every row keeps its original meaning. If the exchange calls a withdrawal “sent” and another calls it “outgoing transfer,” the calculator still needs one consistent destination field. That is the whole game.

What this page does not do:

  • It does not explain how to export from each exchange.
  • It does not walk through import errors inside one specific calculator.
  • It does not replace country-specific tax rules, which can change by date and jurisdiction.

For a broader setup path, the hub on Crypto calculator setup and data quality is the right next stop.
Some exports will be easy.
Others will not.

Which CSV columns matter most for crypto tax software?

The columns that matter most are the ones that identify what happened, when it happened, what asset moved, how much moved, and what cost was charged. In practice, that means you map timestamp, transaction type, trade side, base asset, quote asset, quantity, price, fee, fee asset, deposit address, withdrawal address, and transaction ID if the calculator supports it.

If the CSV has 30 columns, only a handful usually drive the calculation. The rest may help with audit trail or reconciliation, but they are not the core schema.

A useful way to think about the fields is by job:

  • Identity fields: transaction ID, order ID, hash, reference number
  • Timing fields: date, time, timezone, posted time
  • Asset fields: symbol, pair, base currency, quote currency
  • Value fields: quantity, price, gross amount, fee
  • Direction fields: side, type, movement, status

Here’s the catch: a column can look right and still be wrong for tax software. “Amount” might mean asset quantity on one exchange and fiat value on another. “Total” might include the fee on one file and exclude it on another. That is why column headers alone are not enough.

A good mapping uses the row context too:

  • A buy row should usually map quantity to the asset acquired and price to the fiat or quote currency spent.
  • A sell row should show the asset disposed of and the proceeds received.
  • A deposit row should show an incoming transfer, not a trade.
  • A withdrawal row should show an outgoing transfer, not a sale.

Some exchanges keep naming consistent within one region and inconsistent across another, so check the exchange’s CSV documentation and the calculator’s field glossary before importing a large file. The OECD Crypto-Asset Reporting Framework and your local tax authority’s guidance can also affect what detail matters in your jurisdiction.

How do I match exchange exports to calculator fields?

You match them by translating each exchange label into a calculator field, then checking whether the row still makes sense as a trade, transfer, or fee event. Start with the transaction type, then map the asset columns, then the quantities and timestamps, and only then handle edge columns like notes or tags.

Use this order because it keeps you from forcing every row into the wrong bucket. A clean mapping on paper can still create bad tax lots if the side field is flipped.

  1. Identify the row type first. Match each row to trade, deposit, withdrawal, reward, fee-only, or internal transfer. Verify the file has a column like type, side, category, or movement. If there is no row-type clue, the problem is bigger than mapping.
  2. Map the timestamp. Use the exchange’s date/time column and keep the original timezone if shown, such as UTC. Verify the calculator accepts the same format or can convert it. A problem shows up when rows land on the wrong day.
  3. Map the asset symbol. Match BTC, ETH, USDT, and similar tickers exactly as the calculator expects them. Verify whether the file uses uppercase symbols, full names, or pair notation like BTC/USD. A mismatch here splits one asset into two records.
  4. Map quantity and price separately. Quantity is the number of units moved; price is the unit value. Verify that a trade row does not use total fiat value where quantity belongs. If quantity and total are swapped, every cost basis calculation downstream is distorted.
  5. Map fee and fee asset. Put the fee in the fee column and the currency paid for it in the fee asset column if the calculator has one. Verify whether the exchange charges fees in the base asset, quote asset, or a third token. Missing fee currency is a common source of bad totals.
  6. Map side fields carefully. Buy, sell, in, out, credit, and debit are not interchangeable. Verify that the field direction matches the calculator’s convention. If the direction is reversed, the calculator may treat a buy as income or a withdrawal as disposal, so check the calculator’s documentation or a tax professional if the file looks ambiguous.
  7. Map addresses and transaction IDs last. Use deposit address, withdrawal address, txid, hash, or memo fields for audit support. Verify that they belong to transfer rows, not trade rows. A missing txid is not ideal; a wrong txid usually means the row was copied from the wrong event.
  8. Test one small batch. Import 3 to 10 rows from one exchange export before you map the full file. Verify that the calculator produces the expected row types and balances. If totals jump, pause and inspect the column assignment before importing the rest.

A test batch can reveal structural problems fast. If your first ten rows create a phantom sale, the mapping is wrong somewhere in the direction, quantity, or fee logic.

How should I map deposits, withdrawals, and trades?

You should map deposits as incoming transfers, withdrawals as outgoing transfers, and trades as disposals plus acquisitions, because those three event types are not the same thing. That distinction is the heart of the schema.

Deposits and withdrawals often carry different columns than trades, so don’t force them into a trade template. A deposit row may have a receiving address, network, and txid but no price. A withdrawal row may have a fee, destination address, and status but no quote asset.

Use these field patterns:

  • Deposit row: timestamp, asset, amount, address, txid, network, status
  • Withdrawal row: timestamp, asset, amount, fee, address, txid, network, status
  • Buy trade: timestamp, side=buy, base asset, quote asset, quantity, price, fee
  • Sell trade: timestamp, side=sell, base asset, quote asset, quantity, price, fee

If an exchange puts deposit and withdrawal events inside the same “transactions” export, separate them before import if the calculator expects different event types. If it cannot separate them, the calculator may misread transfers as gains or losses.

The same is true for internal transfers between your own wallets or accounts. Those are usually not trades, but some exports label them as withdrawals from one account and deposits into another. The mapping has to preserve the chain, or you will double count them.

When a calculator has both “cash transaction” and “crypto transaction” fields, use the one that matches the asset actually moved. Fiat funding and crypto funding look similar in a CSV. They are not the same row in the tax engine.

What to check before you import the full file

You should check 5 things before a full import: header names, date format, asset symbols, fee currency, and row counts. Those five checks catch most mapping errors without turning the whole job into manual cleanup.

The first thing to check is whether the header row is really a header row. Some exports include notes, blank lines, or multi-line titles above the data. A calculator may treat those as fields and misalign everything.

Then compare these items:

  • Dates: does the file use YYYY-MM-DD, DD/MM/YYYY, or month names?
  • Time zone: is it local time or UTC?
  • Symbols: does the export say BTC, XBT, Bitcoin, or BTC-USD?
  • Fees: is the fee taken in the traded asset, quote currency, or platform token?
  • Totals: does “amount” mean unit quantity or total value?

A 24-hour date format is not the same as a 12-hour format with AM/PM. And a slash in a date can mean different things depending on region. That matters when the calculator sorts rows by timestamp.

A quick row-count check helps too. If the exchange export shows 1,240 rows and the calculator imports 1,180, something was skipped or merged. That usually means the import is incomplete, so check the mapping and file filters before proceeding.

For verification, keep one spreadsheet copy with the original column names and a second with your proposed mapping notes. A plain text note beside each column is enough. You do not need a fancy template.

When should you stop and fix the file instead?

You should stop when the CSV cannot be mapped without changing its meaning, because forcing it through the calculator creates false records. A 2-minute fix is fine; a meaning change is not.

Stop and repair the file or get help from the exchange’s export support when any of these show up:

Mixed date formats in one file: Some rows use one region format and others use another — sort and standardize the dates before import, or the calculator may misorder events.

Missing trade side on half the rows: You cannot tell buys from sells reliably — split the export by order type or use a different report.

Fee values recorded in the wrong currency column: The calculator may overstate or understate proceeds — remap fee asset and recheck the totals.

Pair notation only, no base or quote columns: BTC-USD can be enough for a human, but the calculator may need the pair split into base asset and quote asset.

Deposits and trades are mixed under one label: That can turn transfers into taxable events — separate them by transaction type before import.

Negative quantities appear without explanation: The export may be reversing signs for withdrawals or sells — confirm the exchange’s sign convention before mapping.

If the file is from a small platform with sparse exports, the right fix may be manual categorization or a better export format, not a forced import. That is especially true when the calculator has no way to distinguish transfer activity from trade activity.

This is also where a qualified tax professional can help if your situation has cross-border reporting, multiple wallets, or business-use activity. The mapping itself is mechanical; the tax treatment may not be, so consult a qualified adviser when the file is ambiguous.

What do I do if my CSV columns are mislabeled?

You rename or remap the columns only after you confirm the row meaning, because a mislabeled header is less dangerous than a wrong event type. A column called “amount” might really be “price,” and a column called “value” might really be “quantity.” The label is not the truth.

Start with row patterns:

  • If the asset and fiat both move, it is probably a trade.
  • If only crypto moves in, it is probably a deposit.
  • If only crypto moves out, it is probably a withdrawal.
  • If only a fee appears, it may be a fee-only row.
  • If the row includes a memo or tag, it may be a network transfer or exchange wallet move.

Then compare with the calculator’s required schema. Many calculators want a single date field, one asset field, one quantity field, one fee field, and a transaction type field. If your export has “gross,” “net,” and “total,” map them one by one rather than collapsing them.

A small example helps. If the exchange uses:

  • Currency for the asset ticker
  • Qty for units moved
  • Rate for unit price
  • Value for total proceeds
  • Charge for fee

then you should not assume Qty = Value or Rate = Quantity. The safer mapping is Currency → asset, Qty → quantity, Rate → price, Value → total, Charge → fee.

If the labels are badly mislabeled across multiple exchanges, build a simple mapping note for each platform. The point is not to create one universal file name. It is to preserve one consistent transaction meaning across different export layouts.

The mistakes that break a mapping

The most common mistakes are easy to make and costly to clean up later. They usually come from assuming one exchange’s CSV layout works on another exchange’s file.

  1. Treating all “amount” columns the same.
    Consequence: quantity and value get swapped.
    Better alternative: check whether the column is unit count or total value before import.

  2. Ignoring the fee asset.
    Consequence: the calculator may miss a fee paid in BTC, ETH, or a platform token.
    Better alternative: map both fee amount and fee currency when the file provides them.

  3. Using the wrong time zone.
    Consequence: rows can fall on the wrong date.

Drafted with AI; not yet reviewed by a person.

Leave a Reply

Your email address will not be published. Required fields are marked *