Equally Spaced Table
Readings every 1 hour, 5 minutes or 10 meters. The shortcut (Δx / 2)[y0 + 2y1 + ⋯ + yn] applies.
Trapezoidal rule from a table of (x, y) data, with equal or uneven spacing.
Enter your values below to get started.
Copy 2 columns from Excel or Google Sheets and paste them straight in.
Rows do not need to be in order; the calculator sorts them by x.
Units like m/s with x in s give an area in m.
Tick Compare to see left, right and Simpson's sums for the same data.
A trapezoidal sum table calculator estimates the area under data given as a table of (x, y) points, where no formula for f(x) exists. Paste your measurements with equal or uneven x spacing to get the total area, the area of every trapezoid, a running total, the area unit (for example m/s × s = m) and the average y value.
A trapezoidal sum from a table is the area under a set of measured points (x0, y0), …, (xn, yn), found by joining neighboring points with straight lines and adding the n trapezoids underneath. The method needs only the table values, so the method works for lab readings, sensor logs and exam tables where f(x) is unknown.
For the table x = 0, 1, 3, 4, 6 and y = 2, 3.5, 5, 4, 1.5, the 4 trapezoids have areas 2.75, 8.5, 4.5 and 5.5, so the trapezoidal sum is 21.25.
The trapezoidal sum table calculator reads each (x, y) row, sorts the rows by x, computes every width Δxi = xi − xi−1, multiplies each width by the mean of its 2 heights and adds the results. The calculator never assumes equal spacing, so a table with readings at 0, 1, 3, 6 and 8 hours gets 4 different widths: 1, 2, 3 and 2 hours.
Commas, spaces, tabs and semicolons all separate x from y. A text header line is skipped.
Δxi = xi − xi−1. Equal widths are detected and reported.
Ai = Δxi × (yi−1 + yi) / 2.
The total is the sum of all Ai, in units of y × x, with a running total in the table.
The trapezoidal sum formula for a table is A = Σ (xi − xi−1)(yi−1 + yi) / 2, summed over the n intervals. When every width equals the same Δx, the formula reduces to the familiar weights 1, 2, …, 2, 1.
Dividing the area by the x range gives the mean value of y over the table.
There are 4 table layouts the trapezoidal sum table calculator accepts: equally spaced columns, unevenly spaced columns, columns with a header row, and a horizontal table with an x row and a y row. All 4 produce the same kind of answer: the area under the straight-line path through the points.
Readings every 1 hour, 5 minutes or 10 meters. The shortcut (Δx / 2)[y0 + 2y1 + ⋯ + yn] applies.
Readings at irregular times, such as 0, 1, 3, 6, 8 hours. Each trapezoid needs its own width.
A first line of labels, for example "t (min), R(t) (L/min)", copied from a spreadsheet.
Textbook and AP Calculus tables often list x across one row and f(x) across the next.
To calculate a trapezoidal sum from a table by hand, take 4 steps: find each width, average each pair of neighboring y values, multiply width by average, and add the products. Here is the water table with t = 0, 1, 3, 6, 8 hours and R(t) = 1,340, 1,190, 950, 740, 700 liters per hour (L/h).
The running total of a trapezoidal sum table is the area from x0 up to each row xk, found by adding the first k trapezoids. The running total answers questions such as "how much water was pumped in the first 3 hours?" or "how far had the car traveled after 20 seconds?".
For the car speed table, the running total is 20 m after 5 s, 75 m after 10 s, 250 m after 20 s and 1,282.5 m after 60 s. The Table tab of the calculator lists this column for every row.
The unit of a trapezoidal sum is the y unit multiplied by the x unit. A rate in meters per second (m/s) over seconds (s) gives meters (m); kilowatts (kW) over hours (h) give kilowatt-hours (kWh); liters per minute (L/min) over minutes give liters (L).
Paste or type your x and y columns, add the units if you want them in the answer, and press Calculate. The result card shows the area, the spacing and the average value; the tabs show every step, the trapezoid graph and the running-total table.
One x, y pair per line, or an x: row and a y: row.
Optional: type the x unit (for example s) and the y unit (m/s).
Tick the box to add left, right and Simpson's sums.
The Table tab lists Δxi, each area and the running total.
A trapezoidal sum table turns field or lab measurements into a total. 5 common uses:
Real data tables, their spacing and their trapezoidal sums.
| Data | Spacing | Trapezoidal sum | Average y | Calculator |
|---|---|---|---|---|
| Water pumped, R(t) in L/h, t = 0–8 h | Uneven (1, 2, 3, 2 h) | 7,380 L | 922.5 L/h | |
| Car speed in m/s, t = 0–60 s | Uneven (5–15 s) | 1,282.5 m | 21.375 m/s | |
| Solar power in kW, hourly | Equal (1 h) | 16.95 kWh | 2.825 kW | |
| Drug concentration in mg/L, 0–12 h | Uneven (0.5–4 h) | 42.65 mg·h/L | 3.5542 mg/L | |
| River depth in m, 0–20 m across | Uneven (2–5 m) | 37.55 m² | 1.8775 m | |
| x = 0, 1, 2, 3, 4; y = 2, 3, 5, 4, 6 | Equal (1) | 16 | 4 |
Try each table by hand, then reveal the answer or solve it in the calculator.
x = 0, 2, 5, 6 and f(x) = 4, 8, 10, 7. Estimate ∫₀⁶ f(x) dx with 3 trapezoids.
A runner's speed (m/s) at t = 0, 10, 30, 40 s is 0, 5, 6, 6.5. Estimate the distance.
Oil leaks at 50, 46, 40, 37, 32 L/min at t = 0, 3, 6, 9, 12 min. Estimate the total leaked.
Power (kW) at t = 0, 0.5, 2, 3 h is 1.2, 2.0, 3.6, 2.4. Estimate the energy used.
Horizontal table: x: 1 2 4 7, y: 3 5 4 9. Estimate the area and the average y value.
Plasma concentration (mg/L) at t = 0, 1, 2, 4, 8 h is 0, 10, 8, 5, 2. Find the AUC from 0 to 8 h.
Discover 67 free sum calculators across different categories. Find the right calculator for your needs.
Try a different name or choose another category.
A trapezoidal sum table calculator is an online tool that estimates the area under data given as (x, y) pairs. It adds one trapezoid per interval, handles uneven spacing and returns the total, each trapezoid and a running total.
For each interval, multiply the width xᵢ − xᵢ₋₁ by the average of the 2 y values, then add all the products. For x = 0, 2, 5, 6 and y = 4, 8, 10, 7 the sum is 12 + 27 + 8.5 = 47.5.
Yes, the trapezoidal rule works with unequal intervals as long as each trapezoid uses its own width. Only the shortcut with weights 1, 2, …, 2, 1 needs equal spacing.
A table with n + 1 rows makes n trapezoids. A table of 5 rows gives 4 trapezoids.
The unit is the y unit times the x unit. Liters per hour over hours gives liters; meters per second over seconds gives meters; kilowatts over hours gives kilowatt-hours.
Yes, Simpson's rule works on a table when the x values are equally spaced and the number of intervals is even. Tick the Compare box to see Simpson's sum when your table qualifies.
No, a trapezoidal sum from a table is an estimate, since the true curve between 2 readings is unknown. More frequent readings give a closer estimate.
Divide the trapezoidal sum by the x range xₙ − x₀. The water table gives 7,380 L over 8 h, an average rate of 922.5 L/h.
Yes, copy 2 columns and paste them into the data box. Tabs, commas, spaces and semicolons all work as separators, and a header row is skipped.
A trapezoidal sum from a table adds one trapezoid per pair of neighboring readings, and the trapezoidal sum table calculator does that for equal or uneven spacing, with units, a running total and the average value. Give each interval its own width, count n + 1 rows as n trapezoids, and multiply the y unit by the x unit to label the answer.
Not sure which method fits your data? Answer the questions below.