⭕
✓ Editorially reviewed by Derek Giordano, Founder & Editor · BA Business Marketing

Pixel Circle and Ellipse Generator

Lay out a circle or ellipse in square blocks, as an outline, thick ring or filled shape, with the block count for every row, for pixel art or Minecraft-style building

Updated October 2026

🧮
700+ calculators, no signup required
Finance · Health · Math · Science · Business
nnng.com
A block circle is drawn by choosing, row by row, the squares closest to the true circle; for odd diameters the classic midpoint (Bresenham) circle algorithm does this with whole-number steps. A 15-block-wide outline: 40 blocks: 15-block circle, 1-block outline. The preview grid shows each block, and the row counts let you build it one layer at a time.

How the Circle Is Computed

For a circle with an odd diameter there is a centre block, and the generator uses the midpoint circle algorithm published by Jack Bresenham in 1977. It walks one-eighth of the circle starting at the top, (0, r), and at each step decides whether to move straight across or diagonally down by testing whether the midpoint between the two candidate squares lies inside the circle. A running decision value starts at 1 − r and is updated with additions only, then the other seven eighths are copied by symmetry.

The standard textbook example is r = 10: the first octant is (0, 10), (1, 10), (2, 10), (3, 10), (4, 9), (5, 9), (6, 8), (7, 7), which the generator reproduces, giving a 56-block outline 21 blocks across.

Even diameters and ellipses have no single centre block, so the generator uses the rule the algorithm approximates: a block is part of the shape when its centre lies inside the ellipse (x/a)² + (y/b)² ≤ 1. An outline keeps the inside blocks that touch an outside block along an edge; a thick ring removes a smaller ellipse from the middle.

Common Sizes

ShapeMethodBlocksBlocks per row, top half
5-block circle, outlineMidpoint123, 2, 2
7-block circle, outlineMidpoint163, 2, 2, 2
11-block circle, outlineMidpoint285, 2, 2, 2, 2, 2
15-block circle, outlineMidpoint405, 4, 2, 2, 2, 2, 2, 2
15-block circle, filledMidpoint1775, 9, 11, 13, 13, 15, 15, 15
21-block circle, 2-block ringMidpoint1287, 11, 8, 6, 6, 6, 4, 6, 4, 4, 4
16-block circle, outlineBlock-centre test446, 4, 2, 2, 2, 2, 2, 2
15 × 9 ellipse, outlineBlock-centre test327, 4, 2, 2, 2

A filled 15-block circle uses 177 blocks, compared with π × 7.5² ≈ 177 for a true circle of that width, so the block version is a close match.

Building Tips

Common Mistakes

What This Generator Does Not Cover

It makes flat 2D shapes on a square grid. Spheres, cylinders with varying radius, and hexagonal or isometric grids need other tools; for the area or circumference of a real circle, use the circle calculator.

Frequently Asked Questions

How do you make a circle out of blocks?
Choose the diameter, then place the squares closest to the true circle row by row. The generator does this with the midpoint circle algorithm for odd widths and lists the blocks in each row.
What is the midpoint circle algorithm?
Bresenham’s 1977 method for drawing a circle on a grid: it steps around one eighth of the circle, using a running decision value to choose between two candidate pixels each step, and mirrors the result to the other seven eighths.
Should a block circle have an odd or even diameter?
Odd diameters have a centre block and are easier to measure and build; even diameters centre on a grid line. Both work in the generator.
How many blocks are in a filled circle?
About π × (diameter ÷ 2)². A filled 15-block circle uses 177 blocks.
Can it make ellipses?
Yes. Choose Ellipse and set the width and height separately; ellipses use the block-centre test.
Can I use it for Minecraft builds?
Yes. It works for any square-block game or for pixel art, cross-stitch and tiling; the row counts tell you how many blocks to place in each row.

How to Use This Calculator

  1. Choose circle or ellipse — and the width (and height for an ellipse) in blocks.
  2. Pick a style — 1-block outline, thick ring with a chosen thickness, or filled.
  3. Generate — the grid preview shows every block.
  4. Build row by row — using the blocks-per-row list and the total.
📚 Sources & References
  1. [1] Bresenham, J. A linear algorithm for incremental digital display of circular arcs. Communications of the ACM 20(2):100-106 (February 1977). cacmb4.acm.org
  2. [2] Higher Technological Institute, Computer Science Department. Computer Graphics, Lecture Three: circle drawing algorithms, midpoint circle example r = 10 (accessed October 2026). beng.stafpu.bu.edu.eg
✅ Editorial Standards — Every calculator is built from peer-reviewed formulas and official data sources, editorially reviewed for accuracy, and updated regularly. Read our full methodology · About the author