Puzzle · counting

How many triangles are in this picture?

Cut each side of a triangle into 4 equal parts and draw the lines across. You can see 16 small triangles, but bigger triangles are made of the small ones, and some of them point down. Count every one below.

Each side cut into
Triangles to count (how many in brackets)

Pointing up: solid outline. Pointing down: dashed outline.

GroupHow manyRunning total

How many triangles are in this picture? · Brain vs Math

The answer with each side cut into 4 parts: 27

Pointing up there are 10 small triangles, 6 made of four small ones, 3 made of nine, and the whole triangle: 10 + 6 + 3 + 1 = 20.

Pointing down there are 6 small triangles and one bigger one hiding in the middle, made of four small ones: 6 + 1 = 7.

All together: 20 + 7 = 27, counting only triangles whose sides lie on the drawn lines.

For a side cut into n parts, the count is n(n + 2)(2n + 1) ÷ 8, rounded down: 1, 5, 13, 27, 48, 78, 118 for n = 1 to 7. For an even n the formula comes out whole; for an odd n it lands exactly one eighth above a whole number, which the rounding removes.

The easy mistake

Most counts stop at the 16 small triangles and miss the bigger ones: 10 more pointing up (6 of size 2, 3 of size 3 and the whole triangle) and one pointing down. That size 2 triangle in the middle is the easiest to overlook, because it points down and its corners sit on the middle of the sides rather than on the corners of the big triangle.

Watch it in under a minute

Video still: a triangle grid with triangles being counted

The video plays from YouTube when you press play, and not before.

Subscribe to Brain vs Math on YouTube

More visual proofs, one idea at a time.

Frequently asked questions

Why isn't the answer 16?

16 counts only the smallest triangles, 10 pointing up and 6 pointing down. Groups of small triangles form bigger ones: 6 of size 2 and 3 of size 3 pointing up, the whole triangle, and one of size 2 pointing down: 16 + 6 + 3 + 1 + 1 = 27.

How many triangles are there with 5 parts on each side?

5 × 7 × 11 ÷ 8 = 48.125, rounded down to 48: 35 pointing up and 13 pointing down. Pick 5 parts above to step through them.

Do the triangles have to use the drawn lines?

Yes. Every triangle counted here has all three sides on lines of the picture.

Use this puzzle in a class

Paste this code into a class page or a learning platform to show the counting grid there. It is free to use for teaching, with the link back kept.

More puzzles