Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Sorry, not a math guy, this might be an overly simple question for the lot of you, but it's a calculation that I'll have to do a lot possibly, so please show me the best way to do it. If I have $1265$ shares of XYZ Company that were bought at an average price of $\$3.95$, and $3949$ shares of the same XYZ Company that were bought at $\$5.03$, how can I find the average combined price for the $5214$ ($1265 + 3949$) shares? Thanks.

share|cite|improve this question
What kind of programmer are you? This is arithmetics! – JMCF125 Nov 22 '13 at 23:09
up vote 1 down vote accepted

The cost of your $1265$ shares was $(1265)(3.95)$.

The cost of your $3949$ shares was $(3949)(5.03)$.

Total cost: $(1265)(3.95)+(3949)(5.03)$.

Total shares: $1265+3949$.

Average cost per share: $\dfrac{(1265)(3.95)+(3949)(5.03)}{1265+3949}$.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.