---
title: "estimatePack | Mobile sdk | Mobile sdk android | Android"
description: "estimatePack"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# estimatePack

suspend fun [estimatePack](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.offline/-m-t-offline-estimator/estimate-pack/)(region: [MTOfflineRegionDefinition](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.offline/-m-t-offline-region-definition/)): [MTPackStats](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.offline/-m-t-pack-stats/)

Estimates the size and resource count for a given region definition.

This method may fetch the style JSON and other metadata if needed to provide a more accurate estimate.

#### Return

An [MTPackStats](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.offline/-m-t-pack-stats/) object containing the estimates.

#### Parameters

region

The definition of the region to estimate.
