InterestMath

Stock Profit Calculator

Calculate profit/loss on stock trades. See total return, percentage return, and annualized returns.

Buy Details
Sell Details

Total Cost

$5,000

Total Revenue

$7,500

Net Profit

+$2,500

Percentage Return

+50.00%

Annualized Return

+50.00%

365 days holding period

Trade Summary
How It Works

This calculator computes your profit or loss from stock trades, including commissions and annualized returns. It supports multiple buy lots for calculating average cost basis.

Total Cost = (Buy Price x Shares) + Buy Commission

Total Revenue = (Sell Price x Shares) - Sell Commission

Net Profit = Total Revenue - Total Cost

% Return = Net Profit / Total Cost x 100

Annualized = (1 + Total Return)^(365/Days) - 1

  • Average Cost Basis = Total paid for all lots / Total shares
  • Percentage Return = Total profit as a percentage of cost
  • Annualized Return = Equivalent annual rate for comparison
  • Multiple Lots = Add different buy entries to combine positions

Use the "Add Buy Lot" button to enter multiple purchases at different prices. The calculator will compute your weighted average cost basis and total return across all lots.

Frequently Asked Questions

This calculator is for educational purposes only and does not constitute financial advice. Consult a qualified financial advisor for personalized guidance.