Scientific FigureScientific Figure
Percentages and angles worked out for you

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.

Slices: Label, value

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.

Title
Unit
Shape
Labels
Show on each slice
Slices
Colours
Download

The pie chart maker runs in your browser: no sign-in, no upload, free to download.

US electricity generation by source, 2023 (pie chart)Natural gas: 43.1% (1,802 billion kWh, 155.3°); Nuclear: 18.6% (775 billion kWh, 66.8°); Coal: 16.2% (675 billion kWh, 58.2°); Wind: 10.2% (425 billion kWh, 36.6°); Hydropower: 5.7% (240 billion kWh, 20.7°); Solar: 3.9% (165 billion kWh, 14.2°); Other: 2.3% (96 billion kWh, 8.3°)US electricity generation by source, 2023Natural gas: 43.1%Nuclear: 18.6%Coal: 16.2%Wind: 10.2%Hydropower: 5.7%Solar: 3.9%Other: 2.3%Natural gas43.1%Nuclear18.6%Coal16.2%Wind10.2%Hydropower5.7%Solar3.9%Other2.3%scientificfigure.com
Want a journal panel, an infographic with icons, a textbook circle graph or a hand-drawn pie chart?
Pie chart percentages and angles (7 slices)clockwise from 12 o'clock
SliceValueShareAngleFrom → to
Natural gas1,802 billion kWh43.1%155.3°0.0° → 155.3°
Nuclear775 billion kWh18.6%66.8°155.3° → 222.0°
Coal675 billion kWh16.2%58.2°222.0° → 280.2°
Wind425 billion kWh10.2%36.6°280.2° → 316.8°
Hydropower240 billion kWh5.7%20.7°316.8° → 337.5°
Solar165 billion kWh3.9%14.2°337.5° → 351.7°
Other(All other sources, Biomass)96 billion kWh2.3%8.3°351.7° → 360.0°
Total4,178 billion kWh100.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 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.

Cell types in a sample

For a figure panel. The pie chart maker gives exact angles.

US electricity by source

Icons per slice, which the pie chart maker leaves out.

How 30 students get to school

Angles marked for class; check them in the pie chart maker.

AI tools survey

For notes and slides. Load the survey in the pie chart maker.

Nested pie chart of US electricity

Two rings, like the Nested pie tab of the pie chart maker.

Exploded pie chart of plastic waste

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. 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. 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. 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 schoolStudentsSharePercentageAngle
Walk99/3030%108°
Bus1212/3040%144°
Car66/3020%72°
Bike33/3010%36°
Total3030/30100%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 of how 30 students get to school, bus 12 students 40% 144°, walk 9 students 30% 108°, car 6 students 20% 72°, bike 3 students 10% 36°Walk: 30% (9 students, 108.0°); Bus: 40% (12 students, 144.0°); Car: 20% (6 students, 72.0°); Bike: 10% (3 students, 36.0°)Walk: 30% · 108.0°Bus: 40% · 144.0°Car: 20% · 72.0°Bike: 10% · 36.0°Walk30% · 108.0°Bus40% · 144.0°Car20% · 72.0°Bike10% · 36.0°
Drawn by the pie chart maker from the class data, with the angle on every slice.

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 chartDonut chartNested pie chart (sunburst)
ShowsParts of one wholeParts of one whole, with the total in the centreCategories and the subcategories inside each
Read byThe angle and area of each sliceThe length of each arc around the ringThe inner ring for categories, the outer ring for the split
Works best with2 to 6 slices2 to 6 slices2 to 5 categories with a few subcategories each
Watch out forMany thin slices, or slices of similar sizeA thin ring makes small arcs hard to seeTiny outer slices; label them outside or fold them
In this pie chart makerShape: PieShape: DonutThe 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.

Pie chart of cell types in a PBMC sample, T cells 60%, monocytes 18%, B cells 10%, NK cells 10%, dendritic cells 2%T cells: 60% (60%, 216.0°); Monocytes: 18% (18%, 64.8°); B cells: 10% (10%, 36.0°); NK cells: 10% (10%, 36.0°); Dendritic cells: 2% (2%, 7.2°)T cells: 60%Monocytes: 18%B cells: 10%NK cells: 10%Dendritic cells: 2%T cells60%Monocytes18%B cells10%NK cells10%Dendritic cells2%
Pie chart
Donut chart of the same PBMC cell types, the slices at the same angles as the pie chartT cells: 60% (60%, 216.0°); Monocytes: 18% (18%, 64.8°); B cells: 10% (10%, 36.0°); NK cells: 10% (10%, 36.0°); Dendritic cells: 2% (2%, 7.2°)T cells: 60%Monocytes: 18%B cells: 10%NK cells: 10%Dendritic cells: 2%T cells60%Monocytes18%B cells10%NK cells10%Dendritic cells2%
Donut chart, total in the hole
Nested pie chart of US electricity in 2023 with fossil fuels, nuclear and renewables on the inner ring and each source on the outer ringFossil fuels: 60%; Renewables: 21%; Nuclear: 19%; Fossil fuels, Natural gas: 43% (1,802, 155.5°); Fossil fuels, Coal: 16% (675, 58.2°); Fossil fuels, Petroleum and other gases: 1% (27, 2.3°); Renewables, Wind: 10% (425, 36.7°); Renewables, Hydropower: 6% (240, 20.7°); Renewables, Solar: 4% (165, 14.2°); Renewables, Biomass and geothermal: 2% (63, 5.4°); Nuclear: 19% (775, 66.9°)Fossil fuels: 60%Renewables: 21%Nuclear: 19%Natural gas: 43%Coal: 16%Petroleum and other gases: 1%Wind: 10%Hydropower: 6%Solar: 4%Biomass and geothermal: 2%Nuclear: 19%Fossil fuels60%Renewables21%Nuclear19%Natural gas43%Coal16%Petroleum andother gases1%Wind10%Hydropower6%Solar4%Biomass andgeothermal2%Nuclear19%
Nested pie chart

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.
Pie chart of votes for five poster designs, every slice close to 20%Design A: 22.0% (22, 79.2°); Design B: 20.0% (20, 72.0°); Design C: 21.0% (21, 75.6°); Design D: 19.0% (19, 68.4°); Design E: 18.0% (18, 64.8°)Design A: 22Design B: 20Design C: 21Design D: 19Design E: 18Design A22Design B20Design C21Design D19Design E18Bar graph of the same votes for five poster designs, Design A tallest at 22 votes051015202522Design A20Design B21Design C19Design D18Design E
The same five vote counts as a pie chart and as a bar graph. Which design won is hard to see in the pie and plain in the bars.

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. 1

    Select the two columns, header row included.

  2. 2

    Go to Insert → Insert Pie or Doughnut Chart and pick Pie.

  3. 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. 1

    Select the two columns.

  2. 2

    Go to Insert → Chart, and set Chart type to Pie chart in the chart editor if Sheets picked another.

  3. 3

    Under Customize → Pie chart, set Slice label to Percentage; Donut hole turns it into a donut chart.

AWay to schoolBStudents
2Walk9
3Bus12
4Car6
5Bike3
The class data as spreadsheet rows. Copy columns A and B into the pie chart maker.

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.

ToolPercentages and anglesFirst slice at 12 o'clock, clockwiseFiles
This pie chart makerRounded to add to 100%, with an angle tableDefaultPNG at 300 dpi, SVG, PDF
ExcelPercentage labels, each rounded on its ownDefaultSave as Picture, PDF
Google SheetsPercentage labels, each rounded on its ownDefaultPNG, PDF, SVG
R, ggplot2You compute themcoord_polar("y"), clockwise by defaultAny format through ggsave()
Python, matplotlibautopct formats themNeeds startangle=90, counterclock=FalseAny 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.

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