Trapezoidal Rule Calculator

Approximate the definite integral of a function using the trapezoidal rule. Enter the function, limits, and number of subintervals to get an approximation.

isCalculator Editorial Team Published by:
Reviewed by: Review Board
Last Updated:

Was this calculator helpful?

How to use this tool?

How to Use the Trapezoidal Rule Calculator

This calculator approximates the definite integral of a function f(x) from a to b using the trapezoidal rule.

  1. Enter the function in the f(x) field. Use x as the variable. Supported operators: +, -, *, /, ^ (power), sin, cos, tan, log, sqrt, pi, e. Example: x^2.
  2. Set the lower limit a and upper limit b. Ensure a is less than b.
  3. Choose the number of subintervals n (must be at least 1). Larger n gives a more accurate result.
  4. Click Calculate Integral. The result appears as an approximation with 6 decimal places.
  5. Below the result, you'll see the formula used and the step size h.

Note: All numeric inputs accept decimals. Use standard mathematical notation (e.g., sin(x) for sine).

Previous Results

Generate Charts
Result Inputs Date

Frequently Asked Questions

The trapezoidal rule is a numerical integration method that approximates the definite integral of a function by dividing the area under the curve into trapezoids and summing their areas.

Use x as the variable. Supported operators: +, -, *, /, ^ for power, and functions like sin, cos, tan, log, sqrt, pi, e. Example: x^2 + sin(x).

n is the number of subintervals (trapezoids). A larger n generally gives a more accurate approximation. Must be a positive integer.

Reviewed by Experts

Eurico José Kiala

Eurico José Kiala

Mathematician

Teacher

LinkedIn
João Lino

João Lino

Mathematician

LinkedIn
Quick Convert
Length Converter
0
Weight/Mass Converter
0
Area Converter
0
Volume Converter
0
Speed Converter
0
Temperature Converter
0
Pressure Converter
0
Energy Converter
0
Power Converter
0
Force Converter
0
Time Converter
0
Angle Converter
0
Fuel Consumption Converter
0
Data Storage Converter
0
Base Numbers Converter
0
Dry Volume Converter
0
Currency Converter
0
Text Case Converter
0