> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ST_Centroid

Return the centroid point of A

<img src="https://mintcdn.com/wherobots/AayJA2u8CknIeTgt/images/sql-functions/ST_Centroid/ST_Centroid.svg?fit=max&auto=format&n=AayJA2u8CknIeTgt&q=85&s=207bf8b330144f66a4963e5810ecc3a8" alt="ST_Centroid" width="500" height="300" data-path="images/sql-functions/ST_Centroid/ST_Centroid.svg" />

## Signatures

```sql theme={"system"}
ST_Centroid (A: Geometry)
```

## Parameters

<ParamField body="A" type="Geometry" required>
  The input geometry.
</ParamField>

## Return type

<ResponseField type="Geometry">
  The resulting geometry.
</ResponseField>

## Example

```sql theme={"system"}
SELECT ST_Centroid(ST_GeomFromWKT('MULTIPOINT(-1  0, -1 2, 7 8, 9 8, 10 6)'))
```

```
POINT (4.8 4.8)
```
