Cost Basis Calculator

Calculate the cost basis of an investment considering purchases, sales, and splits.

isCalculator Editorial Team Published by:
Reviewed by: Review Board
Last Updated:

Was this calculator helpful?

How to use this tool?

Step 1: Enter the Total Cost of Shares Purchased (e.g., $5,000) and the Number of Shares Purchased (e.g., 100). These are required.

Step 2: Optionally, enter Additional Purchases (extra money spent) and Total Shares Sold (shares you’ve sold). Defaults to 0 if left blank.

Step 3: If a stock split occurred, adjust the Stock Split Ratio (e.g., 2:1 for a 2-for-1 split). Defaults to 1:1 (no split).

Step 4: Click Calculate Cost Basis. The result shows the cost basis of your remaining shares after accounting for splits and sales.

Output: The main result is the total cost basis of shares you still own. Below it, you’ll see the average cost per share, shares remaining, and total cost.

Note: All monetary values are in dollars. Ensure inputs are positive numbers; negative values for purchases or sales will show errors.

Previous Results

Generate Charts
Result Inputs Date

Frequently Asked Questions

Cost basis is the original value of an asset for tax purposes, usually the purchase price plus any adjustments.

A stock split changes the number of shares but not the total cost basis. The cost per share is adjusted accordingly.

This calculator handles one initial purchase, additional purchases, and sales. For multiple transactions, you may need to adjust inputs.

Reviewed by Experts

Carlos Bicho

Carlos Bicho

Financial Advisor

Private Banker & Financial Advisor

LinkedIn
Danilson Melicio

Danilson Melicio

Financial Advisor

Financial Markets Investor

LinkedIn
Eurico José Kiala

Eurico José Kiala

Mathematician

Teacher

LinkedIn
Francisco Saramango

Francisco Saramango

Board Financial Advisor

Financial Management and Accounting, Financial management and accounting

LinkedIn
Juliana Mayorca

Juliana Mayorca

Financial Advisor

Board-Level Advisor

LinkedIn
Quick Convert
Length Converter
0
Weight/Mass Converter
0
Area Converter
0
Volume Converter
0
Speed Converter
0
Temperature Converter
0
Pressure Converter
0
Energy Converter
0
Power Converter
0
Force Converter
0
Time Converter
0
Angle Converter
0
Fuel Consumption Converter
0
Data Storage Converter
0
Base Numbers Converter
0
Dry Volume Converter
0
Currency Converter
0
Text Case Converter
0