How it's worked out: cost = buy price × quantity × (1 + fee rate); proceeds = sell price × quantity × (1 − fee rate); net profit/loss = proceeds − cost; return = net profit/loss ÷ cost. It excludes gas, slippage, the spread and taxes; you enter the prices and fee rate. This is for reviewing a trade only — it doesn't predict future prices and is not investment advice.
Count every cost
On-chain there's also gas (estimate it) and slippage (estimate it); for the full cost breakdown, see fees and slippage.
Sign up through our invite code for a fee discount that adds up to some savings over time.