Measure the seam, not the fabric.
Enter the finished seam-line width and depth. For a rectangle, perimeter = 2 × (width + depth). Rounded corners replace straight segments with arcs: 2(W + D) − 8r + 2πr. A circle uses π × diameter. Radius is limited to half the smaller dimension.