How to calculate percentage for two different values?

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?

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\%$

• Thank +1. I really don't have much knowledge in maths except simple % percentage calculation. Can you refer me a way where i can start to learn and improve my ability to clear aptitude.
– sun
Commented Nov 25, 2013 at 13:37
• Sure: Are you familiar with Khan's Academy? I'll see if I can find a quick link to this material. See for example, a whole sequence of tutorials: they're incremented from "beginner" to increasing levels of difficulty. Khan's academy is on-line, and entirely free! Commented Nov 25, 2013 at 13:39
• No i don't know, also it would be helpful if you refer any simple books to learn
– sun
Commented Nov 25, 2013 at 13:42
• @amWhy: So nicely formatted! +1 Commented Nov 26, 2013 at 4:00
• If there are no people answering, this is undefined (or unless in your case 0/0 equals to 0, both would be 0% instead of 50%
– mid
Commented Apr 23, 2018 at 6:27

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.

• Can you refer me any book to start? I don't know which topic is basic. @Arthur
– sun
Commented Nov 25, 2013 at 13:48