Free date and time calculators
DateMath adds or subtracts days from a date, counts the days between two dates, and works out durations, hours worked, ages and business days by the Gregorian calendar, ISO 8601 and the US federal holiday law. It also converts times between time zones and counts down to a date. Free, instant, and nothing to sign up for.
Pick a start date and a whole number.
Worked examples and answers on the date calculator page.
All date and time tools
Each tool runs in your browser: the calculators update as you type, and the countdowns tick live.
Date Calculator
Add or subtract days, weeks, months or years from a date, or count the days between two dates, with weeks, months and business days. Free, no sign-up.
OpenDays From Today Calculator
Type a number to get the date that many days, weeks or months ahead of or before today, with its weekday, plus the business-day date for days. Free, no sign-up.
OpenDate Duration Calculator
Find the exact duration between two dates and times in years, months, days, hours and minutes, plus the total in days, hours, minutes and seconds.
OpenTime Calculator
Add or subtract days, hours, minutes and seconds from a date and time and see the resulting date, weekday and time. Free, works in your browser.
OpenTime Zone Converter
Convert a date and time between time zones, with daylight saving applied for the date you pick, the UTC offset of each zone and the difference between them.
OpenMeeting Planner
Plan a meeting across time zones: add each person's time zone, see the hours of the day side by side and find the hours inside everyone's working day. Free.
OpenHours Calculator
Calculate the time duration between two times in hours and minutes and decimal hours, overnight shifts and military time included, minus an unpaid lunch break.
OpenShift Calculator
Find when an 8-hour shift ends: enter the start time, the hours to work and the unpaid break, and get the clock-out time, night shifts included. Free.
OpenTime Card Calculator
Time in, time out and lunch per day, split shifts too, totaled for one or two weeks in decimal hours and gross pay. Free, no sign-up.
OpenHours and Minutes Calculator
Add or subtract hours, minutes and seconds, or multiply and divide an amount of time, with the total in h:mm:ss, decimal hours, minutes and seconds. Free.
OpenHours to Decimal Calculator
Convert hours and minutes to decimal hours and back, with a chart of every minute from 1 to 60 as a decimal of an hour.
OpenAge Calculator
Calculate exact age from a date of birth in years, months and days, plus total months, weeks and days, the weekday of birth and the next birthday.
OpenHalf Birthday Calculator
Find your half birthday, 6 months after your birthday, with its weekday and the days until it, plus your quarter and three-quarter birthdays. Free, no sign-up.
OpenHebrew Birthday Calculator
Find your Hebrew birthday from your date of birth, born before or after sunset, and the Gregorian date of your Hebrew birthday in the coming years.
OpenGraduation Year Calculator
Find the high school class (graduation year), the kindergarten start year and the grade now from a date of birth and your school's age cutoff date.
OpenAnniversary Calculator
Calculate how long you have been married, together or at a job in years, months and days, with the next anniversary, monthly anniversary and day milestones.
OpenGolden Birthday Calculator
Find your golden birthday (your age equals your birth day), the double golden birthday and the Beddian birthday, with each date and age. Free.
OpenBusiness Days Calculator
Count the business days between two dates, or add business days to a date, skipping weekends and, optionally, US federal holidays.
OpenCourt Date Calculator
Count a court deadline from a trigger date in calendar or court days: the trigger day left out, a last day on a weekend or federal holiday moved to a court day.
OpenInvoice Due Date Calculator
Find an invoice's due date from its date and payment terms: Net 7 to Net 90 or any days, EOM and Net 30 EOM, due on receipt, plus the 2/10 discount date.
OpenWeek Number Calculator
Find the ISO 8601 week number of any date, the US week number, and the Monday-to-Sunday dates of any week of the year. Free, no sign-up.
OpenDay of the Week Calculator
Find the day of the week for any date, past or future, with the day of the year, the ISO and US week number and the weekday number. Free, no sign-up.
OpenPrintable Calendar
A calendar of any year or month, printable, with US federal holidays and ISO or US week numbers. Weeks start on Sunday or Monday. Free, no sign-up.
OpenUS Federal Holidays
Every US federal holiday of any year with its date, weekday and the day it is observed when it falls on a weekend, plus the days until the next one.
OpenHolidays by Date
Pick a date to see every holiday and observance on it: US federal holidays, observances, Easter, Jewish holidays, equinoxes and UN days, with the next holiday.
OpenLeap Year Calculator
Check whether a year is a leap year, with the Gregorian rule spelled out, and count a February 29 birthday: the real birthdays so far and the age on any date.
OpenJulian Date Converter
Convert a date and time to a Julian Date (JD and MJD) and back, a date to a YYDDD or YYYYDDD Julian date code and back, or a Julian calendar date to Gregorian.
OpenDay Countdown
A live countdown to any date and time: the days, hours, minutes and seconds left, the weekday, calendar and business days to go, and a link to share. Free.
OpenRelease Countdown
Live countdowns, to the second on your clock, to officially announced release dates (GTA 6 and Avengers: Doomsday), each with its source.
OpenSeason Countdown
A live countdown to the next equinox or solstice: the days, hours and minutes to the next season, the exact moment on your clock, and the meteorological start.
OpenCountdown Timer
A countdown timer: set hours, minutes and seconds or pick 10 seconds to 24 hours, then start, pause or reset it, with an alarm at zero and a full-screen view.
OpenChristmas Countdown
How many days until Christmas? A live countdown to December 25 in days, hours, minutes and seconds on your own clock, with the weekday Christmas falls on.
OpenNew Year Countdown
A live countdown to midnight on January 1 in your time zone: the days, hours, minutes and seconds to the New Year, with a full-screen view for New Year's Eve.
OpenHalloween Countdown
How many days until Halloween? A live countdown to October 31 in days, hours, minutes and seconds on your own clock, with the weekday Halloween falls on.
Open
Which calculator answers your question
Most date questions start from one of two things: a date you want to move from, or two dates you want to compare. Times, hours worked, ages, workdays and week numbers each add a rule of their own, so each has its own calculator.
| Your question | Calculator |
|---|---|
| What date is 90 days after a start date? | Date Calculator |
| How many days are there between two dates? | Date Calculator |
| What date is 30 days from today? | Days From Today Calculator |
| How long is it from 9:00 on Monday to 17:30 on Wednesday? | Date Duration Calculator |
| What time will it be 8 hours and 45 minutes after 10:30 PM? | Time Calculator |
| What is 9:00 AM Pacific Time in Eastern Time? | Time Zone Converter |
| When can a team in New York, London and Mumbai meet? | Meeting Planner |
| How many hours is a shift from 10:00 PM to 6:30 AM with a 30-minute break? | Hours Calculator |
| What time do I clock out after 8 hours from 7:30 AM with a 30-minute lunch? | Shift Calculator |
| How many hours did I work this week, and what is my gross pay? | Time Card Calculator |
| What is 1:25:40 + 2:48:35? | Hours and Minutes Calculator |
| What is 7 hours 45 minutes in decimal hours? | Hours to Decimal Calculator |
| How old am I in years, months and days? | Age Calculator |
| When is my half birthday? | Half Birthday Calculator |
| What is my Hebrew birthday? | Hebrew Birthday Calculator |
| What year will a child born in 2019 graduate from high school? | Graduation Year Calculator |
| How long have we been married? | Anniversary Calculator |
| When is my golden birthday? | Golden Birthday Calculator |
| What date is 10 business days from now? | Business Days Calculator |
| When is a response due 21 days after service, if day 21 is a Saturday? | Court Date Calculator |
| When is an invoice dated March 3 due under Net 30 EOM? | Invoice Due Date Calculator |
| What week number is it? | Week Number Calculator |
| What day of the week is a given date? | Day of the Week Calculator |
| Can I print a calendar with holidays and week numbers? | Printable Calendar |
| On which days are the US federal holidays observed in a year? | US Federal Holidays |
| Which holidays fall on a given date? | Holidays by Date |
| Is a year a leap year? | Leap Year Calculator |
| What is today's Julian date? | Julian Date Converter |
| How long is left until my wedding, a trip or midnight, to the second? | Day Countdown |
| How many days until an announced game or film release? | Release Countdown |
| How long until the next solstice or equinox? | Season Countdown |
| Can I set a 10-minute timer with an alarm? | Countdown Timer |
| How many days until Christmas? | Christmas Countdown |
| How long until midnight on New Year's Eve? | New Year Countdown |
| How many days until Halloween? | Halloween Countdown |
What DateMath does
DateMath is a set of focused calculators for the date and time questions that come up in work and everyday life: deadlines, trips, shifts, ages, payroll weeks and project schedules. Each page does one job, shows the answer as you type, and explains the rule behind the number, so you can check the result against a contract, a policy or a spreadsheet.
- Answers as you type. There is no calculate button. Change a date or an amount and the result updates at once, together with the same span in other units: weeks and days, years, months and days, and business days.
- Runs in your browser. The math is done on your device. The dates you enter, including a date of birth, are not sent to us.
- Shareable calculations. Every tool with inputs has a copy-link button ("Copy a link to this calculation", or to this countdown or timer) that opens the same tool with the same inputs, to send to a colleague or keep with your notes. The holiday and season countdowns have no inputs and need none.
- Worked examples on every page. Each tool page shows examples on fixed dates, computed with the calculator's own code, so the page and the calculator can never disagree.
- Free, with nothing to install. No account and no sign-up; it works the same on a phone and on a desktop.
How the date math works
Date math looks simple until months, leap years, weekends and week numbers come in. These are the rules every DateMath calculator follows, with the cases where calculators most often disagree.
Days between dates: the difference, or both ends
DateMath counts the difference between the two dates: the days after the start date up to and including the end date. From Monday, March 1, 2027 to Friday, March 5, 2027 is 4 days. That is what you want for "how long until" and for most deadlines. When both the first and the last day count, as for the days of a trip, a course or a leave, tick the box that counts both ends, and the same span becomes 5 days. Disagreements between calculators of exactly one day almost always come from this choice.
Months and years keep the day number
Adding a month moves to the same day number in the next month, whatever its length. When that day does not exist, the result is the last day of the month: January 31 plus one month is February 28, 2027, and in a leap year February 29, 2028. Years work the same way, so February 29 plus one year is February 28. This is also how Excel's EDATE function behaves. Weeks are different: they are always 7 days, so 4 weeks is 28 days, not a month.
Leap years follow the Gregorian rule
A year divisible by 4 is a leap year, except century years, which are leap years only when divisible by 400. So 2000 was a leap year and 2100 will not be. Every count that crosses a February 29 includes it, and an age or a duration that crosses one is still measured in calendar months and days, not in averaged years.
Business days skip weekends and US federal holidays
A business day is a weekday that is not a holiday. DateMath skips the 11 annual US federal holidays on the days they are observed: a holiday on a Saturday is observed on the Friday before, one on a Sunday on the Monday after. In 2027 that leaves 249 business days. You can switch the holidays off to count weekdays only, for example when your office has its own calendar.
Week numbers: ISO 8601 and US
The international ISO 8601 standard starts weeks on Monday and makes week 1 the week that contains the year's first Thursday. Early January can therefore belong to the previous year: Friday, January 1, 2027 is in ISO week 53 of 2026. The US system starts weeks on Sunday and always puts January 1 in week 1. The week number calculator shows both.
Times are clock times
Dates and times are plain calendar dates and clock times, without a time zone. A link therefore gives every visitor the same answer, wherever they open it. The one thing this leaves out is daylight saving time: across the night the clocks change, the real elapsed time is one hour shorter or longer than the clock difference shown. The countdowns are the exception: they count the real time left until your own clock shows the target, so that hour is included.
Time zones follow each zone's own rules
The time zone converter and the meeting planner work with real moments instead: a time in one zone is read on every other zone's clock, with the UTC offset each zone has on that date. So Pacific Time is 3 hours behind Eastern Time all year, while UTC is 8 hours ahead of Pacific Time in winter and 7 in summer, and a time the clocks skip on the night they spring forward is flagged instead of converted.
The standards behind these rules, with links to their sources, the edge cases DateMath handles and how its results are tested are on the About page.
Date math at a glance
The numbers that most date questions come back to.
| Unit | Length |
|---|---|
| A week | 7 days |
| A common year | 365 days = 52 weeks and 1 day |
| A leap year | 366 days = 52 weeks and 2 days |
| A month | 28 to 31 days (February has 28, or 29 in a leap year) |
| Leap years from 2024 to 2040 | 2024, 2028, 2032, 2036, 2040 |
| The Gregorian 400-year cycle | 146,097 days = 20,871 weeks, 97 leap years |
| An ISO week-numbering year | 52 or 53 weeks |
| US business days in 2027 | 249 (weekdays minus the observed federal holidays) |
Because a common year is 52 weeks and 1 day, a date falls one weekday later each year, and two weekdays later after a February 29. And because the 400-year cycle is a whole number of weeks, the Gregorian calendar repeats exactly every 400 years.
Where date calculations come up
- Deadlines: an invoice due date under Net 30 or Net 30 EOM, a court deadline 21 days after service, 10 business days to respond. Check whether the rule counts calendar days or business days, and whether the first day counts.
- Planning and countdowns: the days until a trip, a wedding or a launch, the date 90 days after a start, the weeks left in a quarter, a live day countdown to any date, a release countdown to an announced game or film, the season countdown to the next equinox or solstice, and a countdown timer for a set length of time.
- Work and payroll: the clock-out time of an 8-hour shift with lunch, the end of a shift that runs past midnight, the hours worked in a shift or a week, a sum of hours and minutes, decimal hours for a timesheet, the workdays in a month, the ISO week number on a timesheet or a production plan.
- Remote teams and travel: a call at 9:00 AM Pacific on the East Coast clock, an hour that suits colleagues in three time zones, a flight that lands on another date.
- Ages and anniversaries: an exact age on a given date, the weekday someone was born on, the days to the next birthday or anniversary.
Frequently asked questions
- Which calculator answers my date question?
- It depends on what you know and what you want back. To move from a date by days, weeks, months or years, or to count the days between two dates, use the date calculator; for a number of days from today, the days from today calculator. For the exact time between two dates and times, use the date duration calculator; to add hours and minutes to a time, the time calculator. To see a time in other time zones, use the time zone converter, and to find an hour that suits people in several zones, the meeting planner. For the hours of a shift or a week of shifts, use the hours, shift and time card calculators. Ages, workdays, week numbers and decimal hours each have their own calculator. For a deadline counted under a court's rule, use the court date calculator; for the day an invoice is due, the invoice due date calculator. For birthdays beyond the age, use the half, golden and Hebrew birthday calculators; for the time since a wedding, the anniversary calculator; and for a child's high school class, the graduation year calculator. For the weekday of a date, use the day of the week calculator; for a whole month or year, the printable calendar; for a year's holidays, the US federal holidays tool. To watch the time left tick down, use the day countdown for a date or the countdown timer for a length of time.
- Why do date calculators sometimes disagree by one day?
- Usually because one counts both the start and the end date and the other counts only the difference. From Monday to Friday is 4 days as a difference but 5 days if both Monday and Friday count. The other common causes are how a month is added to the 29th, 30th or 31st, which holidays a business-day count skips, and time zones. Every DateMath page states its rule, and the date calculator has a checkbox for counting both ends.
- Why can't I just divide days by 30 to get months?
- Because months are 28 to 31 days long, so a fixed 30-day month drifts from the calendar within a few months. A calendar month runs from a day number to the same day number in the next month, whatever its length. DateMath counts whole calendar months first and gives the rest in days, so the result matches what you would count on a wall calendar.
- How long is a year in days?
- 365 days, or 366 in a leap year. In the Gregorian calendar 97 of every 400 years are leap years, so the average year is 365.2425 days, and every 400 years the calendar repeats exactly: 146,097 days, which is exactly 20,871 weeks.
- Why does a date fall on a different weekday each year?
- Because 365 days is 52 weeks and 1 day, so a date moves one weekday later each year, and two weekdays later when a February 29 falls in between. A date that is a Friday this year is a Saturday next year, unless a leap day comes first.
- Can I rely on the results for legal, contract or payment deadlines?
- The results follow the counting rules stated on each page, but a deadline is set by its own rules: whether it counts calendar or business days, whether the first day counts, and which holidays apply. Check those in the contract, court rule or policy, then set the calculator to match. DateMath does not give legal advice.
- Do the calculators work on a phone?
- Yes. Every calculator works in a mobile browser and uses your phone's own date and time pickers. Once a page has loaded, its calculations run on the device, and the dates you type are not sent to us.
- Is a calculator I need missing?
- Write to hello@datemath.app with the question you were trying to answer. The home page lists every calculator there is today.
More answers in the FAQ and on the about page.