How weeks are calculated
We first calculate the difference between two calendar dates as a whole number of days (using UTC calendar day ordinals so daylight saving transitions do not change the day count). The number of complete weeks is the integer quotient of days divided by seven; the remainder is the extra days.
completeWeeks = Math.floor(calendarDays / 7)extraDays = calendarDays % 7A real leap-year example
From January 1, 2000 to January 1, 2001, there are 366 calendar days because 2000 was a leap year. That is 52 complete weeks plus 2 days. By comparison, January 1, 2001 to January 1, 2002 contains 365 days: 52 weeks plus 1 day.
Age-years and weeks are different grids
The Years view uses a square from one birthday to the next. The Weeks view uses continuous seven-day blocks beginning on the birth date; a week may cross a birthday. The Days view shows the selected age-year as dated individual days, including February 29 when applicable.
Born on February 29?
The visualizer places February 29 birthdays on February 28 in years without that date. This is a chosen display rule for the calendar, not a universal legal birthday rule.
What does reference age mean?
The reference age simply defines the length of the visualized timeline. It does not calculate how long a person will live; people cannot infer their lifespan from this chart.
Your weeks, on one page.
Choose a birth date and a reference age. Print the poster or save a sharp, scalable SVG. No account needed.
Your selected date is processed in the browser. Exporting the poster is your choice.
This is a reference period, not a prediction of life expectancy. Each cell begins exactly seven days after the previous one; the last cell may be shorter.
An easy-to-share reference
Copy the resource title and URL if they help with a lesson, article or newsletter. Attribution is welcome, but it is never required to use the generator.
The original weeks-of-life idea is attributed to Tim Urban (2014); this resource documents our own date calculation and export method.
A reproducible example: 90 years
For someone born on January 1, 2000 with a reference age of 90, the interval ends on January 1, 2090. It spans 32,873 calendar days: 4,696 complete weeks and one extra day. A poster with a cell for every started seven-day interval therefore has 4,697 cells—not simply 90 × 52 = 4,680.
How to use and cite this resource
Download the SVG for a scalable, print-ready visual. You are welcome to share a poster or cite this calculation method. A filled calendar still reveals approximate age, even if you keep the birth-date label hidden. The date is not embedded as text unless you opt in.
Historical inspiration: Tim Urban, Your Life in Weeks (2014). Date handling: MDN, Date.UTC().