# calculateRunwayAmountFromState

> **calculateRunwayAmountFromState**(`options`): `bigint`

Defined in: [packages/synapse-core/src/utils/calculate-upload-costs.ts:22](https://github.com/FilOzone/synapse-sdk/blob/e66c35ddb1749f0e55bae2e4f430d1449cca89bd/packages/synapse-core/src/utils/calculate-upload-costs.ts#L22)

Calculate extra account funding for the requested post-upload runway.

## Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `options` | [`CalculateRunwayAmountFromStateOptions`](/reference/filoz/synapse-core/utils/type-aliases/calculaterunwayamountfromstateoptions/) | Projected account rate and requested runway duration |

## Returns

`bigint`

Runway funding in token base units