Day Calculator
Free Day Calculator. Free online tool with accurate results using verified formulas. Includes worked examples, FAQ, and instant calculations.
Day Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser — no data is sent to any server.
Formula: Days = |End Date − Start Date| in days
Worked example — 365 days
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer · Editorial policy
Day Calculator Formula
Days = |End Date − Start Date| in days
Convert both dates to milliseconds since epoch, subtract, then divide by 86,400,000 ms/day. The result is rounded to the nearest whole day.
Day Calculator — Worked Examples
Example 1: Full year 2024 (leap year)
Problem:Start: January 1, 2024, End: December 31, 2024
Solution:2024 is a leap year (366 days). Dec 31 − Jan 1 = 365 days (exclusive of start date).
Result:365 days
Example 2: First half of 2024
Problem:Start: January 1, 2024, End: June 30, 2024
Solution:Jan: 30 remaining days, Feb: 29 (leap), Mar: 31, Apr: 30, May: 31, Jun: 30 = 181 days.
Result:181 days
Day Calculator — Frequently Asked Questions
What is the difference between calendar days and business days?
Calendar days count every day including weekends and public holidays. Business days (also called working days) count only Monday through Friday, excluding weekends and typically excluding public holidays. For deadlines, legal notices, and contract terms, always confirm which type of day is specified. Day Calculator counts calendar days.
How do you count days inclusively vs exclusively?
Exclusive counting (default) does not include either the start or end date — it counts only the days in between. Inclusive counting includes both endpoints. For example, from January 1 to January 3: exclusive = 2 days, inclusive = 3 days. Legal and financial calculations often specify which method to use, so check the context before applying the result.
Does Day Calculator account for leap years?
Yes. The calculation is based on the actual calendar difference between the two dates in milliseconds, so leap years with their extra day (February 29) are automatically accounted for. For example, January 1, 2024 to December 31, 2024 = 365 days because 2024 is a leap year with 366 days total.
How many days are in each month?
31 days: January, March, May, July, August, October, December. 30 days: April, June, September, November. 28 or 29 days: February (29 in leap years). A leap year occurs every 4 years (divisible by 4), except century years must be divisible by 400 — so 2000 was a leap year but 1900 was not.
How do I add or subtract days from a date?
To add days to a date, set the start date to your reference date and the end date to any future date — the calculator shows how many days separate them. To find a date that is N days in the future, work backwards: if today is the start date, adjust the end date until the result shows N days. Most spreadsheet apps (Excel, Google Sheets) also support date arithmetic with the =DATE() and =DAYS() functions.
Day Calculator — Background & Theory
History of the Day Calculator
Related Calculators
🧮Resume vs Job Match Score
Calculate resume vs job match score with interactive inputs and clear steps.
🧮Math Word Problem Solver
Calculate math word problem solver with interactive inputs and clear steps.
🧮Type Any Unit Conversion in Plain English
Calculate unit converter from natural language with interactive inputs and clear steps.
🧮Monte Carlo Risk Simulator
Calculate monte carlo risk simulator with interactive inputs and clear steps.
🧮Image Aspect Ratio Advisor
Calculate image aspect ratio advisor with interactive inputs and clear steps.