FREE ONLINE CALCULATOR

Stock Cost Basis Calculator

Estimate share cost basis and the remaining basis after a partial sale of one acquisition lot.

✓ Instant results ✓ Editable inputs ✓ Formula explained
Try the calculator ↓
FINANCE · TOOLS
TRANSPARENT FORMULAS NO ACCOUNT REQUIRED INVESTMENT MATH
CALCULATION TOOL

Stock Cost Basis Calculator

Change any value and calculate again.

Try Stock Cost Basis Calculator
Uses the values you enter. No account required.
NASDAQ SYMBOL DIRECTORY

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.

HOW IT WORKS

The calculation

Total purchase cost basis = shares × purchase price + acquisition fees; average cost per share = total purchase basis ÷ shares.

Read the full guide →
ASSUMPTIONS

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.

ABOUT THIS TOOL

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.

Try Stock Cost Basis Calculator