---
search:
  tags:
    - projects
    - POST
seo:
  description: >-
    Recalculates time estimates for… Reference for the POST
    /projects/{projectId}/components/{id}/recalculate-estimates endpoint in the
    Leadtime Public API API.
sidebar:
  badge: POST
  label: Recalculate all estimates for a project component
title: Recalculate all estimates for a project component
type: openapi-operation
---
Recalculates time estimates for all items (epics and non-epics) within a project component. This includes:
- Recalculating individual item estimates based on timeFrame and question multipliers/extra hours
- Recalculating epic estimates by summing their children's estimates
- Updating the component's totalTimeFrame
- Respecting visibility conditions (items with invalid conditions are excluded)

Items are processed bottom-up (children first, then parents) to ensure accurate calculations. Only components that belong to the specified project can be recalculated through this endpoint.

<Operation source="api-reference" id="projectcomponentscontroller-recalculatecomponentestimates" />
