Skip to content
Pie Chart Maker

Pie Chart Maker

Paste labels and numbers from any spreadsheet into the pie chart maker below and get a pie or donut chart whose percentages add up to exactly 100%. Download it as a PNG or SVG, or copy the table of degrees.

  1. Type or paste your labels and values
  2. Pick the look: pie or donut, labels, colors
  3. Download PNG or SVG
    Decimals
    Legend
    Palette
    Total0
    Slices0
    Largest slice–
    Percents add up to–
    Chart type

    Live preview

      Results table

      Using the pie chart maker in three steps

      1. Enter the data. Type one slice per row: Label and Value. To bring in a list you already have, press Paste data. Sample data loads a monthly budget so you can try every option before using your own numbers; the page opens with that budget already drawn. Clear empties the grid, and Undo in the message that pops up brings the data back.
      2. Choose the look. Add a Title, pick Pie or Donut, decide what the Slice labels show (Percent, Value, Label + percent or None), where the Legend goes and which Palette to use. The chart redraws as you type. There is no Draw button to forget.
      3. Take it with you. Use Download PNG for slides and documents and Download SVG for print or design software. Copy table and Download CSV give you the numbers. Copy link saves the whole chart in the link itself.

      Your values do not have to add up to 100. Type raw counts, dollars, hours or votes; the tool works out each share of the total for you. The one thing it cannot fix is data that is not a single whole. If people could tick several answers in a survey, the shares add up to more than 100%, and a pie will mislead. I explain that case in why percentages don't add up to 100%.

      Pasting from Excel, Google Sheets or a CSV

      Select two columns in your spreadsheet (labels on the left, numbers on the right), copy them, paste them into the Paste data box and press Use this data. You can also paste straight into the first cell of the grid. A saved .csv or .txt file opens with Open CSV file in the same box. Tab-separated ranges from Excel, Google Sheets and Numbers work, and so do CSV lines with commas or semicolons and plain lines such as Rent: 1200.

      • Header row. If the first row has text where a number should be, it is read as a header. When the Title is empty, the header of the number column becomes the title.
      • Money and percent signs are stripped: $1,200 is read as 1200 and 45% as 45.
      • Number format. Exports from Germany, France, Spain, Italy or Brazil often write one thousand two hundred and a half as 1.200,5. Switch Number format to 1.234,5 and those values are read correctly. In the default 1,234.5 format, a lone value such as 12,5 is still read as 12.5, with a note under the grid.
      • Skipped rows. Text in the value column, negative numbers and accounting-style (40) are left out, and a short message under the grid tells you which row was skipped and why. Rows with 0 stay in the table but are not drawn.

      Pie or donut?

      Both use the same arithmetic. A donut cuts out the middle (the hole is 58% of the outer radius), and the space can hold a figure. Set Center text to Total to show the sum, or to Custom for your own short line, such as “$2,185 a month”. I reach for a donut when the total is the headline and the split is the detail, and for a plain pie when one share is the point. To make one slice the story, pick it under Highlight slice: the others fade so the eye goes straight to it, and in a plain pie the chosen slice also moves out a little from the center.

      You will not find a 3D option here. Tilting a pie makes the slices at the front look bigger than the ones at the back, so a 3D chart misrepresents the very proportions it is meant to show.

      Too many slices? Group them into “Other”

      Pies read well with a handful of slices. Datawrapper’s guidance is four slices at most, and shares near 25%, 50% and 75% are the easiest to judge. My own working limit is five, with everything else combined. Group small slices does it in one step:

      • Keep top N keeps the N largest slices and adds up the rest.
      • Below X% combines every slice smaller than X% of the total.

      Grouping only happens when at least two slices would go into Other, since a group of one is just a renamed slice. The Other slice is always drawn last in a neutral grey, its name comes from Other label, and the results table lists what went into it. For the exact-100% rounding, Other counts as one slice. Datawrapper’s editor does the same and sorts slices largest first by default, which is also our default under Sort.

      A seven-slice budget pie next to the same budget with Phone, Gym and Streaming grouped into one Other slice
      Three slivers under 3% each become one readable Other slice.

      If the small categories are the whole point of your chart, use bars instead. My guide on pie, donut or bar charts shows where the line falls.

      The arithmetic behind every slice

      Each slice is its value's share of the total:

      percent = value ÷ total × 100
      angle = value ÷ total × 360° = percent × 3.6

      The first slice starts at 12 o’clock and the slices run clockwise. Excel measures its first slice angle the same way, clockwise from vertical, so the result looks the way readers expect. The chart is drawn from exact values. Rounding only touches the labels and the table, with 0, 1 or 2 Decimals.

      Pie of 30 pets: Dogs 144°, Cats 96°, Fish 48°, Birds 72°, starting at 12 o’clock and running clockwise
      Each value is divided by the total of 30 and multiplied by 360°.

      Rounding each label on its own is why so many charts show 99% or 101%. Here the labels are rounded with the largest remainder method instead. Each share is rounded down first. The points still missing from 100 go to the shares with the largest leftover fractions, and a tie goes to the larger value. The labels always total exactly 100, and no label is more than one step of the last decimal away from its true value. The cases below are worth checking by hand:

      Rounded labels: each rounded on its own vs largest remainder
      ValuesDecimalsRounded on its ownLargest remainderAngles
      Dogs 12, Cats 8, Fish 4, Birds 6040, 27, 13, 20 = 10040, 27, 13, 20144°, 96°, 48°, 72°
      A 1, B 1, C 1033, 33, 33 = 9934, 33, 33120° each
      Yes 1, No 7013, 88 = 10112, 8845°, 315°
      A 2, B 2, C 2, D 3022, 22, 22, 33 = 9922, 22, 22, 3480°, 80°, 80°, 120°
      Seven slices of 1114.3 × 7 = 100.114.3 × 6 and 14.251.4° each

      In the Yes/No row both shares sit exactly on .5 (12.5% and 87.5%). Rounding both up gives 101, so the tie rule gives the spare point to the larger value: 12 and 88. To draw a chart by hand from these angles, see how to calculate pie chart angles.

      Worked example: a monthly budget

      Take a budget of Rent 1,200, Food 450, Transport 220, Utilities 180, Phone 60, Gym 40 and Streaming 35, with Group small slices set to Keep top 4 and 1 decimal.

      1. Total: 1,200 + 450 + 220 + 180 + 60 + 40 + 35 = 2,185.
      2. Other: Phone + Gym + Streaming = 60 + 40 + 35 = 135.
      3. Rent: 1,200 ÷ 2,185 × 100 = 54.92%, shown as 54.9%. Angle: 1,200 ÷ 2,185 × 360 = 197.71°, shown as 197.7°.
      4. Repeat for each slice. Check that the labels total 100.0% and the angles 360°.
      Monthly budget, top 4 kept
      LabelValueExact %PercentAngle (°)
      Rent1,20054.92054.9197.7
      Food45020.59520.674.1
      Transport22010.06910.136.2
      Utilities1808.2388.229.7
      Other1356.1786.222.2
      Total2,185100100.0360.0

      Below 5% gives the same chart, because Phone (2.75%), Gym (1.83%) and Streaming (1.60%) are the only slices under 5%.

      Percent to degrees: quick reference

      ShareDegreesShareDegrees
      5%18°33⅓%120°
      10%36°40%144°
      12.5% (one eighth)45°50%180°
      20%72°66⅔%240°
      25%90°75%270°
      30%108°100%360°

      Slices of 18° (5%) or more get their label inside; narrower ones get it outside with a short line.

      PNG or SVG?

      Download PNG saves an image at twice the screen size (2400 × 1600 pixels, or 2000 × 2000 with the legend off), so it stays sharp on a projector and in Word, Google Slides or a chat message. Tick Transparent background before downloading if your slide has a colored background. Download JPG gives the same picture on white for upload forms that refuse PNG. Download SVG saves a vector file that scales to any size without blurring, which is the right choice for print and for editing in Illustrator, Inkscape or Figma. The labels stay as real text you can retype.

      Pie chart questions

      How do I make a pie chart with percentages?

      Enter your raw values, not percentages, and set Slice labels to Percent or Label + percent. Each share is value ÷ total × 100, rounded so the labels add up to exactly 100.

      Do my numbers need to add up to 100?

      No. Counts, amounts of money or hours all work, because the shares are worked out from the total. If you type percentages with a % sign and they do not add up to 100, you will see a warning, because the data is probably not one whole.

      How many slices should a pie chart have?

      Four or five is comfortable to read. With more than six slices, combine the small ones with Group small slices or switch to a bar chart.

      How do I make a pie chart from Google Sheets?

      Select the label and number columns, copy them, press Paste data, paste them and press Use this data. The header row is detected, and the chart appears straight away.

      Can I download the chart with a transparent background?

      Yes. Tick Transparent background, then press Download PNG. The slices and labels keep their colors, and the background of your slide shows through.

      Is my data uploaded anywhere?

      No. The chart is drawn in your browser. Copy link stores the data inside the link itself, after the # sign, so it only travels when you share that link. The last chart you made is also kept in this browser, so it is still there when you come back.

      Guides to pie charts

      Updated