Stock Profit/Loss Calculator

Calculate a stock trade's profit or loss after entered transaction costs. Enter your own values below to see net profit / loss and check the method behind it.

All calculators

Your inputs

Change the example values to match your situation.

Your result

Let’s work it out.

Fill in your inputs and select Calculate.
Your result and breakdown will appear here.

How this calculator works

Net profit = (selling price − buying price) × units − entered total costs.

What is Stock Profit/Loss Calculator?

Stock Profit/Loss Calculator helps you calculate a stock trade's profit or loss after entered transaction costs.

The main result is net profit / loss, with a breakdown of initial cost and sale value. The formula, example and assumptions below explain how to interpret it.

How to use Stock Profit/Loss Calculator

Use the example to get familiar with the form, then enter your own figures. Any rates in the example are illustrative. Check the field labels and units before calculating.

  1. Gather quantity / units (units), purchase price per unit (₹), sale price per unit (₹) and all transaction costs (₹). Use values from the same situation or reporting period.
  2. Replace the example quantity / units with your own value, then complete the other fields. Check the displayed units.
  3. Select Calculate and read net profit / loss with its result breakdown. Change one input and calculate again to compare a second scenario. Reset restores the original example.
  • Enter quantity / units in units, at least 0.000001. Decimals are accepted.
  • Enter purchase price per unit in ₹, at least 0. Decimals are accepted.
  • Enter sale price per unit in ₹, at least 0. Decimals are accepted.
  • Enter all transaction costs in ₹, at least 0. Decimals are accepted.

Stock Profit/Loss Calculator: a worked example

With the inputs below, the result is ₹900 (net profit / loss). Follow the example, then replace these illustrative values with your own.

Example inputs and output
Input or outputExample value
Quantity / units (units)10 units
Purchase price per unit (₹)₹500
Sale price per unit (₹)₹600
All transaction costs (₹)₹100
Net profit / loss₹900
Initial cost₹5,000
Sale value₹6,000

Understanding the Stock Profit/Loss result

Read net profit / loss alongside initial cost and sale value. These describe different parts of the same calculation.

Displayed results use a readable number of decimal places. When checking a result by hand, keep extra precision until the last step. To compare scenarios, change one input at a time and keep the others fixed.

  • Example Initial cost: ₹5,000
  • Example Sale value: ₹6,000

Stock Profit/Loss Calculator: assumptions and common mistakes

A useful estimate starts with the right inputs. Check the following assumptions and limits before applying the result to your situation.

  • A projected return is an assumption. Check whether fees, tax and inflation are included before comparing products.

For wider guidance, visit SEBI Investor Education. The formula and scope of this specific tool are stated on this page.

Stock Profit/Loss Calculator FAQs

What does Stock Profit/Loss Calculator calculate?

Stock Profit/Loss Calculator helps you calculate a stock trade's profit or loss after entered transaction costs. Its main output is net profit / loss in ₹.

What inputs do I need for Stock Profit/Loss Calculator?

You need quantity / units (units), purchase price per unit (₹), sale price per unit (₹) and all transaction costs (₹). Use the field labels and units to match your figures to the formula.

Which formula does Stock Profit/Loss Calculator use?

Net profit = (selling price − buying price) × units − entered total costs.

What is a worked example for Stock Profit/Loss Calculator?

Example inputs: Quantity / units: 10 units; Purchase price per unit: ₹500; Sale price per unit: ₹600; All transaction costs: ₹100. The result is ₹900 (net profit / loss).

How should I enter quantity / units?

Enter quantity / units in units, at least 0.000001. Decimals are accepted.

How do I choose purchase price per unit?

Enter purchase price per unit in ₹, at least 0. Decimals are accepted. The example uses ₹500; replace it if your circumstances differ.

How should I read net profit / loss?

Read net profit / loss alongside initial cost and sale value. These describe different parts of the same calculation.

Why might my Stock Profit/Loss Calculator result differ from my records?

A projected return is an assumption. Check whether fees, tax and inflation are included before comparing products. Differences in entered values, units or rounding can also change the comparison.

Can I compare two scenarios in Stock Profit/Loss Calculator?

Yes. Note your first net profit / loss, change quantity / units or another input, and select Calculate again. Editing a field clears the old result so it is not mistaken for a new calculation.

Is Stock Profit/Loss Calculator free, and where are my inputs calculated?

This calculator is free to use without signing in. Its formula runs in your browser; calculator inputs are not sent to a calculation API. The inputs reset to the example values when you reset the form or start a fresh page.