About this tool
The Area Between Two Curves Calculator is a free, in-browser tool that computes the region enclosed between two functions f(x) and g(x). The area is the integral of the absolute difference, ∫|f(x) − g(x)| dx — using the absolute value so that portions where f is above g and portions where g is above f both contribute positively rather than cancelling. Both functions are parsed and integrated locally in your browser, so nothing you enter is uploaded.
Enter the two functions using x as the variable (for example f = x^2 and g = x). The tool first finds every point where the curves cross by scanning for sign changes of f − g and refining each with bisection, then splits the interval at those intersections and integrates the difference on each piece with composite Simpson's rule, taking the absolute value of each piece so crossings are handled correctly. You can supply explicit bounds a and b, or leave both blank and the calculator integrates between the outermost intersection points it finds — the natural enclosed region.
This is a standard calculus II application for the area of a bounded region. The result panel reports the total enclosed area, the effective lower and upper bounds used, and the list of intersection x-values. For f(x) = x² and g(x) = x the curves cross at x = 0 and x = 1, and the enclosed area works out to exactly 1/6 ≈ 0.166667.