Finding the simple formula for like vs dislike ratio percentage

9.6k Views Asked by At

I have a like button and a dislike button. I want to quickly display in a percentage format how much people like it, -100% being everyone dislikes and 100% being everyone likes.

What would be the math forumula to find this percentage.

Say 100 people like it and 50 people hate it.

Would it be something like

100 + 50 / 2 ?

Thanks! Jeff

1

There are 1 best solutions below

1
On BEST ANSWER

You can use $$\frac {likes-dislikes}{likes+dislikes}$$