The Util Box

Countdown Calculator

Free online countdown calculator. Calculate days until a target date. Plan and calculate dates effortlessly.

Embed this tool

Copy and paste the code below into your website to embed this tool for free. An attribution link to The Util Box is required.

<iframe src="https://www.theutilbox.org/embed/day-counter" width="600" height="500" frameborder="0" style="border: none; max-width: 100%;" title="Free Countdown Calculator tool from The Util Box"></iframe>
<!-- Free tool by The Util Box — https://www.theutilbox.org/tools/day-counter -->
<a href="https://www.theutilbox.org/tools/day-counter">Countdown Calculator by The Util Box</a>

Frequently Asked Questions about Countdown Calculator

Day Counter — Countdown to Any Date, Live to the Second

This day counter shows how long it is until a date you care about. Enter a target date, give it an optional name, and the countdown ticks down live in years, months, days, hours and minutes. Three larger figures give the same span as a plain total: the number of days, the number of weeks and the number of hours.

The clock updates every second, so a countdown to something a few hours away visibly moves rather than sitting on a stale number. When the date has already passed, the same display switches to reading "Time ago" and counts upward instead.

Adding a Progress Bar

Setting a start date turns on a progress bar. The bar fills as the time between the two dates elapses and the percentage is printed underneath, so you can see at a glance how much of a project, a pregnancy, a countdown to a birthday or a wait for a release has passed.

A Today button next to the start field fills it with the current date, which is the usual way to measure from this moment forward. The bar is clamped to the 0–100% range, so a start date in the future simply reads as empty rather than going negative.

How the Span Is Broken Down

  • Years use a 365.25-day year, which is the average length of a Gregorian year including leap days.
  • Months use an average of 30.44 days, so the month count is an estimate rather than a calendar-accurate figure.
  • Days, hours and minutes are the remainder once the estimated years and months have been taken out, so the total always equals the precise elapsed time.
  • Days, weeks and hours are each counted separately from the raw millisecond difference, so they are exact rather than derived from the breakdown.

Because months are averaged rather than walked through a calendar, a span of exactly one calendar month will read as slightly under or over one month depending on the months involved. The total days figure is the one to quote when precision matters.

Related Time Tools

The countdown runs locally in your browser and keeps working without a connection once the page has loaded.