Home / Articles / Miter angle for frames: the 180 ÷ sides rule
How to calculate · 2D drafting

Miter angle for frames: the 180 ÷ sides rule

7 min read · updated 11 Nov 2026

To join a frame cleanly you cut both ends on an angle (a miter) and bring them together. The simple rule for a frame whose sides are all equal is miter angle on each end = 180 ÷ number of sides. So a square frame is cut at 45°, a hexagon at 30°, and an octagon at 22.5°. This guide explains where the formula comes from, gives a ready table, the pipe-joint version, how to allow for the extra length a slanted cut adds, and how to lay it out in DXCAD2D Online.

Where the miter angle comes from

When two pieces meet at a corner, the joint line (the miter) bisects the angle the frame turns through. So the angle cut on each end is half the change of direction at that corner, measured from a square 90° crosscut (the zero setting on a miter saw).

The change of direction (exterior angle) of a regular polygon = 360 ÷ number of sides (n), so the miter on each end = half of that = 360 ÷ 2n = 180 ÷ n.
piece A piece B 45° corner 90° The miter line bisects the 90° corner → 45° on each piece Measured from a square cut: = 180 ÷ 4 sides = 45°
A square frame corner (90°) needs a 45° cut on each piece; the slanted joint bisects the corner exactly.

Ready table of miter angles (equal-sided frames)

The angle in the table is the setting on a miter saw, measured from a square 90° crosscut, and it is used on both ends of every piece.

Sides nShapeInterior corner angleMiter on each end (180 ÷ n)
3Triangle60°60°
4Square / picture frame90°45°
5Pentagon108°36°
6Hexagon120°30°
8Octagon135°22.5°

The interior angle comes from (n − 2) × 180 ÷ n, and you can confirm the rule because miter = 90 − (interior ÷ 2) always gives the same value as 180 ÷ n.

Unequal sides, or a special corner

If the corner is not part of a regular polygon, look at the interior angle of that corner (C) directly and cut each piece at

miter = 90° − (C ÷ 2), measured from a square cut. For example, a 120° corner → 90 − 60 = 30° per piece; a 60° corner → 90 − 30 = 60° per piece.

For a pipe or elbow joint, work from the turn angle of the pipe (D). A 90° elbow needs each end cut at D ÷ 2 = 45°; a 45° elbow needs 22.5° on each piece.

Allowing for extra length on a slanted cut

Because the cut is slanted, the outer edge of the piece is longer than the inner edge. For a piece of face width w cut at miter m:

outer edge − inner edge = 2 × w × tan(m) (for both ends together).

Example: a square frame with a 300 mm inner opening and a 40 mm face width, mitered at 45° (tan 45° = 1). The outer edge is longer than the inner by 2 × 40 × 1 = 80 mm, so the long side measures 300 + 80 = 380 mm on the outside and 300 mm on the inside — exactly outer size = opening + 2 × face width.

Hexagon example: a 30 mm face width mitered at 30° (tan 30° = 0.5774). The outer edge is longer than the inner by 2 × 30 × 0.5774 = 34.6 mm per piece.

outer edge inner edge m m
Cutting both ends at angle m makes the outer edge longer than the inner by 2 × w × tan(m).

Lay it out in DXCAD2D Online

The program does not cut real wood, but it lets you check angles and lengths before you commit.

  1. Draw the outer polygon of the frame with PL (polyline) at full size.
  2. Use offset to offset inward by the face width (w) to get the inner edge of the frame.
  3. Draw L (line) from each outer corner to the matching inner corner — these are the miter joints, each bisecting its corner.
  4. Use D (dim) or M (measure) to check the angle and the outer and inner edge lengths of each piece.

Frequently asked questions

What angle do you cut a square picture frame

45° on each end of all four pieces, because the corner is 90° and the miter = 180 ÷ 4 sides = 45°. Two 45° cuts meet to form the square corner.

What angle for a hexagon frame

30° on each piece (180 ÷ 6 = 30). An octagon is 22.5° per piece and a pentagon is 36° per piece.

How do you calculate a miter angle

For an equal-sided frame use 180 ÷ number of sides. For an unequal corner use 90 − (interior angle ÷ 2), measured from a square crosscut.

Difference between miter angle and corner angle

The corner (interior) angle is how far the two pieces open, such as 90°. The miter angle is the saw setting — half of the turn after measuring from square — such as 45°.

What angle to cut a 90 degree pipe elbow

Cut each pipe end at 45° (half of the 90° turn). A 45° elbow is cut at 22.5° on each piece.

Summary

The miter angle for an equal-sided frame comes from one formula: 180 ÷ number of sides — square 45°, pentagon 36°, hexagon 30°, octagon 22.5°. For an unequal corner use 90 − (interior ÷ 2), and for a pipe use half the turn angle. Remember that a slanted cut makes the outer edge longer than the inner by 2 × face width × tan(miter), so sketch and measure it in DXCAD2D before you cut.