AZCalculate logo

Financial

Stock Profit Calculator

Use this stock profit calculator to calculate calculate stock profit after buy price, sell price, shares, commissions, and taxes.

stock profitsharescommissioncapital gain

Calculator

Calculate instantly

Calculator Inputs

Choose what you want to calculate, enter realistic values, adjust units where shown, and use the scenario section for repeated-use planning.

Input and Formula Breakdown

This calculator applies the formula Profit = (sell - buy) x shares - fees - tax. Enter each value with the matching unit, and AZCalculate updates the result instantly.

Buy price per share
45 $
Sell price per share
58 $
Shares
100
Total fees
20 $
Tax rate
15 %
Gross profit
$1,300.00
Net profit after fee and tax
$1,088.00
Return
28.44%

Scenario and Comparison

Current

$1,300.00

Projected

15,600

Adjusted

1,430

Visual Comparison

Current result1,300
Projected usage15,600
Comparison scenario1,430

Sign in to save this calculation and access it later.

Trust note

Important estimate

This calculator is informational and should be verified before financial, health, legal, engineering, laboratory, or safety-critical decisions.

High risk contextDifficulty: advancedConfidence estimate: 87/100Reviewed 2026-05-18Reviewed by: Finance content reviewerCalculator vuces-2.1 / Formula vformula-1.04 sources listed

Formula and Explanation

Profit = (sell - buy) x shares - fees - tax

This calculator applies the formula Profit = (sell - buy) x shares - fees - tax. Enter each value with the matching unit, and AZCalculate updates the result instantly.

Variable descriptions

buy($)
Buy price per share: Buy price per share measured in $, entered as a known value.
sell($)
Sell price per share: Sell price per share measured in $, entered as a known value.
shares
Shares: Shares, entered as a known value.
fees($)
Total fees: Total fees measured in $, entered as a known value.
taxRate(%)
Tax rate: Tax rate measured in %, entered as a known value.

Formula Notes

  • Use consistent units for values that are multiplied, divided, or compared.
  • Results may be rounded for readability, while the calculator keeps greater precision internally.
  • Rates, fees, taxes, and lender conventions can change the real-world total.

Common uses

  • Estimate trade profit
  • Compare exits
  • Include fees and tax

Assumptions

What this calculation assumes

  • Currency, rate period, and payment period are assumed to match.
  • Fees, taxes, insurance, and penalties are included only when the calculator asks for them.
  • Inputs are assumed to describe the same scenario and use compatible units.
  • Results may be rounded for readability.

Avoid mistakes

Quick checks before you rely on the result

  • Using an annual rate where a monthly rate is required.
  • Ignoring fees, taxes, insurance, or lender-specific rules.
  • Mixing units, periods, currencies, or measurement systems without converting first.
  • Rounding intermediate values too early.

Step-by-Step Explanation

Follow the reasoning, not only the final number.

  1. 1

    Set up the calculation

    Enter the known values in the calculator fields.

    Starting with clearly defined values and units prevents the most common calculation errors.

  2. 2

    Work through step 2

    Keep the units consistent with the labels shown beside each input.

    This step transforms the known values into the form required by the formula.

  3. 3

    Work through step 3

    Apply the formula: Profit = (sell - buy) x shares - fees - tax.

    This step transforms the known values into the form required by the formula.

  4. 4

    Interpret the result

    Review the primary result and supporting values.

    Compare the result with your real-world goal, such as estimate trade profit.

Worked example

Practical stock profit calculator example

Known values

  • Buy price per share: 45 $
  • Sell price per share: 58 $
  • Shares: 100
  • Total fees: 20 $
  • Tax rate: 15 %

Calculation

  1. 1. Start with the known values shown for this stock profit calculator scenario.
  2. 2. Substitute those values into Profit = (sell - buy) x shares - fees - tax.
  3. 3. Evaluate the expression and keep the requested unit and rounding.

Result and meaning

Gross profit: $1,300; Net profit after fee and tax: $1,088; Return: 28.44%

Calculator guide

About this Stock Profit Calculator

Calculate stock profit after buy price, sell price, shares, commissions, and taxes. This page includes an interactive calculator, concise formula notes, worked examples, FAQs, related calculators, and practical guidance you can revisit whenever needed.

References

Sources used for this calculator

Found something that does not look right?

We work hard to keep every calculator accurate and useful. If you notice a calculation error, missing option, or unclear explanation, please let us know so we can review and correct it promptly.

Report an Issue

Calculator usage

Usage information loads after the calculator is ready.

FAQ

Stock Profit Calculator FAQs

How does the stock profit calculator work?+

It uses Profit = (sell - buy) x shares - fees - tax and calculates the result from the values you enter.

Can I copy or print the result?+

Yes. AZCalculate calculator pages include copy, share, and print actions.

What affects interest cost?+

Rate, term, payment timing, fees, compounding, and early payments can all change total interest.

Is this financial advice?+

No. It is an informational estimate. Verify important decisions with a qualified financial professional or lender.

How should I use this calculator result?+

Use it as an estimate and compare it with the formula, assumptions, and examples shown on the page.

Why can real-world results differ?+

Real-world inputs can include local rules, changing rates, measurement tolerances, and conditions outside the core formula.

What information do I need for the stock profit calculator?+

Enter the known values requested by the calculator. Use the unit selectors where available and make sure the values describe the same scenario.

How accurate is the stock profit calculator?+

The calculator follows the formula shown on this page. Accuracy depends on the values, units, assumptions, and rounding used in your scenario.

Related tools

Related Calculators

Continue with closely related tools selected from the same subject and matching calculation needs.

Estimate buyer closing costs from purchase price, lender fees, taxes, title fees, prepaid items, and down payment.

Estimate annual and monthly property tax from assessed value, tax rate, exemptions, and special assessments.

Estimate income tax, effective rate, and take-home income from taxable income, deductions, and tax rate.

Calculate commission payout, tier bonus, and net sales after commission.

Estimate freelance taxes from revenue, expenses, self-employment tax, and income tax rates.

Calculate selling price from cost, target margin, fees, and discounts.

Estimate net bonus after withholding, local tax, and retirement contributions.

Compare Hire Purchase and Personal Contract Purchase monthly payments, balloon payments, total payable, interest, and finance charges.

Popular
Explore all Financial calculators
Stock Profit Calculator - AZCalculate | AZCalculate