> For the complete documentation index, see [llms.txt](https://docs.hivel.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hivel.ai/using-hivel/cockpit/metrics-and-definitions/throughput/how-are-active-days-calculated.md).

# How are Active Days calculated

For this calculation, we consider any GIT activity, such as regular commits, merge commits, and PRs opened, reviewed, merged, and declined.\
\
The **active day value** indicates, on average, how many days out of a seven-day week a person or team has been active. Weekends are included in the calculation to ensure any work that happens during that time is also accounted for.

{% hint style="info" %}
If the duration is >= 7 :\
**Active days** =(CurrentActiveDays / (Selected time frame) / CurrentActiveAuthors) \* 7\
\
If the duration is  < 7 :\
**Active days** =(CurrentActiveDays / (Selected time frame) / CurrentActiveAuthors) \*1
{% endhint %}

<div data-with-frame="true"><figure><img src="/files/H3hAC5wbft4vcUwIfJ0R" alt=""><figcaption><p>Active days on Cockpit</p></figcaption></figure></div>

<div data-with-frame="true"><figure><img src="/files/mwLHMopVYCqbYHFth8oA" alt=""><figcaption><p>Active days on Activity screen</p></figcaption></figure></div>

**For example:**\
(Time frame: February 1st - 10th)

* If the team worked for 10 days in February, and you have 3 active authors contributing to the work.\
  &#x20;Active days = (10/10/3) \* 7 = 2.3
* If the team worked for only 5 days in February, and you have 2 active authors contributing.\
  • Active days = (5/10/2) \* 1 = 0.25
