Area Under Curve Calculator

Approximate definite integrals

CalculatorsFreeNo Signup
4.7(160 reviews)
All Tools

Loading tool...

About Area Under Curve Calculator

An area-under-curve calculator that approximates definite integrals using Riemann sums. Supports left, right, midpoint, and trapezoidal rules with adjustable number of rectangles. Works with polynomial, trig, and exponential functions. Shows individual rectangle areas and convergence. All calculations are client-side.

Area Under Curve Calculator Features

  • 4 methods
  • Adjustable n
  • Step values
  • Convergence
  • Common functions
The area under a curve f(x) from a to b is approximated by dividing [a,b] into n rectangles. Left Riemann: use f(xᵢ). Right: use f(xᵢ₊₁). Midpoint: use f((xᵢ+xᵢ₊₁)/2). Trapezoidal: average left and right. As n→∞, all methods converge to the true integral ∫f(x)dx.

How to Use

Select a function and bounds:

  • Function: Choose from presets
  • Bounds: Set a and b
  • Rectangles: Adjust n

Methods

  • Left: underestimates if increasing
  • Right: overestimates if increasing
  • Midpoint: better accuracy
  • Trapezoidal: averages left+right

Accuracy

Error decreases as n increases. Trapezoidal error ~ 1/n². Simpson's rule (not shown) achieves 1/n⁴.

Step-by-Step Instructions

  1. 1Select a function.
  2. 2Set lower bound a.
  3. 3Set upper bound b.
  4. 4Choose number of rectangles.
  5. 5Compare methods.

Area Under Curve Calculator — Frequently Asked Questions

Which method is most accurate?+

For the same n: midpoint ≈ trapezoidal > left/right. Midpoint is surprisingly good because errors cancel. Trapezoidal is the average of left and right sums.

How many rectangles do I need?+

Depends on the function's curvature. Smooth functions: 10-20 gives decent results. Highly curved: 100+. The trapezoidal rule converges faster than left/right.

Is this the same as integration?+

It's numerical integration — approximating the exact integral. As n→∞, Riemann sums converge to the exact definite integral ∫ₐᵇ f(x)dx.

Share this tool: