Chart Icon Average Calculator

Average Price

0.00
Total Investment
0.00

How to use

  1. Enter the Price for the First Purchase:

    In the "1st Buy at" field, enter the price at which you made the first purchase.

  2. Enter the Quantity for the First Purchase:

    In the "Quantity" field next to the "1st Buy at" price, enter the quantity you purchased at the first price.

  3. Enter the Price for the Second Purchase:

    In the "2nd Buy at" field, enter the price at which you made the second purchase.

  4. Enter the Quantity for the Second Purchase:

    In the "Quantity" field next to the "2nd Buy at" price, enter the quantity you purchased at the second price.

  5. Reset the Form (Optional):

    If you want to clear all the entered values, click the reset button (with the reset icon). This will remove the data you’ve entered in both price and quantity fields.

  6. Calculate the Average Price:

    Once you’ve entered both the prices and quantities, click the "Calculate" button to determine the average price based on the data you provided.

This will help you calculate the average price for your purchases.

Formula Explanation:

The formula used to calculate the average price is based on the weighted average cost method. The formula is:

This formula calculates the total cost of the two purchases by multiplying each price by its respective quantity, then dividing the sum of those values by the total quantity. This gives you the average price of the combined purchases.

Example:

Suppose you bought the following:

  • 1st Purchase: Price = $100, Quantity = 5
  • 2nd Purchase: Price = $120, Quantity = 3

Using the formula:

Now, calculate:

  • Total cost = (100 * 5) + (120 * 3) = 500 + 360 = 860
  • Total quantity = 5 + 3 = 8

Therefore, the Average Price = 860 / 8 = $107.50.