Result
How it works
We divide the number of days by the chosen days per week to get decimal weeks:
weeks = days ÷ days_per_week
For the mixed format, the whole weeks are floor(days ÷ days_per_week)
, and remaining days are days mod days_per_week
. Rounding mode and decimal places adjust the decimal display only.
Common conversions (7-day week)
Days | Weeks (decimal) | Weeks + Days |
---|---|---|
1 | 0.1429 | 0 w + 1 d |
2 | 0.2857 | 0 w + 2 d |
3 | 0.4286 | 0 w + 3 d |
4 | 0.5714 | 0 w + 4 d |
5 | 0.7143 | 0 w + 5 d |
6 | 0.8571 | 0 w + 6 d |
7 | 1.0000 | 1 w + 0 d |
10 | 1.4286 | 1 w + 3 d |
14 | 2.0000 | 2 w + 0 d |
21 | 3.0000 | 3 w + 0 d |
28 | 4.0000 | 4 w + 0 d |
30 | 4.2857 | 4 w + 2 d |
45 | 6.4286 | 6 w + 3 d |
60 | 8.5714 | 8 w + 4 d |
90 | 12.8571 | 12 w + 6 d |
120 | 17.1429 | 17 w + 1 d |
180 | 25.7143 | 25 w + 5 d |
270 | 38.5714 | 38 w + 4 d |
365 | 52.1429 | 52 w + 1 d |