Table of Contents
To change the number of bins in a histogram on Google Sheets, follow these steps:
1. Select the data range for which you want to create a histogram.
2. Click on the Insert tab and select Chart.
3. In the Chart editor, choose Histogram from the chart type options.
4. Under the customization options, click on the Chart style tab.
5. In the Number of bins section, enter the desired number of bins.
6. Click on the Update button to see the changes in the histogram.
By adjusting the number of bins, you can effectively visualize the distribution of your data in the histogram chart on Google Sheets.
Google Sheets: Change Number of Bins in Histogram
A histogram is a plot that can be used to quickly visualize the distribution of values in a dataset.
This tutorial provides a step-by-step example of how to create a histogram in Google Sheets and how to modify the number of bins so that the histogram looks exactly how you’d like.
Step 1: Create the Data
First, let’s create the following dataset:

Step 2: Create the Histogram
Next, highlight the cells in the range A2:A21, then click the Insert tab, then click Chart:

In the Chart editor panel that appears on the right side of the screen, click the dropdown arrow under Chart type and choose Histogram chart:

The following histogram will appear:

Step 3: Adjust the Number of Bins
To adjust the number of bins in the histogram, click the Customize tab within the Chart editor panel, then click the dropdown arrow next to Histogram.
Click the dropdown arrow under Bucket size to bring up a list of potential bucket sizes you can use:

If we click 2, then this will change the bucket size to 2 in the histogram:

The first bucket tells us how many values in the original dataset are greater than or equal to 2 but less than 4.
The second bucket tells us how many values in the original dataset are greater than or equal to 4 but less than 6.
And so on.
If we instead choose a bucket size of 10, the buckets will have a width of 10:

Feel free to modify the number of bins to whatever value you’d like and keep in mind the following rules of thumb:
- Increasing the bucket size decreases the number of total bins in the histogram and leads to fatter and fewer bins.
- Decreasing the bucket size increases the number of total bins in the histogram and leads to narrower and more bins.
The following tutorials explain how to perform other common tasks in Google Sheets:
Cite this article
stats writer (2024). How can I change the number of bins in a histogram on Google Sheets?”. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-change-the-number-of-bins-in-a-histogram-on-google-sheets/
stats writer. "How can I change the number of bins in a histogram on Google Sheets?”." PSYCHOLOGICAL SCALES, 26 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-change-the-number-of-bins-in-a-histogram-on-google-sheets/.
stats writer. "How can I change the number of bins in a histogram on Google Sheets?”." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-change-the-number-of-bins-in-a-histogram-on-google-sheets/.
stats writer (2024) 'How can I change the number of bins in a histogram on Google Sheets?”', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-change-the-number-of-bins-in-a-histogram-on-google-sheets/.
[1] stats writer, "How can I change the number of bins in a histogram on Google Sheets?”," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.
stats writer. How can I change the number of bins in a histogram on Google Sheets?”. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.
