<p>The simplest way to calculate would be:</p>

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

<p>where <code>t0</code>,<code>t1</code> and so on are different time when you bought.</p>

<p>The above gives you the average cost for all your BTC</p>

<p>Now to know the profit, use the below formula:</p>

<p><code>profitloss = (current_BTC_price - averagecost) x total_BTC</code></p>

<p>If <code>profitloss</code> is negative, then you have a loss.</p>

<p>If <code>profitloss</code> is positive, then you have a profit.</p>

CC BY-SA 3.0
2017-08-30T01:03:37.283Z
2017-09-25T19:00:43.213Z
2017-09-25T19:00:43.213Z
remedcu
<p>Bitcoin was my first dive into investing. </p>

<p>I am trying to see how much I made and how well I did. </p>

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

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

<p>So for example: </p>

<p>if I bought X BTC with Y USD at time t0 
and Z BTC with Y USD at time1 </p>

<p>How would I calculate my return and profits? </p>

CC BY-SA 3.0
2017-11-25T02:17:49.460Z
I'm voting to close this question as off-topic because it's a basic math question.
Pieter Wuille
<buy-bitcoins><investing>
Calculating Different Investments altogether?
youngn00b
# Calculating Different Investments altogether?

(Asked by: username_0 on 2017-08-29)

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?

**Tags:** buy-bitcoins, investing

> **Comments:**
> **username_1**: I'm voting to close this question as off-topic because it's a basic math question.  

---

## 1 answers

### Answer by username_2 on 2017-08-30. Score: 1

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.


---

