ForHosting KIT · Math

Ellipse segment area calculator

Enter the two semi-axes of an ellipse and where a vertical line cuts it, and get the smaller piece: semi-axes of 5 and 3 cut 2 from the centre leave a segment of about 11.890101377 out of 47.1238898038. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
A
5
B
3
Cut x
2
You get
U
0.4
Total area
47.1238898038
Area right
11.890101377
Area left
35.2337884269

An elliptical segment is the smaller region of an ellipse cut off by a straight chord. Engineers, CAD assistants, teachers, and survey helpers need that number when an elliptical tank cross-section, arch, or plate is trimmed by a straight vertical cut, or when a worksheet asks for the cap area between a chord and the nearest vertex.

What an elliptical segment is

Draw a straight vertical line through an ellipse and it splits the shape into two pieces. The smaller piece, between the line and the nearest end of the ellipse, is the elliptical segment, sometimes called a cap. You meet it when an elliptical tank cross-section, an arch or a plate is trimmed by a straight cut, or when a worksheet asks for the area between a chord and a vertex. The calculator places the ellipse at the centre of the axes, with one semi-axis along the horizontal and the other along the vertical, and you say where the cut crosses the horizontal axis, measured from the centre.

Reading the result and avoiding mistakes

With semi-axes of 5 and 3 and a cut 2 units to the right of the centre, the whole ellipse covers about 47.1238898038, the piece to the right of the line about 11.890101377 and the piece to the left about 35.2337884269. The two always add up to the full area, and the segment is the smaller one. The chord itself is about 5.4990908339 long. A cut placed exactly on a vertex gives a segment of zero, and a cut beyond the ellipse is refused, because the line would never touch it. Remember that the cut is measured from the centre, not from the edge.

Homework and exam elliptical-segment drills

Students and graders confirm segment area, left and right caps, and chord length for classic semi-axes and cut data, including rejection when the cut lies outside the ellipse.

Is the ellipse segment area calculator free?

The browser tool runs free on your device.

What is an elliptical segment?

It is the smaller of the two pieces an ellipse splits into when a straight line crosses it. Here the line is vertical, so the segment is the cap between the cut and the nearest end of the ellipse.

How far from the centre can the cut be?

No farther than the horizontal semi-axis, on either side. A cut exactly at an end of the ellipse gives a segment of zero, and a cut beyond it is refused because the line would miss the ellipse.

Why are both the left and right areas shown?

Because the smaller piece can be on either side. The two always add up to the whole ellipse; with a cut to the right of the centre the right cap is the segment, and with a cut to the left the left cap may be.

How long is the chord along the cut?

The calculator gives the full chord and its half. For semi-axes of 5 and 3 cut 2 from the centre, the chord is about 5.4990908339 long, about 2.749545417 above and below the axis.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/geom/ellipse-segment-area

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/geom/ellipse-segment-area \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"a":5,"b":3,"cut_x":2}'
{
  "a": 5,
  "b": 3,
  "cut_x": 2
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "geom.ellipse_segment_area",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

When the chord is a vertical line x equals cut_x on the standard ellipse x squared over a squared plus y squared over b squared equals one, a closed-form identity gives the area without numerical integration. This capacity accepts positive semi-axes a and b and a cutting abscissa cut_x that must satisfy the absolute value of cut_x less than or equal to a so the line actually intersects the ellipse. Cuts strictly outside the ellipse fail with invalid_input. The response returns segment_area as the smaller piece, plus area_right, area_left, total_area, chord length, and the normalized cut u equals cut_x over a.

What an elliptical segment is and how a vertical cut fixes its area

In Euclidean plane geometry an axis-aligned ellipse centered at the origin is fixed by two positive semi-axes a along x and b along y. The left area is the total area pi a b minus that right area. The classical segment is the smaller of those two pieces: when the cut sits near the right vertex the right cap is the segment; when the cut sits left of center the left cap may be smaller instead. At the vertices the segment collapses to zero area and the chord degenerates to a point. Search intent clusters around ellipse segment area, elliptical cap area, area of ellipse cut by a vertical line, and semi-axes chord calculator. A vertical chord at x equals cut_x meets the curve at two points with the same abscissa and opposite ordinates y equals plus or minus b times the square root of one minus u squared, where u is cut_x divided by a. That chord splits the elliptical disk into a left region and a right region. The area of the right region—points with x greater than or equal to cut_x—follows from integrating the vertical chord length from cut_x to a, which evaluates in closed form to a times b times the quantity arccos of u minus u times the square root of one minus u squared. At cut_x equals zero on any ellipse the two halves share area pi a b over two. Returning segment_area together with area_right, area_left, total_area, chord_half_height, and chord_length makes the payload easy to paste into notes, diff in automated tests, or feed into a larger pipeline without reimplementing arccos and the affine stretch from the unit circle in every language you teach or deploy.

How this calculator validates input and applies the segment formula

Both semi-axes must be strictly positive, large enough for stable floating-point evaluation, and below a generous upper bound so extreme products cannot overflow intermediate terms. Chord half-height is b times that square root and chord length is twice the half-height. Send a JSON body with three required numeric fields: a, the positive semi-axis along x; b, the positive semi-axis along y; and cut_x, the abscissa of the vertical cutting line. Each field may arrive as a JSON number or as a numeric string; missing fields, empty strings, and non-finite values fail with invalid_input naming the field. The domain rule for the cut is absolute value of cut_x less than or equal to a: any cut with absolute value strictly greater than a lies outside the ellipse and is rejected immediately with a message that names cut_x and a, so callers never receive a silent NaN from arccos of an out-of-range argument. Total area is pi a b; area_left is total minus area_right; segment_area is the minimum of the two caps. All floating results are rounded to a stable decimal precision so the same input always yields the same JSON across runtimes. Edge cases are explicit: a circle is the special case a equals b and recovers half-disk and full-disk limits correctly; a cut at either vertex returns segment_area zero with a degenerate chord; a cut outside fails before any area is returned.

Practical use, limits, pricing, and delivery channels

Use the browser tool when you want an immediate elliptical segment area while checking homework, sizing a partial elliptical tank cross-section, verifying an arch or plate cut-out, or confirming a shop drawing without installing a computer-algebra system. Length units are whatever you already use for the figure, and response lengths and areas share that same unit system—there is no unit conversion inside the capacity. There is no language model, no external geometry service, and no randomness, so the capacity is safe to pin in continuous-integration checks and reproducible lesson materials. Compared with a circular segment calculator that takes radius and central angle, this tool targets the elliptical search intent with vertical-cut parameterization; compared with a full ellipse metrics tool that returns area and perimeter only, it answers the chord-cap question that design and homework workflows actually ask. Each successful request is one billable item at $0.002; failed validation does not consume balance. Results are fully deterministic: the same a, b, and cut_x always yield the same segment_area, caps, and chord fields. Wire the endpoint into ellipse-segment drills, contest answer checkers, elliptical tank and pipe worksheets, or floating preprocessing steps where you already prefer explicit domain errors over opaque black-box widgets that cannot show why a cut beyond the semi-axis is rejected. Keep requests small, pin the rounded JSON in tests, and you get reproducible segment areas without standing up symbolic math infrastructure of your own.

Deterministic fixtures for geometry tests

Pipelines that seed unit tests or interactive ellipse demos can call a pure elliptical-segment oracle instead of reimplementing arccos and the stretch from the unit circle in every language.

Tank, arch, and plate cut-out checks

Field or shop notes that record semi-axes and a vertical cut recover segment area plus chord length as structured JSON for reports or lightweight CAD helpers.

How do I compute ellipse segment area with this API?

Send a JSON body with positive a and b (semi-axes) and cut_x (vertical line) to geom.ellipse_segment_area. The response returns segment_area, area_right, area_left, total_area, and chord_length.

Which formula does the calculator use?

With u = cut_x/a, the area to the right of the cut is a·b·[arccos(u) − u·√(1−u²)]. segment_area is the minimum of that area and the complementary left cap.

What happens if the cut lies outside the ellipse?

The request fails with invalid_input when |cut_x| > a. Those validation failures are not charged.

Does a circle work as a special case?

Yes. Set a = b = r. A cut at cut_x = 0 returns half the disk (π r² / 2) as segment_area; cuts near a vertex return a small circular cap consistent with the same closed form.

Read the full KIT documentation →