Free money and finance calculator

Cost Basis Calculator

Estimate total purchase cost and per-share basis from shares, price, and fees.

Open the interactive cost basis calculator

Free tools and planners

Formula

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

Worked example

10 shares at $20 each with $5 in fees have a $205 total basis, or $20.50 per share.

Assumptions and limitations

A purchase-cost estimate only. Tax basis rules for reinvestments, corporate actions, and account-specific reporting can differ.

Keep moving with a practical next step

Browse free calculators, planners, and templates, or explore the blog and business directory. No subscription is required.