Age Calculator and Life Visualization

Posted In: Counting

This is a simple age calculator that calculates your age down to the second.

The age calculator should be relatively self-explanatory, just enter your birthdate into the tool.  You can also enter the time of birth (if you want to), otherwise it will assume you were born at midnight.



There are two options for viewing your “age”.

  • The first (“Numerical Age“) is a table that shows the number of years, months, days, hours, minutes and seconds since you were born. It also shows how long it will be until your next birthday.  You can also use the Start Clock button to see your age change each second.
  • The second (“Graphical age“) is a figure that shows your age in the context of a 90 year lifespan.  Each block shown is one week and there are 52 weeks (blocks) in a year (row) and 10 years (rows) per decade (group of blocks).

This visualization is based on the the very interesting Wait But Why post “Your Life in Weeks” by Tim Urban.  It’s a bit humbling to see your life laid out in this way, and to think about how you will spend the (hopefully many) remaining weeks of your life.

You can click the URL button to create a URL that is based on the your birthday (so you don’t have to type it in again).  Just copy the URL in the address bar at the top of your browser (after pressing the button) to share with others.

Programming: this program was written in javascript and uses the moment.js library to simplify the date calculations.

age calculator visualization




1 Comment »


One Response to Age Calculator and Life Visualization

  1. Ashkan says:

    Such a deep idea…so useful Thank you

Leave a Reply

Your email address will not be published. Required fields are marked *