Definite Integral Calculator

Enter a function and interval to compute its definite integral numerically using Simpson's rule.

Enter Function & Bounds

Use x as the variable. Operators: + - * / ^ **. Functions: sin cos tan exp log sqrt abs.

Result

Enter a function and click Calculate.

Common Examples

Copied!

Summary

Enter a function and interval to compute its definite integral numerically using Simpson's rule.

How it works

  1. Enter the function f(x) using standard math notation (e.g. x^2, sin(x), e^x).
  2. Set the lower bound (a) and upper bound (b) of the integration interval.
  3. Choose the number of sub-intervals (higher = more accurate; default 1000).
  4. Click "Calculate" to apply composite Simpson's 1/3 rule.
  5. The numeric result is displayed with up to 10 significant digits.
  6. Use the examples panel to load common integrals instantly.

Use cases

  • Check hand-computed definite integrals for calculus homework.
  • Estimate the area under a curve when an antiderivative is hard to find.
  • Verify results from symbolic CAS tools.
  • Compute integrals of physics and engineering functions (e.g. Gaussian, sinc).
  • Explore how integral value changes as bounds are adjusted.
  • Teach or demonstrate numerical integration methods in the classroom.

Frequently Asked Questions

Last updated: 2026-06-10 · Reviewed by Nham Vu