How to use Percentile and Quartile Calculator
- Enter 1 to 5,000 numbers separated by spaces, commas, semicolons or line breaks. Repeated values count as separate observations.
- Enter a percentile from 0 to 100 and choose Linear interpolation (type 7) or Nearest rank.
- Calculate and review the requested percentile, Q1, median, Q3, minimum, maximum and IQR. Keep the selected method with the result.
- Download percentile-box-plot.svg if useful. This five-number plot extends whiskers to the minimum and maximum; it is not the fence-based outlier plot.
Example: Percentile and Quartile Calculator
Find the 25th percentile of 1, 2, 3, 4 by type-7 interpolation: one quarter of the gap from 1 to 2.
Options
- Quantile method
- Type 7 interpolates between sorted observations. Type 1 selects a nearest-rank observation; small samples can give visibly different quartiles.
- Percentile percentage
- Enter a value from 0 through 100. The value is a position in the ordered sample, not the percentage of observations equal to the returned number.
Supported inputs and limits
- From 1 to 5,000 plain-decimal values in at most 100,000 characters, magnitude at most 10¹² and up to 20 fractional places.
- Exponent notation is refused.
- Both methods return the minimum at 0% and maximum at 100%.
- Type 7 uses zero-based position (n − 1)×p and interpolates adjacent sorted values, with p between 0 and 1.
- Type 1 uses nearest rank.
More details
Different valid conventions can give different answers.
Display rounds to 10 decimal places when needed, retaining tiny nonzero values.
The plot uses the selected quartiles, minimum/maximum whiskers and at most 200 observation dots; read the numerical summary for values.
Where your input is processed
This tool does not upload your inputs. See the limits for anything saved on your device.
Keep the method with a reported quartile
Two applications can use different quantile conventions on the same data. Preserve the selected method when sharing the result or comparing it with a spreadsheet. Repeated observations stay in the sample and influence ranks; they are not removed as duplicate records.
Questions about Percentile and Quartile Calculator
Why does another calculator give a different quartile?
Sample quantiles have several conventions. Match its method and data-cleaning rules before comparing results.
Does the tool discard repeated numbers?
No. Each entered value is an observation, so repeated values remain in the sorted sample.
What do the 0th and 100th percentiles return?
The minimum and maximum entered values, respectively, for both supported methods.