Integral Calculator
An integral calculator is a calculus utility designed to compute the definite integral of a mathematical function over a specified interval. For polynomial functions, the calculator applies the power rule of integration analytically. For more complex or non-polynomial expressions, it utilizes numerical integration techniques, such as Simpson's rule, to approximate the area under the curve. Students, engineers, and physics researchers use these calculators to verify integration homework, solve area and volume problems, and evaluate physical systems represented by continuous functions.
Type a polynomial in x and we'll integrate it term by term using the power rule. Choose indefinite for the antiderivative or definite to evaluate between two bounds — with a numeric Simpson's rule cross-check.
Quick Answer
Compute the definite integral of a function. Enter the mathematical expression, variable of integration, and the lower and upper bounds.
Polynomials in x only — terms like 3x^2, -2x, and 5. No functions like sin or log.
Mode
∫ f(x) dx =
x^3 +x^2 +x + C
Power rule applied term by term, plus constant of integration
Polynomial integrals only — power rule, term by term. The numeric row uses Simpson's rule on 1,000 subintervals as a sanity check. For trig, exponential, logarithmic, or composite integrands, use a full CAS.
Examples
∫ 3x² + 2x + 1 dx
x³ + x² + x + C
∫ x² dx, from 0 to 2
8/3 ≈ 2.667
∫ 4x dx, from 1 to 3
16
∫ 6x² dx, from −1 to 1
4
How it works
Each polynomial term integrates with the power rule. Add a constant of integration C for indefinite integrals, or evaluate the antiderivative at both endpoints for definite integrals.
power rule · ∫ c·xⁿ dx = c·x^(n+1) / (n+1) + C
definite · ∫ from a to b of f(x) dx = F(b) − F(a)
For a sanity check, the definite mode also runs Simpson's rule with 1,000 subintervals — for polynomials the two should match.
Supported: polynomials in x · ^ for exponents · constants · negative coefficients. Unsupported: 1/x, sin, cos, ln, e^x, products, quotients, substitution.
What is an integral calculator?
An integral calculator computes antiderivatives (indefinite integrals) and evaluates areas under curves (definite integrals). While advanced calculus integrates a wide variety of logarithmic and trigonometric functions, this calculator is specifically optimized to step through polynomial functions term by term, displaying precise fractions and numerical approximations.
How to integrate polynomials (The Power Rule)
Integration is the reverse process of differentiation. For a polynomial term, you apply the Power Rule of integration:
- Increase the variable's exponent by 1 (e.g.,
x²becomesx³). - Divide the coefficient by this new exponent value.
- For constants (e.g., 5), multiply by the variable (e.g.,
5x). - If the integral is indefinite, add the integration constant
+ C.
Definite integrals and the Fundamental Theorem of Calculus
To calculate a definite integral with an upper bound b and a lower bound a, find the antiderivative function F(x) first. Then, evaluate F(b) and subtract F(a). The constant C cancels out during subtraction, leaving an exact numerical value representing the area under the curve.
Worked example: Evaluating a definite integral
Let's evaluate the integral of 3x² + 4x from 1 to 3:
- Integrand: f(x) = 3x² + 4x
- Find antiderivative: F(x) = (3x³ ÷ 3) + (4x² ÷ 2) = x³ + 2x²
- Evaluate at upper bound (3): F(3) = 3³ + 2(3²) = 27 + 18 = 45
- Evaluate at lower bound (1): F(1) = 1³ + 2(1²) = 1 + 2 = 3
- Subtract limits: F(3) − F(1) = 45 − 3 = 42
The definite integral value is exactly 42.
Common mistakes when calculating integrals
- Forgetting the constant of integration (+ C): Omitting `+ C` on indefinite integrals. This is a common deduction on math exams.
- Incorrect subtraction order: Evaluating the lower bound first and subtracting the upper bound (computing
F(a) − F(b)instead ofF(b) − F(a)). - Misapplying the power rule to x⁻¹: Attempting to integrate
1/x(orx⁻¹) by writingx⁰/0, which causes division by zero. The correct antiderivative of1/xisln|x|. - Arithmetic sign errors: Making calculation mistakes when plugging negative bounds into the evaluated antiderivative.
For the limit definition behind Riemann sums, see the limit calculator.
Related Calculators
More tools from Education



