Input

Use one quote currency for all prices and monetary amounts. Display precision: amounts 2, percentages 4, prices/quantities 8 decimals; position quantities round down. ≈ marks shortened values. Tiny/large values use scientific notation; result text and exports retain up to 36 decimals.

Result

Run the tool to see the result.

How to use

Enter buy and sell prices in the same quote currency. Trading fees are paid in that currency. The fixed withdrawal fee is deducted from the purchased asset before the sale. The estimate assumes both orders fill at the entered prices.