Skip to content

How-to guide

How to Calculate Stock Profit: Formula, Steps & Examples

Learn how to calculate Stock Profit — the formula explained step by step, with worked examples and a free calculator to check your answer.

By Aarav Mehta, CFA, MBA Finance · Updated Jun 2026 · 2 min read

Calculating your net profit is straightforward once you know the Stock Profit formula and what each input means. This guide explains the method in plain language, walks through a manual calculation, and gives worked examples you can follow — then you can do it instantly with the Stock Profit Calculator.

What is Stock Profit?

The Stock Profit calculation tells you your net profit from a few simple inputs. The figure you are solving for here is the net profit, expressed in INR.

The Stock Profit formula

The core formula is:

Net profit = (Sell price per share - Buy price per share) × Number of shares - Total fees & charges

Here is what each input means:

  • Buy price per share — a money amount. Example: ₹100.
  • Sell price per share — a money amount. Example: ₹150.
  • Number of shares — a number. Example: 50.
  • Total fees & charges — a money amount. Example: ₹100.

How to calculate it step by step

  • Write down the buy price per share (for example, ₹100).
  • Write down the sell price per share (for example, ₹150).
  • Write down the number of shares (for example, 50).
  • Write down the total fees & charges (for example, ₹100).
  • Apply the formula above to get your net profit.
  • Double-check the result with the Stock Profit Calculator.

Worked examples

Example 1

Input / OutputValue
Buy price per share₹100
Sell price per share₹150
Number of shares50
Total fees & charges₹100
Net profit₹2,400.00
Return on investment48.00%

With buy price per share of ₹100, sell price per share of ₹150, number of shares of 50 and total fees & charges of ₹100, the net profit works out to ₹2,400.00.

Example 2

With buy price per share of ₹200, sell price per share of ₹150, number of shares of 50 and total fees & charges of ₹100, the net profit works out to -₹2,600.00.

ResultValue
Net profit-₹2,600.00
Return on investment-26.00%

Example 3

With buy price per share of ₹50, sell price per share of ₹150, number of shares of 50 and total fees & charges of ₹100, the net profit works out to ₹4,900.00.

ResultValue
Net profit₹4,900.00
Return on investment196.00%

Tips for an accurate result

  • Keep your units consistent — mixing, say, months with years or grams with kilograms is the most common source of error.
  • Round only at the very end. Rounding inputs early can shift the final answer noticeably.
  • Re-run the numbers whenever an input changes, rather than estimating from an old result.
  • Annual rates must be converted to the period you are calculating for (for example, divide an annual rate by 12 for a monthly figure).

Prefer not to do the maths by hand? — the Stock Profit Calculator does it instantly, for free, with the formula and a worked example built in.

Continue exploring finance calculators with these tools: SIP Calculator, EMI Calculator, CAGR Calculator, FD Calculator, Effective Annual Rate (EAR) Calculator.

Calculators in this guide

Frequently asked questions

The formula is: Net profit = (Sell price per share - Buy price per share) × Number of shares - Total fees & charges. With buy price per share of ₹100, sell price per share of ₹150, number of shares of 50 and total fees & charges of ₹100, the net profit works out to ₹2,400.00.

Gather each input, apply the formula step by step keeping your units consistent, and round only at the end. You can verify your answer instantly with the Stock Profit Calculator.

It uses the standard formula with exact arithmetic, so the result is correct for the inputs you enter. Bear in mind that real-world outcomes can still differ when underlying assumptions change.

The net profit is expressed in INR. Make sure your inputs use matching units so the result is correct.

Aarav Mehta · CFA, MBA Finance

Aarav reviews every finance formula on CalcHub for accuracy.