The foreign exchange market (forex) is a global marketplace where currencies are traded. Currencies are always traded in pairs, such as the US dollar (USD) against the Japanese yen (JPY) or the British pound (GBP) against the euro (EUR). The exchange rate between two currencies is the price of one currency in terms of the other.

Image: www.forex.academy
Traders make money in forex by buying and selling currencies at different prices. When a trader buys a currency, they are hoping that it will increase in value against the other currency in the pair. If it does, they can sell it at a profit. Conversely, when a trader sells a currency, they are hoping that it will decrease in value against the other currency in the pair. If it does, they can buy it back at a lower price and make a profit.
The amount of profit that a trader makes on a forex trade is determined by the pip value. A pip is the smallest increment of change in an exchange rate. For most currency pairs, a pip is equal to 0.0001. However, for some currency pairs, such as the Japanese yen, a pip is equal to 0.01.
To calculate the pip value of a currency pair, you need to know the current exchange rate and the number of units of the base currency that you are trading. The base currency is the first currency listed in the currency pair. For example, if the current exchange rate for the USD/JPY currency pair is 110.00 and you are trading 100,000 units of the USD, then the pip value would be:
Pip value = (1 / 110.00) * 100,000 = 9.09
This means that if the USD/JPY exchange rate increases by 1 pip, your profit would be 9.09 USD.
Of course, you can also lose money on a forex trade if the exchange rate moves against you. Therefore, it is important to have a sound trading plan and to manage your risk carefully.

Image: forex-pak.com
How To Calculate Forex Pip Profit