Successful investing requires knowing your numbers. This calculator helps you determine the exact profit or loss from a trade by accounting for your buy price, sell price, number of shares, brokerage commissions, and estimated capital gains taxes.
Stock Profit Calculator
Calculate your potential profit or loss from a stock trade, including commissions and capital gains taxes.
Trade Entry
Trade Exit
Trade Outcome
Net Profit (After Tax)
$255.00
Cost Basis
$1,500.00
Includes purchase price + commission
Sale Total
$1,800.00
Includes sale price - commission
Calculation Formula
ROI Formula
ROI = (Net Profit / Cost Basis) × 100
* Note: This calculation is for informational purposes only. It doesn't account for taxes, dividends, or complex trading fees.
Investor's Tip
Always account for trade commissions and slippage. Even small fees can significantly impact your net ROI, especially on high-frequency or small-cap trades.
About Analyze Your Investment Returns
Purchase Details
Enter your buy price per share and the number of shares purchased.
Sale Details
Enter your planned or actual sell price per share.
Account for Fees
Input any commissions paid to your broker for both the buy and sell orders.
Key Features
Cost Basis Tracking
Automatically include purchase commissions in your total cost basis for accurate profit reporting.
Tax Impact Analysis
Estimate your capital gains tax liability to see your true net take-home profit.
ROI Calculation
Instantly see your Return on Investment (ROI) percentage for any given trade.
Frequently Asked Questions
Cost basis is the original value of an asset for tax purposes, usually the purchase price plus any commissions paid.
It is a tax on the profit made from selling an asset. Rates vary based on how long you held the asset (short-term vs. long-term).
Related Tools
View allPercentage Calculator
Calculate percentages, increases, and decreases.
Age Calculator
Find your exact age in years, months, and days. Includes birthday countdown and age breakdown.
BMI Calculator
Calculate your BMI using metric or imperial units. Includes health category results and range info.
GPA Calculator
Add courses, credits, and grades to calculate your weighted GPA. Supports 4.0 and 5.0 scales.
Scientific Calculator
Advanced math functions in your browser.
Loan Calculator
Calculate monthly EMI, total interest, and repayment schedules for loans and mortgages.
Last updated on