Key Points
- A line segment is the part of a line between two endpoints; of line, ray and segment, only it has a length.
- Ruler method: mark A at the 0 mark (not the edge), mark B at the length, and join them.
- Compass method: set the compass to the length on the ruler, then one arc from A cuts a line at B.
- A compass can copy, add and multiply lengths with no measuring at all.
Why Does Every Drawing Start With a Line Segment?
Every triangle, square, and skyscraper blueprint begins with one exact line segment.
- A triangle with sides 5 cm, 6 cm and 7 cm starts as one 6 cm segment. A scale drawing of a room starts as one wall.
- If that first segment is 2 mm out, every length and angle built on it carries the error.
- So drawing a segment to an exact length is the first real construction skill, and the base of every compass-and-straightedge figure.
There are two standard ways to do it, plus a third skill underneath every construction: copying a length you have never measured.

What Is a Line Segment?
A line segment is the part of a straight line between two endpoints, and it has a definite length.
- It is written , and its length is written AB.
- A line goes on forever both ways, and a ray goes on forever one way, so neither has a length.
- A segment stops at both ends. That is what lets you measure it, and draw it to order.
- The full comparison is in the difference between line and line segment.
On this page, A and B are the ends of the segment you draw. When a segment is copied, the copy starts at C on a ray and ends at D, the same labels as the construction lab below.
What Are the Methods to Draw a Line Segment?
There are two methods to draw a line segment of a given length, and every geometry course uses both.
- The ruler (scale) method is the quickest. You read both endpoints off the ruler's markings and join them.
- The ruler-and-compass method is the more accurate. The ruler only sets the compass to the length; the compass then transfers it to the paper as an arc.
The ruler method is fine for everyday sketching. Formal geometry prefers the compass, because a fixed opening can be copied exactly without reading a scale again. Both belong to the family of geometric constructions.
How Do You Draw a Line Segment Using a Ruler?
The ruler method marks both endpoints against the scale, then joins them. To draw with AB = 6 cm:
- Find the 0 mark. Lay the ruler flat. On many rulers the 0 is a few millimetres in from the end of the plastic.
- Mark A with a sharp pencil dot exactly at 0.
- Mark B exactly at 6 cm, with your eye straight above the mark.
- Join A to B along the ruler's edge, holding it still.

This is fast, and for a quick sketch it is all you need. Its weakness: you read the scale twice, and each reading can be off through parallax (looking from an angle), a thick dot, or starting at the edge.
How Do You Draw a Line Segment Using a Ruler and Compass?
The ruler-and-compass method uses the ruler only to set the compass, then transfers that opening as an arc. To draw with AB = 6 cm:
- Draw a working line longer than 6 cm and mark A on it.
- Set the compass on the ruler: needle on the 0 mark, pencil on the 6 cm mark. The compass now holds 6 cm.
- Swing one arc. Without changing the opening, put the needle on A and draw a short arc across the line.
- Mark B where the arc cuts the line. AB = 6 cm.

After that one reading, the compass carries the length. You can stamp it onto any other line, such as the second side of an isosceles triangle or all four sides of a square. Setting a fixed opening, as in compass drawing, is the most reused move in classical construction.
Which Method Is More Accurate?
The compass method is more accurate for exact or repeated lengths; the ruler method is faster for one quick segment. The difference is how each handles error.
| Ruler method | Ruler-and-compass method | |
|---|---|---|
| Speed | Fast | Slower, needs more care |
| Readings of the scale | Two (one at each end) | One (to set the opening) |
| Main error | Parallax, edge instead of 0, thick dots | Compass opening slipping |
| Repeating the same length | Read the scale every time | The compass already holds it |
| Best for | A single quick segment | Constructions and repeated lengths |
- A millimetre ruler can be read to about half a millimetre at each end, so two readings can drift by up to a millimetre.
- The compass is set once. If its hinge is firm, every copy is as good as the first.
Copying a Segment Without Any Numbers
The strongest version of the compass method uses no scale at all. Given a segment AB and a ray from C:
- Capture the length. Needle on A, open the pencil until it touches B.
- Carry it. Keep the opening. Needle on C, draw an arc that cuts the ray at D.
- Join C to D. Then CD = AB, whatever that length happens to be.

Every compass-and-straightedge construction depends on this move: a triangle from three sides, a copied angle, equal steps along a line.
- Euclid's Elements (around 300 BCE) gives it Propositions 2 and 3.
- Euclid's compass is often read as a "collapsing" one that closes when lifted. Proposition 2 still moves a length to a new point, using an equilateral triangle and two circles.
- So a modern compass, which keeps its opening, can do nothing Euclid's could not. It is just faster.
In the construction lab, drag A or B, move C or turn the ray, and try the "Twice as long" and "Three times" presets. The check under the figure compares the copy with the original each time.
Try It Yourself
Use the compass constructions to see Methods to Draw a Line Segment at work: drag, change the numbers and watch what happens.
Adding, Subtracting and Multiplying Lengths
Once a compass can carry a length, it can do arithmetic with lengths without a single number.
- Add. Copy AB from a point, then copy BC from where it ended. The total is AB + BC.
- Subtract. From the end of the longer segment, lay the shorter one back towards the start. The rest is the difference (Euclid's Proposition 3).
- Multiply by a whole number. Step the same opening along a ray times. The last mark is AB from the start.
- Halve. Construct the perpendicular bisector; it cuts the segment at its midpoint.
- Divide into 3, 5 or 7 parts. This needs parallel lines, the method of internal division.

Where Is Drawing a Line Segment Used?
Drawing an exact segment is the first step in almost every construction and measured drawing.
- Constructing shapes. A triangle from three given sides (SSS) copies three segments with a compass: one as the base, two as arcs from its ends.
- Other constructions. Bisecting a segment and copying an angle both begin by drawing or carrying a segment.
- Maps and plans. Dividers (a compass with two points) copy the gap between two towns onto the scale bar. At 1 cm to 2 km, a 4 cm gap is 8 km, and nobody had to read the 4 cm.
- Technical drawing. Blueprints and engineering diagrams are laid out as networks of exact segments before any detail goes in.
- Workshops. Carpenters set dividers once and step off equal hole positions along a board.

Examples of Drawing a Line Segment
The examples move from one ruler reading to building lengths with the compass alone.
Example 1
Draw with PQ = 4.5 cm using a ruler.
- Put a dot at the 0 mark and label it P.
- Count four whole centimetres and five millimetre marks, and put a dot at 4.5 cm. Label it Q.
- Join P to Q along the ruler's edge.
Final answer: with PQ = 4.5 cm.
Example 2
A student lines up the end of the ruler with A and marks B at the 6 cm line. The ruler's 0 is 3 mm in from its end. How long is AB?
- Her start was 3 mm before the 0 mark, at ā0.3 cm on the scale.
- B is at 6 cm, so AB = 6 + 0.3 = 6.3 cm.
- Anyone who learned "put the ruler at the start" instead of "put the 0 at the start" adds this 3 mm to every segment.
Final answer: AB = 6.3 cm, not 6 cm.
Example 3
Draw a segment of 7.4 cm with a ruler and compass.
- Draw a working line and mark A.
- Set the compass on the ruler: needle on 0, pencil on 7.4 (seven centimetres and four millimetre marks).
- Needle on A, cut the line with one arc, and label the crossing B.
Final answer: AB = 7.4 cm.
Example 4
Given , construct of the same length on a ray from C, without measuring.
- Needle on A, pencil on B.
- Keep the opening, put the needle on C and cut the ray at D.
- If AB happens to be 3.98 cm, so is CD, and you never needed to know that.
Final answer: CD = AB.
Example 5
AB = 2.5 cm. Construct a segment exactly three times as long.
- Open the compass to AB.
- On a ray from C, step the opening three times: C to D, D to Dā, Dā to Dā.
- Each step is one copy of AB, so cm.
Final answer: = 7.5 cm.

Example 6
AB = 5.2 cm and CD = 3.1 cm. Construct a segment of length 2AB ā CD, and say how long it is.
- On a working line, step AB twice from P to reach R, so PR = 2AB = 10.4 cm.
- From R, lay CD back towards P to mark S.
- Then cm.
Final answer: PS = 7.3 cm. The compass never needed the number; it is only a check.
Where Do Students Go Wrong When Drawing a Line Segment?
The most common error is starting from the ruler's edge instead of its 0 mark. Finding the 0 before the pencil touches the paper removes it at the source.
Mistake 1: Measuring from the edge of the ruler
Where it slips in: The first dot, placed where the plastic ends.
Don't do this: Line up the end of the ruler with A.
The correct way: Find the printed 0 first. If the 0 is 3 mm in from the edge, starting at the edge adds 3 mm to every segment, as Example 2 shows.
Mistake 2: Letting the compass width change
Where it slips in: Between setting the opening on the ruler and swinging the arc.
Don't do this: Grip the compass by its legs, which nudges the opening wider or narrower.
The correct way: Hold it by the handle on top, and tighten the hinge screw if it has one. Re-opening the compass "just to check" usually brings in the very error the check was meant to catch.
Mistake 3: Reading the scale from an angle
Where it slips in: Marking B while looking at the ruler from the side.
Don't do this: Glance sideways at the 6 cm line.
The correct way: Put your eye straight above the mark. Looking from the side shifts the mark against the paper (parallax). Surveyors sight instruments from directly above the scale for the same reason.
Mistake 4: Two endpoints for one segment
Where it slips in: Using the ruler method and the compass method at the same time.
Don't do this: Mark B on the ruler, then swing an arc that lands a little away from it.
The correct way: Pick one method. Use the ruler only to open the compass, off the paper, then let one arc fix B.
Conclusion
- There are two methods to draw a line segment: the ruler method and the ruler-and-compass method.
- The ruler is read twice and is fast; the compass is set once and then carries the length exactly.
- That carried length lets you copy, add, subtract and multiply segments with no numbers.
- Measure from the 0 mark, hold the compass by its handle, and read the scale from straight above.
- An exact first segment is the start of every triangle, perpendicular and measured drawing.
Read More
- Straight Line
- Essence of Geometrical Constructions
- Angle Bisector
- Segment Bisector
- Construction of Angles
Practice These to Solidify Your Understanding
- Draw a line segment of 6.5 cm with the ruler method.
- Using a compass, draw a segment of 4 cm and then copy it onto a new line.
- Draw = 2 cm, then extend it with a compass to a total of 7 cm.
Answer to Question 1: Mark A at 0 cm and B at 6.5 cm, then join them.
Answer to Question 2: Capture 4 cm with the compass, mark C on a new line and swing an arc to D; CD = 4 cm.
Answer to Question 3: Set the compass to 5 cm and swing from B along the line to mark C; AC = 2 + 5 = 7 cm.
If a copied length is off by more than a millimetre, the opening moved: go back to Mistake 2.
To build construction skills step by step with a teacher, explore Bhanzu's math classes online.
Want a live Bhanzu trainer to guide your child through constructions? Book a free demo class.
Research Behind This Article
- OpenStax, Contemporary Mathematics, Section 10.1: Points, Lines, and Planes (lines, rays and line segments). openstax.org
- D. E. Joyce, Clark University, Euclid's Elements, Book I, Proposition 2 (placing a straight line equal to a given one at a point, with the collapsing-compass note). mathcs.clarku.edu
- D. E. Joyce, Clark University, Euclid's Elements, Book I, Proposition 3 (cutting off from the greater of two lines a line equal to the less). mathcs.clarku.edu
- MacTutor History of Mathematics, University of St Andrews, Euclid of Alexandria. mathshistory.st-andrews.ac.uk
Quick Quiz: Check Yourself
Three levels, questions with figures, instant feedback with the reason.
Was this article helpful?
Your feedback helps us write better content
Frequently Asked Questions
What are the two methods to draw a line segment?
What tools do you need to draw a line segment?
How do you copy a line segment with a compass?
Can you draw a line segment without measuring?
Which of the methods to draw a line segment do formal constructions use?
