How to create a pie chart in Google Sheets
Put labels in the first column and positive numbers in the second, select both, click Insert then Chart, and choose the pie chart under Chart type if Sheets picked something else. Then use Customize, Pie chart, Slice label to show or hide the numbers, and keep to a handful of slices that make up one whole.
Updated · 5 min read
Set up your data for a pie chart
Most pie chart problems start in the cells. Google's pie chart help asks for a simple layout:
- First column: a label or category for each row, such as a marketing channel.
- Second column: positive numbers. A name at the top of the column is optional.
- Rows: each row is one slice.
Google adds that a value of 0 or less does not show up in the chart. So a slice that refuses to appear is usually a zero, a negative number or an empty cell.
Keep the block clean. Leave out blank rows, notes typed inside the range and any total row. A total selected with the rest becomes a slice of its own, and it takes up half the pie. The numbers can be counts, money or percentages. Google's own examples use percentages that add up to 100.
This page covers the pie. For layout and edits that apply to every chart type, see how to make a chart in Google Sheets.
Create the pie chart step by step
On a computer:
- Open the spreadsheet in Google Sheets.
- Select the label column and the number column, including the header row.
- Click Insert, then Chart.
Sheets places a chart on the sheet, but it may not pick a pie. Double-click the chart, click Setup in the editor at the right, open the list under Chart type and choose the pie chart.
Check the result before you style it:
- Wrong cells? Under Data range in Setup, click the grid icon, select the two columns and click OK.
- Header showing as a slice, or no names in the legend? Choose Use row N as headers in Setup, where N is your header row.
- Labels running across a row? Setup also has Switch rows / columns.
To edit the pie later, double-click it and click Customize. Everything in the next two sections lives there.
Show percentages (or hide them)
Google's steps for slice labels are short:
- Double-click the chart.
- At the right, click Customize.
- Click Pie chart.
- Under Slice label, choose an option.
Google's help names the setting but does not list its choices, so read the menu itself. Pick the option that shows each slice's share to add percentages. To hide them again, come back to Slice label and choose a different option. The legend still names each slice.
Which should you pick? Show the numbers when anyone will want the exact figure, or when two slices are close in size. Readers find small differences between slices hard to judge, so the label does that work for them. Leave them off when there are only two or three very different slices and the point is simply which one is biggest.
Change colours, labels and the legend
Google's pie help lists these sections under Customize:
- Pie chart: the slice label, a doughnut hole and the border colour.
- Pie slice: a slice's colour, or pulling a slice out from the centre.
- Chart & axis titles: edit or format the title text.
- Legend: the legend's position and text.
- Chart style: how the chart looks overall.
A few habits make a pie much easier to read:
- Write a title that states the point. "Direct brings in the largest share of visits" tells the reader more than "Chart 1".
- Colour with a purpose. Give the slice you want people to notice a strong colour and the others quieter shades. Neighbouring slices in similar shades blur together, more so for readers with colour blindness. See colour-blind safe chart colours for a set that holds up.
- Pull out one slice at most. Use it for the slice your text talks about.
- Keep labels short. Google's help says labels on a pie chart cannot be moved, so long category names crowd each other. Shorten them, or cut the number of slices.
When a pie chart is the wrong choice
The FT's Visual Vocabulary files the pie under part-to-whole charts. It notes that the size of the segments is hard to compare accurately. Datawrapper's guidance says pie charts work best with five values at most. For more, it suggests a stacked bar or column, and for comparing shares it recommends a bar or column chart. It also notes that a pie may be unnecessary for just two values, because one number in the text can say it.
Here is the same sample data both ways.
Direct brings in the largest share of visits
Share of website visits by channel, %
Direct is the largest slice at 34% (34 of 100), then Search at 26%. The smallest is Referral at 5%.
Source: Sample data
| channel | Share of visits | Share |
|---|---|---|
| Direct | 34 | 34% |
| Search | 26 | 26% |
| Social | 23 | 23% |
| 12 | 12% | |
| Referral | 5 | 5% |
Search is only three points ahead of Social
Share of website visits by channel, %
Direct is the largest at 34, ahead of Search (26). Referral is the smallest at 5.
Source: Sample data
| channel | Share of visits |
|---|---|
| Direct | 34 |
| Search | 26 |
| Social | 23 |
| 12 | |
| Referral | 5 |
The pie makes one point well: Direct is the biggest slice, about a third of the whole. Search and Social, though, look almost the same size. The bars put every value on one baseline, so the order and the gaps read at a glance.
Use the pie when the message is how one whole splits up. Use a bar when readers need to rank or compare the parts. If you are unsure, the chart picker walks through the choice, and best chart for comparison covers the bar side.
Get a cleaner image than Sheets gives you
A Sheets chart is fine inside the sheet. To get it out as a file, see how to save a Google Sheets chart as an image.
For a slide, report or web page, the free pie chart maker at Chartsmade is the faster route. Paste the table, upload a CSV or Excel file, or give it a link to a CSV or a published Google Sheet. Pies and donuts take up to 12 slices, and past that the smallest fold into "Other". Download a PNG at fixed sizes up to 1920×1080 or an SVG, both with a transparent background if you want one, or share a live embed that sizes itself. Free downloads carry a small "Made with Chartsmade" line.
Chartsmade reads your data. It does not edit your Google Sheets or Excel files, so the sheet stays as it is.
Questions
- How do I create a pie chart in Google Sheets?
- Put a label for each slice in the first column and a positive number in the second. Select both columns, click Insert, then Chart. If Sheets picks another type, double-click the chart, click Setup and choose the pie chart under Chart type.
- How do I add percentages to a pie chart in Google Sheets?
- Double-click the chart, click Customize, then Pie chart, and choose an option under Slice label. Google's help names the setting but does not list its choices, so pick the one that shows each slice's share in the menu itself.
- How do I make a pie chart in Google Sheets without percentages?
- Use the same setting: Customize, then Pie chart, then Slice label, and choose a different option. The legend still names the slices. Google's help does not list the menu's choices, so check them in the editor.
- Why is my Google Sheets pie chart showing only one slice or the wrong data?
- Check the cells first. Google wants labels in the first column and positive numbers in the second, with one row per slice, and a value of 0 or less does not show. Double-click the chart and fix the Data range in Setup. If your labels run across a row, try Switch rows / columns.
- How many slices should a pie chart have?
- Few. Datawrapper's guidance says pie charts work best with five values at most, and suggests a stacked bar or column for more. If readers need to compare the shares, it recommends a bar or column chart instead.