PHP Social Algoritm : First of all sorry for my bad English. I have these parameters for my post link.

1) FB Likes (ex: 372)

2) Tweets (ex: 25)

3) Pinterest Pins (ex: 533)

4) Post likes (on my website) (ex: 13)

I want to showing ratings by these datas from 0 to 100 (Example: 73.3). But I haven't any idea for rating algorithm. How can I doing this?