Definite Integral ∫ₐᵇ f dx Calculator

Type a function and the limits a and b to evaluate the definite integral ∫ₐᵇ f(x) dx numerically.

Open in the full calculator → — with every other tool, the AI tutor and PNG export.

What it asks for

The formula

Area ≈ Σi=1n   f(xi) · Δx

From the article The Definite Integral as Area — A Visual Explanation.

Worked example

Question: Find the area under y = x² from x = 0 to x = 3, first approximately with 3 rectangles, then exactly.

Rectangles, right-hand heights (Δx = 1):
heights f(1) = 1, f(2) = 4, f(3) = 9
sum = (1 + 4 + 9) × 1 = 14 — an overestimate, because the curve is rising.

Rectangles, left-hand heights:
heights f(0) = 0, f(1) = 1, f(2) = 4
sum = (0 + 1 + 4) × 1 = 5 — an underestimate.

So the true area is somewhere between 5 and 14. Averaging the two (the trapezium rule) gives (5 + 14)/2 = 9.5, already close.

Exact value:
∫03 x² dx = [ x³/3 ]03 = 3³/3 − 0³/3 = 27/3 − 0 = 9 square units

9 sits neatly between the underestimate 5 and the overestimate 14, exactly as the rectangle picture predicts.

Worked in full in The Definite Integral as Area — A Visual Explanation.

Learn the method

About this tool

This is one of the tools in the Chemistry Calculator Suite, a free calculator built for IIT-JAM, CSIR-NET, GATE and CUET (Chemical Science) preparation. Nothing is behind a login and no result is stored on a server — the arithmetic runs in your own browser.

The Definite Integral ∫ₐᵇ f dx calculator above is the live tool — type your values and press its button; the answer appears in the same box. The link under it opens the full suite with this tool already selected, next to the others.

Other maths tools