CalcWorks

Home › Lumber

Carpentry Math Calculator

Units:Switches the numbers you type and the answers. Diagrams, examples and product sizes stay in feet/inches for now.
Diagonal (3-4-5)
— ft
Diagonal
— in
Miter angle
— °
Bevel angle (crown)
— °

Formula verified · Updated Nov 2026

Results update as you type. Estimates only — confirm final quantities before ordering.

Two calculations every carpenter does by hand, on one page. 3-4-5 squaring checks whether a corner is truly square: measure 3 ft along one side and 4 ft along the other, and the diagonal between the marks must be exactly 5 ft. Miter angles give the saw settings for a corner: 45° for flat trim on a square corner, and the compound miter-plus-bevel pair for crown molding, which depends on the molding's spring angle. The squaring tool uses sides A and B; the miter tool uses the corner angle and the spring angle.

Carpenter measuring a wooden board with a tape measure
Embed this calculator

Paste this code into your site to show this calculator on your own page. Adjust the height if the calculator is cut off or leaves a large gap.

The formula

3-4-5 squaring: Diagonal = √(Side A² + Side B²) — must equal 5 ft for 3 and 4
Flat trim miter = Corner angle ÷ 2
Crown miter = atan(tan(Corner ÷ 2) × sin(Spring angle))
Crown bevel = asin(cos(Spring angle) × cos(Corner ÷ 2))

3-4-5 is Pythagoras: any triangle with sides in the ratio 3:4:5 has a right angle, so scaling up to 6-8-10 or 9-12-15 gives a more accurate check on a big layout. The crown formulas are the standard compound-miter geometry for a molding cut flat on the saw: the spring angle is the angle between the back of the molding and the wall when installed — 38° for standard 52/38 crown, 45° for 45/45 crown — and the corner angle is the true angle between the two walls, which is rarely exactly 90° once drywall mud and framing are in. The miter and bevel outputs are hidden in squaring mode, and the diagonal is the 3-4-5 diagonal for the sides entered, not part of the miter tool.

Worked example

Example — squaring: mark 3 ft along one wall and 4 ft along the other.

Example — crown molding: a 90° corner, standard 38° spring crown.

Same corner, 45° spring crown: miter 35.26°, bevel 30.00°. Flat baseboard on a 90° corner: miter 45°, bevel 0°.

Reference chart

Miter and bevel settings by corner angle (38° spring crown) and 3-4-5 diagonals
Corner angleMiter (38° spring)Bevel (38° spring)3-4-5 checkDiagonal
45° (acute)14.3°46.7°3 ft × 4 ft5 ft
90° (square)31.6°33.9°6 ft × 8 ft10 ft
135° (obtuse)56.1°17.6°9 ft × 12 ft15 ft
120° (obtuse)46.8°23.2°12 ft × 16 ft20 ft

Frequently asked questions

How does the 3-4-5 method check a corner is square?

Mark 3 ft along one wall from the corner and 4 ft along the other, then measure the diagonal between the two marks: it must be exactly 5 ft. If it reads long, the corner is open past 90°; if short, it is closed under 90°. Scale up for accuracy — 6-8-10 or 9-12-15 on a big layout — because a small error is easier to see over a longer diagonal. Any multiple of 3-4-5 works, and so does 5-12-13.

What miter angle do I need for a square corner?

For flat trim such as baseboard, casing or picture frame, half the corner angle: 45° on a 90° corner, bevel 0°. Crown molding leans at its spring angle, so it needs a compound cut: for standard 38° spring crown on a 90° corner, miter 31.6° and bevel 33.9°; for 45° spring crown, miter 35.3° and bevel 30.0°. Those are the settings printed on most miter saw detents.

What is the spring angle of crown molding?

The angle between the back of the molding and the wall when it is installed — 38° for standard 52/38 crown (the most common profile) and 45° for 45/45 crown. It is printed on the profile packaging or the store listing; if it is not printed, 38° is the safer guess for large crown. Cutting with the wrong spring angle is the most common reason crown corners do not close.

My corner is not 90° — what do I do?

Measure the true corner angle with a digital angle finder and enter it here. A 135° corner (an eight-sided room) needs 56.1° miter and 17.6° bevel for 38° spring crown, and a 45° acute corner needs 14.3° and 46.7° — very different from the 90° settings. Walls are rarely exactly 90° once drywall mud is in, so always confirm with a test cut on scrap before cutting the real molding.

Why cope inside corners instead of mitering them?

An inside corner miter opens up as the wood shrinks and the house moves, because both pieces pull away from the joint. A coped joint — one piece cut square into the corner and the other cut to the profile of the first — stays tight because the profiled piece overlaps the square one. Cope inside corners on baseboard and crown; miter outside corners, where the joint is visible from the room and both pieces can be glued and pinned.

Related calculators

How we verify this

3-4-5 squaring from Pythagoras (a² + b² = c²); crown compound-miter formulas miter = atan(tan(C/2) × sin S), bevel = asin(cos S × cos(C/2)), verified against the published DeWalt crown guide (31.62° miter / 33.85° bevel for 52/38 crown at 90°) and published crown angle charts (38° spring: 90° corner 31.6°/33.9°, 135° corner 56.1°/17.6°, 45° corner 14.3°/46.7°; 45° spring at 90°: 35.3°/30.0°).