---
title: Aggregation functions
slug: analytics/docs/aggregation-functions
docTags: 
createdAt: 2026-07-20T15:45:16.113Z
---

Aggregate blocks calculate a summary of a property or block by applying an aggregation function to the input property and potentially organizing its results into groups. Aggregation functions are used to aggregate input for a block.[​](https://app.netspring.io/documentation/docs/Build%20Visualizations%20and%20Dashboards/aggregation_functions#aggregators)

The following is a list of aggregators available in Analytics:

- **avg** – Compute the average of the input values.
- **count** – Count the total number of input values, including duplicates.
- **unique count** – Count the number of unique input values.
- **first** – Compute the first input value, ordered by event time.
- **last** – Compute the last input value, ordered by event time.
- **max** – Compute the maximum input value.
- **min** – Compute the minimum input value.
- **sum** – Compute the sum of input values.
- **percentile** - Compute the value below which a chosen percentage of your data falls.
