## How this XM Profit Calculator Works?

This calculator helps you understand the profitability of your trades or investments using XM. Simply input the relevant values and calculate your profit and profit percentage.

#### Steps to use the calculator:

**Enter the Units Bought and Cost per Unit:**Input the number of units bought and the cost per unit.**Enter the Units Sold and Selling Price per Unit:**Input the number of units sold and the selling price per unit.**Include Additional Costs:**Add any additional costs such as commissions or fees.**Calculate:**Click the "Calculate Profit" button to determine your profit and profit percentage.

#### Calculation Formula:

**Profit = (Units Sold × Selling Price per Unit) − (Units Bought × Cost per Unit + Additional Costs)**

**Profit Percentage = (Profit / (Units Bought × Cost per Unit + Additional Costs)) × 100**

Once calculated, the profit and profit percentage will be displayed, providing a clear understanding of your investment's profitability.