---
title: "TimeAverage"
canonical: "https://help.innovyze.com/space/info360/15008110/TimeAverage"
format: markdown
---
Time Average divides total value in an interval by the full time interval duration in seconds. If a typical time series is passed to the function, it will just use the time series value. If a sensor is passed to the function, it will use the pre-calculated interval total value. For a flow rate sensor, the total value is the total volume in the interval.

| <span style="color: #003366">**Parameter**</span> | <span style="color: #003366">**Description**</span> |
| --- | --- |
| **Sensor ID*** | The unique ID of the sensor data to be used in the function. |

###   
Example Usage as an Expression

TimeAverage('Sensor ID') - General expression for this function. Finds the Time Average value for a specific sensor ID.

TimeAverage('PRV1-2B.PRV Flow Rate') - Finds the Time Average value for sensor PRV1-2B.PRV Flow Rate.

### Example Reference Chart

In the following example, a TimeAverage function is used in the [Historical Chart ](https://help-innovyze.atlassian.net/wiki/spaces/info360/pages/15007771)of the sensor F02 Discharge Pressure. The resulting graph shows the Time Average (orange line) for the sensor F02 Discharge Pressure for the time interval in seconds.

![image](media://f53a8f9a-d667-4985-80da-74c5c2f013db)


For information on setting up custom equations and syntax, please refer to [Analytical Functions](https://help-innovyze.atlassian.net/wiki/display/info360/Analytical+Functions).