# Feature OP-6955 - calculation on progress (hierarchical)

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-6955

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

I wonder how openproject calculate progress on 'estimated time' weighting.

I have created a top parent task to represent whole project, I call it "Whole Project" Task. Under this "whole project", I have created  a testing task (task A) with 100 hour estimated time, progress 40%. I also have another Task (Task B), which has 2 sub task (sub task x and sub task y). I  set estimated time of Task B to 50 hour and I do not set estimated time on sub task (x n y).  As we know, because Task B has sub task, I only able to set progress on sub task x and y. I set sub task X to have 70% and Y 30%, respectively. Progress of Task B calculated perfectly, 50%, because neither sub task X and Y has estimated time, so openproject take average (70+30)/2 = 50%.

The problem on "Whole Project" progress calculation. I expect Task A with 100 hour will have 'twice' weight compare to Task B with 50 hour. So I expect (2\*40+50)/3 = 130/4 = 43.33 %, but openproject told me what Whole Project has 47% progress.

Do I miss interpret on how openproject calculate progress percentage ?

note: I also notice that openproject does NOT recalculate progress on estimated hour changed event but only on child task progress changed event. is it intended feature or a minor glitch ?
