Sierpinski Triangle
Generates the Sierpinski sieve triangle fractal.

What Sierpinski Triangle does
The Sierpinski Triangle generator on Online Math Tools produces a classic fractal pattern by recursively removing central inverted triangles from an initial equilateral triangle. Users specify the iteration depth and scale to control the complexity of the resulting nested geometric structure. The output is a visual representation of self-similarity, where each remaining solid triangle contains smaller copies of the whole pattern, making it useful for both mathematical study and artistic inspiration.
How to use the Online Math Tools Sierpinski Triangle
- 1
Set the iteration depth using the depth input to determine the number of recursive steps
- 2
Adjust the scale setting to control the size of the generated triangle
- 3
Click the generate button to produce the Sierpinski sieve pattern
- 4
View the resulting fractal in the output area, where removed triangles are transparent and remaining triangles are filled
- 5
Download or copy the generated image for use in documents or presentations
Best for
Math students, educators, and fractal enthusiasts who want to visualize geometric recursion without needing programming skills or specialized software.
Limitations
- Output is limited to a fixed canvas size, very high iteration depths may slow rendering
- No option to export the fractal as editable vector graphics, only raster image output
- Interface provides basic controls without advanced customization of triangle colors or styles
Sierpinski Triangle FAQ
- Can I change the colors of the triangles in the Sierpinski pattern?
- The current version on Online Math Tools uses a fixed color scheme with solid triangles on a transparent background; advanced color customization is not available in this tool.
- What is the maximum iteration depth I can use?
- The tool allows you to set the iteration depth, but very high values may cause the rendering process to slow down or become impractical due to the exponential growth of triangle details.
- Is the generated Sierpinski triangle a vector graphic or a raster image?
- The output is a raster image; you can download it but it will have fixed pixel dimensions rather than being scalable without loss of quality.
- Do I need to install any software to use this Sierpinski Triangle generator?
- No installation is required; the tool runs directly in your web browser on the Online Math Tools website, and you can generate and download the fractal instantly.
Similar tools
Based on shared tags