Quantiles – Definition, Calculation & Types

23/08/2022 Data characteristics Time to read: 5min

How do you like this article?

0 Reviews


Quartiles-and-quantiles-01

In statistics, there are many variables and measures to use on the data you have collected. Depending on what you want to achieve, it is necessary to select the right one for your study. Quantiles are a rather simple but effective way to determine different sectors in your distribution by calculating subgroups of different percentages. The following article will give you an overview of different types of quantiles and explain these with examples.

Quantiles in a nutshell

Quantiles are fractions of specific percentages of a sample. The most common quantile is the quartile, which divides a sample into four groups of 25% each.

Definition: Quantiles

Quantiles, which are sometimes also called fractiles, are equal-sized subgroups of a sample including a certain percentage of the values. Mathematically, quantiles are often shown as Qp, qp, or x(p) with p being the percentage of the quantile. There is always one quantile less than the groups you divide it into. Each quantile describes the point in the dataset, where p% of the values lie below. Quantiles are only used with continuous variables.

As the example image shows, quantiles divide a group into four subgroups, creating three quartiles: the lower one, the upper one and the middle one, also called median.

Quantiles-example
Print Your Thesis Now
BachelorPrint is a leading online printing service that provides several benefits for students in the UK:
  • ✓ 3D live preview of your individual configuration
  • ✓ Free express delivery for every single purchase
  • ✓ Top-notch bindings with customised embossing

to printing services

Calculation

To calculate any quantile, you can simply follow these steps:

Quantiles-1

Determine the number of values in your sample (n). If you want to determine a certain number of groups, you need to have more values than groups. If you merely need a certain percentage of participants, the number is not as important anymore.

Quantiles-2

Arrange your values in ascending order and number them.
Do not confuse values and numbers here. The values are the results of your study, for example the heights of participants. Numbers, on the other hand, are assigned in ascending order to the values. (For example: (1) 160 cm; (2) 174 cm; (3) 182 cm)

Quantiles-3

Define the percentage of quantile you need (p). Take into consideration, that there should always be more participants than groups you will divide them into.

Quantiles-4

Calculate the spot in the dataset by using the formula n×p
If the outcome is not integer, round the number up, no matter how small the decimal is. If the outcome is an integer, you will use the nasty of the values in places (n×p) and (n×p)+1.

Quantiles-5

Now determine the value of the quantile. Therefore, you will use the outcome of step 4. If your outcome was not an integer, and you rounded it up, the value of the quantile is in the place with that number. In case your outcome was an integer, you will calculate the nasty of the values in the places (n×p) and (n×p)+1.

Types of quantiles

Quantiles can come in any size you need them. However, since some of them are used frequently, they have earned specific names. When calculating, keep in mind the difference between numbers and values. The following section will briefly explain each of the quantiles, using this dataset as an example:

Quantiles-example-table

Tertiles

Tertiles divide a dataset into three groups, meaning there are two tertiles. Each group includes ~33% of the entire sample.

Examples

  • → The first tertile is 12.

  • → The second tertile is 23.

Quartiles

Quartiles are the most used type of quantile, dividing the sample into four groups of each 25%. The three different quartiles are referred to as the lower/first quartile Q1, the middle quartile or median Q2 and the upper/third quartile Q3.

Examples

  • 4 → The first quartile is 10.

  • 8 → The median is 16.

  • 12 → The third quartile is 27.

Interquartile range (IQR)

The interquartile range, often shortened to IQR, defines the middle 50% of a distribution. It is calculated by subtracting the first quartile from the second quartile.

Example

Q3-Q1=27-10=17

Quintiles

Quintiles divide the dataset into five groups, meaning there are four quintiles. Each group includes 20% of the entire sample.

Examples

  • → The first quintile is 8.5.

  • → The second quintile is 14.

  • → The third quintile is 19.5.

  • → The fourth quintile is 27.5.

Deciles

Deciles divide the dataset into ten groups, meaning there are nine deciles. Each group includes 10% of the entire sample.

Examples

  • 2 → The first decile is 4.

  • → The second decile is 8.5.

  • 5 → The third decile is 11.

  • → The fourth decile is 14.

  • 8 → The fifth decile is 16.

  • → The sixth decile is 19.5.

  • 11 → The seventh decile is 25.

  • → The eighth decile is 27.5.

  • 14 → The ninth decile is 29.

Percentiles

Percentiles divide the dataset into 100 groups, meaning there are 99 percentiles. Each group includes 1% of the sample. Our example dataset is too small for these quantiles, but by now you should know how the mechanism works. So, if you find yourself in a situation, where you will have to use percentiles, it should be rather simple.

Other quantiles

If your research requires a 35% quantile or a 96% quantile for whatever reason, you can always adjust them to your needs. The formerly named quantiles are merely specific ones that have been given names, but in reality, simply choose the percentage you require for your study.

Print your thesis for £0
  • Post a picture on Instagram
  • Get the most likes on your picture
  • Receive up to £300 cash back

Outlier effect

Outliers are values in a dataset that pose extremes, either above or below the rest. They can greatly influence the skewness of a distribution or certain statistical measurements. However, quantiles are usually not influenced by outliers, since they are calculated by the number of values not the values themselves.

Only if there is a group of outliers at one end of the distribution, it should be taken into closer consideration (for example, if your dataset includes the values 1,2,3,4,5,6,7,33,34,35). Then, on the other hand, it is also questionable whether these numbers can be referred to as outlier or whether they are simply describing a widely spread distribution.

FAQs

“Quantiles” is the umbrella term for fractions of a certain percentage of a sample. Quartiles, on the other hand, are one type of quantile, which divides a sample into four groups.

Quantiles are calculated by the formula n*p, where n is the number of values and p is the percentage of the quantile. If the outcome is not an integer, you adjust the number upwards and then find the value at that place as your quantile. If the number is an integer, you calculate the nasty of this one and the next one to find the quantile.

While any percentage can be used for quantiles, there are a few specific ones that have been given names: tertiles (1/3), quartiles (25%), quintiles (20%), deciles (10%) and percentiles (1%).

Quantiles define the point in a dataset, where a certain percentage of values lies below. Therefore, they show how skewed a distribution is. For example, if the upper quartile is closer to the median than the lower quartile, it means that the distribution is positively skewed.

From

Salome Stolle

How do you like this article?

0 Reviews
 
About the author

Salome Stolle works as the brand manager for the English market at BachelorPrint. Throughout her 12-year residency in Denmark, she completed her International baccalaureate and Master’s in Culture, Communication, and Globalization with a specialization in media and market consumption. Through this experience, she has gained advanced competencies in academic writing and a high proficiency level in the English language. With her passion for writing, she does not only deliver well-written content but also strives to adjust to the students’ demands.

Show all articles from this author
About
BachelorPrint | The #1 Online Printing Service
For Students

Specialised in the printing and binding of academic papers, theses, and dissertations, BachelorPrint provides a comprehensive variety of bindings and design options. The BachelorPrint online printing service sets out to facilitate that every single British student attains the binding of their dreams.<br/>Beyond that, BachelorPrint publishes a multitude of educational articles on diverse subjects related to academic writing in their Study Guide section, which assists students in the creation of their thesis or dissertation.


Cite This Article

Bibliography

Stolle, S. (2022, August 23). Quantiles – Definition, Calculation & Types. BachelorPrint. https://www.bachelorprint.com/uk/statistics/quantiles/ (retrieved 11/03/2025)

In-text citation

Parenthetical
(Stolle , 2022)
Narrative
Stolle (2022)

Bibliography

Stolle, Salome. 2022. "Quantiles – Definition, Calculation & Types." BachelorPrint, Retrieved March 11, 2025. https://www.bachelorprint.com/uk/statistics/quantiles/.

In-text citation

Parenthetical
(Stolle 2022)

Bibliography

Salome Stolle, "Quantiles – Definition, Calculation & Types," BachelorPrint, August 23, 2022, https://www.bachelorprint.com/uk/statistics/quantiles/ (retrieved March 11, 2025).

Footnotes

Short note
Stolle, "Shortened title."

Bibliography

Stolle, Salome: Quantiles – Definition, Calculation & Types, in: BachelorPrint, 23/08/2022, [online] https://www.bachelorprint.com/uk/statistics/quantiles/ (retrieved 11/03/2025).

Footnotes

Full note
Stolle, Salome: Quantiles – Definition, Calculation & Types, in: BachelorPrint, 23/08/2022, [online] https://www.bachelorprint.com/uk/statistics/quantiles/ (retrieved 11/03/2025).
Direct quote
Stolle, 2022.
Indirect quote
Stolle, 2022.

Bibliography

Stolle, Salome (2022): Quantiles – Definition, Calculation & Types, in: BachelorPrint, [online] https://www.bachelorprint.com/uk/statistics/quantiles/ (retrieved 11/03/2025).

In-text citation

Direct quote
(Stolle, 2022)
Indirect quote
(Stolle, 2022)
Narrative
Stolle (2022)

Bibliography

Stolle, Salome. "Quantiles – Definition, Calculation & Types." BachelorPrint, 23/08/2022, https://www.bachelorprint.com/uk/statistics/quantiles/ (retrieved 11/03/2025).

In-text citation

Parenthetical
(Stolle)
Narrative
Stolle

Bibliography

Number. Stolle S. Quantiles – Definition, Calculation & Types [Internet]. BachelorPrint. 2022 [cited 11/03/2025]. Available from: https://www.bachelorprint.com/uk/statistics/quantiles/


New articles