5 Number Summary in Google Sheets: Formulas & Examples (2026)

    By Oge Nwaozuzu5 min readUpdated: January 28, 2026

    Imagine you're helping a classmate with statistics homework but they don't have Excel or a TI-84. No problem—Google Sheets is free, runs in any browser, and calculates the five number summary just as well. Here's how to do it in seconds.

    Google Sheets Functions for Five Number Summary

    Google Sheets provides these built-in functions:

    • MIN(range): Returns the minimum value
    • MAX(range): Returns the maximum value
    • MEDIAN(range): Returns the median (Q2)
    • PERCENTILE(range, percentile): Returns any percentile value
    • QUARTILE(range, quart): Returns quartiles directly

    Step-by-Step: Calculate the Five Number Summary

    Step 1: Enter Your Data

    Type or paste your data into a single column. For example, place values in cells A1 through A15.

    Step 2: Calculate Minimum

    In any empty cell, type:

    =MIN(A1:A15)

    Step 3: Calculate Q1 (First Quartile)

    For Q1, use either:

    =QUARTILE(A1:A15, 1)

    Or equivalently:

    =PERCENTILE(A1:A15, 0.25)

    Step 4: Calculate Median (Q2)

    =MEDIAN(A1:A15)

    Or:

    =QUARTILE(A1:A15, 2)

    Step 5: Calculate Q3 (Third Quartile)

    =QUARTILE(A1:A15, 3)

    Or:

    =PERCENTILE(A1:A15, 0.75)

    Step 6: Calculate Maximum

    =MAX(A1:A15)

    Pro Tip

    Use named ranges for cleaner formulas. Select your data, go to Data → Named ranges, and create a name like "mydata". Then use =MEDIAN(mydata) instead of cell references.

    Complete Example

    Let's calculate the five number summary for this dataset: 12, 15, 18, 22, 25, 28, 30, 35, 40, 45

    Set up your sheet like this:

    CellLabelFormulaResult
    C1Minimum=MIN(A1:A10)12
    C2Q1=QUARTILE(A1:A10, 1)17.25
    C3Median=MEDIAN(A1:A10)26.5
    C4Q3=QUARTILE(A1:A10, 3)36.25
    C5Maximum=MAX(A1:A10)45

    Google Sheets vs. Excel: Key Differences

    Good news—Google Sheets uses the same calculation method as Excel's QUARTILE.INC function. Both use linear interpolation (the percentile method), so your results will match between the two.

    Minor differences to note:

    • Google Sheets uses QUARTILE (no .INC or .EXC variants)
    • Excel 2010+ has QUARTILE.EXC; Google Sheets doesn't have an equivalent
    • Both handle the same data identically with the standard QUARTILE function

    Creating a Box Plot in Google Sheets

    Google Sheets doesn't have a built-in box plot chart type, but you can create one with a workaround:

    Method 1: Use the Candlestick Chart

    1. Calculate Min, Q1, Median, Q3, Max in separate cells
    2. Arrange data as: Label, Min, Q1, Q3, Max (4 columns)
    3. Insert → Chart → Candlestick chart
    4. The "open" and "close" represent Q1 and Q3

    Method 2: Use a Google Sheets Add-on

    Several free add-ons provide true box plots. Search "box plot" in Extensions → Add-ons → Get add-ons.

    Quick Alternative

    For instant box plot visualization, paste your data into our Five Number Summary Calculator. It generates a box plot automatically alongside all calculations.

    Calculating IQR and Finding Outliers

    Extend your analysis with these additional formulas:

    Interquartile Range (IQR):

    =QUARTILE(A1:A15, 3) - QUARTILE(A1:A15, 1)

    Lower Fence (for outliers):

    =QUARTILE(A1:A15, 1) - 1.5 * (QUARTILE(A1:A15, 3) - QUARTILE(A1:A15, 1))

    Upper Fence (for outliers):

    =QUARTILE(A1:A15, 3) + 1.5 * (QUARTILE(A1:A15, 3) - QUARTILE(A1:A15, 1))

    Any value below the lower fence or above the upper fence is considered an outlier. Learn more in our guide on identifying outliers using the IQR method.

    Sharing and Collaboration Benefits

    One major advantage of Google Sheets is real-time collaboration:

    • Share with classmates: Work on statistics homework together
    • Team projects: Multiple people can analyze data simultaneously
    • Access anywhere: Your calculations are saved in the cloud
    • Version history: See all changes and revert if needed
    • Comment and discuss: Leave notes for collaborators on specific cells

    Google Sheets vs. Our Online Calculator

    When should you use each tool?

    Use Google Sheets WhenUse Our Calculator When
    You need to save and share your workYou need quick, instant results
    You're doing additional analysis on the dataYou want a visual box plot automatically
    You need custom formatting or chartsYou need multiple calculation methods
    You're working with large datasetsYou want step-by-step explanations

    Common Mistakes to Avoid

    These are the most frequent errors when calculating the five number summary in Google Sheets. Learn from these mistakes before you make them!

    Using text in your data range

    ✗ Wrong
    =QUARTILE(A1:A10, 1)
    # Where A3 contains "N/A" instead of a number

    #VALUE! error

    Correct
    # Option 1: Replace text with blank cells or numbers
    # Option 2: Use FILTER to exclude non-numbers
    =QUARTILE(FILTER(A1:A10, ISNUMBER(A1:A10)), 1)

    17.25

    💡 Why: QUARTILE and PERCENTILE require all numeric data. Text values (including 'N/A', 'missing', etc.) cause errors. Clean your data first or use FILTER to exclude non-numeric cells.

    Mixing up QUARTILE argument order

    ✗ Wrong
    =QUARTILE(1, A1:A10)  # Wrong! Number comes second

    #VALUE! error or unexpected result

    Correct
    =QUARTILE(A1:A10, 1)  # Range first, then quartile number

    17.25 (Q1)

    💡 Why: QUARTILE takes the data range first, then the quartile number (0=min, 1=Q1, 2=median, 3=Q3, 4=max). This is the opposite of some other functions.

    Expecting QUARTILE.EXC to exist (it doesn't)

    ✗ Wrong
    =QUARTILE.EXC(A1:A10, 1)  # This works in Excel but NOT Sheets

    #NAME? error

    Correct
    =QUARTILE(A1:A10, 1)  # Use regular QUARTILE
    # For TI-84 matching, manual calculation is needed

    17.25 (using interpolation method)

    💡 Why: Unlike Excel, Google Sheets only has QUARTILE (equivalent to Excel's QUARTILE.INC). There's no exclusive quartile function. For TI-84 matching, use our calculator instead.

    Empty cells affecting your results

    ✗ Wrong
    =MEDIAN(A1:A10)
    # Where A5 and A6 are empty

    Unexpected median value (empty cells are skipped)

    Correct
    # If empty = 0, fill them first
    # Or be aware that empty cells are ignored
    =MEDIAN(A1:A10)  # Calculates median of 8 values, not 10
    =COUNT(A1:A10)   # Check how many values you actually have

    Correct median based on actual data count

    💡 Why: Google Sheets ignores empty cells in statistical functions. This can silently change your results. Always use COUNT to verify you have the expected number of data points.

    Conclusion

    Google Sheets provides all the tools you need to calculate the five number summary—for free, in your browser, with no installation required. The formulas are simple, results update instantly, and you can share your work with anyone.

    For quick calculations with automatic box plots and multiple calculation methods, try our Five Number Summary Calculator.

    Verify Your Calculations

    Use the free five number summary calculator to check your work.

    Open Calculator

    Written by Oge Nwaozuzu

    Statistics educator and data analyst. Creator of 5numbersummarycalculator.app.