Cost basis calculator
Enter your buys and sells and see your gain under FIFO, LIFO and HIFO side by side.
Estimate cost basis, UK, US and South Africa tax, journal entries and runway. No account needed.
No tools match that. Try a simpler word, like tax or gas.
Capital gains, income and the rules that trip people up.
Enter your buys and sells and see your gain under FIFO, LIFO and HIFO side by side.
Apply HMRC's same-day, 30-day and Section 104 pool rules to your trades, with every match shown.
Split your sales into short-term and long-term and see them laid out like Form 8949.
Estimate tax on a crypto gain as capital or revenue in nature, using the SARS figures.
Estimate capital gains tax on a gain in the UK, the US or South Africa.
Work out the gain or loss on the coins you spent paying a network fee.
Value coins you received on the day you got them, and see the income and the cost of the new coins.
Check whether a UK buy-back is matched to your sale, and what that does to the gain.
See which holdings are below cost and your total unrealised loss, with the limits on using it.
See what published tax guidance says, and does not say, about bridging and wrapping.
For accountants and finance teams closing the books on crypto.
Pick a common crypto event and get the textbook debits and credits.
A generic starting list of 34 accounts for a business that holds crypto, to adapt with your accountant. It is not set up for any one accounting system.
Work through 16 close steps in order. Your ticks are saved in this browser.
Work out the period-end fair value change on a crypto holding and the entry to book it.
Work out an impairment or a reversal for a cryptocurrency holding under the IAS 38 cost model.
Translate a small USD trial balance into GBP, EUR or ZAR and see the cumulative translation reserve.
Answer the six criteria in ASC 350-60-15-1 for an indication of whether a crypto asset falls under ASU 2023-08.
Compare each wallet balance on the chain to your ledger and see which rows are off.
Convert a USD invoice into a token amount at the rate you choose.
Answer ten questions on your crypto records and controls and see where the gaps are.
Runway and risk for founders and finance leads.
See how many months of runway you keep if markets fall and spending rises.
Enter your holdings and recent monthly spend to get months of runway and a run-out month.
Run hundreds of random market paths to see a low, middle and high estimate of your runway.
Estimate how much a token sale could move the price, using the square-root rule.
Check how close major stablecoins are to $1 right now.
Enter your holdings and see what share sits in cash, majors, your own token and other locked tokens.
Lay out a token vesting schedule month by month, with a cliff and a straight-line unlock.
Paste a public wallet address. Your browser asks public blockchain services directly, and Deciphr never sees the address.
Paste a public address and see its native coin balance on every chain we can read.
Add up the gas an Ethereum address has paid on the transactions it sent, including failed ones.
Look up a token price at a past minute from one named source, and see exactly when that data point is from.
See one year of an Ethereum address in plain facts, with a card you can share.
The words you'll meet, in a line or two each.
The usual filing dates for individuals. Check the linked source each year, because dates can move.
Editable templates and workbooks for your finance team.
An editable policy with fill-ins and options for recognition, measurement, lot method, fees, valuation, reconciliation and approvals.
An editable checklist of what auditors commonly ask for, from wallet ownership to cut-off, journals and controls.
Enter the trades for one token and live formulas work out first in, first out gains. It has room for 200 trades.
A one-page monthly report covering balances by type, burn, runway, key movements, risks and decisions needed.
A generic starting list of general ledger accounts for crypto activity, to adapt with your accountant. Not set up for any one accounting system.
Compare balances per chain with balances per ledger for each wallet and token. It flags differences and counts them.
We'll email you a link to all six files. Confirm your address and they're yours.
These tools work on what you type in. Deciphr reads your wallets across supported chains and prepares the records, with DeFi and judgment items queued for your review.
Please read this before you use the tools. By using them you agree to it. Last updated 6 November 2026.
These tools, templates and pages are general information and calculation aids. Nothing here is financial, investment, tax, accounting, audit, legal or regulatory advice, or a recommendation to buy, sell or hold anything. Using them does not create a professional, advisory, fiduciary or client relationship with Deciphr. Speak to a qualified adviser about your own situation before you act.
Results are estimates based only on what you enter and on simplified assumptions. Most tools say what they cover, and anything outside that is not taken into account. They leave out many facts and rules that may apply to you, and they may be wrong, incomplete or out of date. Tax rates, thresholds, rules and accounting standards change and differ by country and by person. A result is not a tax return, a filing, a valuation, an audit opinion or evidence of anything. Check every result yourself against the original source.
You are responsible for what you enter, how you use a result, and every tax, accounting, reporting and business decision you make. You must not rely on these tools for any filing, financial statement or transaction.
Live tools show prices and balances from independent public services that Deciphr does not control or check. That data can be delayed, wrong or missing, and a service can stop at any time. When you use a live tool, your browser sends what you look up, such as a token or a public wallet address, straight to those services, and their own terms and privacy policies apply. Deciphr doesn't receive it. Blockchain addresses and activity are public.
The services are currently Binance, DefiLlama, Blockscout, mempool.space, Blockstream, PublicNode, dRPC, 1RPC, Solana Vibe Station and the public nodes run by the Arbitrum, Base, Optimism, BNB Chain, Avalanche, Linea, Scroll, Gnosis and Solana networks. This list may change.
The tools are free and provided "as is" and "as available", without any warranty of any kind, including accuracy, completeness, fitness for a purpose, availability or freedom from errors. We may change or remove any tool at any time without notice, and we have no duty to update anything.
To the maximum extent the law allows, Deciphr, SP Global (Pty) Ltd and their officers, staff and suppliers accept no liability for any loss or damage arising from your use of, or reliance on, these tools, templates or data. This includes tax, penalties, interest, trading or investment losses, lost profits and indirect or consequential loss. Nothing here excludes liability that cannot be excluded by law.
To the extent the law allows, you agree to cover Deciphr and SP Global (Pty) Ltd for claims and costs arising from your misuse of the tools or your breach of these terms.
Digital assets are volatile and can lose all their value. Blockchain transactions cannot be reversed. Mention of a token, network, protocol, service or company is not an endorsement.
If you ask for the downloads we use your address to send a confirmation link and, only if you tick the box, the newsletter. We delete your address from this signup list when you confirm, or after 7 days if you don't. The page with your files then works for 7 days. A Cloudflare bot check runs when you sign up. If you email us to report a problem, we use your message to look into it. See our privacy notice.
This site is operated by SP Global (Pty) Ltd. These terms are governed by the laws of the Republic of South Africa. The Deciphr disclaimer and terms of service cover the paid product and any account you hold with us.