Calculadora de Boxplot (Q1/Q2/Q3)

Dados até 9 valores. Retorna Q1, Q2 (mediana), Q3 e IQR.
Created by
Renato Passos, Eng. de Software
Reviewed by
Renato Passos, Eng. de Software

Last updated: Apr 18, 2026

Q1
30,00
Q2 (mediana)
50,00
Q3
70,00

Formula

Q1 = 25º percentil, Q3 = 75º percentil

About this calculator

This boxplot calculator allows you to enter up to 9 numeric values and automatically calculates the first quartile (Q1), the median (Q2), the third quartile (Q3), and the interquartile range (IQR). The boxplot is a graphical tool that summarizes data distribution, highlighting the median, spread, and potential outliers. With this calculator, you quickly obtain these measures without manually sorting the data.

The operation is simple: values are sorted in ascending order. Q1 is the value separating the lowest 25% of data (25th percentile), Q2 is the median (50th percentile), and Q3 separates the highest 25% (75th percentile). The IQR is the difference between Q3 and Q1, indicating the central spread. For odd-sized datasets, the median is the middle value; for even, it is the average of the two middle values. Quartiles are calculated using the standard linear interpolation method.

Use this calculator when you need to analyze the variability of a small dataset, such as student grades, product prices, or experimental measurements. It is useful for identifying skewness and comparing distributions. For example, with 9 students' grades, you can quickly see if scores are concentrated around the average or spread out. It also helps detect potential outliers values far from the quartiles.

Caution: enter only numbers separated by commas or spaces, without special characters. The calculator accepts a maximum of 9 values; for larger datasets, use more robust statistical tools. Remember that quartiles calculated by different methods may vary slightly; here we adopt the standard interpolation method. Do not confuse IQR with standard deviation: IQR is resistant to outliers, while standard deviation is sensitive to them.

Frequently asked questions

What if I have more than 9 values?

This calculator accepts a maximum of 9 values. For larger datasets, use statistical software like Excel, R, or Python.

How to interpret the IQR?

The IQR (interquartile range) measures the spread of the middle 50% of the data. A large IQR indicates high variability; a small IQR indicates more concentrated data.

Are the quartiles the same as in Excel?

Yes, the method used (linear interpolation) is equivalent to Excel's standard method (QUARTILE.INC function).

Can I use decimal numbers?

Yes, the calculator accepts decimal numbers (use a dot as decimal separator, e.g., 7.5).

What do Q1, Q2, and Q3 mean?

Q1 is the first quartile (25% of data below it), Q2 is the median (50% below), and Q3 is the third quartile (75% below).

Other Distribuicoes e Graficos calculators