How do you rank by rating?

Say you're ranking items by how people rated them — every rating is a thumbs up (liked it) or down (didn't). Sort by raw percentage and a single 5-of-5 item outranks one with hundreds of mostly-good ratings. The Wilson score's lower boundA lower-confidence bound on the true approval rate. Given p̂ positives out of n ratings, it estimates the worst-case true rate you can defend at your chosen confidence — so an item needs more ratings before it can claim a high rank. fixes it: it scores each item by the worst-case true rating its sample can defend, so a tiny lucky tally is penalised for its uncertainty and climbs only as the ratings pile up.

Ranked by each item's worst-case true rating — the most its likes can defend at 95% confidenceIf you ran the same vote many times, the true rate would land above this bound that often. 95% is the common default; a higher bar demands more ratings before it promotes an item.. Each bar fills solid to that defensible rate, then fades to the raw rate it can't yet prove — so the faded tail is the uncertainty penalty a small sample pays.

Top pick: Bestseller at 84.2% lower bound — not New gadget, whose 100% rests on just 5 ratings.

1
84.2%lower bound
88.7% raw · 248 ratings4 vs naive rank
2
77.8%lower bound
88.9% raw · 54 ratings2 vs naive rank
3
71.1%lower bound
90.5% raw · 21 ratings— same as naive
4
56.6%lower bound
100% raw · 5 ratings3 vs naive rank
5
20.7%lower bound
100% raw · 1 rating3 vs naive rank
the Wilson score interval · the right way to sort by rating