Integral Calculator
Find the definite integral of a function of x between two limits using Simpson's rule, and compare with the trapezoid rule.
These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.
How it works
- Enter your values in the boxes. Where a box has a unit beside it, check the unit before you read the answer.
- The answer updates as you type, so there is no button to press.
- Use Copy results to keep the answer. Check the formula and its limits below if the result will go into a report or an experiment.
The formula
Simpson: integral is about (h/3) [f0 + 4 f1 + 2 f2 + ... + fn], with h = (b - a) / n
Frequently asked questions
How accurate is it?
For smooth functions with 2000 steps it is usually accurate to 8 or more digits.
What about infinite limits?
Not supported. Use large finite limits and check the trend.
Is what I enter sent anywhere?
No. The calculation is done in your browser, so your numbers are not sent to a server or saved.
Related tools
Derivative Calculator
Estimate the derivative of a function of x at a point, with the second derivative and the tangent line, using accurate numerical differences.
Limit Calculator
Estimate the limit of a function as x approaches a number from the left and the right, or towards a very large value.
Polynomial Calculator
Add, subtract, multiply, differentiate, integrate or evaluate polynomials from their coefficients, and find the roots of the first one.