Boneyard Tools

Adding days across months and leap years

Why day arithmetic is trickier than it looks, how month lengths and leap years affect the result, and why UTC keeps answers stable.

Why counting days by hand goes wrong

Adding a fixed number of days sounds simple until a month boundary gets in the way. Months hold 28, 29, 30 or 31 days, so the same offset can land on different day numbers depending on where you start. People often assume every month has 30 days and end up a day or two off across a quarter. Letting the calendar do the carrying, the way this calculator does, removes that guesswork and always returns the true date.

How leap years enter the math

A leap year adds February 29, so any span that crosses that date gains one extra day compared with a common year. The rule is that a year is a leap year if it is divisible by four, except century years, which must also be divisible by 400. That is why 2000 was a leap year but 1900 was not, and why 2026 is an ordinary year. When your start and result straddle a February 29, this tool includes that day so the count stays honest.

Why UTC keeps the result stable

Local time zones and daylight saving can shift a moment across midnight, which is enough to change a date by one day if the math is done with timestamps. This calculator sidesteps that entirely by treating each date as a plain calendar date and computing in UTC, where there is no daylight saving to worry about. The upshot is that the same start date and offset always give the same answer, no matter where you are or what time it is.

Everyday uses for day arithmetic

Adding days answers a lot of real questions. You can find a 30-day invoice due date, a 90-day return deadline, or the day a 21-day quarantine ends. Subtracting days works backward from a target, such as the last day to cancel a trial or when to start a countdown. Because the tool also reports the weekday, you can immediately see whether a due date lands on a weekend and plan around it.

Frequently asked questions

Does adding 365 days always land on the same calendar date?

Only in a common year. If the 365-day span crosses a February 29, the result lands one day earlier than the same date a year later, because a leap year contains 366 days.

How do I find a date a number of weeks away?

Multiply the weeks by seven and enter that as the day count. For six weeks, enter 42 days, and the weekday of the result will match the weekday of your start date.