How to Make a Right Triangle in Illustrator
StyleFrame Team8 min read
To make a right triangle in Illustrator, draw a rectangle with the Rectangle Tool (M), then delete one of its four corner anchor points with the Delete Anchor Point Tool (-). The corner opposite the one you removed becomes the 90° angle, and holding Shift while you drag the rectangle gives you a 45-45-90 triangle. Illustrator has no dedicated triangle tool, so the Pen Tool and the Polygon Tool are the other common routes, but the rectangle method is the fastest and most precise.
Method 1: Rectangle plus Delete Anchor Point (fastest)
This method works because a rectangle already contains a right angle at every corner. Removing one corner leaves three points, and the angle at the corner diagonal to the removed one stays 90°.
- Select the Rectangle Tool (M).
- Drag on the artboard to draw a rectangle. Hold Shift while dragging if you want a square, which gives you an isosceles right triangle with two equal legs.
- Select the Delete Anchor Point Tool (-). It sits in the Pen Tool flyout.
- Click any one corner of the rectangle.
You now have a closed right triangle with a hypotenuse running between the two corners next to the one you deleted.
A warning about the Delete key
You can also select a corner with the Direct Selection Tool (A) and click Remove Selected Anchor Points in the Control panel. That works the same way as the Delete Anchor Point Tool. Pressing the Delete key on a selected anchor does something different. It removes the point and the segments attached to it, which leaves an open path with a gap instead of a closed shape. If your triangle suddenly has a missing side, that is why. Undo and use the tool or the Control panel button instead.
Setting exact leg lengths
Because the shape starts as a rectangle, you can size it numerically before you delete the corner.
- Draw any rectangle.
- Open the Transform panel (Window > Transform).
- Type the width and height you want. These become the two legs of the triangle.
- Delete one corner anchor.
If you need a specific acute angle, use basic trigonometry. The height equals the width multiplied by the tangent of the angle you want at the base. For a 30° corner with a 200 px base, the height is about 115.47 px. For a 60° corner with the same base, it is about 346.41 px. This is more reliable than dragging points around and eyeballing it.
Method 2: Pen Tool with Shift
The Pen Tool gives you full control over each point and needs no cleanup.
- Select the Pen Tool (P).
- Click once on the artboard to set the first point.
- Hold Shift and click a second point to the right. Shift constrains the segment to a perfectly horizontal line.
- Hold Shift again and click a third point directly above or below the second point. This creates a vertical segment and a 90° corner.
- Click back on the first point to close the path.
Shift constrains to multiples of 45°, so this method works well for right triangles whose legs are horizontal and vertical. For an exact length, turn on Smart Guides (Ctrl/Cmd+U) so Illustrator shows you the measurement as you place each point, or adjust the size afterward in the Transform panel. Note that resizing a triangle by typing width and height scales it proportionally to its bounding box, which changes the acute angles but keeps the right angle intact as long as the legs stay horizontal and vertical.
Method 3: Polygon Tool, with caveats
The Polygon Tool is a popular way to make a triangle. Click the artboard, enter 3 in the Sides field, and set a radius. The result is always equilateral, so it does not give you a right angle by default.
You can force it into a right triangle by selecting one anchor with the Direct Selection Tool (A) and dragging it, using Shift to constrain movement. But this is fiddly, and you will need to verify the angle afterward. Use the Polygon Tool when you want an equilateral triangle, such as for a play button, a warning icon, or a pattern tile. For a right triangle, use Method 1 or Method 2.
Controlling the orientation of the right angle
After you have your triangle, you will often want the 90° corner in a different position, for example bottom-left rather than bottom-right.
- Reflect: Right-click > Transform > Reflect, then choose Vertical or Horizontal to flip it.
- Rotate: Right-click > Transform > Rotate and enter 90, 180, or 270.
- Delete a different corner: Undo and delete a different anchor on the original rectangle. This is often the quickest option.
For exact positioning inside a layout, use the Align panel and the reference point grid in the Transform panel so the shape is anchored where you expect.
Rounding the corners
Sharp corners are often too harsh for UI shapes or stylized motion graphics.
- Select the triangle with the Direct Selection Tool (A) and drag the small corner widget on any anchor, or use the Corners value in the Properties or Control panel.
- Alternatively, use Effect > Stylize > Round Corners, which is non-destructive and can be edited later through the Appearance panel.
Rounding the right angle also changes how the shape reads at small sizes, so check it at the scale you will actually use.
Common problems and fixes
- The triangle looks slightly off-angle: You probably dragged an anchor freehand. Rebuild it from a rectangle with typed dimensions.
- The shape is open or missing a side: You used the Delete key on an anchor. Undo, then use the Delete Anchor Point Tool or the Control panel button.
- Stroke corners look spiky: Open the Stroke panel and switch the corner join from Miter to Round or Bevel, or lower the miter limit.
- Edges look blurry on export: Turn on Align to Pixel Grid in the Transform panel if you are targeting raster output, and make sure your coordinates land on whole pixels.
- You need a perfect 30-60-90: Use the tangent calculation above rather than relying on the Polygon Tool.
Taking your triangle into After Effects and other 3D/compositing tools
Once the triangle is clean, the useful question for motion work is how to move it into your pipeline without losing editability.
After Effects
- Save the Illustrator file and import it into After Effects as footage or as a composition with layers retained.
- Select the layer and choose Layer > Create > Create Shapes from Vector Layer. This converts the artwork into native shape layers, so you can animate the path, fill, stroke, and trim paths directly.
- Keep the anchor count low. A triangle with exactly three anchors is easy to animate with path keyframes or to morph between shapes. Extra points left over from messy construction can cause odd interpolation.
- Rounded corners applied as a live effect in Illustrator will not carry over as an editable effect, so apply rounding to the actual path if you want it to survive the import.
Cinema 4D and Blender
Cinema 4D can import Illustrator paths, which you can extrude or use with Sweep and other generators. Blender imports SVG files as curves. In both cases, a triangle with only three anchors and closed paths converts cleanly. Open paths, stray points, and overlapping duplicates are the usual causes of broken extrusions.
Using the triangle as a reference in Styleframe
A crisp geometric shape from Illustrator can also serve as source material for AI-assisted motion work, where control over the output matters more than speed. Styleframe is an AI video and motion tool built around that kind of artistic direction, with every generation driven by reference images, video clips, and keyframes rather than a one-click prompt.
A few practical ways a right triangle might fit in:
- Frames-to-Video: Export two or more versions of your triangle layout as PNGs (for example, a start and end composition) and use them as keyframes. Styleframe generates the motion between them, so the shapes you designed define where the animation begins and ends.
- Restyle and Ink-and-Paint: These are reference-driven style transfer tools. A clean vector-derived frame gives the system a clear structure to work from, and your style reference determines the look, such as hand-inked lines or painterly texture.
- 2D-to-3D and Turntable: If your triangle is part of a logo or a flat graphic, 2D-to-3D can build a dimensional version of it, and Turntable can show that object rotating, which is useful for look-development.
- Remove Background and 4K Upscale: Strip the background from an exported asset, or bring a lower-resolution result up to production-ready 4K.
Iteration is non-destructive, so you can try several variations from the same Illustrator source without overwriting earlier results. Styleframe also exports image sequences, which drop into an existing After Effects or Nuke composite. An After Effects plugin is on the way, but your compositing workflow stays where it already is. Illustrator remains the place where the exact geometry gets built, and Styleframe is a complement for generating and styling motion around it.
Quick reference
Final thoughts
The rectangle-and-delete method is the one to remember: it guarantees a true 90° angle, accepts numeric sizing, and takes a few seconds. Keep paths closed, keep anchor counts minimal, and convert to shape layers when you bring the artwork into After Effects. Whether you animate the triangle with path keyframes or use it as reference material in a tool like Styleframe, a clean three-point shape makes every later step easier.