Free Pie Chart Maker with Percentages and Angles
A free pie chart maker for survey results, budgets, sample composition and class data. Paste label and value rows from Excel or Google Sheets and get a pie or donut chart with every slice's percentage and angle.
One slice per line. Paste two columns from Excel or Google Sheets, or separate with commas. Counts, amounts or percentages all work.
8 slices, total 4,178 billion kWh. Shares add to 100.0%. 2 small slices grouped as Other.
The pie chart maker runs in your browser: no sign-in, no upload, free to download.
| Slice | Value | Share | Angle | From → to |
|---|---|---|---|---|
| Natural gas | 1,802 billion kWh | 43.1% | 155.3° | 0.0° → 155.3° |
| Nuclear | 775 billion kWh | 18.6% | 66.8° | 155.3° → 222.0° |
| Coal | 675 billion kWh | 16.2% | 58.2° | 222.0° → 280.2° |
| Wind | 425 billion kWh | 10.2% | 36.6° | 280.2° → 316.8° |
| Hydropower | 240 billion kWh | 5.7% | 20.7° | 316.8° → 337.5° |
| Solar | 165 billion kWh | 3.9% | 14.2° | 337.5° → 351.7° |
| Other(All other sources, Biomass) | 96 billion kWh | 2.3% | 8.3° | 351.7° → 360.0° |
| Total | 4,178 billion kWh | 100.0% | 360.0° |
Angle = value ÷ total × 360°. The pie chart maker rounds shares by the largest-remainder method, so the percentages always add to exactly 100%.
Pie chart styles
Four finishes from the AI pie chart generator, each on its own subject: cell types as a journal donut chart, US electricity as an infographic, a class survey as a textbook circle graph, a graduate survey as a notebook sketch.
Pie chart examples
Six pie chart examples from the AI pie chart generator, from a journal donut chart of cell types to a nested pie chart of US electricity. The prompt that drew each one is on its card, and every percentage in it came from the free pie chart maker.
For a figure panel. The pie chart maker gives exact angles.
Icons per slice, which the pie chart maker leaves out.
Angles marked for class; check them in the pie chart maker.
For notes and slides. Load the survey in the pie chart maker.
Two rings, like the Nested pie tab of the pie chart maker.
Pull out a slice the same way in the pie chart maker.
What is a pie chart?
A pie chart is a circle divided into slices, one per category, where each slice's angle is its share of the whole: a slice that is 25% of the total is a quarter of the circle, 90°. It is also called a circle graph, the name most US maths textbooks use. A pie chart shows the parts of one whole, so its slices always add up to 100% and 360°.
About this pie chart maker
- This pie chart maker reads one Label, value row per line, typed or pasted from two columns of Excel or Google Sheets.
- Every angle is value ÷ total × 360°, starting at 12 o'clock and running clockwise, the default of Excel, Google Sheets and ggplot2.
- The pie chart maker rounds percentages by the largest-remainder method, so the labels add to exactly 100% at 0, 1 or 2 decimals.
- In the pie chart maker, slices under a threshold you set fold into one Other slice, and one slice can be pulled out from the centre.
- The pie chart maker draws a pie, a donut or a nested pie chart, with labels outside, inside or in a legend, in a colour-blind-safe palette by default.
- Downloads are PNG at 300 dpi, SVG and PDF, free and without sign-in; the AI pie chart generator draws styled versions from the same numbers.
How to make a pie chart
- 1
Enter the slices in the pie chart maker
Type one slice per line as Label, value, for example Bus, 12, or paste two columns from a spreadsheet. Counts, amounts and percentages all work; the pie chart maker divides each by the total.
- 2
Pick the shape and the labels
Choose a pie or a donut, labels outside on leader lines, inside the slices or in a legend, and what each label shows: percentage, value, angle. With many small slices, group them as Other.
- 3
Check the table and download
The table under the pie chart maker lists every slice's percentage and angle, with the total. Download PNG, SVG or PDF, or copy the table into your report.
How to calculate pie chart percentages and angles
Pie chart angles and percentages both come from one division. Divide each value by the total to get its share; multiply the share by 100 for the percentage and by 360 for the angle in degrees.
- Percentage = value ÷ total × 100
- Angle = value ÷ total × 360°, or percentage × 3.6
- From an angle back to a percentage = angle ÷ 360 × 100, so a 72° slice is 20%
Worked example with 30 students
Thirty students say how they get to school. The total is 30, so each student is 1/30 of the pie chart: 12° of angle and 3.33% of the class.
| Way to school | Students | Share | Percentage | Angle |
|---|---|---|---|---|
| Walk | 9 | 9/30 | 30% | 108° |
| Bus | 12 | 12/30 | 40% | 144° |
| Car | 6 | 6/30 | 20% | 72° |
| Bike | 3 | 3/30 | 10% | 36° |
| Total | 30 | 30/30 | 100% | 360° |
Why pie chart percentages add to 99.9% or 101%. Rounding each slice on its own makes the total drift: three equal thirds round to 33.3% each, 99.9% in all. Excel and Google Sheets label slices that way. The pie chart maker rounds by the largest-remainder method instead, the rule some parliaments use to share out seats: every share is rounded down, then the missing tenths go to the slices with the largest remainders, so the labels read 33.4%, 33.3% and 33.3%.
Pie chart vs donut chart vs nested pie chart
Use a pie chart for a few parts of one whole, a donut chart when the centre should carry the total or n, and a nested pie chart when each part splits again. All three follow one rule: angle equals share × 360°.
| Pie chart | Donut chart | Nested pie chart (sunburst) | |
|---|---|---|---|
| Shows | Parts of one whole | Parts of one whole, with the total in the centre | Categories and the subcategories inside each |
| Read by | The angle and area of each slice | The length of each arc around the ring | The inner ring for categories, the outer ring for the split |
| Works best with | 2 to 6 slices | 2 to 6 slices | 2 to 5 categories with a few subcategories each |
| Watch out for | Many thin slices, or slices of similar size | A thin ring makes small arcs hard to see | Tiny outer slices; label them outside or fold them |
| In this pie chart maker | Shape: Pie | Shape: Donut | The Nested pie tab |
A sunburst chart is the same idea with three or more rings. Excel's pie of pie chart is different: it moves the smallest slices into a second, smaller pie beside the first, a job the Other slice of the pie chart maker does in one circle.
When a bar chart reads better than a pie chart
A pie chart answers one question well: how big is each part of the whole? People judge positions along a common scale more accurately than angles or areas (Cleveland and McGill, 1984), so when the question is which category is bigger, or how two groups compare, bars win. For judging what share of the whole a part is, Spence and Lewandowsky (1991) found pie charts at least as accurate as bars, so the choice follows the question.
- More than six slices. Thin slices crowd their labels; group the smallest as Other in the pie chart maker, or switch to bars. Microsoft's own Excel guidance says no more than seven categories.
- Slices of similar size. 22%, 21% and 20% look alike as angles but not as bars on one axis, as the figure shows.
- Two or more groups to compare. Two pie charts side by side make readers compare angles across circles; a grouped bar graph puts both groups on one axis.
- Numbers that are not parts of one whole. Means, rates and answers where people could tick several boxes do not add up to 100%, and a pie chart of them is wrong, not just hard to read.
- 3D and tilted pies. The tilt makes front slices look larger than back slices of the same angle; the pie chart maker draws flat charts only.
How to make a pie chart in Excel or Google Sheets
Both spreadsheets draw a pie chart from two columns: names in the first, positive numbers in the second, one row per slice. Zero and negative values get no slice, and the pie chart maker leaves them out too, naming the line.
In Excel
- 1
Select the two columns, header row included.
- 2
Go to Insert → Insert Pie or Doughnut Chart and pick Pie.
- 3
Click the chart, open Chart Elements (+) and tick Data Labels; then right-click a label, choose Format Data Labels and tick Percentage.
In Google Sheets
- 1
Select the two columns.
- 2
Go to Insert → Chart, and set Chart type to Pie chart in the chart editor if Sheets picked another.
- 3
Under Customize → Pie chart, set Slice label to Percentage; Donut hole turns it into a donut chart.
| AWay to school | BStudents | |
|---|---|---|
| 2 | Walk | 9 |
| 3 | Bus | 12 |
| 4 | Car | 6 |
| 5 | Bike | 3 |
Neither spreadsheet lists the angles, and both round each percentage label on its own. Copy the same two columns into the pie chart maker above to get both right, with the header row skipped.
Pie charts in papers, and the pie chart maker vs Excel, Sheets, R and Python
Journals accept pie charts for composition data, with a few habits that make them easier to review. Give n in the title or caption, order slices largest first from 12 o'clock, label slices directly rather than through a distant legend, use a colour-blind-safe palette, and never 3D. When the shares come from several samples, say whether they are pooled or averaged.
| Tool | Percentages and angles | First slice at 12 o'clock, clockwise | Files |
|---|---|---|---|
| This pie chart maker | Rounded to add to 100%, with an angle table | Default | PNG at 300 dpi, SVG, PDF |
| Excel | Percentage labels, each rounded on its own | Default | Save as Picture, PDF |
| Google Sheets | Percentage labels, each rounded on its own | Default | PNG, PDF, SVG |
| R, ggplot2 | You compute them | coord_polar("y"), clockwise by default | Any format through ggsave() |
| Python, matplotlib | autopct formats them | Needs startangle=90, counterclock=False | Any format through savefig() |
matplotlib starts its first slice at 3 o'clock and runs counterclockwise unless told otherwise, so a pie chart from it reads in a different order from the same data in Excel or the pie chart maker.
Pie chart maker FAQ
How do I make a pie chart with percentages?+
Type or paste your slices into the pie chart maker above and keep Percentage ticked; every label shows its share, rounded so they all add to exactly 100%. You can enter raw counts or amounts and the maker divides each by the total. Pick 0, 1 or 2 decimals, and add the value or the angle to the same label.
How do you calculate the angles of a pie chart?+
Angle = value ÷ total × 360°. For 12 of 30 students, 12 ÷ 30 = 0.4 and 0.4 × 360° = 144°. From a percentage, multiply by 3.6: 25% is 90°. The pie chart maker lists every angle, and where each slice starts and ends, in the table under the chart.
How many slices should a pie chart have?+
Up to about six. Microsoft's guidance for Excel pie charts says no more than seven categories. Past that the labels crowd and thin slices are hard to compare; in the pie chart maker, group slices under 2% as Other, or draw a bar graph.
What is the difference between a pie chart and a donut chart?+
A donut chart is a pie chart with the centre cut out; the slices keep the same angles. The hole can carry the total or n, and readers judge a donut by arc length rather than area. Switch Shape to Donut in the pie chart maker to see both from the same numbers.
Can I make a nested or multi-level pie chart?+
Yes, the Nested pie tab of the pie chart maker draws two rings: categories inside, subcategories outside. Enter one Category, Subcategory, value row per line. Each subcategory sits inside its category's arc in a lighter shade of its colour. A sunburst chart is the same idea with three or more rings.
Why don't my pie chart percentages add up to 100%?+
Because each label was rounded on its own. Three equal thirds round to 33.3% each, 99.9% in all. The pie chart maker rounds by the largest-remainder method, so the printed shares always add to 100%. If the numbers you typed are percentages that add to 97%, it says so and offers to add the missing 3% as Unknown.
Should a pie chart be 3D?+
No. Tilting a pie chart squashes the circle into an ellipse, so slices at the front look larger than slices of the same angle at the back, and the side wall adds area that means nothing. The pie chart maker draws flat charts only.
How do I make a pie chart in Excel or Google Sheets?+
Select two columns, names and values, then use Insert → Insert Pie or Doughnut Chart in Excel, or Insert → Chart in Google Sheets and pick Pie chart. Add percentage labels from Format Data Labels in Excel or Slice label in Sheets. Or paste the same columns into the pie chart maker for exact percentages and an angle table.
Is there an AI pie chart generator?+
Yes, the AI pie chart generator tab on this page draws a styled pie chart image: a journal panel, an infographic with icons, a textbook circle graph or a hand-drawn sketch. Build the numbers in the pie chart maker first and press Try the AI Pie Chart Generator; the exact percentages and angles go into the prompt. An image model can drift by a few degrees, so use the free pie chart maker when the angles must be exact.
Sources
- Pie chart — Wikipedia
- Graphical perception — J Am Stat Assoc 79:531–554 (1984) — Cleveland WS, McGill R
- Displaying proportions and percentages — Appl Cogn Psychol 5:61–77 (1991) — Spence I, Lewandowsky S
- Color Universal Design: how to make figures and presentations that are friendly to colorblind people — Okabe M, Ito K
- What is U.S. electricity generation by energy source? — U.S. Energy Information Administration
- Production, use, and fate of all plastics ever made — Sci Adv 3:e1700782 (2017) — Geyer R, Jambeck JR, Law KL
- Add a pie chart — Microsoft Support
- Pie charts — Google Docs Editors Help
- matplotlib.pyplot.pie — Matplotlib
- coord_polar — ggplot2
Keep exploring
Our other diagram tools, and the guides behind them.
Tools
Draw your shares in the pie chart maker
Exact percentages and angles from your own numbers, free in the browser, or the same slices as a journal panel, infographic or sketch from the AI pie chart generator.
Back to the pie chart maker