Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a spreadsheet of stock quotes that contains Relative Strength Ranking (RSR) ranging from -45 to 65 and the count of ranks is 1500. Could someone please explain how I can calculate percentile ranks using these numbers? Is there a specific formula?

share|cite|improve this question
up vote 1 down vote accepted

If the total number of stocks is exactly 1500, the percentile rankis $\frac {(\text {number below + number tied/2)}100}{1500}$. So if a stock has 579 stocks with lower RSR and 44 with the same RSR, its percentile rank is $\frac {(579 + 44/2)100}{1500}=\frac{60100}{1500}\approx 40.06$. Some people then round to the nearest whole number, or truncate, or something like that.

share|cite|improve this answer
Many thanks, Ross. I looked around trying to understand other formulas but they didn't seem to contain the "number tied". Having the number of tied stocks makes the result much better. – Zishan Jul 14 '12 at 14:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.