# The Sierpiński Triangle, Explained

> An equilateral triangle, a simple midpoint rule repeated forever, and zero area remaining — how one Polish mathematician's 1915 curiosity became one of the most recognizable fractals in all of mathematics.

*Published 2026-06-25 · Updated 2026-06-25 · By Dr. Elena Marchetti*

Key Takeaway: The Sierpiński triangle is built by one rule — remove the central triangle from every remaining filled triangle, forever. After infinite iterations the shape has zero area yet infinite detail, a fractal dimension of approximately 1.585, and secret connections to Pascal's triangle, the chaos game, and DNA nanotechnology.

## What Is the Sierpiński Triangle?

The Sierpiński triangle — also called the *Sierpiński gasket* or *Sierpiński sieve* — is one of mathematics' most iconic self-similar fractals. Its silhouette is immediately recognizable: an equilateral triangle whose interior is riddled with a constellation of triangular holes at every scale, each hole itself surrounded by smaller holes, all the way down to infinitesimal detail.

What makes it so compelling to mathematicians and newcomers alike is the mismatch between its apparent complexity and the extreme simplicity of the rule that produces it. The rule is: **take any filled equilateral triangle, connect the midpoints of its three sides to form a smaller central triangle, and remove that central triangle. Then repeat the same operation on every filled triangle that remains.** Iterate this forever, and the Sierpiński triangle appears.

Despite its visual richness, the resulting shape has a topological dimension of 1 and a [Hausdorff (fractal) dimension of log(3)/log(2) ≈ 1.585](https://en.wikipedia.org/wiki/Sierpi%C5%84ski_triangle) — more complex than a curve but less space-filling than a plane. Its total area, by any measure, is exactly zero.

For context on why fractional dimensions matter, see our pillar guide [What Is a Fractal?](https://fractal.us/what-is-a-fractal), and for a broader survey of self-similar geometric shapes, visit [The Koch Snowflake](https://fractal.us/famous-fractals/koch-snowflake).

## How Do You Construct the Sierpiński Triangle?

There are three entirely different routes to the same destination, and each one illuminates a different facet of the object's deep structure.

### Method 1: The Classical Midpoint Removal

This is the construction [Wacław Sierpiński](https://www.britannica.com/biography/Waclaw-Sierpinski) described in his 1915 paper. Start with a solid equilateral triangle. Find the midpoints of all three sides and connect them, dividing the original into four congruent smaller triangles. Remove the central one. You now have three filled triangles. Apply the same rule to each. After *n* iterations, you have 3n filled triangles, each with side length (1/2)n times the original. The total filled area after step *n* is (3/4)n times the original — a number that collapses to zero as *n* approaches infinity. Infinite iterations leave infinite structure but no area whatsoever.

### Method 2: The Chaos Game

The [chaos game](https://en.wikipedia.org/wiki/Chaos_game), formalized by mathematician Michael Barnsley, seems at first like it has nothing to do with the classical construction. The algorithm:

  - Mark three vertices of a triangle anywhere in a plane.

  - Choose a random starting point inside the triangle.

  - Roll a three-sided die to pick one vertex at random.

  - Move *halfway* from the current point to that vertex. Plot the new position.

  - Repeat from step 3, indefinitely.

After discarding the first few points, the plotted cloud of tens of thousands of random midpoints converges unmistakably to the Sierpiński triangle. Pure randomness, iterated under a deterministic distance rule, sculpts the same fractal that Sierpiński found by orderly removal. This is the hallmark of an **iterated function system (IFS)**: the attractor is fixed regardless of starting conditions.

### Method 3: The Self-Referential Equation

The third route is conceptual. The Sierpiński triangle is the unique compact set *S* satisfying the self-referential equation: *S* equals three half-sized copies of itself, each placed at one corner. In other words, the whole equals three half-sized copies of itself, perfectly tiled with no overlap. This is the Hutchinson equation, and it encapsulates why every zoom into any sub-triangle reveals an exact replica of the whole — self-similarity is not a coincidence but the *definition* of the object.

## What Is the Fractal Dimension of the Sierpiński Triangle?

Fractal dimension is the rigorous answer to the question: *How much space does this shape fill?* Ordinary geometry gives clean integer answers — a line is 1-dimensional, a filled square is 2-dimensional. Fractals occupy the uncanny territory in between.

For the Sierpiński triangle, the calculation is elegant. The shape is **self-similar**: it consists of **three copies** of itself, each scaled down by a factor of **1/2**. The Hausdorff (fractal) dimension *d* satisfies the equation 3 = 2d, which gives **d = log(3)/log(2) ≈ 1.585**.

Intuitively: if you double the linear size of the Sierpiński triangle, you get exactly 3 copies, not 4 (as a solid two-dimensional square would give). That shortfall — 3 instead of 4 — is why the dimension falls at 1.585 rather than 2. The fractal is too irregular to fill a plane, but it is also far more intricate than any smooth curve. See the comparison table below for how this places it among classical fractals.

  Hausdorff dimensions of four classical fractals compared

      Fractal
      Scaling factor
      Self-similar copies
      Hausdorff dimension

      Cantor set
      1/3
      2
      log(2)/log(3) ≈ 0.631

      Sierpiński triangle
      1/2
      3
      log(3)/log(2) ≈ 1.585

      Koch snowflake boundary
      1/3
      4
      log(4)/log(3) ≈ 1.262

      Menger sponge
      1/3
      20
      log(20)/log(3) ≈ 2.727

## Who Was Wacław Sierpiński, and Why Did He Study This Shape?

[Wacław Sierpiński](https://www.britannica.com/biography/Waclaw-Sierpinski) (1882–1969) was one of the most prolific Polish mathematicians of the twentieth century, contributing foundational results to set theory, topology, and number theory. He published over 700 papers and 50 books across a career that survived two world wars and the devastation of Warsaw.

Sierpiński introduced the construction in a 1915 paper, and his original goal was *not* to create a fractal in the modern sense. He was exploring a philosophical puzzle in point-set topology: could one construct a curve such that every single point on it was a branch point — a junction where the curve split in multiple directions? The triangular gasket answered that question in the affirmative.

The pattern itself, however, predates Sierpiński by centuries. The same triangular motif appears in [13th-century Italian mosaic floors](https://en.wikipedia.org/wiki/Sierpi%C5%84ski_triangle) in medieval Rome — long before anyone had the vocabulary of set theory to describe what they had carved in marble. Sierpiński gave the pattern its mathematical identity; the craftsmen of Rome simply found it beautiful.

## What Is the Hidden Connection Between Pascal's Triangle and the Sierpiński Triangle?

One of the most surprising results in elementary mathematics is that two objects from completely different domains — a number pyramid from combinatorics and a geometric fractal from topology — are secretly the same thing.

The connection works as follows. Take [Pascal's triangle](https://en.wikipedia.org/wiki/Pascal%27s_triangle) — the famous array where each entry is the sum of the two entries above it. Now color each entry based on whether it is **odd** (dark) or **even** (light). The visual pattern that emerges, as the triangle grows row by row, converges unmistakably to the Sierpiński triangle.

The mathematical explanation rests on **Kummer's theorem**, which describes when a binomial coefficient is divisible by a prime *p*. For *p* = 2, the odd entries of Pascal's triangle correspond exactly to positions where there are no carrying operations when adding row and column indices in binary. The fractal structure of those positions reproduces the Sierpiński gasket precisely. More concretely, the proportion of odd entries in the first 2n rows grows as 3n/4n, directly encoding the dimension ratio log(3)/log(2).

The same parity rule governs **cellular automaton Rule 90**: starting from a single active cell and applying the XOR rule (each cell becomes the exclusive-or of its two neighbors) at each time step generates a space-time diagram that is a perfect discrete approximation of the Sierpiński triangle. [Pascal mod 2, Rule 90, and the Sierpiński gasket are all the same mathematical object wearing different clothes.](https://www.johndcook.com/blog/2017/09/23/sierpinski-triangle-strikes-again/) The fractal is not a shape so much as a *computational principle* that recurs wherever self-referential binary logic lives.

## Where Does the Sierpiński Triangle Appear Outside the Textbook?

Unlike some mathematical abstractions that remain comfortably theoretical, the Sierpiński triangle keeps materializing in unexpected places across science and engineering.

### DNA Nanotechnology

In 2004, researchers published a landmark study demonstrating that [DNA tiles can self-assemble into Sierpiński triangles at the nanoscale](https://pmc.ncbi.nlm.nih.gov/articles/PMC534809/). Engineered DNA tiles encode an XOR rule in their sticky ends; as tiles bind to neighbors in solution, they compute the rule and grow into a fractal pattern visible under atomic force microscopy. The experiment proved that molecular self-assembly can implement arbitrary computation — with the Sierpiński triangle as the demonstration calculation, and a result that linked fractal mathematics directly to the emerging field of DNA computing.

### Fractal Antennas

Sierpiński-geometry antennas exploit the triangle's self-similar edge structure to achieve multi-band resonance: the same physical antenna responds efficiently to multiple frequencies because its fractal boundary repeats the same geometric motif at multiple scales. This design principle has been deployed in compact antennas used in mobile devices and broadband wireless infrastructure, where packing multi-band performance into a small form factor is a core engineering constraint.

### Cellular Automata and Computation Theory

Rule 90, mentioned above, is more than a curiosity. It is one of the simplest one-dimensional cellular automata that exhibit complex recursive behavior, and variants of it appear in the analysis of computational universality. Conway's Game of Life replicator patterns also produce Sierpiński-triangle space-time diagrams, linking the fractal to fundamental questions about emergence in simple rule systems. You can explore the computational dimension further in our article on [Chaos Theory and Fractals](https://fractal.us/mathematics/chaos-theory-and-fractals).

### Art, Architecture, and Decoration

Long before Sierpiński's paper, decorative artists produced the pattern in Cosmati mosaic floors of medieval Roman churches, and echoes of it appear in various lattice and textile traditions across cultures. The shape's intrinsic visual balance — each level of detail mirroring the whole — makes it satisfying across cultural contexts, consistent with what physicist Richard Taylor calls [“fractal fluency”](https://blogs.uoregon.edu/richardtaylor/2016/02/03/human-physiological-responses-to-fractals-in-nature-and-art/): the measurable physiological comfort humans derive from viewing fractal patterns at mid-complexity (dimensions roughly 1.3–1.8). The Sierpiński triangle, at dimension 1.585, sits comfortably within this calming range.

## How Do You Draw the Sierpiński Triangle by Hand?

Five hand-drawn iterations on graph paper are enough to make the structure unmistakably clear. Here is the procedure:

  - **Draw a large equilateral triangle.** On graph paper, a triangle with a base of 16 grid squares provides five comfortable iterations.

  - **Find the three midpoints** of the sides and connect them. You now have four congruent smaller triangles inside the original.

  - **Leave the central triangle empty** — shade it lightly or leave it blank. The three corner triangles remain filled.

  - **Repeat for each filled triangle.** Apply the same midpoint rule to each of the three corner triangles to get nine filled triangles.

  - **Continue for three to five total iterations.** By iteration five, you have 35 = 243 tiny triangles, and the Sierpiński pattern is clearly visible.

Alternatively, try the **chaos game version**: mark three vertex points, pick any starting dot, and repeatedly plot the midpoint between the current dot and a randomly chosen vertex. After several thousand points the fractal emerges from pure chance — a meditative exercise in emergence that requires nothing more than a pencil and patience, and a direct demonstration that order can arise from randomness.

## Sources

1. [https://en.wikipedia.org/wiki/Sierpi%C5%84ski_triangle](https://en.wikipedia.org/wiki/Sierpi%C5%84ski_triangle)
2. [https://www.britannica.com/biography/Waclaw-Sierpinski](https://www.britannica.com/biography/Waclaw-Sierpinski)
3. [https://mathworld.wolfram.com/SierpinskiSieve.html](https://mathworld.wolfram.com/SierpinskiSieve.html)
4. [https://pmc.ncbi.nlm.nih.gov/articles/PMC534809/](https://pmc.ncbi.nlm.nih.gov/articles/PMC534809/)
5. [https://en.wikipedia.org/wiki/Chaos_game](https://en.wikipedia.org/wiki/Chaos_game)
6. [https://www.johndcook.com/blog/2017/09/23/sierpinski-triangle-strikes-again/](https://www.johndcook.com/blog/2017/09/23/sierpinski-triangle-strikes-again/)
7. [https://blogs.uoregon.edu/richardtaylor/2016/02/03/human-physiological-responses-to-fractals-in-nature-and-art/](https://blogs.uoregon.edu/richardtaylor/2016/02/03/human-physiological-responses-to-fractals-in-nature-and-art/)
8. [https://en.wikipedia.org/wiki/Pascal%27s_triangle](https://en.wikipedia.org/wiki/Pascal%27s_triangle)
9. [https://fractalfoundation.org/resources/what-are-fractals/](https://fractalfoundation.org/resources/what-are-fractals/)

---
Source: https://fractal.us/famous-fractals/sierpinski-triangle
Index: https://fractal.us/llms.txt · Full text: https://fractal.us/llms-full.txt
