Money Tools

Cost Basis Calculator

Estimate average cost basis per share from total purchase cost and total shares owned.

  • Updated April 17, 2026
  • Free online tool
  • Planning and research use

Investment positions are easier to review when total purchase cost is translated into one average cost basis per share instead of being carried only as a lump-sum number. This calculator helps visitors estimate average cost basis per share from total purchase cost and total shares owned.

Run the estimate

Enter your numbers and read the result first, then use the sections below to understand what affects the outcome.

Cost basis calculator

Estimate average cost basis per share from total purchase cost and total shares owned.

$

$70.0000

Estimated average cost basis per share from total purchase cost divided by total shares owned.

Average cost basis per share$70.0000
Total cost used$8,400.00
Total shares used120.0000
Implied total check$8,400.00
  • $8,400.00 spread across 120.0000 shares comes to an average cost basis near $70.0000 per share.
  • This is useful as a quick average-cost reference, especially when you want one per-share planning number from the position as a whole.
  • Use the result as a simplified estimate only, because tax reporting can still depend on exact tax lots, dividend reinvestment, and brokerage recordkeeping.

This is a simplified average-cost estimate only. Actual tax reporting can still depend on lot selection, reinvestments, fees, and brokerage records.

Last updated April 17, 2026. Use this tool to compare scenarios and plan ahead, then confirm important details with the lender, employer, insurer, contractor, or other qualified provider involved in the final decision.

What the calculator is doing

Enter the total purchase cost for the position and the total number of shares owned.

The calculator divides total cost by total shares to estimate the average cost basis per share.

It shows the per-share basis along with the total cost and total shares used in the estimate.

This is a simplified average-cost estimate only. It can help with quick planning and comparison, but actual tax reporting may still depend on tax lots, fees, reinvestments, and brokerage records.

Browse more money tools

Ways people use this tool

Example scenarios help turn a quick estimate into a more useful comparison or planning step.

Translate a position cost into a per-share number

Average cost basis can make it easier to compare the position against current market price or planned sale levels.

Compare how added shares change the average basis

Changing total shares and total cost can show how a larger position changes the average per-share carrying cost.

Use it as a planning estimate before a sale

A quick average basis can help frame a rough gain or loss discussion before lot-specific tax records are reviewed.

Good times to run this calculator

Use this when you want a quick average per-share basis for a position instead of only a total dollars-invested figure.

It is especially useful for rough gain, loss, or allocation planning before a more detailed lot review.

The estimate assumes the total cost and total shares entered both belong to the same position and reflect the same scope of holdings.

It does not determine the official tax treatment of a sale and does not replace brokerage or accountant records.

Avoid the usual input mistakes

Leaving out reinvested dividends or transaction costs can make the estimated basis look lower than the real carrying cost.

Using a blended average basis as a substitute for lot-specific reporting can create confusion in real tax decisions.

Use the estimate as a fast planning number first, then compare it with brokerage records if the decision is tax-sensitive.

Pair the result with valuation and tax tools if the real question is whether selling now changes the broader portfolio or tax picture.

Walk through a realistic scenario

A worked example shows how the estimate behaves when the inputs resemble a real planning decision.

Estimate average cost basis per share

An investor has $8,400 of total purchase cost spread across 120 shares and wants one average per-share basis number.

1. Enter the total purchase cost and total shares owned.

2. Divide total cost by total shares.

3. Read the result as the average cost basis per share for a simple planning view.

Takeaway: The result gives a cleaner per-share reference point than using total dollars invested alone.

Common questions

How is cost basis estimated here?

The calculator divides total purchase cost by total shares owned to estimate an average cost basis per share.

Why is this only a simplified estimate?

Because actual tax reporting can depend on which tax lots are sold, reinvested dividends, fees, and brokerage recordkeeping details.

Is average cost basis always the tax basis that matters?

Not always. Some investments and tax situations depend on lot-specific accounting rather than a single blended average.

Keep comparing

Dividend reinvestment, valuation, allocation, and capital-gains tools help show how the estimated basis fits the bigger investing workflow.

Budget and compounding tools can add context if the position is part of a broader saving or portfolio-growth plan.

Money ToolsUpdated April 11, 2026

Price to Earnings Calculator

Estimate a basic price-to-earnings ratio from share price and earnings per share.

Money ToolsUpdated April 11, 2026

Portfolio Allocation Calculator

Estimate how much money belongs in stocks, bonds, and cash based on a target allocation mix.

Money ToolsUpdated April 12, 2026

Capital Gains Tax Calculator

Estimate gain, taxable gain after fees, capital gains tax, and after-tax sale proceeds from a simple planning scenario.

Money ToolsUpdated April 11, 2026

Budget Calculator

Compare monthly income against housing, food, debt, savings, and other expenses to see what is left or where the budget falls short.