Shape Translation Calculator – Slide a Shape by a Vector

A shape translation calculator slides every point of a shape by a vector, moving it left or right and up or down, and lists the new coordinates and graphs the shape before and after the move.

Shape Calculators

Shape Translation Calculator

Translate (slide) a shape by a vector — move each point left/right and up/down — and graph the result.

One point per line, e.g. 2, 3

The starting values are a triangle with points (1, 1), (5, 1) and (2, 4), moved 4 units to the right and 2 units down. Enter one point per line as x, y, then type the move right or left in the first box and the move up or down in the second.

How the move is entered

The first box is the horizontal move, where a positive number moves the shape right and a negative number moves it left. The second box is the vertical move, where a positive number moves the shape up and a negative number moves it down. The default of 4 and −2 therefore means 4 right and 2 down. The calculator returns the translated points in the same order as the points you entered.

The translation rule

(x, y) → (x + a, y + b)

Where:

  • x, y = the original point
  • a = the horizontal move, positive to the right
  • b = the vertical move, positive upward
  • x + a, y + b = the new point, often written with a prime as x′, y′

A maths guide describes a translation as a slide that has a direction, a sense and a length, and notes that it is an isometry that preserves all measurements. The rule is applied to every vertex of the figure, with the same a and b each time.

Worked example: the starting triangle

With a = 4 and b = −2:

(1, 1) → (5, −1)

(5, 1) → (9, −1)

(2, 4) → (6, 2)

The length of the move is √(4² + (−2)²) = √20 = 4.47 units, in a direction that is right and down.

Worked example: moving left and up

With a = −3 and b = 5, the same triangle moves to (−2, 6), (2, 6) and (−1, 9). The triangle is now above and to the left of where it started.

Worked example: finding the vector from two points

If you know where one point started and where it ended up, subtract to find the move. Suppose the point (1, 1) must land on (6, 5). Then a = 6 − 1 = 5 and b = 5 − 1 = 4, so the vector is (5, 4). Applying it to the other two points gives (10, 5) and (7, 8), and the whole triangle has moved with the first point.

Worked example: two translations in a row

Translating by (4, −2) and then by (−3, 5) is the same as a single move by (4 + (−3), −2 + 5) = (1, 3). The point (1, 1) goes to (5, −1) and then to (2, 4), and the single move gives (1 + 1, 1 + 3) = (2, 4), which agrees. To undo a translation, use the opposite vector, so (−4, 2) brings the shape back to its start.

What stays the same

A translation changes the position of the shape and nothing else. The side lengths, the angles, the area and the orientation are all unchanged. The starting triangle has sides of 4, 4.24 and 3.16, so its perimeter is 11.40, and its area is 6, both before and after the slide. The shape is not turned or flipped, so the sides stay parallel to where they were.

Translation and coordinates on a plan

On a plan or a drawing, a translation is the move you make when you shift a whole layout to a new origin. If every corner of a room is measured from one wall and you want them measured from another, subtract or add the offset to every corner. The shape of the room is unchanged, and only the coordinates differ, which is useful before you enter the corners into an area calculator.

Checking your answer

Every point must move by the same amount in the same direction. Compare the old and new coordinates of any two points. If the difference in x is the same for both and the difference in y is the same for both, the move is a true translation. Plot the shape before and after to see the parallel slide.

Where translations are used

Translations are used to place a shape at a new position on a plan, to repeat a pattern at a fixed spacing and to line up a drawing with a different origin. If you want to move a shape so that one corner sits at a given point, find the vector as in the third example and apply it to every corner.

Common mistakes

  • Moving down with a positive number, when positive means up
  • Applying the move to only some of the points
  • Swapping the horizontal and vertical boxes

Frequently asked questions

What is the rule for translating a shape?

Add the horizontal move to every x-coordinate and the vertical move to every y-coordinate: (x, y) becomes (x + a, y + b). With a move of 4 right and 2 down, (1, 1) becomes (5, −1).

How do I find the translation vector between two points?

Subtract the starting coordinates from the final ones. A point that moves from (1, 1) to (6, 5) has a vector of (5, 4), and you apply that same vector to every other point of the shape.

Does translating a shape change its size or shape?

No. A translation keeps every length, angle and area, and it does not turn or flip the shape. A triangle with an area of 6 still has an area of 6 after the move.

What happens if I translate twice?

The two moves add together. Moving by (4, −2) and then by (−3, 5) is the same as one move by (1, 3). The opposite vector undoes a translation.

Mark Danny

Mark Danny

Mark Danny builds and maintains the free calculators and guides on Area of Irregular Shapes Calculator. Every calculator page explains its formula and shows a worked example, so you can check the working yourself. Spotted a mistake or have a suggestion? Email gulsher.hingoro101@gmail.com.

Articles: 559