---
title: "Measure area in a PDF on Android | Nutrient SDK"
canonical_url: "https://www.nutrient.io/guides/android/measurements/measure-area/"
md_url: "https://www.nutrient.io/guides/android/measurements/measure-area.md"
last_updated: "2026-05-26T01:23:09.549Z"
description: "Measure areas in a PDF on Android using Nutrient Android SDK. Learn to measure polygons, ellipses, and rectangles with simple steps and built-in tools."
---

# Measure area in a PDF on Android

Measure area in a PDF using Nutrient Android SDK starting with version 8.4. To measure area in your app, [contact the Sales team](https://www.nutrient.io/contact-sales) to add the Measurement Tools component to your license, or run the SDK in trial mode.

Measure area in one of the following ways:

- [Measure the area of a custom-drawn polygon](#measuring-the-area-of-a-polygon)

- [Measure the area of an ellipse](#measuring-the-area-of-an-ellipse)

- [Measure the area of a rectangle](#measuring-the-area-of-a-rectangle)

## Measuring the area of a polygon

Measure the area of a custom-drawn polygon in one of the following ways:

- [Using the built-in user interface (UI)](#measuring-the-area-of-a-polygon-using-the-built-in-ui)

- [Programmatically](#measuring-the-area-of-a-polygon-programmatically)

### Measuring the area of a polygon using the built-in UI

To measure the area of a polygon using the built-in UI, follow the steps below:

1. Touch and hold the annotation tools icon.

2. Tap **Polygon Area**.

3. Draw a polygon around the area you want to measure.

### Measuring the area of a polygon programmatically

To measure the area of a polygon programmatically, use the [`PolygonAnnotation` shape constructor](https://www.nutrient.io/api/android/nutrient/com.pspdfkit.annotations/-polygon-annotation/-polygon-annotation.html), which takes a [`Scale` object](https://www.nutrient.io/api/android/nutrient/com.pspdfkit.annotations.measurements/-scale/index.html) and a [`MeasurementPrecision` object](https://www.nutrient.io/api/android/nutrient/com.pspdfkit.annotations.measurements/-measurement-precision/index.html) as its parameters. For more information on scale and precision, refer to the [guide on configuring measurements](https://www.nutrient.io/guides/android/measurements/configure-measurements.md).

## Measuring the area of an ellipse

Measure the area of an ellipse in one of the following ways:

- [Using the built-in user interface (UI)](#measuring-the-area-of-an-ellipse-using-the-built-in-ui)

- [Programmatically](#measuring-the-area-of-an-ellipse-programmatically)

### Measuring the area of an ellipse using the built-in UI

To measure the area of an ellipse using the built-in UI, follow the steps below:

1. Touch and hold the annotation tools icon.

2. Tap **Ellipse Area**.

3. Draw an ellipse around the area you want to measure.

### Measuring the area of an ellipse programmatically

To measure the area of an ellipse programmatically, use the [`CircleAnnotation` shape constructor](https://www.nutrient.io/api/android/nutrient/com.pspdfkit.annotations/-circle-annotation/-circle-annotation.html), which takes a [`Scale` object](https://www.nutrient.io/api/android/nutrient/com.pspdfkit.annotations.measurements/-scale/index.html) and a [`FloatPrecision` object](https://www.nutrient.io/api/android/nutrient/com.pspdfkit.annotations.measurements/-measurement-precision/index.html) as its parameters. For more information on scale and precision, refer to the [guide on configuring measurements](https://www.nutrient.io/guides/android/measurements/configure-measurements.md).

## Measuring the area of a rectangle

Measure the area of a rectangle in one of the following ways:

- [Using the built-in user interface (UI)](#measuring-the-area-of-a-rectangle-using-the-built-in-ui)

- [Programmatically](#measuring-the-area-of-a-rectangle-programmatically)

### Measuring the area of a rectangle using the built-in UI

To measure the area of a rectangle using the built-in UI, follow the steps below:

1. Touch and hold the annotation tools icon.

2. Tap **Rectangle Area**.

3. Draw a rectangle around the area you want to measure.

### Measuring the area of a rectangle programmatically

To measure the area of a rectangle programmatically, use the [`SquareAnnotation` shape constructor](https://www.nutrient.io/api/android/nutrient/com.pspdfkit.annotations/-square-annotation/-square-annotation.html), which takes a [`Scale` object](https://www.nutrient.io/api/android/nutrient/com.pspdfkit.annotations.measurements/-scale/index.html) and a [`FloatPrecision` object](https://www.nutrient.io/api/android/nutrient/com.pspdfkit.annotations.measurements/-measurement-precision/index.html) as its parameters. For more information on scale and precision, refer to the [guide on configuring measurements](https://www.nutrient.io/guides/android/measurements/configure-measurements.md).

## Configuring measurements

For more information on configuring measurements, refer to the [guide on configuring measurements](https://www.nutrient.io/guides/android/measurements/configure-measurements.md).
---

## Related pages

- [Measure distance and area in a PDF on Android](/guides/android/measurements.md)
- [Measure distance in a PDF on Android](/guides/android/measurements/measure-distance.md)
- [Configure measurements in a PDF on Android](/guides/android/measurements/configure-measurements.md)

