Average distance by integration

Enter a distance function d(t) and an interval. This computes the average value of the function, not average speed or total distance traveled.

Functions: sin, cos, tan, sqrt, abs, exp, ln, log; constants pi and e. Use * for multiplication and ^ for powers.

Important notes

Example: d(t)=t^2 on [0,2] → integral 8/3, average 4/3 ≈ 1.333333.

Calculation runs locally in your browser. No expression is sent to a server.

Related calculators