How retention is calculated?

In the example:
  • Date range is July 1 — October 21.
  • Grouping by sources is enabled.
  • The time range is divided into months.
  • Retention metrics is selected.

Example of calculating the percentage of users who returned in the first month after installation: