Pie Chart Calculator — Percentage & Angle per Slice
Turn any list of values into a pie chart: enter numbers and optional labels and get the percentage share and sector angle for every slice.
Sum of all slice values
5
slicesCategory A
30%
Category B
20%
Category C
25%
Category D
15%
Category E
10%
- 1
Number of slices
5 - 2
Total (sum of all values)
30 + 20 + 25 + 15 + 10 = 100
How does this calculator work?
Enter comma-separated values; the calculator divides each by the total to get percentage (value/total × 100) and sector angle (value/total × 360°). Works with any positive numbers — you do not need to enter percentages. Best for 2–6 categories.
Formula
How this is calculated
A pie chart represents each category as a sector of a circle. The full circle has 360° and represents 100% of the total. Each slice's share is proportional to its value: percentage = value ÷ total × 100, and sector angle = value ÷ total × 360°.
This calculator accepts up to eight (or more) comma-separated values in any order and pairs them with optional comma-separated labels. It sums all values to find the total, then computes each slice's percentage and degree angle. The animated donut chart updates in real time as you type.
Pie charts work best for 2–6 categories that together sum to a meaningful whole (a budget, market share, survey responses). They become hard to read with many thin slices or when values are very similar; a bar chart is often clearer in those cases. Negative values are ignored because a negative sector area has no intuitive meaning.
Frequently asked questions
Angle (°) = (slice value ÷ total) × 360. For example, if one category accounts for 25% of the total, its sector angle is 0.25 × 360 = 90°. The percentage is the angle divided by 3.6, or equivalently angle ÷ 360 × 100.
No — enter the raw counts, amounts or any positive numbers. The calculator converts them to percentages and angles automatically. For example, entering "10, 20, 30" gives the same chart as "16.7%, 33.3%, 50%" — only the ratios matter.
There is no hard limit, but pie charts become unreadable beyond 6–8 slices. If you have many small categories, consider grouping them into an "Other" category to keep the chart clear.
Also known as
TG we-Calculate Editorial Team. (2026). Pie Chart Calculator — Percentage & Angle per Slice [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/pie-chart-calculator
TG we-Calculate Editorial Team. "Pie Chart Calculator — Percentage & Angle per Slice." TG we-Calculate. 2026. https://we-calculate.com/calculator/pie-chart-calculator.
TG we-Calculate Editorial Team, "Pie Chart Calculator — Percentage & Angle per Slice," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/pie-chart-calculator
@misc{wecalculate_pie_chart_calculator, title = {Pie Chart Calculator — Percentage & Angle per Slice}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/pie-chart-calculator}}, year = {2026}, note = {TG we-Calculate} }
Did this calculator help you?
