ADVERTISEMENT

**Adblocker Detected**

We always struggled to serve you with the best online calculations, thus, there's a humble request to either disable the AD blocker or go with premium plans to use the AD-Free version for calculators.

Disable your Adblocker and refresh your web page 😊

ADVERTISEMENT

**Table of Content**

The cost basis calculator assists in calculating the stock cost basis, stock profit, profit percentage, and the total number of shares. Stock brokers can generate alternative stock sharing while using the average stock price calculator.

The cost basis is the original value of an asset for tax purposes. The cost basis does include purchase price, stock splits, dividends, and return of capital distributions.

Being a stock investor, the stock cost basis calculator assists in deciding the following parameters.

- Purchase PriceÂ
- Acquisition Costs
- Capital ImprovementsÂ
- Depreciation
- Fees and Expenses

The stock average cost basis calculator utilizes the formula below for calculating the stock basis.Â

Cost basis = (P1 Ã— Q1 + P2 Ã— Q2 + … + Pi Ã— Qi ) / N

where:

N = Q1 + Q2 + … + Qi (Total number of shares bought)

P1 =Â Number of 1st shares purchased

Q1Â = Shared price of 1st sharesÂ

P2 =Â Number of 2nd shares purchased

Q2 = Shared price of 2nd sharesÂ

Qi = Â Number of last shares purchased

Pi =Â Shared price of the last shareÂ

A cost average calculator determines the cost basis of an investment or asset, typically for tax or financial reporting purposes.

Let’s suppose XYZ Company purchased 100 shares and today each stock price is $ 10,000. The company purchased the first 50 shares at the cost of $50,00 each cost and the second purchase of stock of 50 shares at the cost of $ 10,000. Then what is the stock cost basis, stock profit, profit percentage, and total shares?

**Solution:**

**Step 1: Calculate the Stock Cost Basis**

Total Cost Basis = Cost of First 50 Shares + Cost of Second 50 Shares

Total Cost Basis = $250,000 + $500,000

Total Cost Basis = $750,000

So, the stock cost basis for XYZ Company is $750,000.

**Step 2: Calculate the Stock Profit**

Enter the amount of $10,000 for each shareâ€™s current stock price.

Stock Profit = (Current Value of Shares – Total Cost Basis)

Stock Profit = (100 shares * $10,000 per share) – $750,000

Stock Profit = $1,000,000 – $750,000

Stock Profit = $250,000

Now the stock profit for XYZ Company is $250,000.

**Step 3: Calculate the Profit Percentage**

For calculating the Profit Percentage:

Profit Percentage = (Stock Profit / Total Cost Basis) * 100

Profit Percentage = ($250,000 / $750,000) * 100

Profit Percentage = 33.33%

Now the profit percentage is 33.33%(approx).

**Step 4: Compile All the Results**

- Stock Cost Basis: $750,000
- Stock Profit: $250,000
- Profit Percentage: Approximately 33.33%
- Total Shares: 100

From Investopedia.com: Stock Cost BasisÂ