Pie Chart Maker
Enter or paste up to 12 categories and values to make a pie or doughnut chart showing each part of the whole, then download it as SVG or PNG.
How to make a pie chart
A pie chart (also called a pie graph or circle graph) shows parts of a whole. Type a category and a value on each row, or paste two columns from a spreadsheet. Add a title if you like, choose pie or doughnut (also called a donut chart), and select Make chart. The chart, a numbered legend and a data table appear on the same page, with SVG, PNG and data downloads right below.
Example: a monthly budget pie chart
For a monthly budget (example data, not advice), enter Rent 50, Food 25, Savings 15 and Other 10. The total is 100, so the slices are 50%, 25%, 15% and 10%. Enter 1000, 500, 300 and 200 (dollars) instead and you'll get the same chart, because each slice is its value divided by the total.
How the percentages are rounded
Each category's share is its value divided by the total. Shares are rounded down to one decimal place, then any leftover 0.1% steps go to the categories that were rounded down the most, so the labels add up to 100.0%. Three equal values show as 33.4%, 33.3% and 33.3%, in row order, while each slice is still exactly one third of the circle.
Reading small slices
Every slice has a number that matches the legend and the table, so you never have to tell categories apart by color alone. Slices under 3% of the circle are too thin for a number, so check them in the table. Categories with a value of 0 stay listed at 0.0% with no slice.
Privacy
Your chart is made in this browser tab. Titles, categories and values aren't saved by this page, added to the page address or sent in analytics, and downloads are created on your device. See our privacy policy and disclaimer.
Frequently asked questions
Do my values have to add up to 100?
No. Enter the raw numbers, such as dollars, votes or minutes, and the chart works out each category's share of the total. If your numbers are already percentages that add up to 100, that works too.
Why do the percentages always add up to exactly 100.0%?
Each share is rounded down to one decimal place, and rounding alone can leave the total slightly off, such as 99.9%. Any leftover 0.1% steps go to the categories that were rounded down the most (ties go to the earlier row), so the labels add up to 100.0%. The slices themselves are drawn from the exact, unrounded shares.
What happens to zero or very small values?
A category with a value of 0 stays in the table at 0.0% but has no slice. Slices under 3% don't get a number inside the pie, so read them from the numbered legend and table; a label of 0.0% means a share under 0.1%, not zero.
When is a bar chart better than a pie chart?
Pie charts work best for a few parts of one whole. With many categories, or when you need to compare similar values closely, a bar chart is usually easier to read. This tool shows a hint once you have more than 8 categories, but it never merges or drops categories for you.
What do the downloads contain?
The SVG and PNG images show the title (if you added one), the chart, a numbered legend with each value and percentage, and the total. The PNG is up to 1200 pixels on its longest side with a white background. The .tsv file has each category, value, rounded percent and exact share, ready to open in Excel or Google Sheets.
Can I paste data from a spreadsheet?
Yes. Copy two columns (category and value) from Excel, Google Sheets or Numbers and use Paste data, or paste lines like Rent,50. Quoted names with commas, such as "Food, drinks",25, work too. A first row reading Label, Value or Category, Value is treated as a header and skipped. Remove $ signs and thousands commas first.