Skip to main content
math

Integral Calculator

Calculate the indefinite integral (antiderivative) of polynomial terms using the reverse power rule. Enter a coefficient and exponent to find the antiderivative, a core operation in calculus for computing areas and accumulated quantities.

Reviewed by Christopher FloiedUpdated

This free online integral calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Enter your values below and see results update in real time as you type. Perfect for everyday calculations, homework, or professional use.

How to Use This Calculator

1

Enter your input values

Fill in all required input fields for the Integral Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.

2

Review your inputs

Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.

3

Read the results

The Integral Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.

4

Explore parameter sensitivity

Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.

Formula Reference

Integral Calculator Formula

See calculator inputs for the governing equation

Variables: All variables and their units are labeled in the calculator interface above. Input fields accept values in multiple unit systems — select your preferred unit from the dropdown next to each field.

When to Use This Calculator

  • Use the Integral Calculator when you need a quick mathematical result without writing out all the steps manually, saving time on repetitive calculations.
  • Use it to verify hand calculations on tests or assignments and catch arithmetic mistakes.
  • Use it when teaching or explaining mathematical concepts to others, demonstrating how changing inputs affects the result.
  • Use it to explore the behavior of mathematical functions across a range of inputs.

About This Calculator

The Integral Calculator is a free mathematical calculation tool for students, educators, and professionals who need quick, reliable results. Calculate the indefinite integral (antiderivative) of polynomial terms using the reverse power rule. Enter a coefficient and exponent to find the antiderivative, a core operation in calculus for computing areas and accumulated quantities. The underlying algorithms implement well-established mathematical formulas and numerical methods. Results are computed instantly in the browser. This tool is useful for learning, verification of hand calculations, and rapid exploration of mathematical relationships. All computation happens locally — no data is sent to a server.

About Integral Calculator

The Integral Calculator applies the reverse power rule to compute antiderivatives — the inverse operation of differentiation. If derivatives measure rates of change, integrals measure accumulation (area, total distance, total work). The Fundamental Theorem of Calculus connects these concepts: integrating a derivative gets you back to the original function. This calculator handles the most basic case — power functions — and can also compute definite integrals over a range to find areas under curves. Integration is essential in physics (finding distance from velocity, work from force), engineering (computing stresses, energy), economics (computing consumer surplus), and probability (finding probabilities from density functions).

The Math Behind It

Integration is the inverse operation of differentiation. An antiderivative F(x) of f(x) satisfies F'(x) = f(x). Every continuous function has infinitely many antiderivatives, differing by a constant. **Reverse Power Rule**: ∫ ax^n dx = (a/(n+1)) × x^(n+1) + C, provided n ≠ -1 In plain language: increase the exponent by 1, then divide by the new exponent. **The Exception (n = -1)**: When n = -1, this formula breaks (division by zero). Instead: ∫ (1/x) dx = ln|x| + C. **Examples**: - ∫ x dx = x²/2 + C - ∫ x² dx = x³/3 + C - ∫ 3x² dx = x³ + C - ∫ 6x⁵ dx = x⁶ + C - ∫ x^(1/2) dx = (2/3)x^(3/2) + C - ∫ dx = x + C (integral of 1) - ∫ 0 dx = C (integral of 0) **The +C (Constant of Integration)**: Because the derivative of any constant is 0, when we 'undo' a derivative, we lose information about any constant that was there. So every antiderivative has an arbitrary +C. When we have additional info (an initial condition), we can solve for C. **Definite Integrals**: ∫[a,b] f(x) dx = F(b) - F(a). This computes the net area under the curve between x = a and x = b. The constant C cancels out, so no +C appears in definite integrals. **The Fundamental Theorem of Calculus**: This connects differentiation and integration. Part 1 says that if F(x) = ∫[a,x] f(t) dt, then F'(x) = f(x). Part 2 says that if F'(x) = f(x), then ∫[a,b] f(x) dx = F(b) - F(a). Together, they make integration practical. **Geometric Interpretation**: For positive functions, the definite integral equals the area between the curve and the x-axis. For functions that go negative, it gives net area (positive areas minus negative areas). This has profound implications — if velocity is v(t), then ∫[0,T] v(t) dt is the total displacement from t=0 to t=T. **Applications**: 1. **Physics**: If a(t) is acceleration, then ∫a(t)dt gives velocity, and ∫v(t)dt gives position. Free fall from rest: v(t) = ∫9.8 dt = 9.8t + C. Since v(0) = 0, C = 0, so v(t) = 9.8t. Then s(t) = ∫9.8t dt = 4.9t² + C. If s(0) = 0, then s(t) = 4.9t². 2. **Area Between Curves**: ∫[a,b] (f(x) - g(x)) dx gives the area between two curves from x = a to x = b. 3. **Volume of Revolution**: Rotating a curve around an axis and computing the resulting solid's volume uses integration. 4. **Work**: Work = ∫F dx, where F is force and dx is distance. If force is variable (like a spring), integration is necessary. 5. **Average Value**: The average value of f(x) on [a,b] is (1/(b-a)) × ∫[a,b] f(x) dx. **Integration Techniques for More Complex Functions**: - **Substitution (u-substitution)**: Reverses the chain rule - **Integration by parts**: Reverses the product rule - **Partial fractions**: For rational functions - **Trigonometric substitution**: For expressions with √(a²-x²), √(a²+x²) - **Numerical methods**: Simpson's rule, trapezoidal rule when analytical solutions don't exist

Formula Reference

Reverse Power Rule

∫ ax^n dx = a·x^(n+1)/(n+1) + C

Variables: Only valid for n ≠ -1. The +C is the arbitrary constant of integration

Definite Integral

∫[a,b] f(x) dx = F(b) - F(a)

Variables: Evaluate antiderivative at bounds and subtract

Worked Examples

Example 1: Basic Antiderivative

Find ∫ 6x² dx.

Step 1:Apply reverse power rule: coefficient = 6/(2+1) = 2, new exponent = 3
Step 2:Antiderivative = 2x³ + C
Step 3:Verify by differentiating: d/dx[2x³] = 6x² ✓

The antiderivative is 2x³ + C.

Example 2: Definite Integral

Evaluate ∫[0,2] 3x² dx — the area under 3x² from x=0 to x=2.

Step 1:Antiderivative: F(x) = x³
Step 2:F(2) = 8
Step 3:F(0) = 0
Step 4:Definite integral: 8 - 0 = 8

The area under 3x² from 0 to 2 is 8 square units.

Common Mistakes & Tips

  • !Forgetting the +C for indefinite integrals. Every antiderivative includes an arbitrary constant.
  • !Using the power rule when n = -1. Instead use the logarithm: ∫(1/x)dx = ln|x| + C.
  • !Not simplifying — always simplify the coefficient after applying the rule.
  • !Confusing definite and indefinite integrals. Definite ones give numbers; indefinite ones give functions + C.

Related Concepts

Used in These Calculators

Calculators that build on or apply the concepts from this page:

Frequently Asked Questions

Why is there always a +C in indefinite integrals?

Because the derivative of any constant is 0, multiple functions can have the same derivative. For example, both x² and x² + 5 have derivative 2x. When we integrate 2x, we don't know which original function we had, so we write x² + C to represent all possible antiderivatives. In definite integrals, the +C cancels out.

What does the integral of 1/x equal, and why is it special?

∫(1/x) dx = ln|x| + C. This is the special case where the power rule breaks down (because dividing by 0 is undefined when n = -1). The natural logarithm is the 'missing' antiderivative that the power rule would have given us if it worked. The absolute value is necessary because ln is only defined for positive numbers.

What's the difference between definite and indefinite integrals?

An indefinite integral ∫f(x)dx is a family of functions (the antiderivatives, differing by constants). A definite integral ∫[a,b]f(x)dx is a single number representing the net area under f(x) from x=a to x=b. Definite integrals are computed by finding any antiderivative and evaluating F(b) - F(a).

Can all functions be integrated?

All continuous functions have antiderivatives (Fundamental Theorem of Calculus). However, some antiderivatives can't be expressed in terms of 'elementary' functions — for example, ∫e^(-x²) dx has no elementary form (it defines the error function). For such functions, we use numerical integration or special functions to compute values.