Everyday Utilities

Ellipse String Layout Calculator

Enter the length and width of the ellipse to get where to put the pins and how long to cut the string.

Your numbers

The longest distance across the finished ellipse. Example value.

The shortest distance across, at right angles to the length.

More options

Added to the loop length so the knot does not shorten it. Example value.

Result

Distance between the two pins

53.666 in

String loop 125.666 in long, pins 9.167 in in from each end.

Pin spacing
53.666 in
Each pin from the nearer end
9.167 in
String loop length
125.666 in
Half length (a)
36.000 in
Half width (b)
24.000 in
Distance from center to a pin (c)
26.833 in
Area
2,714.336 in^2
Perimeter (approximate)
190.385 in

Points along a quarter of the curve

Across from centerHeight above the length line
0.000 in24.000 in
3.600 in23.880 in
7.200 in23.515 in
10.800 in22.895 in
14.400 in21.996 in
18.000 in20.785 in
21.600 in19.200 in
25.200 in17.139 in
28.800 in14.400 in
32.400 in10.461 in
36.000 in0.000 in
How this was calculated
  1. Half the length a = 36.000 in and half the width b = 24.000 in. The pins sit on the long axis at a distance c = sqrt(a^2 - b^2) = 26.833 in from the center, so 53.666 in apart.
  2. Every point on an ellipse has distances to the two pins that add up to 2a = 72.000 in. A taut string loop that runs around both pins and the pencil has length 2a + 2c = 125.666 in.
  3. Trammel method: a rod with the pencil at one end and two sliders in grooves on the long and short axes. Place the sliders 36.000 in and 24.000 in from the pencil, 12.000 in apart.
  • The pencil has width and the string stretches a little, so a drawn ellipse is usually slightly smaller than planned. Draw a test with the real string, measure it and adjust the loop length.

Calculated using SumPanda.com · https://sumpanda.com/ellipse-string-layout-calculator/

Results are estimates for general information. Verify important figures before relying on them.

Next step

How to use the ellipse string layout calculator

  1. Enter the overall length (the long way across) and the overall width (the short way across) of the finished ellipse, and choose a unit.
  2. Mark the center and the long axis. Place the two pins on the long axis, each at the pin spacing apart, centered on the center.
  3. Cut a string to the loop length, tie it in a loop (add the knot allowance if the knot uses string), and slip it over both pins.
  4. Pull the loop tight with a pencil and move the pencil around, keeping the string taut. Use the table of points to check the drawn curve.

Formula

a = length / 2 and b = width / 2

c = sqrt(a^2 - b^2), the distance from the center to each pin

pin spacing = 2c and string loop = 2a + 2c

distance from a pin to the nearer end = a - c

Every point on an ellipse has distances to the two pins that add up to 2a. The string loop passes around both pins and the pencil, so its length is the pin spacing plus 2a. The perimeter uses Ramanujan's second approximation.

An ellipse 72 long and 48 wide

Half the length is a = 36 and half the width is b = 24, so c = sqrt(36^2 - 24^2) = 26.8328. The pins are 53.666 apart, each 9.167 in from the nearer end, and the string loop is 2 x 36 + 2 x 26.8328 = 125.666 long.

The area is pi x 36 x 24 = 2714.336 and the perimeter is about 190.385. The curve passes through 3.6 across and 23.880 high, and through 18 across and 20.785 high. For any point you draw, the distances to the pins add up to 72.

The pins-and-string method

Gardeners lay out oval beds this way, and carpenters use it for tabletops and inlays. It works because an ellipse is exactly the set of points whose distances to two fixed points add up to a constant. A taut string keeps that sum fixed.

The more different the length and width, the farther apart the pins sit. If the two are equal, the shape is a circle, the pins join into one pin at the center, and the loop is twice the radius. For circle measurements, use the Circle Calculator.

The trammel method and accuracy

A trammel is a rod with a pencil at one end and two pins that slide in grooves along the long and short axes. Set the pencil to the first pin at a and to the second at b, and the pencil traces the ellipse as the pins slide. The page gives those distances for you.

Pencil width, string stretch and knots shorten the real ellipse a little, so draw a trial curve and adjust the loop length. For the area of an ellipse and other shapes see the Area Calculator, and for arch templates the Arch Template Calculator.

More layout tools

For other layouts and cutting sizes, try the Dovetail Layout Calculator, Flying Geese Cutting Calculator and Quarter Square Triangle Calculator.

Assumptions and limits

  • The ellipse is symmetric, with its long axis along the line through the pins.
  • The string does not stretch, and the pencil is a point.
  • The width is not greater than the length. Swap them if needed.
  • The perimeter is an approximation that is very accurate for ordinary shapes; the pin and string figures are exact.

Formulas reviewed October 10, 2026. See the calculation methodology for how SumPanda rounds, tests and sources its formulas.

Frequently asked questions

Why is the string loop longer than the ellipse is long?

The loop is the length of the closed string: it runs from one pin to the pencil and back, and also across the gap between the pins. Its length is the overall length plus the pin spacing.

How do I draw an ellipse that fits a given rectangle?

Use the rectangle's length and width as the overall length and width. The ellipse then touches the middle of each side of the rectangle.

What if the pins are too close together?

A small pin spacing means the length and width are nearly equal. The curve will be close to a circle, and small errors in the loop length matter more, so check the first few points.

Does the knot allowance matter?

Yes. A knot uses some string, which shortens the loop. Enter the extra length your knot takes under More options so the loop ends up the planned length.