# Estimate run time for a quantity (/docs/api-reference/production-methods/ProductionMethodsController_estimate)

`GET /api/factories/{factoryId}/production-methods/{id}/estimate`

Base URL: https://api.xentr.ai

Authentication: bearer token (`Authorization: Bearer <token>`).

Compute expected production duration for the given quantity using the method cycle time and cavity count.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `factoryId` | path | yes | string | Factory slug. |
| `id` | path | yes | string | Method id. |
| `quantity` | query | yes | number |  |

## Responses

### 200: Estimated duration in seconds.