Stock Profit Calculator









Formula

The formula to calculate the profit from buying and selling a stock is:

\[ \text{Profit} = [(S \times N) - C] - [(P \times N) + C] \]

Where:

Stock Profit Definition

Stock profit is defined as the total profit earned from the purchase and sale of a stock over some time period.

Example Calculation

Let's assume the following values:

Step 1: Calculate the profit:

\[ \text{Profit} = [(150 \times 100) - (0.02 \times 150 \times 100)] - [(100 \times 100) + (0.02 \times 100 \times 100)] \]

\[ \text{Profit} = [15000 - 300] - [10000 + 200] = 14700 - 10200 = 4500 \]