Skip to main content
Calcimator

Area Under Curve Calculator

Approximate the area under f(x) = x² using trapezoidal, Simpson's, or midpoint rule. Compare with the exact answer.

Inputs

Results

Approximate Area

0.33335

Exact Area0.33333
Error Estimate0.000017
How to Use This Calculator
  1. Enter the lower bound (a) and upper bound (b) of integration — the calculator approximates the area under the fixed function f(x) = x² across this interval.
  2. Set the number of intervals to control how finely the range is subdivided; more intervals generally improve accuracy.
  3. Choose a numerical method: Trapezoidal rule (linear segments), Simpson's rule (parabolic segments), or Midpoint rule.
  4. Increase the number of intervals for greater accuracy — Simpson's rule converges fastest for the same interval count.
  5. The shaded area chart visualizes f(x) = x² across [a, b].
  6. Compare the Approximate Area against the Exact Area and Error Estimate to see how closely the chosen method matches the true integral.

How the result changes with Upper Bound (b)

Upper Bound (b)Approximate Area
-80-170,675.2
-30-9,000.45
309,000.45
80170,675.2

What each input means

Lower Bound (a)
Lower limit of integration
Upper Bound (b)
Upper limit of integration
Number of Intervals
More intervals = more accurate approximation
Method
Numerical integration method

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    4 parameters
    Lower Bound (a) = 0, Upper Bound (b) = 1, Number of Intervals = 100, Method = 1 = 4 input(s) provided
  2. Calculate Approximate Area
    Approximate Area
    0.33335 = 0.33335
  3. Calculate Error Estimate
    Error Estimate
    0.000017 = 0.000017

Engine last updated . Checked against 4 independently-derived tests how we verify calculators.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Math & Statistics.