Trapezoid Area Calculator & Stock Fit
Use the lengths of both parallel bases and either the perpendicular height and offset or both legs. The scale drawing shows the shape, including any overhang. Enter stock width, height and edge clearance to see how much space is available along each axis.
Calculate trapezoid area and stock clearance
Enter the two parallel edges and a measured height or both slanted sides. Inspect the full shape, including any overhang.
Fits the entered stock and clearances.
Edit trapezoid measurements
Set the offset to zero for aligned left edges. A negative offset puts the top-left corner farther left.
Trapezoid shape and horizontal span
- Horizontal span
- 14 cm
- Perpendicular height
- 5 cm
- Top offset from bottom-left
- 3 cm
- Bottom base
- 14 cm
- Left leg
- 5.830951895 cm
- Right leg
- 5.830951895 cm
Edit stock and edge clearance
Enter both stock dimensions to check fit with the parallel edges held horizontal. Clear both to skip fit.
Stock clearance by axis
Width
16 cm required · 16 cm available
At the stock limit.
Height
7 cm required · 8 cm available
1 cm left after clearance.
Area outside the trapezoid in the entered stock: 73 cm²
Open selectable CSV
How to use this calculator
- Select a length unit and enter the bottom and top parallel bases.
- Enter perpendicular height and signed offset if you know them. For unequal bases you can instead enter the two side lengths.
- Read the area, perimeter and midsegment. Check the scale drawing for any overhang.
- Enter both stock dimensions and the required clearance on each edge if you want to check fit.
- Download the measured geometry and fit results as a CSV worksheet.
The Formula
The mathematical logic powering this calculation is:
Set the bottom-left corner at (0, 0). The bottom base B ends at (B, 0). The top base T starts at (x, h) and ends at (x + T, h). The perpendicular height h is positive. A negative offset x means the top-left corner extends beyond the bottom-left corner to the left.
With both legs entered, let L be the left leg, R be the right leg, and d = B − T. The squared distances give L² = x² + h² and R² = (d − x)² + h². Subtract to find x = (L² − R² + d²)/(2d), then h = √(L² − x²). Zero or negative height squared means the four sides cannot make this shape. Equal bases make d = 0. In that case the legs do not determine height and offset, so use the measured-height mode.
The midsegment is (B + T)/2. Area is height times midsegment. Perimeter is B + T + L + R. The horizontal span is max(B, x + T) − min(0, x). This is the width of the enclosing rectangle and includes any overhang. Height is its vertical span.
A clearance c on each edge requires a stock width of at least span + 2c and a stock height of at least h + 2c. The parallel bases stay horizontal. Both checks include equality and use exact arithmetic on the decimal measurements. Displayed values are rounded. This is a single oriented shape with an entered edge allowance. Rotation, nesting, grain constraints and kerf require separate decisions.
Use a single length unit for all entries. Supported lengths are positive up to 1 billion, offset can be signed, and clearance can be zero. Measurements accept up to six decimal places. Leave both stock dimensions empty to calculate just the geometry.Worked Example
If you input:
- Parallel bases: Bottom 14 cm, top 8 cm
- Measured shape: Height 5 cm, top-left offset 3 cm
- Stock: 16 cm × 8 cm with 1 cm clearance on each edge
Result:
The trapezoid has an area of 55 cm² and spans 14 cm horizontally. It needs 16 cm × 7 cm with clearance, so it fits exactly across the stock width with 1 cm left vertically.
Frequently Asked Questions
How do you calculate the area of a trapezoid?
Multiply the perpendicular height by the average of the two parallel bases. For bases 14 cm and 8 cm with height 5 cm, the area is 55 square centimeters.
Can a top base extend beyond the bottom base?
Yes. The signed top-left offset and the top base length can place either top corner beyond the corresponding bottom corner. The calculator includes that overhang in the horizontal span.
Can I calculate height from four sides with equal bases?
Use the bases and height mode for equal bases. The four sides of a parallelogram leave its tilt and perpendicular height undetermined.
What does stock fit assume?
The parallel bases stay horizontal and the trapezoid can translate anywhere within the stock. A clearance is kept on all four edges. The model checks one piece in that orientation.
Are the clearance results rounded before checking fit?
The decisions compare the required horizontal span as a fraction and compare the squared available height against the exact squared trapezoid height. The chart and displayed numbers are rounded.
Similar Calculators
Polygon Area Calculator
Calculate polygon area from ordered coordinates, subtract cutouts, and inspect perimeter, centroid and point location on a consistently scaled plan.
Triangle Calculator
Solve right or oblique triangles from sides and angles. Compare both SSA solutions, inspect scaled geometry, and export sides, angles, area and heights.
Triangular Prism Surface Area & Volume Calculator
Calculate surface area and volume for a right triangular prism. Compare depths, select rectangular faces and end caps, and solve an exact feasible depth interval.
Quadrilateral Area Calculator & Diagonal Reconstruction
Find quadrilateral area from four sides and one diagonal. Compare reconstructed corner placements and identify convex, concave and crossed boundaries.
Polygon Area Split by Line Calculator
Split a convex polygon with a line. Compare the two exact areas and find the parallel cut that gives a target area share.
