Days Until Birthday Calculator

Instantly see how many days until any birthday — with zodiac, birthstone, milestones and a live countdown.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Knowing exactly how many days until someone’s birthday lets you plan gifts, book restaurants, organise surprise parties, or simply make sure you never forget again. This calculator gives you an instant, precise answer for any date of birth — and layers in extra context like the person’s turning age, their zodiac sign, their birthstone, and whether the upcoming birthday is a milestone worth celebrating in style.

How it works

The core calculation is straightforward and runs entirely in your browser:

  1. The birth month and day are extracted from the date of birth you enter.
  2. The calculator constructs a target date: this year’s occurrence of that month and day. If that date has already passed today, the target moves to next year.
  3. Both dates are normalised to midnight local time to avoid daylight-saving-time interference.
  4. The difference is divided by 86 400 000 milliseconds (one day) and rounded to a whole number.

For leap-day birthdays (29 February) the tool locates the next true leap year rather than substituting 28 February or 1 March — a much more meaningful countdown for people who share that rare birthday.

Formula note

Days until = floor( (nextBirthdayMidnight - todayMidnight) / 86 400 000 )

The turning age is simply: nextBirthday.getFullYear() - birthYear.

The approximate weeks and months figures use 7 days per week and 30.44 days per month (the average Gregorian month length), rounded to the nearest integer.

Worked example

Suppose today is 1 June 2026 and you enter a date of birth of 15 September 1990.

  • Target date: 15 September 2026 (not yet passed).
  • Days until: (15 Sep 2026 midnight) - (1 Jun 2026 midnight) = 106 days.
  • Turning age: 2026 - 1990 = 36.
  • Weeks until: floor(106 / 7) = 15 weeks.
  • Months until: round(106 / 30.44) = 3 months.
  • Zodiac sign: Virgo (23 Aug - 22 Sep).
  • Birthstone: Sapphire (September).
  • Chinese zodiac: ((1990 - 1900) mod 12) = 90 mod 12 = 6 → Horse.
  • Milestone: 36 is not on the milestone list, so no badge.

Now suppose the birthday were 21 March 1986:

  • Target date (if today is 1 June 2026): 21 March 2027 (date passed, advance to next year).
  • Days until: 293 days.
  • Turning age: 41.
  • Zodiac sign: Aries (21 Mar - 19 Apr).
  • Birthstone: Aquamarine (March).
  • Chinese zodiac: ((1986 - 1900) mod 12) = 86 mod 12 = 2 → Tiger.

Tracking multiple birthdays

Click Add birthday for each person and the cards are automatically sorted by who has the next upcoming birthday at the top. That means in December you might see your colleague’s 3-day-away birthday jump above your partner’s April birthday. The list is saved to localStorage and survives page reloads — no account required.

When someone’s birthday falls today the day count switches to a live hours:minutes:seconds countdown to midnight, giving you one final nudge before the day ends.

Privacy

Every calculation is performed in JavaScript inside your own browser tab. No date of birth, name, or result is ever sent to a server. The saved list lives only in your browser’s localStorage and can be cleared at any time by removing the entry or clearing your browser data.

Ad placeholder (rectangle)