A crypto P&L calculator answers a deceptively simple question: how much did we make or lose? For a trader with one exchange account that is easy. For a fund, trading desk or active user with several wallets, centralised exchange accounts, DEX trades, bridges and DeFi positions, it is not, and off-the-shelf tools often get it wrong. We build P&L tooling that matches how you actually trade.
What Makes Crypto P&L Hard
- Many sources: on-chain wallets on several chains plus CEX accounts, each with its own data format.
- Own transfers: moving funds between your own wallets or to an exchange is not a trade, but naive tools count it as a sale.
- Cost basis: the result depends on the method, such as FIFO, LIFO or average cost.
- Prices at the moment of each event, including for small tokens with little price history.
- Fees: gas, trading fees and bridge fees all affect the result.
- DeFi: liquidity positions, lending interest, staking rewards and airdrops are not simple buys and sells.
How We Build It
- Import: exchange APIs and exports, and on-chain history through our own indexing.
- Normalise and classify every event: trade, transfer, fee, reward, deposit into or withdrawal from a protocol.
- Match transfers between your own accounts, so they do not create false gains.
- Price each event from reliable sources, with a fallback for illiquid tokens and manual overrides.
- Calculate realized and unrealized P&L per asset, wallet, strategy or period, with your chosen cost basis method.
- Report and export to dashboards, spreadsheets or your accounting system, with an audit trail back to each transaction.
Calculations run in a backend written in Rust or C#; dashboards in Next.js.
Frequently Asked Questions
Is this the same as tax software?
They share the data, but the goal differs: P&L tools support trading decisions and performance reporting; tax tools apply the rules of a specific country. See crypto tax software.
Can it handle DeFi positions?
Yes. Liquidity positions, lending and staking need protocol-specific logic, which we add for the protocols you use.
Can we choose the cost basis method?
Yes, and the same data can be reported under different methods for comparison.
Who owns the code?
Ownership of the source code is set out in the contract, and the code can be fully yours, including documentation and tests.
Part of our blockchain trading tools. See also portfolio trackers.
Get P&L You Can Trust
Tell us where you trade and how you want to see results. We will build P&L reporting that matches your reality.