A pie chart calculator turns a list of values into the percentage and the central angle of each slice, so that you can draw an accurate pie chart. Enter one slice per line with a label and a value, and it gives the share and the angle of each, with the totals.
How to use the pie chart calculator
- Type one slice per line: a label followed by its value, such as Rent 1200.
- Choose the number of decimal places, or leave it blank for one.
- Press Calculate to see each slice's percentage and angle.
The central angle
The Wikipedia article on pie charts says that the arc length of each slice, and consequently its central angle and area, is proportional to the quantity that it represents.[1] It gives the rule that the central angle for a quantity that is a fraction Q of the total is 360 × Q degrees, and that the angles must add up to 360 degrees.[1] So a slice that is a quarter of the total has an angle of 90 degrees. The percentage is the same fraction multiplied by 100.
The worked example from the page
The page uses the preliminary seats in the 2004 European Parliament election, 732 in total. The largest group had 276 seats, which is 37.7 percent and an angle of 135.7 degrees, from 0.377 × 360 rounded to one decimal place.[1] The others were 200 seats (27.3 percent, 98.4 degrees), 67 (9.2, 33.0), 66 for other (9.0, 32.5), 42 (5.7, 20.7), 39 (5.3, 19.2), 27 (3.7, 13.3) and 15 (2.0, 7.4).[1] The page notes that, because of rounding, the table totals of 99.9 percent and 360.2 degrees do not add up to 100 and 360.[1] Enter these values and the calculator reproduces the same numbers and shows the same totals, 99.9 percent and 360.2 degrees.
Why the totals may be off
Each percentage and angle is rounded separately, so the rounded numbers can add up to slightly more or less than 100 percent or 360 degrees. The calculator shows the sum of the rounded values so that you can see the effect. For drawing, use the angles with more decimal places, or adjust the largest slice by the small difference. The unrounded values are exact.
When to use a pie chart
The page says that pie charts are very widely used in business and the mass media, but that many experts recommend avoiding them, because it is more difficult to make simple comparisons of slice sizes.[1] It says a study found that comparison by angle was less accurate than comparison by length, and that bar charts, box plots and dot plots are alternatives.[1] It also says that a pie chart can often be more effective than a bar graph when comparing a single category with the whole, when the share is close to 25 or 50 percent.[1] The calculator tells you when a chart has more than six slices, which is our own rule of thumb, because the page says pie charts cannot show more than a few values.[1]
Small slices and other tips
The page says that small slices make the viewer rely on colours, textures or arrows, which makes pie charts unsuitable for larger amounts of data.[1] The calculator flags slices below 3 percent, our own threshold, so that you can group them as Other. The page also says that a third dimension does not improve the reading of the data and makes the plots difficult to interpret, so draw your pie chart flat.[1]
History
The page says that the earliest known pie chart is generally credited to William Playfair's Statistical Breviary of 1801, and that Florence Nightingale adapted the idea into her polar area diagram, which is different from a pie chart.[1]
Drawing the chart
Draw the first slice from the 12 o'clock position and move clockwise, using the angles in the order that you entered. Many spreadsheet programs do the drawing for you from the values, but the angles let you draw a chart by hand, check software output, or make a chart in a tool that asks for angles.
A simple budget example
A monthly budget has rent 1,200, food 450, transport 150, savings 300 and other 100, a total of 2,200. Rent is 54.5 percent with an angle of 196.4 degrees, food 20.5 percent and 73.6 degrees, transport 6.8 percent and 24.5 degrees, savings 13.6 percent and 49.1 degrees, and other 4.5 percent and 16.4 degrees. The percentages add up to 99.9 because of rounding. These figures are our own worked example. A pie chart suits this case because the question is what share of the total each item takes, and there are only five slices.
Ordering the slices
The page says that most people have difficulty ordering the slices of a pie chart by size.{1} Putting the largest slice first, at the top, and the others in descending order clockwise can help the reader. If two slices are close in size, show their values on the chart or in the table, because the eye cannot tell a small difference in angle.
Common mistakes
- Using values that are not parts of a whole. A pie chart needs shares of one total.
- Including negative values. They cannot be shown as slices.
- Too many slices. Group the small ones or use a bar chart.
What next
Use this often? Add Pie Chart to your Home screen.
Frequently asked questions
What is a pie chart calculator?
A tool that turns a list of values into the percentage and central angle of each slice, so that you can draw an accurate pie chart.
How do I calculate the angle of a pie chart slice?
Divide the slice's value by the total and multiply by 360. A slice that is 25 percent of the total has an angle of 90 degrees.
Why do my angles not add up to 360?
Each angle is rounded separately, so the rounded angles can add up to slightly more or less than 360. The unrounded values add up exactly.
How many slices should a pie chart have?
Only a few. With many slices, or very small ones, a bar chart is easier to read.
When is a pie chart better than a bar chart?
When comparing one category with the whole, especially when the share is close to 25 or 50 percent.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.