<p>You need to change the denominator to Open Price (OP) because the 24hpercentage will be calculated on basis of OP not on the last traded price (P).</p>
<pre><code>priceChangeInPercentage = 100*(P - OP)/OP
</code></pre>

CC BY-SA 4.0
2021-08-16T05:27:00.750Z
Dropping from $6,000 to $3,000 is not a 100% drop. :)
David Schwartz
CC BY-SA 4.0
2021-08-16T09:33:12.923Z
Yes, it's not a 100% drop.
OP=6000$
P=3000$

change%= 100*(3000-6000)/6000 = -50%
Sumit Banik
CC BY-SA 4.0
2021-08-14T16:05:54.473Z
2021-08-14T16:05:54.473Z
Sumit Banik
<p>I am trying to match the binance's daily price change. I know it does provide 24h price change in percentage but the value I calculate is off no matter what.</p>
<p>So I am asking binance API to give me candle data for 1 day/week/month respectively.</p>
<p>I have these values I am using: current price (P), open price (OP), close price (CP).</p>
<p>I tried these but the values do not match what binance is showing for the daily change so I know all other calculations are also wrong:</p>
<pre><code>priceChangeInPercentage = 100*(P - OP)/P
</code></pre>
<p>How does binance calculate this value?</p>

<historical-trade-data><binance><math>
How to calculate daily weekly monthly price change in percentage?
Joan Venge
# How to calculate daily weekly monthly price change in percentage?

(Asked by: username_0 on 2021-08-14)

I am trying to match the binance's daily price change. I know it does provide 24h price change in percentage but the value I calculate is off no matter what.

So I am asking binance API to give me candle data for 1 day/week/month respectively.

I have these values I am using: current price (P), open price (OP), close price (CP).

I tried these but the values do not match what binance is showing for the daily change so I know all other calculations are also wrong:

```
priceChangeInPercentage = 100*(P - OP)/P

```

How does binance calculate this value?

**Tags:** historical-trade-data, binance, math


---

## 1 answers

### Answer by username_1 on 2021-08-14. Score: 3

You need to change the denominator to Open Price (OP) because the 24hpercentage will be calculated on basis of OP not on the last traded price (P).

```
priceChangeInPercentage = 100*(P - OP)/OP

```

> **Comments:**
> **username_2**: Dropping from $6,000 to $3,000 is not a 100% drop. :)  
> **username_1**: Yes, it's not a 100% drop. OP=6000$ P=3000$  change%= 100*(3000-6000)/6000 = -50%  

---

