Every Single CalculatorOne place for every calculator
÷Everyday math

Mandelbrot set calculator

Test whether any point belongs to the Mandelbrot set.

Example: You are exploring the edge of the set by hand.

Your numbers

  • Verdict0
  • Escaped after this many steps0
  • Distance of the point from zero0

How it is worked out

Start at 0 and repeat z → z² + c. If z ever gets further than 2 from zero, the point is outside.

A worked example

For c = 1 the steps go 1, 2, 5: outside after three steps. For c = −1 they bounce between −1 and 0 for ever: inside.

Good to know

  • The closer a point is to the edge, the longer it takes to escape. See the fractal explorer to zoom in on the picture.

How we know this calculator is right

Before this calculator went on the site, 7 answers were worked out separately from its code, by hand or straight from the formula above. Each time this page loads, your own browser runs the calculator on those same numbers and compares. Turn on JavaScript to see the comparison.

See every check
Numbers usedResultWorked out separatelyThis calculator

What this proves: the calculator does the arithmetic of the formula shown, correctly. What it cannot prove: your measurements, or figures such as coverage per bag, waste and spacing, which are typical starting values you can change. Go by the product label and your local code.

Your turn

This site is built from what people ask for. Is something missing from this calculator, or is there another one you need?

Ask for a calculatorBuild your own

Spotted a mistake? Tell us about this page and we will fix it.

Used by: students.