Skip to content
ihateDesmos

Area between curves calculator

Type two curves to find the area enclosed between them. Leave the bounds blank to use the points where the curves meet, or set your own. Curves that swap places are handled correctly.

y =
from to (blank: where the curves meet)
Result
92

≈ 4.5 (decimal)

Steps
  1. The curves meet at x = −1, x = 2. Those are the bounds.
  2. Between the bounds, x + 2 stays above x², so the area is ∫(top − bottom) dx.
  3. Area = ∫ from −1 to 2 of |(x + 2) − (x²)| dx = 9/2
Graph both curves

How to use it

  1. 1
    Type the two curves, like x + 2 and x^2.
  2. 2
    Leave the bounds blank to use the points where the curves cross, or type your own.
  3. 3
    Press Find the area, then graph both curves to see the region.

How to find the area between curves

  1. Find where the curves meet, by setting them equal.
  2. Work out which curve is on top between those points.
  3. Integrate top minus bottom.

For y = x + 2 and y = x²: they meet where x² = x + 2, at x = −1 and x = 2. Between these, x + 2 is on top, so the area is ∫(x + 2 − x²) dx from −1 to 2 = [x²/2 + 2x − x³/3] from −1 to 2 = 10/3 + 7/6 = 9/2.

When the curves swap places

If the curves cross inside your bounds, top and bottom swap there, and a single integral of top minus bottom gives the wrong answer, because the parts partly cancel. Split it at each crossing, or integrate the absolute value of the difference. This calculator does the latter, so the region is always counted as positive.

Integrating along y

Sometimes a region is easier to slice horizontally. If curves are given as x = g(y), integrate right minus left with respect to y. It gives the same area, but can save you from splitting the region into pieces.

Frequently asked questions

How do I know which curve is on top?
Pick any x-value between the intersection points and evaluate both. The larger is on top. Graphing them makes this obvious.
What if the curves don’t cross?
Then you need to give the bounds yourself, and the area between them over that range is found.
Does the order of the two curves matter?
No. This calculator counts the region as positive whichever curve you type first.
Is the answer exact?
The value is computed numerically to about ten digits, then shown as an exact fraction or multiple of π when it matches one.

Related tools and guides

Try the area between curves calculator

It opens instantly, with no account and nothing to install.

Open the calculator