Cost Basis Calculator
Enter your share count, purchase price, and fees to find your cost basis.
Result
How to use
- Enter your values in the fields above.
- Press Calculate to see your result instantly.
- Use the Share button to copy a link to your result.
About this calculator
The cost basis of an investment is the total amount actually paid to acquire it, including the purchase price plus any commission or brokerage fees — not just the raw share price. It's the baseline figure used to calculate capital gains or losses when the investment is eventually sold: profit is the sale proceeds minus the cost basis.
This calculator computes both the total cost basis and the cost basis per share from your share count, purchase price, and fees. It's a routine calculation for investors and tax preparers, since accurately tracking cost basis — especially across multiple purchases of the same stock at different prices and dates — is required for correct capital gains tax reporting and for deciding which shares (or “tax lots”) to sell for the best tax outcome.
Was this helpful?
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)