How to calculate percentage for two different values?

6.8k Views Asked by At

I have two data one is like$=75$ and second data is dislike$=127$, both values are counted separately. But i need to show percentage of this.

For example $40\%$ likes and $60\%$ dislikes for the above something like.

I know to calculate percentage for single value $(\%/100)*x$ but for the above i don't have idea.

Can anyone help me on this?

2

There are 2 best solutions below

5
On BEST ANSWER

Likes: $\quad\dfrac{\text{total number of likes}}{\text{total number of those answering}}\;=\;\dfrac{75}{75+127}\times 100\% \approx 37.13\%$.

Dislikes: $\dfrac{\text{total number of dislikes}}{\text{total number of those answering}} \;=\;\dfrac{127}{75 + 127} \times 100\%\approx 62.87\%$

1
On

First of all you need to know the total number of votes (both likes and dislikes). This is $75 + 127 = 202$. So now we can say:

There are 202 votes total and 75 of them are 'like'-votes. What is the percentage of 'like'-votes?

I hope you can tell that the answer to this is the answer you're looking for. At this point, more or less each teacher and textbook have their own approach and explanation. However, they all end up, in one way or another, with performing the division $$ \frac{75}{202}\approx 0.371 $$ Multiply with $100\%$, and the answer is $37.1\%$ likes. The rest ($100\% - 37.1\% = 62.9\%$) are the dislikes.