Percentage Calculator
Free online percentage calculator. Work out what X% of Y is, what percent one number is of another, percentage increase, decrease, and change live in your browser.
Calculate the difference between two dates in years, months, days, weeks, hours, and minutes instantly and free, right in your browser.
A Date Difference Calculator is a free tool that measures how much time separates two dates and shows the result several ways at once: as a calendar breakdown in years, months, and days, and as a single running total of days, weeks, hours, or minutes. Pick a start date and an end date, optionally add a time of day, and the answer appears instantly.
It runs entirely in your browser using the native JavaScript Date and Intl APIs, so month lengths and leap years are handled correctly and nothing you enter is ever sent to a server.
There are two honest ways to answer that question, and this tool gives you both. The calendar breakdown counts full years, then leftover full months, then leftover days, mirroring how people naturally describe age or tenure. The unit totals instead convert the entire gap into one measure, which is what you want for interest accrual, subscription lengths, or counting shipping days. A gap of 45 days, for instance, reads as "1 month, 15 days" in the calendar view but "45 days" or "about 6.4 weeks" in the totals.
By default the calculator is exclusive: the difference between Monday and Wednesday is two days. Many real-world tasks are inclusive though. Counting the days of an event, a hotel stay, or a billing period usually means both the first and last day count, so the same Monday-to-Wednesday span becomes three days. Toggle Include the end day to switch between the two, rather than adding one in your head and risking an off-by-one error.
Use this calculator whenever you have two arbitrary dates and want the span between them, or when you need to project a deadline forward from today. If you are measuring how old someone is from their birthday, a purpose-built Age Calculator frames the same math around a date of birth and upcoming birthdays. When your dates are stored as epoch seconds rather than calendar values, convert them first with a Unix Timestamp Converter and then drop the readable dates in here. And if you want to express a change over that span as a rate—say, growth per day—a Percentage Calculator pairs naturally with the day totals this tool produces.
A one-off gap between two dates is different from a schedule that repeats. If you are planning something that recurs—a nightly backup, a weekly report, a monthly cleanup—the interval matters more than any single difference, and a Crontab Expression Generator is the right companion for turning "every Monday at 9am" into a cron string. Use the date difference calculator to size the window, then schedule the repetition separately.
It counts whole years first, then the leftover whole months, then the remaining days, borrowing from the actual length of the preceding month when needed. This matches how people describe durations and correctly accounts for leap years and 28-, 30-, and 31-day months.
The calendar view breaks the span into years, months, and days combined. The totals convert the entire span into one unit each—total days, weeks, hours, or minutes—so you can pick whichever measure fits your task.
Include the end day when both the first and last date should count, such as event lengths, hotel stays, or billing periods. Leave it off when you want the plain gap between the two dates. The toggle adds exactly one day to the result.
Yes. Switch to the Add / Subtract Days tab, enter a base date, choose add or subtract, and specify any mix of years, months, weeks, and days. The calculator returns the resulting calendar date and how many days it sits from the base.
Yes. Tick "Include time of day" to enter a start and end time. The difference then includes hours, minutes, and seconds, and the totals reflect the exact number of hours and minutes in the span.
No. Every calculation runs locally in your browser using the native Date and Intl APIs. Nothing is uploaded, logged, or stored, and the tool keeps working even if you go offline after the page loads.