How do I calculate percentage of rating?

16.8k Views Asked by At

I've average rating which is calculated by Mean formula. Now I want to calculate its percentage. I've following details:

  1. The calculated average rating ((sum(rating)/totalGivenRatings))
  2. The total number of given ratings (totalGivenRatings)

e.g. I've average 2.23 and total number of given ratings are 3

Please help me, I'm newbie in maths.

Edit 1

I've tried following:

(averageRating/totalGivenRatings)*100

but is it fine?

2

There are 2 best solutions below

0
On BEST ANSWER

Got the answer from a friend. Followings are steps:

  1. Get the sum of rating by following : totalGivenRatings*MaxRating=sum(rating). e.g. 3*5=15 (Max rating is 5)
  2. Get the total ratings from user by following : averageRating*totalGivenRatings=totalRating e.g. 2.23*3=6.99
  3. Get average by following : (totalRating/sum(rating))*100 e.g. 6.99/15*100=46.6

Thanks @RossMillikan for help and thanks to that friend also.

0
On

Once you have an average rating, one way that makes sense is to show the percentage of the way up the range. You would calculate that by (average rating-minimum rating)/(max rating - min rating). If the average is $2.23$ on a scale of $1$ to $5$, it would be $\frac {2.23-1}{5-1}=0.3075=30.75\%$. Many people would just do average rating/max rating, but in our example that would give $20\%$ to a $1$ rating, the worst possible. If you look at your calculation this will happen.