How it works
Count the data values below your target, add half the count tied with it, then divide by the total count and multiply by 100.
Worked example
Values: 2, 4, 4, 8 · Target value: 4. The result is 50%.
How to read the result
This is the midrank definition. Other definitions can produce different ranks, especially when values are tied.