Cut Rectangle Calculator

Cut Rectangle Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

A=ab−12cdA = a\,b - \tfrac12\,c\,d
Usage stats

Advertisement

Results

Area A
57
Perimeter P30.605551
Side a10
Side b6
Cut along side a, c3
Cut along side b, d2
Remaining part of side a, p7
Remaining part of side b, q4
Cut length e3.605551
Angle at the cut on side a146.309932°
Angle at the cut on side b123.690068°
Centroid x from the left edge4.789474
Centroid y from the bottom edge2.877193

Report an error on this page

What is a cut rectangle?

A cut rectangle is a rectangle with sides a and b from which one corner has been cut off by a straight line. The cut removes a length c from side a and a length d from side b, so it takes away a right triangle with legs c and d and leaves a pentagon. The new edge, the cut, has length e. The remaining parts of the two sides are p = a − c and q = b − d.

How to use it

Choose what you know: the sides and the two cut legs, the sides and the remaining parts of the sides, or the sides, one cut leg and the length of the cut. The length unit is only a label: lengths come out in that unit and areas in its square. Each length you type must be from 0.000001 to 1,000,000,000 (boxes that allow 0 also accept 0); anything else, including text, is refused instead of being read as something else.

Derivation of the formulas

Removing the right triangle with legs c and d from the rectangle gives

$$A = a\,b - \tfrac12\,c\,d,\qquad e = \sqrt{c^2 + d^2},\qquad P = a + b + (a - c) + (b - d) + e$$

The two new corners are obtuse; each is 180° minus an angle of the removed triangle:

$$\alpha_a = 180^\circ - \arctan\frac{d}{c},\qquad \alpha_b = 180^\circ - \arctan\frac{c}{d}$$

The centroid is the rectangle's centroid minus the triangle's (at a − c/3, b − d/3 from the corner opposite the cut), weighted by area:

$$\bar x = \frac{a b \cdot \tfrac{a}{2} - \tfrac12 c d\,(a - \tfrac{c}{3})}{A},\qquad \bar y = \frac{a b \cdot \tfrac{b}{2} - \tfrac12 c d\,(b - \tfrac{d}{3})}{A}$$

Worked example

The page opens with side a = 10, side b = 6, cut along side a, c = 3, cut along side b, d = 2. Then area A = 57; perimeter P = 30.605551; cut length e = 3.605551; angle at the cut on side a = 146.309932° (shown to at most six decimals; see the precision note in the FAQ).

Advertisement
A rectangle measuring 10 by 6 with a corner removed along legs 3 and 2, leaving an area of 57 and a cut length of 3.605551.
The cut removes a right triangle from the rectangle. The remaining area is 57, and the diagonal cut is 3.605551.

FAQ

What happens when the cut takes a whole side?

With c = a or d = b one corner of the pentagon disappears and the shape is a right trapezoid; with both, the cut is the diagonal and the shape is a right triangle. The page names the shape and still gives every value.

Where is the centroid measured from?

From the corner diagonally opposite the cut: x along side a, y along side b.

Why does the unit not change the numbers?

The calculator does not convert between units. Every length is read in the unit you chose, so the unit only labels the results; areas come out in that unit squared.

How precise are the results?

Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable. The page shows up to six decimals; a value too small or too large for that is written out as a plain number instead.

References

Zwillinger, D. (ed.), CRC Standard Mathematical Tables and Formulae, 33rd ed., 2018

Last updated: