Counting Figures
🔒 Log in to trackCounting straight lines
🔒 Log in to trackCount each complete straight path once, however many pieces it is drawn in. Two pieces on one path, touching end to end, are one line. Sweep the figure direction by direction: horizontals, verticals, then each slant direction separately. Curves and arcs are never straight lines.
One path is one line
Count each complete straight path once, even if it is drawn as many pieces. Two pieces on the same path, touching end to end, make one line. Two pieces with a gap between them make two lines.
Think of a road crossing ten junctions. It is still one road. Only a new direction, or a gap, starts a new line.
Rule: Count paths, not pieces. Every crossing point cuts a line into pieces that rejoin into one line.
The direction sweep
Count one direction at a time. This makes double counting impossible.
- Count horizontal lines, from top to bottom.
- Count vertical lines, from left to right.
- Count each slant direction separately: down-to-right first, then down-to-left.
- Add the groups.
A square with both diagonals and both midlines: 3 horizontal + 3 vertical + 2 slanting = 8 lines.
Tip: Say the direction out loud as you tick lines off. Turning the page a little helps slants stand out.
Grids
A grid of m columns and n rows has m + 1 vertical lines and n + 1 horizontal lines:
A 3 × 2 grid needs lines. A 5 × 4 grid needs lines.
If the long diagonals of the whole grid are also drawn, add them as extra slanting lines.
When pieces join into one line
The classic trap: a grid where every small cell has its own diagonals. Pieces sitting on one path join into a single line.
Take a 2 × 2 grid with both diagonals drawn in all 4 cells. That is 6 grid lines plus 8 cell-diagonal pieces. On the main path, two cell diagonals touch end to end and join into one long line. The same happens on the other path. So the 8 pieces form only 6 lines: 4 short ones plus 2 long ones.
Total: lines, not .
Watch: Merge the pieces first, then count. Never count drawn pieces directly as lines.
Stars and polygons
Star figures are built from long lines that cross each other.
- A five-point star (pentagram) is drawn with 5 lines.
- A six-point star made of two triangles has 6 lines.
- A hexagon with its 3 long diagonals has lines.
- A triangle cut into rows has 3 directions, each with one line per row: 3 rows give lines.
Example: Count the pentagram's strokes: each of the 5 points is made by 2 strokes, and each stroke serves 2 points. So lines.
Curves do not count
A straight line has no bend anywhere. Circles, arcs and wavy strokes are not straight lines, so skip them. If the question asks for one direction only, count just that direction and ignore everything else.
Question types you will see
Each type: how to recognise it, the method step by step, and one question to try.
Total straight lines in a square/rectangle figure
A square or rectangle with diagonals, midlines or cell diagonals; asks for straight lines.
Count the horizontal lines.
Count the vertical lines.
Count each slant direction, merging pieces that share one path.
Add the groups.
Grouping by direction makes double counting impossible.
A square has both diagonals and both midlines drawn. How many straight lines are there?
Show solutionHide solution
Horizontal: top side, midline, bottom side = 3.
Vertical: 3 the same way.
Slanting diagonals: 2.
.
8
Count lines of one direction only
The question asks only for horizontal, vertical or slanting lines.
Pick the asked direction.
Scan the whole figure and tick each separate line of that direction.
Check for pieces that join on one path.
The other directions do not matter, so all attention goes to one sweep.
A 3 × 2 grid also has both long diagonals of the whole rectangle drawn. How many vertical lines are there?
Show solutionHide solution
3 columns give 3 + 1 = 4 vertical lines.
The two diagonals are slanting, not vertical.
So 4.
4
Stars, polygons and triangle grids
A star, a hexagon with diagonals, or a triangle filled with small triangles.
Find the long straight paths that build the figure.
Count paths, not the small pieces between crossings.
For row figures, count lines per direction, then multiply by 3 directions.
Each long line is cut into many pieces by the others; the pieces are not separate lines.
How many straight lines are needed to draw a five-point star?
Show solutionHide solution
Each point is made by 2 strokes.
Each stroke also serves a second point.
.
5
Straight lines in a grid
A plain grid, sometimes with long diagonals drawn across it.
Vertical lines = columns + 1.
Horizontal lines = rows + 1.
Add any extra diagonal paths, one per full path.
Every grid line runs the full width or height, so each gives exactly one line.
How many straight lines are there in a grid of 5 columns and 4 rows?
Show solutionHide solution
Vertical: 5 + 1 = 6.
Horizontal: 4 + 1 = 5.
.
11
Pieces that join on one path
A grid where every cell has its own diagonals, or a figure with collinear touching strokes.
Draw or imagine each diagonal path across the whole figure.
Join pieces that touch end to end on it.
Count one line per merged path, per direction.
Touching collinear pieces are one straight path, so they are one line, not two.
A 2 × 2 grid has both diagonals drawn in every one of its 4 cells. How many straight lines are there?
Show solutionHide solution
Grid lines: 3 + 3 = 6.
Down-right: 8 pieces form 3 paths (the 2 middle pieces join).
Down-left: 3 paths the same way.
.
12
Formula sheet
m columns, n rows; add extra slanting lines separately.
Shortcuts that save time
One pass for horizontals, one for verticals, one per slant direction. The running total is the answer.
How many straight lines are there in a square with both diagonals drawn?
Show solutionHide solution
Horizontal sides: 2.
Vertical sides: 2.
Diagonals: 2.
.
6
When cell diagonals sit end to end on one path, they are one line. Join them in your head first.
A 2 × 2 grid has both diagonals drawn in every cell. How many straight lines are there?
Show solutionHide solution
Grid lines: 3 horizontal + 3 vertical = 6.
Down-right: the 2 pieces on the main path join, plus one line on each side = 3.
Down-left: same, 3.
.
12
Mistakes to avoid
Where most students lose marks on this subtopic.
Counting each piece of one straight path as a separate line.
Pieces on one path that touch end to end are a single line.
Missing the outer boundary lines.
The four sides of the frame are lines too. Sweep them first.
Counting arcs and circles as lines.
Only straight paths count. Curves are ignored in line questions.
Mixing directions mid-sweep.
Finish one direction completely before starting the next.
Using (m + 1) + (n + 1) when a grid line stops halfway.
The formula needs full-length lines. Count broken grids by hand.
Quick revision
Read this the night before the exam.
One straight path = one line, however many pieces it is drawn in.
Sweep: horizontals, verticals, then each slant direction.
Grid of m columns, n rows: (m + 1) + (n + 1) lines.
Square + 2 diagonals = 6 lines; add both midlines = 8.
Pentagram 5, six-point star 6, hexagon with 3 long diagonals 9.
Join collinear pieces first; ignore curves.
Practice: 16 questions
Sets of 10, mixed across the question types above. Every answer has a step-by-step explanation.
Topic test · 10 questions
Suggested time 6 min · wrong answers go to your mistake notebook automatically.