Percentile Calculator
Find thresholds. Explain ranks.
Enter your data
Quantiles and tie-aware ranks.
Separate signed decimals, scientific e notation or integer fractions with commas, spaces, semicolons, pipes or new lines. Decimal point only; commas separate values, never thousands.
Each method keeps its own data. Frequency counts represent repeated observations, not arbitrary weights.
Conventions and display
A literal label only; all observations must already use the same measurement unit. No unit conversion is performed.
Enter a percentage from zero through one hundred, without a percent sign. Fractions and scientific e notation are accepted.
Type 7 uses inclusive linear interpolation. All nine methods clamp outside contributing ranks to the nearest endpoint; Type 6 is not Excel PERCENTILE.EXC.
A value in the same unit as your data, evaluated against all repetition counts. The score does not have to occur in the dataset.
Changes the highlighted rank. All four conventions are shown for comparison, including their treatment of tied observations.
Optional: up to twenty-five percentages using the selected quantile method. Separate with commas, spaces, semicolons or line breaks. Clear to omit the batch.
Exact rational answers do not change. Tiny nonzero views use scientific notation. Halfway values round away from zero.
Imports into the selected method. Files must be UTF-8, at most 64 KiB, and contain only supported numeric data plus an optional frequency header. Invalid files leave current data unchanged.
Supports up to source observations or frequency rows, and total count . Nonzero source magnitudes range from through , with forty significant digits per number. Combined exact arithmetic is bounded to numerator or denominator digits. Results describe the supplied data; no missing values or outliers are removed automatically.
Percentile value
Type 7 — Inclusive linear
points
A percentile value is a threshold in the original measurement unit. The percentile rank below answers a different question about the evaluated score.
Percentile rank of your score
The score remains separate from the percentile threshold. Ties create different defensible rank percentages; choose the convention required by your report.
Mean: half of ties
- Observation count
- Below score
- Equal to score
- Above score
Strict: below only
Weak: at or below
Mean: half of ties
Rank: average matching rank
These percentages are empirical ranks within the supplied data, not exam grades, probabilities of future outcomes or fitted normal-distribution percentiles. Average matching rank differs from the half-ties rule when the score occurs in the dataset.
Compare all nine quantile methods
All methods use the same exact sorted observations and requested percentage. Endpoint ranks are clamped to the observed minimum or maximum. Type 6 here follows that rule and does not reproduce Excel exclusive-function errors.
Type 1 — Nearest rank
Type 2 — Averaged inverse CDF
Type 3 — Nearest even rank
Type 4 — Linear empirical CDF
Type 5 — Hazen
Type 6 — Weibull (clamped)
Type 7 — Inclusive linear
Type 8 — Median-unbiased
Type 9 — Normal-unbiased
Batch percentile values
Every requested percentage uses Type 7 — Inclusive linear. Duplicate requests remain in their original order.
| Percentile | Exact threshold and rounded view |
|---|---|
| points | |
| points | |
| points | |
| points | |
| points | |
| points | |
| points |
Step-by-step percentile solution
Ordered observations are written . The quantile calculation uses the probability , rank floor and interpolation weight . For the score calculation, , and count observations below, equal to and above the score.
1. Validate, sort and count
Every active token is checked. Equivalent fractions and decimals combine into exact frequency rows; zero-frequency rows are explicitly excluded.
2. Convert the requested percentile to a probability
Type 7 — Inclusive linear. The requested number is a percentage, not a probability input.
3. Locate the method-specific rank
The raw one-based interpolation position is split into an integer floor and fractional part. Types one through three apply their discontinuous selection rules instead of ordinary linear interpolation.
4. Select or interpolate adjacent order statistics
Ranks outside the observed range repeat the nearest endpoint, consistently with the nine clamped quantile definitions. These are not the domain restrictions of Excel PERCENTILE.EXC.
5. Count values relative to the score
Below, equal and above are exact frequency totals, not counts of distinct rows. No normal-distribution model is fitted.
6. Apply the selected tie convention
Mean: half of ties. Average matching rank includes a half-rank correction only when the score occurs in the dataset. Without a match, all four conventions agree.
Sorted value and rank audit
Each distinct value occupies a closed interval of one-based observation ranks. Strict and weak percentages mark the empirical distribution immediately before and after its ties.
Showing distinct rows 1–4 of 4. Printing includes this page; copying and CSV include every row.
| Observed value | Frequency | First rank | Last rank | Strict percent | Weak percent |
|---|---|---|---|---|---|
| points | |||||
| points | |||||
| points | |||||
| points |
Find thresholds and understand score positions
Calculate a measurement threshold
Choose a requested percentage and inspect its value in the original measurement unit. The selected quantile type determines whether the answer selects an observed value, averages a boundary pair or interpolates between observations. Exact rank positions stay visible so a result between source values can be explained without pretending that the interpolated measurement occurred in the dataset.
Compare scores with their reference group
Enter a separate score and inspect how many observations fall below it, match it and exceed it. The four tie conventions make the effect of repeated scores explicit. Keep the reference group and convention with the result when discussing assessment data or ordered measurements. A score's relative position can change when the reference dataset changes even though the score itself stays fixed.
Build a batch threshold report
Request several percentages in one calculation while retaining a single quantile convention. The batch preserves the order of requests and keeps duplicates rather than silently reorganizing your report. Frequency input represents repeated observations compactly. Copying and CSV preserve the complete sorted rank audit, allowing someone else to trace each threshold back to its contributing observation ranks.
Percentile formulas and step-by-step examples
Sort the observations as . Convert the requested percentage to . Define , and . The method supplies and the interpolation weight , producing the following threshold. For a rank below the first or above the last observation, repeat the nearest endpoint.
| Type | Offset | Interpolation rule |
|---|---|---|
An interpolation example
For the ordered values , request using Type 7. The rank is . Its floor is and its fractional part is . Both contributing observations equal , so interpolation returns . Under Type 2, the exact boundary also averages the second and third observations, while other datasets can make these two methods disagree.
A tie example
In , evaluate the score . There are observations below it, matches and above it. Strict and weak ranks describe opposite edges of the tie group. The mean convention places the score halfway through that group's cumulative jump; average matching rank averages the two occupied positions instead.
The last formula applies when matches exist. With no matching observation, the average-rank convention becomes , so all four rank conventions agree. A larger-value-is-better interpretation is a context choice; these formulas always count in ascending numerical order.
Why the method belongs beside the answer
Source values stay accountable
- Every active token is validated rather than removed as a missing value.
- Exact comparison keeps large, closely spaced measurements in the correct order.
- Frequency counts represent repetitions and never allocate a billion-element list.
- Source and query limits are reported explicitly rather than truncating a result.
Conventions stay visible
- Nine quantile definitions share a clearly stated endpoint policy.
- Four score-rank conventions expose the effect of ties.
- Batch thresholds keep the same method throughout the report.
- Exact results remain separate from independently rounded numerical views.
For lessons, ordered measurements and reproducible reports
Students tracing an ordered rank
Move from an unsorted numerical list to explicit one-based rank intervals. Follow a fractional position into the two contributing observations and its interpolation weight. Compare a nearest-rank answer with a linear threshold, then change to tied values to see why a rank percentage needs its own definition. The examples make boundary behavior visible without relying on a hidden software default.
Teachers comparing definitions
Use the same source values to compare established quantile definitions without changing the reference dataset between examples. Singleton, constant and even-count presets help isolate endpoint and interpolation behavior. Score counts connect a cumulative distribution interpretation to the separate average matching-rank rule. Exact working supports a worksheet explanation while the batch report provides several checkpoints under a chosen convention.
People reviewing numerical reports
Import a supported local numerical file, retain repetition counts and compare the resulting thresholds with another documented method. Keep the source-unit label and reference dataset with your exported report. This calculator describes supplied observations; it does not establish representativeness, remove outliers or infer unknown measurements from grouped intervals. Check the provenance of the source before extending a rank statement to a wider population.
How it works in three quick steps.
Enter observations and choose your questions
Paste a numerical list or select a value and frequency table. Enter the requested percentile as a percentage and a separate score whose percentile rank you want to evaluate. The score can fall between observations. Check the unit, separators and source count before comparing results. Local UTF-8 CSV or text files can populate the active editor without uploading the dataset.
Select quantile and tie conventions
Choose an explicit quantile type for the threshold and a tie-counting rule for the score rank. Compare the nine threshold methods and the four score-rank conventions on the same source data. Inspect the ordered ranks and exact interpolation weight in the working. Batch requests use the selected quantile method rather than switching conventions automatically at the median or quartiles.
Audit the ranks and save the record
Follow each distinct observation through its frequency and inclusive rank interval. Copy or download the complete report to retain all rows and methods, including hidden sections. Share a validated active dataset when it fits the link limit. Use browser printing to save the visible calculation and current audit page as PDF, keeping the complete CSV for longer datasets and exact expressions.
Keep the source, conventions and complete rank audit
Copy a readable calculation
Copy the two-direction result with exact fractions, numerical views, ordered steps, comparison methods and every frequency row. The summary converts visual mathematical typesetting to readable plain text for destinations that do not support LaTeX. Hidden sections are retained, so a compact screen view does not silently become an incomplete saved calculation. Keep the method names attached when quoting any threshold or rank.
Download the full CSV
The rectangular CSV includes active source text, unit label, input mode, selected conventions, all nine method certificates, all four rank percentages, batch queries and complete frequency intervals. Formula-like cells are protected for spreadsheet use. It is an output report rather than an input-editor template; to import a source file, supply only numeric observations or the documented value and frequency columns.
Save a focused PDF worksheet
Choose Print / Save PDF and select your browser's PDF destination. The result and visible working remain while editing controls and supporting article sections are removed. Printing includes the current audit page, not an expanded full dataset. Long exact expressions carry a CSV notice rather than being clipped. Use the complete download when you need every source row or an unusually long fraction.
Frequently Asked Questions
What is the difference between a percentile value and a percentile rank?
Which percentile method should I choose?
How are tied scores handled in percentile ranks?
Does Type 6 reproduce Excel PERCENTILE.EXC?
What happens at endpoints, with one observation or with constant data?
Can I use frequencies instead of pasting repeated values?
What numbers, precision and file formats are supported?
Can I use these ranks as exam scores or normal-distribution probabilities?
What do sharing, CSV and PDF preserve?
Related calculators
About this percentile and percentile rank calculator
Toolarithm's Percentile Calculator brings two commonly confused questions into one traceable workflow. One question asks for a threshold at a requested percentage in an ordered dataset. The other asks for the relative position of a supplied score. The interface retains both questions, names the quantile and tie conventions separately, and shows the counts and ranks behind the answers. This matters when a small change in a software default produces a different published threshold or when repeated scores make a single unqualified rank percentage ambiguous.
The numerical engine treats supported observations as exact fractions. Sorting and interpolation therefore preserve the entered numbers instead of first rounding them to binary floating-point values. A frequency table counts repeated observations through cumulative intervals without expanding the source. This supports large multiplicities while keeping source-size limits explicit. Scientific notation and integer fractions are accepted, but missing observations, arbitrary text, grouped intervals and probability weights are not guessed. A measurement label is literal context and does not perform a unit conversion.
The educational material connects each result to the selected definition and its endpoint policy. Exact certificates, rounded views and complete sorted rows can be retained through copying or CSV, while browser printing creates a focused visible worksheet. These outputs support checking a calculation; they do not certify that a dataset is representative or that a rank has the same meaning as an exam grade. When comparing with an external report, match its reference population, quantile definition, treatment of ties and rounding policy before drawing conclusions from an apparent disagreement.
Who maintains this page
Ownership and review
Written and maintained by the Toolarithm editorial team. No review date is shown without a maintained editorial record. No independent professional review is claimed.
Methodology
Equations are checked by substituting worked examples into the stated relationship and comparing the result with the interactive implementation.
Read the editorial methodologyDates and sources
Review dates change only after a substantive method or content check.
Keep building