Quick answer
Days until the Fourth of July = the date of the next Independence Day minus your start date. Counting from 10 March 2024 the next one is Thursday 4 July 2024, which is 116 days away.
Pick a start date (it defaults to today). The calculator returns the days, the weeks and days, and the weekday of the date.
Related tools: Days Until December: Days until 1 December. Days Until Christmas: Days until Christmas. Days Until Halloween: Days until Halloween.
How to use the Days Until the Fourth of July
- Optionally, pick counting from.
- Press Calculate to see the result, and use Reset to start again.
| Input | What to enter | Allowed values |
|---|---|---|
| Counting from (optional) | A calendar date. Leave blank to use today's date | — |
Formula and method
Formula
days = next occurrence of Independence Day (US) − start date
Exact integer day arithmetic in UTC.
Finds the next occurrence of Independence Day (US) on or after the start date using its calendar rule. Dates follow the proleptic Gregorian calendar.
Worked examples
This example is verified: each one is an automated test case that the live calculator must reproduce exactly.
Example 1
Inputs: Counting from = 2024-03-10.
| Result | Value |
|---|---|
| Days Until the Fourth of July | 116 days |
| Date | 2024-07-04 |
| Weekday | Thursday |
| Weeks and days | 16 weeks, 4 days |
The first line is the headline result (days Until the Fourth of July). Below it the days Until the Fourth of July lists date, weekday and weeks and days, which describe the same case from other angles. Exact integer day arithmetic in UTC.
About Independence Day
Independence Day marks the adoption of the Declaration of Independence on 4 July 1776. It is a US federal holiday; when it falls on a Saturday it is observed on Friday, and when on a Sunday, on Monday.
The next dates
Upcoming dates: Friday 4 July 2025; Saturday 4 July 2026; Sunday 4 July 2027. The count is zero on the day itself, and once this year's date has passed the calculator moves on to the next one.
Days Until the Fourth of July from different start dates
The same calculator run from 1 January of four consecutive years.
| Counting from | Days Until the Fourth of July | Date | Weekday |
|---|---|---|---|
| 2026-01-01 | 184 | 2026-07-04 | Saturday |
| 2027-01-01 | 184 | 2027-07-04 | Sunday |
| 2028-01-01 | 185 | 2028-07-04 | Tuesday |
| 2029-01-01 | 184 | 2029-07-04 | Wednesday |
What happens with invalid input
These messages are produced by the calculator itself, so you know what to fix.
- Counting from: entering "2024-02-30" shows "Counting from must be a valid date." beside that field and no result.
Choosing between the Days Until the Fourth of July and similar calculators
Each row shows what a related calculator on this site asks for and what it returns, so you can pick the one that matches your question.
| Calculator | You enter | It returns |
|---|---|---|
| [Days Until December](/date-calendar/days-until-december/) | Days Until December | |
| [Days Until Christmas](/date-calendar/days-until-christmas/) | Days Until Christmas | |
| [Days Until Halloween](/date-calendar/days-until-halloween/) | Days Until Halloween | |
| [Days Until Thanksgiving](/date-calendar/days-until-thanksgiving/) | Days Until Thanksgiving | |
| [Days Until Juneteenth](/date-calendar/days-until-juneteenth/) | Days Until Juneteenth |
Background: date rules
Holiday dates are defined in three ways: a fixed day of the month, a weekday position such as the fourth Thursday of November, or a calendar calculation such as the date of Easter. Counts are in whole calendar days from the start date, and the date is the calendar date, not adjusted for your time zone or for days a workplace observes instead.
Assumptions and limitations
- Counting on the holiday itself gives 0
- After the date has passed this year the next year's date is used
If a required value is empty, not a number, or outside its allowed range, the form marks that field with a message and shows no result instead of a misleading number. The automated checks deliberately try invalid entries for counting from to confirm this.
Frequently asked questions
How many days until the Fourth of July from today?
Enter today as the start date. From 10 March 2024 the answer is 116 days.
What day of the week is it next year?
Upcoming weekdays: Friday 4 July 2025; Saturday 4 July 2026; Sunday 4 July 2027.
What does the Days Until the Fourth of July calculate?
Days until Independence Day (US). It returns Days Until the Fourth of July, Date, Weekday and Weeks and days.
What formula does the Days Until the Fourth of July use?
days = next occurrence of Independence Day (US) − start date. Finds the next occurrence of Independence Day (US) on or after the start date using its calendar rule.
What is an example of a days Until the Fourth of July result?
With counting from 2024-03-10, the days Until the Fourth of July is 116 days.
Related calculators
- Days Until December — Days until 1 December.
- Days Until Christmas — Days until Christmas.
- Days Until Halloween — Days until Halloween.
- Days Until Thanksgiving — Days until US Thanksgiving (fourth Thursday of November).
- Days Until Juneteenth — Days until Juneteenth (US).
- Days Until Easter — Days until Western Easter Sunday.
Sources
- US federal holiday rules: 5 U.S.C. § 6103
Content last reviewed 2026-11-04. Formulas and worked examples are checked by automated tests against independently computed values.