Stock Cost Basis Calculator
Estimate share cost basis and the remaining basis after a partial sale of one acquisition lot.
Stock Cost Basis Calculator
Change any value and calculate again.
Stock Profit Calculator by Ticker
Choose a listed stock and enter your own buy and sell prices.
Company names and symbols are taken from a Nasdaq listing snapshot. Stock prices, dividends, and live financial data are not supplied by this calculator.
The calculation
Total purchase cost basis = shares × purchase price + acquisition fees; average cost per share = total purchase basis ÷ shares.
Read the full guide →Know the limitations
Single tax-lot estimate using average unit cost. Tax basis and realized gains may require specific-lot or jurisdiction rules; does not handle wash sales.
Results are estimates derived from your inputs.
When to use a stock cost basis calculator
Estimate share cost basis and the remaining basis after a partial sale of one acquisition lot.
All assumptions are visible and adjustable. Check rates and underlying data against original sources before making a decision.