Forex profit and loss is calculated based on the difference between the purchase and sale price of a currency pair. If the sale price is higher than the purchase price, the trader makes a profit. Conversely, if the sale price is lower than the purchase price, the trader incurs a loss. The profit or loss amount is calculated in the base currency of the account and is influenced by factors such as lot size, leverage, and pip value.