Bitcoin was my first dive into investing.

I am trying to see how much I made and how well I did.

I am getting a problem however where I bought multiple times at different periods and prices.

What's the standard way to calculate how well I did when each order was at different prices and etc?

So for example:

if I bought X BTC with Y USD at time t0 and Z BTC with Y USD at time1

How would I calculate my return and profits?

closed as off-topic by Pieter Wuille, MCCCS, Highly Irregular, Andrew Chow Nov 27 '17 at 2:53

  • This question does not appear to be about Bitcoin within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    I'm voting to close this question as off-topic because it's a basic math question. – Pieter Wuille Nov 25 '17 at 2:17

The simplest way to calculate would be:

averagecost = ((BTC[t0] x USD[t0]) + (BTC[t1] x USD[t1]) + (so on))/total_BTC

where t0,t1 and so on are different time when you bought.

The above gives you the average cost for all your BTC

Now to know the profit, use the below formula:

profitloss = (current_BTC_price - averagecost) x total_BTC

If profitloss is negative, then you have a loss.

If profitloss is positive, then you have a profit.

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