What is Simpson's rule?
A numerical integration method fitting parabolas through consecutive triples of points.
Use parabolic arcs on pairs of subintervals—n must be even.
Choose f(x)=x² with even n, or provide an odd count of y-values (n even).
How to use Simpson's Rule Calculator, plus the formulas and logic behind the results.
Simpson's 1/3 rule weights samples 1-4-2-4-…-4-1 and is exact for cubics (hence for x²).
S = (h/3)[y₀ + 4y₁ + 2y₂ + 4y₃ + … + yₙ]h = (b − a)/nSimpson tips
Applies composite Simpson weights to equally spaced samples; rejects odd n.
Requires even n. For polynomials of degree ≤ 3 the rule is exact (in exact arithmetic).
Common questions about this calculator and how to use the results.
A numerical integration method fitting parabolas through consecutive triples of points.
Each parabolic piece covers two subintervals.
Must be odd: y₀…yₙ with n even.
Yes (up to floating-point error).
Simpson generally has a higher order of accuracy.
Yes.