Simpson's Rule Calculator

Approximate a definite integral with Simpson's rule, alongside the trapezoidal and midpoint rules, and compare with an accurate value.

Results

Enter your details and click Calculate to see your results.
About This Calculator

Simpson: (h/3)[f₀ + 4f₁ + 2f₂ + 4f₃ + … + fₙ], with n even. It's exact for cubics; error shrinks like h⁴.

Example

Example: ∫₀¹ e^(−x²) dx ≈ 0.746824948254 with Simpson's rule (n = 10).

Assumptions

Odd n is rounded up to the next even number.

Frequently Asked Questions

Why must n be even?

Simpson's rule fits parabolas through pairs of subintervals.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile