Units and currency
The result is in the currency the price is quoted in. Shares priced in USD give P/L in USD. For forex, quantity is in units and P/L comes out in the quote currency, so a EUR/USD trade shows USD.
Futures P/L is ticks times tick value, which the futures tick value calculator covers.
Fees and percentages
The fees field takes total costs for both sides of the trade, including commission and any financing. The tool subtracts them from gross P/L.
The percentage is measured against position value at entry, without leverage. On a leveraged account, the change relative to margin or equity is larger.
A loss shows with a minus sign. When fees exceed the gross profit, the net result is negative even on a trade where price moved in its favor.