Tool to calculate the quartile value from a list of values. The quartile of a list of numbers is a statistical value that partially illustrates the distribution of numbers in the list.

Quartile of Numbers - dCode

Tag(s) : Statistics, Data Processing

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!

A suggestion ? a feedback ? a bug ? an idea ? *Write to dCode*!

Quartiles (or the four quarters) are three values that separate a list of sorted numbers composed of $ n $ values $ X = \{ x_1, x_2, \dots, x_n \} $ into $ 4 $ (four) equal parts: the first quartile (25%, the lower quartile), the second quartile (50%) also called the median, and the third quartile (75%, the higher quartile).

Automatic method: on dCode, enter (or copy-paste) the list of numbers and click on Calculate.

Manual method: From a list of $ N $ elements sorted by ascending order, calculate $ q_1 = N / 4 $, $ q_2 = N / 2 $ and $ q_3 = 3 N / 4 $. Locate the elements of the list in position $ q_i $, the value of the element is the $ i $-th quartile.

NB: if $ q_i $ is not an integer, take the average between the element just before and the element just after. It is also possible to take the closest value in the list (less rigorous method).

__Example:__ The list of 8 elements: `11,3,5,7,19,13,17,2` is sorted by ascending order `2,3,5,7,11,13,17,19`. Its quartiles are `4`, `9` and `15`, this means that there are 25% of the values lower than `4` and 75% higher than `4`, and that there are 25% of the values greater than `15` and 75% lower.

Quartiles are used to describe the dispersion of a series. If the gap between 2 quartiles is small, then many values are in this zone.

dCode retains ownership of the "Quartile of Numbers" source code. Except explicit open source licence (indicated Creative Commons / free), the "Quartile of Numbers" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or the "Quartile of Numbers" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Quartile of Numbers" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!

Reminder : dCode is free to use.

The copy-paste of the page "Quartile of Numbers" or any of its results, is allowed as long as you cite dCode!

Cite as source (bibliography):

*Quartile of Numbers* on dCode.fr [online website], retrieved on 2022-12-09,

quartile,quarter,number,value,median,list,serie

https://www.dcode.fr/quartiles-calculator

© 2022 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.

Feedback